Commit 08d40c85a79dda8b67c38e946b2ba78bffe7e127
1 parent
6f6f0eef
分页大小的修改,历史服务链接地址的修改
Showing
5 changed files
with
4 additions
and
4 deletions
pages/user/my_service/hist_service.wxml
| ... | ... | @@ -45,7 +45,7 @@ |
| 45 | 45 | </view> |
| 46 | 46 | <view class="flex-level fs30 xc-ash">暂无服务记录</view> |
| 47 | 47 | <view class="flex-level"> |
| 48 | - <navigator url="/pages/user/my_service/my_service" bindtap="goto"> | |
| 48 | + <navigator url="/pages/user/my_service/i_service" bindtap="goto"> | |
| 49 | 49 | <view class="flex-center fs28 white">前往使用</view> |
| 50 | 50 | </navigator> |
| 51 | 51 | </view> | ... | ... |
pages/user/my_service/i_service.js
| ... | ... | @@ -18,7 +18,7 @@ Page({ |
| 18 | 18 | service_List: [], //服务项目列表 |
| 19 | 19 | is_service_read: 0, |
| 20 | 20 | curpage: 1, //当前分页数 |
| 21 | - pageSize: 8, //页大小 | |
| 21 | + pageSize: 10, //页大小 | |
| 22 | 22 | total: 0, |
| 23 | 23 | ismore: 0, //是否加载完毕 |
| 24 | 24 | userinfo: null, |
| ... | ... | @@ -53,7 +53,7 @@ Page({ |
| 53 | 53 | wx.showLoading({ |
| 54 | 54 | title: '加载中...', |
| 55 | 55 | }) |
| 56 | - this.query_service(); | |
| 56 | + th.query_service(); | |
| 57 | 57 | }, |
| 58 | 58 | //查询服务项目列表 |
| 59 | 59 | query_service: function() { |
| ... | ... | @@ -69,7 +69,7 @@ Page({ |
| 69 | 69 | }).then(res => { |
| 70 | 70 | if (res.data.code == 0) { |
| 71 | 71 | wx.hideLoading(); |
| 72 | - th.data.curpage++; | |
| 72 | + th.data.curpage++; | |
| 73 | 73 | var arr1 = th.data.service_List; |
| 74 | 74 | var arr2 = res.data.data.pageData; |
| 75 | 75 | var arr3 = [...arr1, ...arr2]; | ... | ... |
pages/user/my_service/my_service.js
0 → 100644
pages/user/my_service/my_service.wxml
0 → 100644
pages/user/my_service/my_service.wxss
0 → 100644