|
|
@ -30,7 +30,7 @@ |
|
|
|
<view @click.stop="confirmReceiveGoods(order)"> |
|
|
|
确认收货 |
|
|
|
</view> |
|
|
|
<view @click.stop="" class="b1"> |
|
|
|
<view @click.stop="" class="btn2"> |
|
|
|
查看物流 |
|
|
|
</view> |
|
|
|
</template> |
|
|
@ -280,17 +280,38 @@ |
|
|
|
|
|
|
|
<!-- 下单须知 --> |
|
|
|
<view class="line"> |
|
|
|
<view class="t min_tips"> |
|
|
|
<!-- <view class="t min_tips"> |
|
|
|
<view class=""> |
|
|
|
下单须知 |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="min_tips" style="line-height: 40rpx;"> |
|
|
|
<!-- {{msgShop.projectExplain}} --> |
|
|
|
{{msgShop.projectExplain}} |
|
|
|
</view> --> |
|
|
|
<view class="btns"> |
|
|
|
<view |
|
|
|
v-if="!userShop" |
|
|
|
@click="$utils.navigateTo('/pages_order/order/createWash')" |
|
|
|
class="btnS"> |
|
|
|
我要水洗 |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="btns"> |
|
|
|
|
|
|
|
<view @click="$refs.customerServicePopup.open()" class="btn"> |
|
|
|
联系客服 |
|
|
|
联系平台客服 |
|
|
|
</view> |
|
|
|
|
|
|
|
<view |
|
|
|
v-if="userShop" |
|
|
|
@click="$refs.customerServicePopup.open(order.userPhone, '客户')" class="btn"> |
|
|
|
联系客户 |
|
|
|
</view> |
|
|
|
|
|
|
|
<view |
|
|
|
v-else |
|
|
|
@click="$refs.customerServicePopup.open(bindShop.phone, '水洗店')" class="btn"> |
|
|
|
联系水洗店 |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
@ -310,7 +331,8 @@ |
|
|
|
|
|
|
|
<script> |
|
|
|
import { |
|
|
|
mapGetters |
|
|
|
mapGetters, |
|
|
|
mapState |
|
|
|
} from 'vuex' |
|
|
|
import mixinOrder from '@/mixins/order.js' |
|
|
|
import customerServicePopup from '@/components/config/customerServicePopup.vue' |
|
|
@ -323,6 +345,7 @@ |
|
|
|
mixins : [mixinOrder], |
|
|
|
computed: { |
|
|
|
...mapGetters(['userShop']), |
|
|
|
...mapState(['bindShop']), |
|
|
|
}, |
|
|
|
data() { |
|
|
|
return { |
|
|
@ -379,10 +402,16 @@ |
|
|
|
if(this.userShop){ |
|
|
|
this.typeText[0].name = '租赁订单' |
|
|
|
this.$forceUpdate() |
|
|
|
}else{ |
|
|
|
this.$store.commit('getBindShop') |
|
|
|
} |
|
|
|
}, |
|
|
|
onPullDownRefresh() { |
|
|
|
this.getData() |
|
|
|
if(this.userShop){ |
|
|
|
}else{ |
|
|
|
this.$store.commit('getBindShop') |
|
|
|
} |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
|
|
|
@ -447,7 +476,6 @@ |
|
|
|
.btns { |
|
|
|
margin-top: 50rpx; |
|
|
|
display: flex; |
|
|
|
|
|
|
|
view { |
|
|
|
margin: 0 20rpx; |
|
|
|
display: flex; |
|
|
@ -481,29 +509,29 @@ |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
.box { |
|
|
|
padding: 20px; |
|
|
|
|
|
|
|
.btns { |
|
|
|
display: flex; |
|
|
|
justify-content: center; |
|
|
|
align-items: center; |
|
|
|
margin-top: 10px; |
|
|
|
|
|
|
|
.btn { |
|
|
|
color: #fff; |
|
|
|
padding: 10rpx 50rpx; |
|
|
|
background-color: #ffb300; |
|
|
|
border-radius: 30rpx; |
|
|
|
font-size: 25rpx; |
|
|
|
margin-right: 10rpx; |
|
|
|
} |
|
|
|
|
|
|
|
.btc { |
|
|
|
background: #ccc; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
// .box { |
|
|
|
// padding: 20px; |
|
|
|
|
|
|
|
// .btns { |
|
|
|
// display: flex; |
|
|
|
// justify-content: center; |
|
|
|
// align-items: center; |
|
|
|
// margin-top: 10px; |
|
|
|
|
|
|
|
// .btn { |
|
|
|
// color: #fff; |
|
|
|
// padding: 10rpx 50rpx; |
|
|
|
// background-color: #ffb300; |
|
|
|
// border-radius: 30rpx; |
|
|
|
// font-size: 25rpx; |
|
|
|
// margin-right: 10rpx; |
|
|
|
// } |
|
|
|
|
|
|
|
// .btc { |
|
|
|
// background: #ccc; |
|
|
|
// } |
|
|
|
// } |
|
|
|
// } |
|
|
|
|
|
|
|
.info { |
|
|
|
margin: 10px; |
|
|
@ -718,13 +746,28 @@ |
|
|
|
|
|
|
|
.btns { |
|
|
|
display: flex; |
|
|
|
justify-content: center; |
|
|
|
justify-content: space-around; |
|
|
|
margin: 20rpx 0; |
|
|
|
|
|
|
|
.btnS{ |
|
|
|
background-color: $uni-color; |
|
|
|
color: #fff; |
|
|
|
box-shadow: 0 0 5rpx 5rpx #FFAC6E; |
|
|
|
padding: 20rpx 0; |
|
|
|
flex-shrink: 0; |
|
|
|
border-radius: 35rpx; |
|
|
|
flex: 1; |
|
|
|
text-align: center; |
|
|
|
} |
|
|
|
|
|
|
|
.btn { |
|
|
|
color: $uni-color; |
|
|
|
border: 1px solid $uni-color; |
|
|
|
padding: 10rpx 20rpx; |
|
|
|
border-radius: 30rpx; |
|
|
|
flex: 1; |
|
|
|
margin: 10rpx; |
|
|
|
text-align: center; |
|
|
|
} |
|
|
|
} |
|
|
|
} |