From 75060faa3972dab69f6de369358abb26e9099a99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A7=A6=E6=98=9F=E6=98=9F?= <605893810@qq.com> Date: Sat, 5 Sep 2026 16:11:42 +0800 Subject: [PATCH] =?UTF-8?q?feat=EF=BC=9A0905=E4=BC=98=E6=83=A0=E5=88=B8?= =?UTF-8?q?=E5=A4=9A=E7=89=A9=E6=B5=81=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/choiceness/choiceness.vue | 3 +- components/common/product-seckill-card.vue | 8 +- components/shop/parity-product-item.vue | 13 +- components/shop/preferred-product-item.vue | 163 +++--- manifest.json | 6 +- .../mine_order_info/mine_order_info.vue | 145 +++++- .../mine_privacy_agreement.vue | 2 +- .../mine_purse_log/mine_purse_log.vue | 98 ++-- .../order_submit/order_submit.vue | 7 +- .../other_package/productInfo/productInfo.vue | 132 ++++- pages/rwa_package/express/express.vue | 470 +++++++++++++++--- pages/rwa_package/insights/search-result.vue | 4 +- pages/shopping_cart/shopping_cart.vue | 5 +- pages/sort/sort.vue | 2 +- 14 files changed, 825 insertions(+), 233 deletions(-) diff --git a/components/choiceness/choiceness.vue b/components/choiceness/choiceness.vue index f743808..63bd16b 100644 --- a/components/choiceness/choiceness.vue +++ b/components/choiceness/choiceness.vue @@ -13,8 +13,9 @@ + 券后 ¥ - {{ item.price }} + {{ item.couponPrice || item.price }} 全网销量{{ limit999(item.sales) }}件 diff --git a/components/common/product-seckill-card.vue b/components/common/product-seckill-card.vue index 12aa108..a1be351 100644 --- a/components/common/product-seckill-card.vue +++ b/components/common/product-seckill-card.vue @@ -2,8 +2,8 @@ - + {{ countdownText }} @@ -37,11 +37,11 @@ + 券后 ¥ - {{ item.price }} + {{ item.couponPrice || item.price }} {{ `${attributes.leftTime ? `只剩${attributes.leftTime}` : ''}` }} - diff --git a/components/shop/parity-product-item.vue b/components/shop/parity-product-item.vue index fb2b188..1fc7938 100644 --- a/components/shop/parity-product-item.vue +++ b/components/shop/parity-product-item.vue @@ -33,7 +33,18 @@ - + + + 券后¥ + {{ obj.couponPrice }} + + + + 全网销量{{ limit999(obj.sales) }} + + + + ¥ {{ obj.price }} diff --git a/components/shop/preferred-product-item.vue b/components/shop/preferred-product-item.vue index f5fcedc..cee0f9c 100644 --- a/components/shop/preferred-product-item.vue +++ b/components/shop/preferred-product-item.vue @@ -5,105 +5,118 @@ - - - + + + - {{obj.title}} + {{ obj.title }} - - ¥{{obj.price}} - 专区立省{{ Number(obj.adPrice) - Number(obj.price) }}元 - + + ¥{{ obj.couponPrice || obj.price }} + + 专区立省{{ Number(obj.adPrice) - Number(obj.price) }}元 + + diff --git a/manifest.json b/manifest.json index 67eca98..5cd97e0 100644 --- a/manifest.json +++ b/manifest.json @@ -49,7 +49,8 @@ "", "", "", - "" + "", + "" ], "abiFilters" : [ "armeabi-v7a", "arm64-v8a" ], "targetSdkVersion" : 30, @@ -74,7 +75,8 @@ "privacyDescription" : { "NSPhotoLibraryUsageDescription" : "App需要您的同意才能访问相册,以便您选择本地图片上传头像或发布商品评价。例如:当您修改个人头像或发布带图评价时,需要从相册选择图片。", "NSPhotoLibraryAddUsageDescription" : "App需要您的同意才能添加图片到相册,以便您保存商品海报或图片到本地。例如:当您点击保存商品分享海报时,需要写入相册权限。", - "NSCameraUsageDescription" : "App需要您的同意才能访问相机,以便您拍摄图片上传头像或发布商品评价。例如:当您修改个人头像或发布带图评价时,需要使用相机拍摄照片。" + "NSCameraUsageDescription" : "App需要您的同意才能访问相机,以便您拍摄图片上传头像或发布商品评价。例如:当您修改个人头像或发布带图评价时,需要使用相机拍摄照片。", + "NSMicrophoneUsageDescription" : "App需要您的同意才能访问麦克风,用于快速语音输入,实时语音记录等服务。例如:当您使用语音输入或发送语音消息时,需要调用麦克风权限。" } }, /* SDK配置 */ diff --git a/pages/mine_package/mine_order_info/mine_order_info.vue b/pages/mine_package/mine_order_info/mine_order_info.vue index 212b204..a9a6f7d 100644 --- a/pages/mine_package/mine_order_info/mine_order_info.vue +++ b/pages/mine_package/mine_order_info/mine_order_info.vue @@ -92,17 +92,49 @@ x{{ pItem.buyNum }} - - - 运单号: - - {{ pItem.expressNo }} - - + + + + @@ -193,6 +225,10 @@ 去付款 + + 查看物流 + 确认收货 @@ -282,7 +318,8 @@ export default { height: "100vh", isShowBalance: false, qrcodeVal: '', - returnType: 1 + returnType: 1, + isExpandExpress: false }; }, onLoad(options) { @@ -431,6 +468,11 @@ export default { // 处理支付失败后的逻辑,如提示用户等 } }, + onExpress(itemId) { + uni.navigateTo({ + url: `/pages/rwa_package/express/express?id=${itemId}`, + }); + }, /** * 确认收货 */ @@ -742,4 +784,87 @@ export default { display: flex; justify-content: left; } + +.express_card_box { + background-color: #F8F9FB; + border-radius: 16rpx; + padding: 20rpx 24rpx; + margin-top: 24rpx; + + .express_header_row { + display: flex; + align-items: center; + justify-content: space-between; + padding-bottom: 14rpx; + + .express_title { + font-size: 26rpx; + font-weight: 600; + color: #333333; + } + + .express_toggle_btn { + display: flex; + align-items: center; + background-color: #F2E9FF; + padding: 6rpx 20rpx; + border-radius: 24rpx; + font-size: 22rpx; + color: #7934F6; + font-weight: 500; + } + } + + .express_item_row { + display: flex; + align-items: center; + justify-content: space-between; + padding: 16rpx 0 4rpx 0; + border-top: 1rpx dashed #E5E7EB; + + &:first-of-type { + border-top: none; + padding-top: 0; + } + + .express_info_text { + font-size: 26rpx; + color: #333333; + display: flex; + align-items: center; + + .express_name_tag { + font-size: 22rpx; + color: #7934F6; + background-color: #F2E9FF; + padding: 2rpx 12rpx; + border-radius: 6rpx; + margin-right: 12rpx; + font-weight: 500; + } + + .express_no_num { + font-weight: 500; + color: #333333; + letter-spacing: 0.5rpx; + } + } + + .express_copy_btn { + display: flex; + align-items: center; + padding: 6rpx 16rpx; + border-radius: 20rpx; + background-color: #FFFFFF; + border: 1rpx solid #E2E4E8; + cursor: pointer; + + .copy_text { + font-size: 22rpx; + color: #666666; + margin-left: 6rpx; + } + } + } +} \ No newline at end of file diff --git a/pages/mine_package/mine_privacy_agreement/mine_privacy_agreement.vue b/pages/mine_package/mine_privacy_agreement/mine_privacy_agreement.vue index 97b7b95..c25ffb1 100644 --- a/pages/mine_package/mine_privacy_agreement/mine_privacy_agreement.vue +++ b/pages/mine_package/mine_privacy_agreement/mine_privacy_agreement.vue @@ -29,7 +29,7 @@         5: WRITE_EXTERNAL_STORAGE / READ_EXTERNAL_STORAGE / 相册权限:读写外部存储及相册。用于缓存应用数据、保存图片至本地或读取上传所需的图片/文件。例如:当您发布评价或更换头像时,需要访问相册选择图片;当您分享商品海报时,需要将海报保存到您的手机相册。
        6: VIBRATE:允许手机震动。用于在接收到重要通知或特定交互时提供震动反馈。
        7: WAKE_LOCK:唤醒锁定。用于在执行重要后台任务(如文件下载、数据同步)时防止手机进入休眠状态。
-         8: RECORD_AUDIO / 麦克风(录音)权限:允许应用访问麦克风进行音频录制。用于在您使用在线客服发送语音消息、语音搜索或按键语音开单等功能时录制您的声音信息。例如:当您在全媒体智能客服页面按住“按住说话”按钮发送语音消息时,我们需要调用麦克风权限采集音频。
+         8: RECORD_AUDIO / 麦克风(录音)权限:允许应用访问麦克风进行音频录制。用于快速语音输入,实时语音记录等服务。例如:当您使用语音输入或在线客服发送语音消息时,我们需要调用麦克风权限采集音频。
        哪些信息会被收集以及我们如何使用这些信息?
        收集的信息类别
        为了向您提供我们的服务,我们会要求您提供服务所必需的个人信息。 diff --git a/pages/mine_package/mine_purse_log/mine_purse_log.vue b/pages/mine_package/mine_purse_log/mine_purse_log.vue index bec15ef..b0315f1 100644 --- a/pages/mine_package/mine_purse_log/mine_purse_log.vue +++ b/pages/mine_package/mine_purse_log/mine_purse_log.vue @@ -6,7 +6,8 @@ - {{ item.name }} @@ -27,32 +28,35 @@ - + - {{headerData[source[0].key]}} - {{source[0].name}} - {{headerData[source[2].key]}} - {{source[2].name}} + {{ headerData[source[0].key] }} + {{ source[0].name }} + {{ headerData[source[2].key] }} + {{ source[2].name }} - {{headerData[source[1].key]}} - {{source[1].name}} - {{headerData[source[3].key]}} - {{source[3].name}} + {{ headerData[source[1].key] }} + {{ source[1].name }} + {{ headerData[source[3].key] }} + {{ source[3].name }} - + - {{headerData[source[0].key]}} - {{source[0].name}} + {{ headerData[source[0].key] }} + {{ source[0].name }} - {{headerData[source[1].key]}} - {{source[1].name}} + {{ headerData[source[1].key] }} + {{ source[1].name }} @@ -67,15 +71,18 @@ v-if="orderList && orderList.length !== 0"> - - + + {{ getValue(BALANCE_TYPE, item.type) }} {{ formatDate(item.ctdate) }} - {{ handleAmount(item.amount) }} + {{ handleAmount(item.amount) }} + {{ item.remark }} @@ -169,8 +176,8 @@ export default { name: "总分享金额", key: "totalBonus" }, - - + + ]; } @@ -187,7 +194,7 @@ export default { key: "lockAmount" }, { - name: "分红", + name: "消费者权益", key: "bonusAmount" }, @@ -381,7 +388,7 @@ export default { this.form.page = 1; this.selInfo = item.key; let id = 0; - + if (item.key === "cur") { id = this.curId; } @@ -453,33 +460,36 @@ export default { + diff --git a/pages/rwa_package/insights/search-result.vue b/pages/rwa_package/insights/search-result.vue index c127118..ead0d15 100644 --- a/pages/rwa_package/insights/search-result.vue +++ b/pages/rwa_package/insights/search-result.vue @@ -75,8 +75,10 @@ + 券后 ¥ - {{ formatPrice(item.price || item.adPrice) }} + {{ item.couponPrice || formatPrice(item.price || item.adPrice) + }} diff --git a/pages/shopping_cart/shopping_cart.vue b/pages/shopping_cart/shopping_cart.vue index 5ca81a4..aee35da 100644 --- a/pages/shopping_cart/shopping_cart.vue +++ b/pages/shopping_cart/shopping_cart.vue @@ -45,9 +45,10 @@ + 券后 ¥ {{ - pItem.unitPrice + pItem.couponPrice || pItem.unitPrice }} @@ -191,6 +192,7 @@ export default { specsId: curr.specsId, // 规格Id isCheck: false, // 用作于全选 originalPrice: curr.originalPrice, + couponPrice: curr.couponPrice, goodsStatus: curr.goodsStatus, //商品状态:0-可下单,1-库存不够,2-商品已下架 }); } else { @@ -213,6 +215,7 @@ export default { specsId: curr.specsId, // 规格Id isCheck: false, // 用作于全选 originalPrice: curr.originalPrice, + couponPrice: curr.couponPrice, goodsStatus: curr.goodsStatus, //商品状态:0-可下单,1-库存不够,2-商品已下架 }, ], diff --git a/pages/sort/sort.vue b/pages/sort/sort.vue index 535d9ac..3959abc 100644 --- a/pages/sort/sort.vue +++ b/pages/sort/sort.vue @@ -136,7 +136,7 @@ ¥ - {{ item.price }} + {{ item.couponPrice || item.price }} 全网销量{{ limit999(item.sales) }}