소스 검색

fix:今日号段已经拿完提示。提示方式可以弹框

xuyunhui 2 주 전
부모
커밋
4e74ce0edd
3개의 변경된 파일13개의 추가작업 그리고 7개의 파일을 삭제
  1. 6 5
      orderPages/bookService/index.vue
  2. 7 1
      orderPages/storeService/index.vue
  3. 0 1
      storePages/myRights/index.vue

+ 6 - 5
orderPages/bookService/index.vue

@@ -661,11 +661,12 @@
 
 			selectServiceObject(item) {
 				if (!this.serviceTeacherList || this.serviceTeacherList.length==0){
-					uni.showToast({
-						icon: 'none',
-						duration: 2000,
-						title: '暂无可预约排班'
-					});
+          uni.showModal({
+            title:"温馨提示",
+            content:"今日线上号段已拿完,理发可先电话咨询门店",
+            showCancel:false,
+            confirmText:"知道了"
+          })
 					return
 				}
 				if (item.select) {

+ 7 - 1
orderPages/storeService/index.vue

@@ -490,7 +490,13 @@
 				}).then(res=>{
 					this.periodTimeList = res.data.data
 					if (this.periodTimeList.length===0){
-						uni.$u.toast('暂无可预约排班')
+						// uni.$u.toast('暂无可预约排班')
+            uni.showModal({
+              title:"温馨提示",
+              content:"今日线上号段已拿完,理发可先电话咨询门店",
+              showCancel:false,
+              confirmText:"知道了"
+            })
 					}
 					// 服务对象
 					this.listServiceObject()

+ 0 - 1
storePages/myRights/index.vue

@@ -153,7 +153,6 @@
               url:'/orderPages/activityDetail/activityDetail?id=' + item.activityId +'&renewServiceObjectId=' + item.serviceObjectId
             })
           }else {
-
             uni.navigateTo({
               url:'/orderPages/activityList/activityList?renewServiceObjectId=' + item.serviceObjectId + '&equityCardId=' + item.equityCardId
             })