diff --git a/pages/user/my_service/i_service.js b/pages/user/my_service/i_service.js
index 8d3cd45..acbb37d 100644
--- a/pages/user/my_service/i_service.js
+++ b/pages/user/my_service/i_service.js
@@ -49,6 +49,10 @@ Page({
var th = this;
if (this.data.total <= th.data.pageSize) return;
if (this.data.ismore) return;
+
+ wx.showLoading({
+ title: '加载中...',
+ })
this.query_service();
},
//查询服务项目列表
@@ -64,7 +68,8 @@ Page({
}
}).then(res => {
if (res.data.code == 0) {
- th.data.curpage++;
+ wx.hideLoading();
+ th.data.curpage++;
var arr1 = th.data.service_List;
var arr2 = res.data.data.pageData;
var arr3 = [...arr1, ...arr2];
@@ -74,7 +79,7 @@ Page({
service_List: arr3,
total: res.data.data.total,
ismore: ismore,
- is_service_read: 1
+ is_service_read: 1,
}), wx.stopPullDownRefresh(); //停止下拉刷新
}
})
@@ -84,7 +89,6 @@ Page({
var th = this;
var ind = e.currentTarget.dataset.ind;
var item = this.data.service_List[ind];
-
var ewm = "^" + th.data.userinfo.erpvipid + "|" + item.ProjectID + "|" + item.BuyType + "|" + item.Validay + "|TY01|";
var tt = th.format_time(1);
ewm = ewm + tt;
diff --git a/pages/user/my_service/i_service.wxml b/pages/user/my_service/i_service.wxml
index 6ef0a7b..611b56b 100644
--- a/pages/user/my_service/i_service.wxml
+++ b/pages/user/my_service/i_service.wxml
@@ -11,15 +11,15 @@
-
+
-
+
-
+
@@ -49,12 +49,18 @@
立即使用
-
- 预约
+
+ 预约
-
+
+
+
+
+ 到底了
+
+
@@ -72,10 +78,8 @@
-
-
\ No newline at end of file
diff --git a/pages/user/my_service/i_service.wxss b/pages/user/my_service/i_service.wxss
index 73ae327..b9ac455 100644
--- a/pages/user/my_service/i_service.wxss
+++ b/pages/user/my_service/i_service.wxss
@@ -31,7 +31,7 @@ page {
display: inline-block;
margin-right: 15rpx;
margin-bottom: 20rpx;
- box-shadow: 0rpx 3rpx 3rpx 3rpx rgb(233, 233, 233);
+ box-shadow: 0rpx 2rpx 3rpx 3rpx rgb(233, 233, 233);
}
.abs {
@@ -105,18 +105,22 @@ page {
.Date {
margin-left: 10rpx;
}
+
/* 无服务项目 */
-.cover{
- position: fixed;
- z-index: 1;
- left: 0rpx;
- top: 390rpx;
- width: 100%;
- height: 200rpx;
- background-color: rgb(255, 255, 255);
+
+.cover {
+ position: fixed;
+ z-index: 1;
+ left: 0rpx;
+ top: 390rpx;
+ width: 100%;
+ height: 200rpx;
+ background-color: rgb(255, 255, 255);
}
+
/* 无历史服务 */
-.empty_order{
+
+.empty_order {
position: fixed;
left: 0rpx;
top: 500rpx;
@@ -145,4 +149,17 @@ page {
height: 56rpx;
background-color: rgb(255, 72, 72);
border-radius: 40rpx;
-}
\ No newline at end of file
+}
+
+.After_all {
+ height: 80rpx;
+}
+
+.After_all .Line {
+ border-top: 3rpx solid rgb(0, 0, 0);
+ width: 130rpx;
+}
+
+.After_all .end {
+ margin: 0rpx 15rpx;
+}