|
@ -222,7 +222,7 @@ |
|
|
style="margin: 10rpx 0;" |
|
|
style="margin: 10rpx 0;" |
|
|
:key="index" |
|
|
:key="index" |
|
|
v-for="(address, index) in addressList"> |
|
|
v-for="(address, index) in addressList"> |
|
|
<view style="display: flex; justify-content: space-between; align-items: center;"> |
|
|
|
|
|
|
|
|
<view style="display: flex;align-items: center;flex-direction: column;"> |
|
|
<view style="flex: 1; padding-right: 10rpx;"> |
|
|
<view style="flex: 1; padding-right: 10rpx;"> |
|
|
<text>可接单地址{{ index + 1 }}:</text> |
|
|
<text>可接单地址{{ index + 1 }}:</text> |
|
|
<text>{{ address.area }} {{ address.address }} {{ address.rangeNo ? address.rangeNo + '公里内' : '' }}</text> |
|
|
<text>{{ address.area }} {{ address.address }} {{ address.rangeNo ? address.rangeNo + '公里内' : '' }}</text> |
|
@ -234,15 +234,20 @@ |
|
|
style="font-size: 20rpx; color: #FFB13F; display: flex; align-items: center; padding: 2rpx 8rpx; background-color: #FFF9F0; border-radius: 20rpx;" |
|
|
style="font-size: 20rpx; color: #FFB13F; display: flex; align-items: center; padding: 2rpx 8rpx; background-color: #FFF9F0; border-radius: 20rpx;" |
|
|
@click="selectDate = address.appletOutDate.map(n => n.date);$refs.calendarPopup.open('bottom')"> |
|
|
@click="selectDate = address.appletOutDate.map(n => n.date);$refs.calendarPopup.open('bottom')"> |
|
|
<uni-icons type="calendar" size="20rpx" color="#FFB13F" style="margin-right: 2rpx;"></uni-icons> |
|
|
<uni-icons type="calendar" size="20rpx" color="#FFB13F" style="margin-right: 2rpx;"></uni-icons> |
|
|
<text>不接单{{address.appletOutDate.length}}天</text> |
|
|
|
|
|
|
|
|
<text>点击查看不接单{{address.appletOutDate.length}}天</text> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
|
|
|
|
|
|
|
|
|
<addressMap :addressList="addressList" @clickAddress="clickAddress"/> |
|
|
|
|
|
|
|
|
</uni-card> |
|
|
</uni-card> |
|
|
</view> |
|
|
</view> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<view class="service-record" style="padding-bottom: 55px;"> |
|
|
<view class="service-record" style="padding-bottom: 55px;"> |
|
|
<uni-card :is-shadow="false" padding=0 margin="10px"> |
|
|
<uni-card :is-shadow="false" padding=0 margin="10px"> |
|
|
<view class="service-record-title" slot="title"> |
|
|
<view class="service-record-title" slot="title"> |
|
@ -352,8 +357,12 @@ |
|
|
} from "@/api/order/order" |
|
|
} from "@/api/order/order" |
|
|
import uniRate from '@/uni_modules/uni-rate/components/uni-rate/uni-rate.vue'; |
|
|
import uniRate from '@/uni_modules/uni-rate/components/uni-rate/uni-rate.vue'; |
|
|
import positionMixin from '../../mixins/position'; |
|
|
import positionMixin from '../../mixins/position'; |
|
|
|
|
|
import addressMap from '@/components/addressMap.vue' |
|
|
export default { |
|
|
export default { |
|
|
mixins: [positionMixin], |
|
|
mixins: [positionMixin], |
|
|
|
|
|
components : { |
|
|
|
|
|
addressMap |
|
|
|
|
|
}, |
|
|
data() { |
|
|
data() { |
|
|
return { |
|
|
return { |
|
|
currentCompanionPetId: '', |
|
|
currentCompanionPetId: '', |
|
@ -472,6 +481,12 @@ |
|
|
this.getCurrentCompanionPetInfo(this.currentCompanionPetId) |
|
|
this.getCurrentCompanionPetInfo(this.currentCompanionPetId) |
|
|
}, |
|
|
}, |
|
|
methods: { |
|
|
methods: { |
|
|
|
|
|
clickAddress(address){ |
|
|
|
|
|
if(address.appletOutDate && address.appletOutDate.length > 0){ |
|
|
|
|
|
this.selectDate = address.appletOutDate.map(n => n.date); |
|
|
|
|
|
this.$refs.calendarPopup.open('bottom') |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
toBuy(){ |
|
|
toBuy(){ |
|
|
this.buyInfo.teacher = this.companionInfo |
|
|
this.buyInfo.teacher = this.companionInfo |
|
|
uni.navigateTo({ |
|
|
uni.navigateTo({ |
|
|