|
@@ -18,19 +18,20 @@
|
|
</view>
|
|
</view>
|
|
<view class="cont">
|
|
<view class="cont">
|
|
<view class="contKk">
|
|
<view class="contKk">
|
|
-
|
|
|
|
- <view class="contLine">
|
|
|
|
- <view class="contlineLeft">联系人</view>
|
|
|
|
- <view class="contlineRight">
|
|
|
|
- <view class="contlineRight">{{customerName}}</view>
|
|
|
|
- </view>
|
|
|
|
- </view>
|
|
|
|
- <view class="contLine">
|
|
|
|
- <view class="contlineLeft">手机号</view>
|
|
|
|
- <view class="contlineRight">
|
|
|
|
- <view class="contlineRight">{{mobilePhone}}</view>
|
|
|
|
- </view>
|
|
|
|
- </view>
|
|
|
|
|
|
+
|
|
|
|
+ <view class="contLine">
|
|
|
|
+ <view class="contlineLeft">联系人</view>
|
|
|
|
+ <view class="contlineRight">
|
|
|
|
+ <input type="text" v-model="customerName" placeholder="请输入联系人姓名" class="contlineRightInput">
|
|
|
|
+ </view>
|
|
|
|
+ </view>
|
|
|
|
+ <view class="contLine">
|
|
|
|
+ <view class="contlineLeft">手机号</view>
|
|
|
|
+ <view class="contlineRight">
|
|
|
|
+ <input type="text" v-model="mobilePhone" placeholder="请输入联系人手机号" class="contlineRightInput">
|
|
|
|
+ </view>
|
|
|
|
+ </view>
|
|
|
|
+
|
|
|
|
|
|
<view class="contLine">
|
|
<view class="contLine">
|
|
<view class="contlineLeft">
|
|
<view class="contlineLeft">
|
|
@@ -43,7 +44,7 @@
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
|
|
- <view class="contLine">
|
|
|
|
|
|
+ <view class="contLine" style="border-bottom: none;">
|
|
<view class="contlineLeft">
|
|
<view class="contlineLeft">
|
|
<image src="../../static/img/icon_star.png" mode="" class="star"></image>
|
|
<image src="../../static/img/icon_star.png" mode="" class="star"></image>
|
|
预约时间
|
|
预约时间
|
|
@@ -67,9 +68,9 @@
|
|
<image src="../../static/img/icon_xianxia.png" mode="" class="zhifuImg"></image>
|
|
<image src="../../static/img/icon_xianxia.png" mode="" class="zhifuImg"></image>
|
|
线下支付
|
|
线下支付
|
|
</view>
|
|
</view>
|
|
- <!-- <view class="contlineRight">
|
|
|
|
- <image src="../../static/img/icon_selectN.png" mode="" class="selectBtn"></image>
|
|
|
|
- </view> -->
|
|
|
|
|
|
+ <view class="contlineRight">
|
|
|
|
+ <image src="../../static/img/icon_selectY.png" mode="" class="selectBtn"></image>
|
|
|
|
+ </view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
@@ -171,17 +172,21 @@
|
|
},
|
|
},
|
|
onShow() {
|
|
onShow() {
|
|
this.carInfo = this.$store.state.carInfo;
|
|
this.carInfo = this.$store.state.carInfo;
|
|
- this.shopInfo=this.$store.state.ckshopInfo;
|
|
|
|
- this.shopInfo.id = this.shopInfo.shopId
|
|
|
|
- this.shopID=this.shopInfo.id
|
|
|
|
|
|
+ let shopInfo = this.$store.state.ckshopInfo;
|
|
|
|
+ if (shopInfo) {
|
|
|
|
+ this.shopInfo= shopInfo
|
|
|
|
+ this.shopInfo.id = this.shopInfo.shopId
|
|
|
|
+ this.shopID=this.shopInfo.id
|
|
|
|
+
|
|
|
|
+ uni.setStorage({
|
|
|
|
+ key: 'yyshopInfo',
|
|
|
|
+ data:this.shopInfo,
|
|
|
|
+ success: function () {
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+ });
|
|
|
|
+ }
|
|
|
|
|
|
- uni.setStorage({
|
|
|
|
- key: 'yyshopInfo',
|
|
|
|
- data:this.shopInfo,
|
|
|
|
- success: function () {
|
|
|
|
-
|
|
|
|
- }
|
|
|
|
- });
|
|
|
|
console.log('服务门店选择过-=',this.shopInfo)
|
|
console.log('服务门店选择过-=',this.shopInfo)
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
@@ -377,22 +382,7 @@
|
|
})
|
|
})
|
|
this.totalMoney = money;
|
|
this.totalMoney = money;
|
|
|
|
|
|
- // if (this.goodsInfo.salePrice) {
|
|
|
|
- // this.totalMoney = this.goodsInfo.salePrice * this.goodsnum;
|
|
|
|
- // if (this.goodsInfo.scribingPrice) {
|
|
|
|
- // var wyh = this.goodsInfo.scribingPrice * this.goodsnum;
|
|
|
|
- // this.yhMoney = wyh - this.totalMoney;
|
|
|
|
- // console.log(this.yhMoney)
|
|
|
|
- // this.yhMoney = this.yhMoney.toFixed(2)
|
|
|
|
- // } else {
|
|
|
|
- // this.yhMoney = 0
|
|
|
|
- // }
|
|
|
|
- // this.totalMoney = this.totalMoney.toFixed(2)
|
|
|
|
- // } else {
|
|
|
|
- // this.totalMoney = this.goodsInfo.scribingPrice * this.goodsnum
|
|
|
|
- // this.totalMoney = this.totalMoney.toFixed(2)
|
|
|
|
- // this.yhMoney = 0
|
|
|
|
- // }
|
|
|
|
|
|
+
|
|
}
|
|
}
|
|
|
|
|
|
}
|
|
}
|
|
@@ -416,7 +406,9 @@
|
|
|
|
|
|
.bottomLeft {
|
|
.bottomLeft {
|
|
padding-top: 23rpx;
|
|
padding-top: 23rpx;
|
|
- padding-left: 30rpx;
|
|
|
|
|
|
+ padding-left: 30rpx;
|
|
|
|
+ height: 74rpx;
|
|
|
|
+ line-height: 74rpx;
|
|
}
|
|
}
|
|
|
|
|
|
.bottomLeftLine {
|
|
.bottomLeftLine {
|
|
@@ -468,9 +460,9 @@
|
|
align-content: flex-start;
|
|
align-content: flex-start;
|
|
|
|
|
|
|
|
|
|
- font-size: 30rpx;
|
|
|
|
|
|
+ font-size: 24rpx;
|
|
font-weight: bold;
|
|
font-weight: bold;
|
|
- color: #3C3C3C;
|
|
|
|
|
|
+ color: #666666;
|
|
}
|
|
}
|
|
|
|
|
|
.contLine {
|
|
.contLine {
|