Przeglądaj źródła

fix: 首页页面背景修改

xuyunhui 2 lat temu
rodzic
commit
252e37527b

+ 0 - 15
orderPages/bookService/index.vue

@@ -271,7 +271,6 @@
         let that = this;
         // 用户绑定门店
         this.$api.storeList(data).then((res) => {
-          console.log(res.data.data[0])
           that.storeInfo = res.data.data[0]
           // 更新用户选择的门店信息
           uni.setStorageSync('storeInfo', res.data.data[0])
@@ -280,11 +279,9 @@
       // 获取经纬度信息
       getLocation() {
         let that = this
-        console.log('+++++++++++++开始获取位置信息++++++++++++++++')
         uni.getLocation({
           type: 'gcj02',
           success: function (res) {
-            console.log(res)
             let latitude = res.latitude; // 纬度
             let longitude = res.longitude; // 经度
             let speed = res.speed; // 速度
@@ -297,7 +294,6 @@
             that.getStoreListData(that.reqParm)
           },
           fail:function (fail) {
-            console.log('获取用户地址失败==》',fail)
             that.getStoreListData(that.reqParm)
           },
           complete:function (complete) {
@@ -320,7 +316,6 @@
 			},
 
 			clickPeriodDateList(e){
-				console.log("666666666666666",e)
 				this.periodDateIndex = e.index
 				this.periodDate = e
 				this.orderParam.serviceDate=this.periodDate.label
@@ -359,7 +354,6 @@
 					tmplIds: this.templateId,
 					success: (res) =>{
 						let {errMsg,...param} = res
-						console.log('+++++++++++++success+++++++++++++',param)
 						this.$api.updateSubscribe(param).then(res=>{
 							console.log('+++++++++++++updateSubscribe+++++++++++++',res)
 						})
@@ -368,7 +362,6 @@
 						console.log('+++++++++++++fail+++++++++++++',err)
 					},
 					complete:(complete)=>{
-						console.log('+++++++++++++complete+++++++++++++',complete)
 						this.commitOrder()
 					}
 				})
@@ -389,11 +382,9 @@
 			},
 
 			bindPickerChange(e){
-				console.log(e)
 				if (e.detail.value == this.periodDateIndex){
 					return
 				}
-				console.log('++++++++++++++')
 				this.periodDateIndex = e.detail.value
 				this.periodDate = this.periodDateList[e.detail.value]
 				this.orderParam.serviceDate=this.periodDate.label
@@ -403,7 +394,6 @@
 			},
 			//获取排班日期
 			selectDate() {
-				console.log(this.store)
 				this.$api.selectDate({
 					organization: this.store.storeId
 				}).then(res => {
@@ -467,7 +457,6 @@
 			// 查询服务对象信息列表
 			listServiceObject() {
 				this.$api.listServiceObject(this.reqParm).then((res) => {
-					console.log(res)
 					this.serviceObjectList = res.data.data
 					this.getServiceObjectUrl(this.serviceObjectList);
 
@@ -581,7 +570,6 @@
 								break
 							}
 						}
-						console.log(periodTimeList)
 						//这里只为了断开技师列表的应用关系
 						let serviceTeacherListStr = JSON.stringify(this.serviceTeacherList)
 						let serviceTeacherList = JSON.parse(serviceTeacherListStr)
@@ -630,7 +618,6 @@
 							this.price =  this.price * 1 + childService.fee * 1
 							this.price = this.price.toFixed(2)
 						}
-						console.log(this.price)
 						this.$forceUpdate()
 					}else {
 						let selectServiceObjectList = this.orderParam.childService.filter(selectServiceObject =>
@@ -672,11 +659,9 @@
 					this.price =  this.price * 1 + childService.fee * 1
 					this.price = this.price.toFixed(2)
 				}
-				console.log(this.price)
 				this.$forceUpdate()
 			},
 			selectServiceTime(items,index,index2){
-				console.log(items,index,index2)
 				items.forEach(e=>{
 					e.select=false
 				})

+ 6 - 2
orderPages/storeService/index.rpx.scss

@@ -1,5 +1,8 @@
 .page{
   background: #F7F7F7;
+  height: 100vh;
+  //background: #FFE05C;
+  overflow: auto;
 }
 .group{
   background: #FFFFFF;
@@ -50,11 +53,12 @@
   .submitButton {
     text-align: center;
     line-height: 84rpx;
-    width: 686rpx;
+    width: 85vw;
+    margin: 0 auto;
     height: 84rpx;
     background: #FFE05C;
     border-radius: 54rpx;
-    margin-left: 32rpx;
+
   }
 }