1 line
20 KiB
Plaintext
1 line
20 KiB
Plaintext
|
{"version":3,"file":"confirm.js","sources":["../../../../../../src/modules/mall/order/confirm.vue","../../../../../../uniPage:/bW9kdWxlc1xtYWxsXG9yZGVyXGNvbmZpcm0udnVl"],"sourcesContent":["<template>\r\n <s-layout title=\"确认订单\">\r\n <!-- 头部地址选择【配送地址】【自提地址】 -->\r\n <AddressSelection v-model=\"addressState\" />\r\n\r\n <!-- 商品信息 -->\r\n <view class=\"order-card-box ss-m-b-14\">\r\n <s-goods-item\r\n v-for=\"item in state.orderInfo.items\"\r\n :key=\"item.skuId\"\r\n :img=\"item.picUrl\"\r\n :title=\"item.spuName\"\r\n :skuText=\"item.properties.map((property) => property.valueName).join(' ')\"\r\n :price=\"item.price\"\r\n :num=\"item.count\"\r\n marginBottom=\"10\"\r\n />\r\n <view class=\"order-item ss-flex ss-col-center ss-row-between ss-p-x-20 bg-white ss-r-10\">\r\n <view class=\"item-title\">订单备注</view>\r\n <view class=\"ss-flex ss-col-center\">\r\n <uni-easyinput\r\n maxlength=\"20\"\r\n placeholder=\"建议留言前先与商家沟通\"\r\n v-model=\"state.orderPayload.remark\"\r\n :inputBorder=\"false\"\r\n :clearable=\"false\"\r\n />\r\n </view>\r\n </view>\r\n </view>\r\n\r\n <!-- 价格信息 -->\r\n <view class=\"bg-white total-card-box ss-p-20 ss-m-b-14 ss-r-10\">\r\n <view class=\"total-box-content border-bottom\">\r\n <view class=\"order-item ss-flex ss-col-center ss-row-between\">\r\n <view class=\"item-title\">商品金额</view>\r\n <view class=\"ss-flex ss-col-center\">\r\n <text class=\"item-value ss-m-r-24\">\r\n ¥{{ fen2yuan(state.orderInfo.price.totalPrice) }}\r\n </text>\r\n </view>\r\n </view>\r\n <view\r\n class=\"order-item ss-flex ss-col-center ss-row-between\"\r\n v-if=\"state.orderInfo.type === 0\"\r\n >\r\n <view class=\"item-title\">积分抵扣</view>\r\n <view class=\"ss-flex ss-col-center\">\r\n {{ state.pointStatus ? '剩余积分' : '当前积分' }}\r\n <image\r\n :src=\"sheep.$url.static('/static/img/shop/goods/score1.svg')\"\r\n class=\"score-img\"\r\n />\r\n <text class=\"item-value ss-m-r-24\">\r\n {{\r\n state.pointStatus\r\n ? state.orderInfo.totalPoint - state.orderInfo.usePoint\r\n : state.orderInfo.totalPoint || 0\r\n }}\r\n </text>\r\n <checkbox-group @change=\"changeIntegral\">\r\n <checkbox\r\n :checked=\"state.pointStatus\"\r\n :disabled=\"!state.orderInfo.totalPoint || state.orderInfo.totalPoint <= 0\"\r\n />\r\n </checkbox-group>\r\n </view>\r\n </view>\r\n <!-- 快递配置时,信息的展示 -->\r\n <view\r\n class=\"order-item ss-flex ss-col-center ss-row-between\"\r\n v-if=\"addressState.deliveryType === 1\"\r\n >\r\n <view class=\"item-title\">运费</view>\r\n <view class=\"ss-flex ss-col-center\">\r\n <text class=\"item-value ss-m-r-24\" v-if=\"state.orderInfo.price.deliveryPrice > 0\">\r\n +¥{{ fen2yuan(state.orderInfo.price.deliveryPrice) }}\r\n </text>\r\n <view class=\"item-value ss-m-r-24\" v-else>免运费</view>\r\n </view>\r\n </view>\r\n <!-- 门店自提时,需要填写姓名和手机号 -->\r\n <view\r\n class=\"order-item ss-flex ss-col-center ss-row-between\"\r\n v-if=\"addressState.deliveryType === 2\"\r\n >\r\n <view class=\"item-title\">联系人</view>\r\n <view class=\"ss-flex ss-col-center\">\r\n <uni-easyinput\r\n maxlength=\"20\"\r\n placeholder=\"请填写您的联系姓名\"\r\n v-model=\"
|