|
|
@ -207,41 +207,39 @@ |
|
|
<view class="content-title"> |
|
|
<view class="content-title"> |
|
|
订单备注 |
|
|
订单备注 |
|
|
</view> |
|
|
</view> |
|
|
<view style="height: 200rpx;background: rgba(247, 248, 248, 0.6);border-radius: 40rpx;padding: 20rpx;width: 70%;margin-top: 20rpx;"> |
|
|
<view style="height: 200rpx;background: rgba(247, 248, 248, 0.6);border-radius: 40rpx;padding: 20rpx;margin-top: 20rpx;flex: 1;"> |
|
|
<textarea v-model="addFormData.remark" cols="30" rows="10" placeholder="请填写备注" style="height: 160rpx;width: 100%;"></textarea> |
|
|
<textarea v-model="addFormData.remark" cols="30" rows="10" placeholder="请填写备注" style="height: 160rpx;width: 100%;"></textarea> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
<view style="display: flex;height: 80rpx;line-height: 80rpx;font-weight: 700; align-items:center;padding: 0 4%;border-top: 1px solid #eee;margin-top: 10px;" @tap="openCouponPopup"> |
|
|
|
|
|
<view style="flex: 1;"> |
|
|
<view style="display: flex;height: 80rpx;line-height: 80rpx;font-weight: 700; align-items:center;padding: 0 4%;" @tap="openCouponPopup"> |
|
|
优惠券 |
|
|
<view style="flex: 1;"> |
|
|
</view> |
|
|
优惠券 |
|
|
<view style="color: #ff5722;" v-if="selectedCoupon"> |
|
|
</view> |
|
|
-¥{{selectedCoupon.discountAmount.toFixed(2)}} |
|
|
<view style="color: #ff5722;" v-if="selectedCoupon"> |
|
|
</view> |
|
|
-¥{{selectedCoupon.discountAmount.toFixed(2)}} |
|
|
<view style="color: #0b9b73;" v-else-if="availableCoupons.length > 0"> |
|
|
</view> |
|
|
有 {{availableCoupons.length}} 张可用 |
|
|
<view style="color: #0b9b73;" v-else-if="availableCoupons.length > 0"> |
|
|
</view> |
|
|
有 {{availableCoupons.length}} 张可用 |
|
|
<view style="color: #999;" v-else> |
|
|
</view> |
|
|
无可用券 |
|
|
<view style="color: #999;" v-else> |
|
|
</view> |
|
|
无可用券 |
|
|
<uni-icons type="right" size="14" color="#999" style="margin-left:10rpx;"></uni-icons> |
|
|
</view> |
|
|
|
|
|
<uni-icons type="right" size="14" color="#999" style="margin-left:10rpx;"></uni-icons> |
|
|
|
|
|
</view> |
|
|
|
|
|
<view style="height: 80rpx;line-height: 80rpx;display: flex;padding: 0 4%;"> |
|
|
|
|
|
<view style="flex: 1;font-weight: 700;"> |
|
|
|
|
|
{{isKuaidi?'代取配送费':'跑腿费'}} |
|
|
|
|
|
</view> |
|
|
</view> |
|
|
<view style="color: #000;font-weight:700;"> |
|
|
<view style="height: 80rpx;line-height: 80rpx;display: flex;padding: 0 4%;"> |
|
|
¥{{deliveryFeeCalc.toFixed(2)}} |
|
|
<view style="flex: 1;font-weight: 700;"> |
|
|
|
|
|
{{isKuaidi?'代取配送费':'跑腿费'}} |
|
|
|
|
|
</view> |
|
|
|
|
|
<view style="color: #000;font-weight:700;"> |
|
|
|
|
|
¥{{deliveryFeeCalc.toFixed(2)}} |
|
|
|
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
|
|
|
|
|
|
|
|
|
<view style="display: flex;height: 80rpx;line-height: 100rpx;font-weight: 700;padding: 0 4%;"> |
|
|
<view style="display: flex;height: 80rpx;line-height: 100rpx;font-weight: 700;padding: 0 4%;"> |
|
|
<view style="flex: 1;">合计</view> |
|
|
<view style="flex: 1;">合计</view> |
|
|
<view>¥{{totalAmountCalc.toFixed(2)}}</view> |
|
|
<view>¥{{totalAmountCalc.toFixed(2)}}</view> |
|
|
|
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
|
|
|
|
|
|
<view style="width: 100%;height: 520rpx;"></view> |
|
|
<view style="width: 100%;height: 520rpx;"></view> |
|
|
</view> |
|
|
</view> |
|
|
|
|
|
|
|
|
|