| | |
| | | :class="{ active: item.count > 0 }" |
| | | > |
| | | <view class="luggage-info"> |
| | | <image class="luggage-image" :src="item.iconFull" mode="widthFix"></image> |
| | | <view class="luggage-image"> |
| | | <image style="height: 100%;" :src="item.iconFull" mode="heightFix"></image> |
| | | </view> |
| | | <view class="luggage-copy"> |
| | | <text class="luggage-name">{{ item.name }}</text> |
| | | <text class="luggage-size">{{ item.remark || '' }}</text> |
| | |
| | | </view> |
| | | </view> |
| | | <view v-if="amountData || showInsuranceTip" class="insurance-tip-row"> |
| | | <text v-if="showInsuranceTip" class="insurance-tip-warning">您的物品价值较高,建议购买保价服务</text> |
| | | <text v-if="showInsuranceTip" class="insurance-tip-warning">{{ showInsuranceTipText }}</text> |
| | | <text v-else></text> |
| | | <view style="display: flex; align-items: center;"> |
| | | <text v-if="amountData" class="insurance-tip-label">物品保费:</text> |
| | |
| | | </view> |
| | | <text class="amount-row-value">{{ '¥' + item.unitPrice }}</text> |
| | | </view> |
| | | <view v-if="activeMode === 'city' && amountData.distance" class="amount-row amount-row-extra"> |
| | | <view class="amount-row-left"> |
| | | <text class="amount-row-label">配送里程</text> |
| | | </view> |
| | | <text class="amount-row-value">{{ amountData.distance + 'km' }}</text> |
| | | </view> |
| | | <view v-if="amountData.insuranceFee" class="amount-row amount-row-extra"> |
| | | <view class="amount-row-left"> |
| | | <text class="amount-row-label">行李保价</text> |
| | | </view> |
| | | <text class="amount-row-value">{{ '¥' + amountData.insuranceFee }}</text> |
| | | </view> |
| | | </view> |
| | | <view class="agreement-bar popup-agreement-bar" @click="toggleAgreement"> |
| | | <image class="agreement-icon" :src="agreementChecked ? '/static/icon/ic_accept_sel@2x.png' : '/static/icon/ic_accept@2x.png'" mode="widthFix" /> |
| | |
| | | <view class="total-wrap"> |
| | | <text class="total-label">总费用</text> |
| | | <text class="total-price">{{ amountData ? '¥' + amountData.totalPrice : '¥--' }}</text> |
| | | <view @click="showAmountPopup = false"> |
| | | <view style="display: flex; align-items: center;" @click="showAmountPopup = false"> |
| | | <text class="detail-text">明细</text> |
| | | <u-icon name="arrow-up" size="13" color="#7B7F86"></u-icon> |
| | | </view> |
| | |
| | | }, |
| | | amountData: null, |
| | | showInsuranceTip: false, |
| | | showInsuranceTipText: '', |
| | | luggageTypes: [], |
| | | serviceTimes: [], |
| | | |
| | |
| | | } |
| | | this.showStorePopup = false |
| | | }, |
| | | confirmGoods(relationOtherField) { |
| | | confirmGoods() { |
| | | if (!this.goodsOptions.find(item => item.active)) { |
| | | uni.showToast({ title: '请选择物品信息', icon: 'none' }) |
| | | return |
| | | } |
| | | this.form.goodTypeName = this.goodsOptions.find(item => item.active)?.name || '' |
| | | this.form.goodType = this.goodsOptions.find(item => item.active)?.id || '' |
| | | this.showInsuranceTip = relationOtherField === 1 |
| | | this.showInsuranceTip = this.goodsOptions.find(item => item.active)?.relationOtherField === '1' |
| | | this.showInsuranceTipText = this.goodsOptions.find(item => item.active)?.relationRemark |
| | | this.showGoodsPopup = false |
| | | }, |
| | | confirmArriveTime(e) { |
| | |
| | | } else { |
| | | uni.showToast({ title: '支付失败', icon: 'none' }) |
| | | } |
| | | uni.redirectTo({ |
| | | url: '/pages/delivery-order-detail/delivery-order-detail?id=' + orderId |
| | | uni.setStorageSync("orderStatus",-2) |
| | | uni.switchTab({ |
| | | url: '/pages/itinerary/itinerary' |
| | | }); |
| | | |
| | | } |
| | | }) |
| | | } |
| | |
| | | |
| | | .luggage-item { |
| | | display: flex; |
| | | align-items: baseline; |
| | | align-items: flex-end; |
| | | justify-content: space-between; |
| | | padding: 24rpx; |
| | | box-sizing: border-box; |
| | |
| | | height: 100rpx; |
| | | border-radius: 8rpx; |
| | | margin-right: 18rpx; |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: center; |
| | | background: #f0f1f4; |
| | | overflow: hidden; |
| | | margin-right: 24rpx; |