|
|
|
@ -28,26 +28,35 @@ |
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
|
|
<view class="title" v-else-if="key == 'reservationSuccessful'"> |
|
|
|
<view class="stext" v-else-if="key == 'reservationSuccessful'"> |
|
|
|
{{ form.name }}先生/小姐 |
|
|
|
<br /> |
|
|
|
我们已成功安排了您的上门威士忌品鉴服务 |
|
|
|
<br /> |
|
|
|
我们的专员将在{{ form.yearValue }}年{{ form.monthDay }}日 {{ form.dayTime }} 到达 |
|
|
|
<br /> |
|
|
|
{{ item.province }} |
|
|
|
{{ item.city }} |
|
|
|
{{ item.area }} |
|
|
|
{{ item.address }} |
|
|
|
{{ form.province || '' }} |
|
|
|
{{ form.city || '' }} |
|
|
|
{{ form.area || '' }} |
|
|
|
{{ form.address || '' }} |
|
|
|
|
|
|
|
<view class="" |
|
|
|
style="margin: 0 auto;margin-top: 40rpx;width: 500rpx;"> |
|
|
|
为您带来精致的品鉴体验期待与您共享这段美妙的威士忌之旅 |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
|
|
<view class="stext" v-else-if="key == 'reservationError'"> |
|
|
|
{{ form.remarks || '' }} 您可以点击下方按钮重新预约上门品鉴时间。 |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
<view class="btn-list"> |
|
|
|
<view class="next-btn-2" |
|
|
|
v-if="mapKey[key].next" |
|
|
|
@click="next(mapKey[key])"> |
|
|
|
点击预约 |
|
|
|
重新预约 |
|
|
|
</view> |
|
|
|
|
|
|
|
<view class="next-btn" |
|
|
|
@ -78,10 +87,14 @@ |
|
|
|
`, |
|
|
|
}, |
|
|
|
reservationSuccessful : { |
|
|
|
rep : true, |
|
|
|
icon : 'img_3', |
|
|
|
title : '预约成功', |
|
|
|
}, |
|
|
|
reservationError : { |
|
|
|
next : true, |
|
|
|
icon : 'img_10', |
|
|
|
title : '预约失败!', |
|
|
|
}, |
|
|
|
}, |
|
|
|
key : '', |
|
|
|
id : '', |
|
|
|
@ -93,8 +106,10 @@ |
|
|
|
}, |
|
|
|
onLoad({key, id}) { |
|
|
|
this.key = key |
|
|
|
if(id){ |
|
|
|
this.id = id |
|
|
|
this.id = id |
|
|
|
}, |
|
|
|
onShow() { |
|
|
|
if(this.id){ |
|
|
|
this.getDetail() |
|
|
|
} |
|
|
|
}, |
|
|
|
@ -117,6 +132,7 @@ |
|
|
|
next(map){ |
|
|
|
uni.navigateTo({ |
|
|
|
url: '/pages_order/info/appoint' |
|
|
|
// url: '/pages/index/preAppoint'//'/pages/index/preAppoint' |
|
|
|
}) |
|
|
|
}, |
|
|
|
} |
|
|
|
|