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,7 +45,7 @@ | ||
45 | </view> | 45 | </view> |
46 | <view class="flex-level fs30 xc-ash">暂无服务记录</view> | 46 | <view class="flex-level fs30 xc-ash">暂无服务记录</view> |
47 | <view class="flex-level"> | 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 | <view class="flex-center fs28 white">前往使用</view> | 49 | <view class="flex-center fs28 white">前往使用</view> |
50 | </navigator> | 50 | </navigator> |
51 | </view> | 51 | </view> |
pages/user/my_service/i_service.js
@@ -18,7 +18,7 @@ Page({ | @@ -18,7 +18,7 @@ Page({ | ||
18 | service_List: [], //服务项目列表 | 18 | service_List: [], //服务项目列表 |
19 | is_service_read: 0, | 19 | is_service_read: 0, |
20 | curpage: 1, //当前分页数 | 20 | curpage: 1, //当前分页数 |
21 | - pageSize: 8, //页大小 | 21 | + pageSize: 10, //页大小 |
22 | total: 0, | 22 | total: 0, |
23 | ismore: 0, //是否加载完毕 | 23 | ismore: 0, //是否加载完毕 |
24 | userinfo: null, | 24 | userinfo: null, |
@@ -53,7 +53,7 @@ Page({ | @@ -53,7 +53,7 @@ Page({ | ||
53 | wx.showLoading({ | 53 | wx.showLoading({ |
54 | title: '加载中...', | 54 | title: '加载中...', |
55 | }) | 55 | }) |
56 | - this.query_service(); | 56 | + th.query_service(); |
57 | }, | 57 | }, |
58 | //查询服务项目列表 | 58 | //查询服务项目列表 |
59 | query_service: function() { | 59 | query_service: function() { |
@@ -69,7 +69,7 @@ Page({ | @@ -69,7 +69,7 @@ Page({ | ||
69 | }).then(res => { | 69 | }).then(res => { |
70 | if (res.data.code == 0) { | 70 | if (res.data.code == 0) { |
71 | wx.hideLoading(); | 71 | wx.hideLoading(); |
72 | - th.data.curpage++; | 72 | + th.data.curpage++; |
73 | var arr1 = th.data.service_List; | 73 | var arr1 = th.data.service_List; |
74 | var arr2 = res.data.data.pageData; | 74 | var arr2 = res.data.data.pageData; |
75 | var arr3 = [...arr1, ...arr2]; | 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