|
@@ -14,7 +14,7 @@
|
|
|
<view class="content-body">
|
|
|
<view class="store-image flex flex_column justify_center align_center">
|
|
|
<u-image :src="pageInfo.reverseReceiveAddress && pageInfo.reverseReceiveAddress.headerImageList? pageInfo.reverseReceiveAddress.headerImageList[0]:'/static/index/def_home_shop.png'" width="172" height="172" ></u-image>
|
|
|
- <text v-if="pageInfo.name">{{pageInfo.name}}</text>
|
|
|
+ <text v-if="pageInfo.userName">{{'骑手'+pageInfo.userName+'的店铺'}}</text>
|
|
|
<text v-else>{{mobile?mobile:pageInfo.mobile}}</text>
|
|
|
</view>
|
|
|
|
|
@@ -50,9 +50,9 @@
|
|
|
</view>
|
|
|
<!-- 一键预约 -->
|
|
|
<view class="flex flex_column justify_center align_center yuyueBtn">
|
|
|
- <view v-if="isBindRider && isHasRider" class="title">暂无可上门骑手,不能下单</view>
|
|
|
- <view class="haveRiderStyle" @click="submit" v-if="!isBindRider || !isHasRider">一键预约</view>
|
|
|
- <view class="noRiderStyle" v-if="isBindRider && isHasRider">一键预约</view>
|
|
|
+ <view v-if="!isBindRider && !isHasRider" class="title">暂无可上门骑手,不能下单</view>
|
|
|
+ <view class="haveRiderStyle" @click="submit" v-if="isBindRider || isHasRider">一键预约</view>
|
|
|
+ <view class="noRiderStyle" v-if="!isBindRider && !isHasRider">一键预约</view>
|
|
|
<!-- <u-button :custom-style="yuYueBtn" :hair-line="false" >一键预约</u-button> -->
|
|
|
</view>
|
|
|
|
|
@@ -179,9 +179,9 @@
|
|
|
statusBarHeight:20,
|
|
|
toBarHeight:44,
|
|
|
pageInfo:null,
|
|
|
- isHasRider:false ,// 是否有绑定的骑手或3公里有可分配的骑手
|
|
|
- isBindRider:false,
|
|
|
- isHasOrder:false,
|
|
|
+ isHasRider:false ,
|
|
|
+ isBindRider:false,// 是否有绑定的骑手
|
|
|
+ isHasOrder:false,// 是否有3公里可分配的骑手
|
|
|
sourceTypeReserve:'',
|
|
|
orderCreateTime:'',
|
|
|
orderId:'',
|
|
@@ -222,7 +222,7 @@
|
|
|
},
|
|
|
computed: {
|
|
|
mobile(){
|
|
|
- return this.$store.state.vuex_userInfoData.contactMobile
|
|
|
+ return this.$store.state.vuex_userData.mobile
|
|
|
},
|
|
|
// orderId(){
|
|
|
// return this.$store.state.vuex_orderInfo.id
|