| | |
| | | </view> |
| | | </view> |
| | | |
| | | <view class="divider"></view> |
| | | <view class="divider" v-if="showDriver"></view> |
| | | |
| | | <view class="rate-block"> |
| | | <view class="rate-block" v-if="showDriver"> |
| | | <view class="title-row"> |
| | | <text class="title-label">配送司机:</text> |
| | | <text class="title-value">{{info.driverName || ''}}</text> |
| | |
| | | <text class="rate-text">{{ form.driverScore }}星</text> |
| | | </view> |
| | | </view> |
| | | <view class="divider"></view> |
| | | <view class="rate-block" v-if="info.type ===1 && info.takeShopId "> |
| | | <view class="divider" v-if="showTakeShop"></view> |
| | | <view class="rate-block" v-if="showTakeShop"> |
| | | <view class="title-row"> |
| | | <text class="title-label">收件门店:</text> |
| | | <text class="title-value">{{info.takeShopName || 0}}</text> |
| | | <text class="title-value">{{info.takeShopName || ''}}</text> |
| | | </view> |
| | | <view class="star-row"> |
| | | <view class="star-list"> |
| | |
| | | data() { |
| | | return { |
| | | id:null, |
| | | type:null, |
| | | takeShopId:null, |
| | | showDriver: false, |
| | | showTakeShop: false, |
| | | info:{}, |
| | | form:{ |
| | | content: "", |
| | |
| | | ] |
| | | } |
| | | }, |
| | | onShow() { |
| | | this.info={} |
| | | this.getUserDetail() |
| | | }, |
| | | // onShow() { |
| | | // this.info={} |
| | | |
| | | // }, |
| | | onLoad(options) { |
| | | this.id = options.id |
| | | this.type = Number(options.type) |
| | | this.takeShopId = options.takeShopId |
| | | this.photoList=[] |
| | | this.form={ |
| | | content: "", |
| | | depositScore: 5, |
| | | driverScore: 5, |
| | | orderId: this.id, |
| | | takeScore: 5, |
| | | images:[] |
| | | |
| | | if (this.type === 1) { |
| | | this.showDriver = true |
| | | if (this.takeShopId) { |
| | | this.showTakeShop = true |
| | | this.form = { |
| | | content: "", |
| | | depositScore: 5, |
| | | driverScore: 5, |
| | | orderId: this.id, |
| | | takeScore: 5, |
| | | images: [] |
| | | } |
| | | } else { |
| | | this.form = { |
| | | content: "", |
| | | depositScore: 5, |
| | | driverScore: 5, |
| | | orderId: this.id, |
| | | images: [] |
| | | } |
| | | } |
| | | } else { |
| | | this.showDriver = false |
| | | this.showTakeShop = false |
| | | this.form={ |
| | | content: "", |
| | | depositScore: 5, |
| | | orderId: this.id, |
| | | images:[] |
| | | } |
| | | } |
| | | |
| | | this.getUserDetail() |
| | | }, |
| | | methods:{ |
| | | deleteImage(index) { |