From 740ccab260b48d191ae717ba88bd46c8155fe253 Mon Sep 17 00:00:00 2001
From: lin <1005713861@163.com>
Date: Fri, 08 May 2026 16:01:41 +0800
Subject: [PATCH] feat:澜品优选 优化
---
pages/quanshou/index.vue | 16 ++++++++++------
1 files changed, 10 insertions(+), 6 deletions(-)
diff --git a/pages/quanshou/index.vue b/pages/quanshou/index.vue
index 7439e14..ec76918 100644
--- a/pages/quanshou/index.vue
+++ b/pages/quanshou/index.vue
@@ -66,7 +66,7 @@
const _this = this;
this.isAgree = uni.getStorageSync('boughtEquity')
uni.request({
- url: _this.$webHost+'/api/v2/customer/getRyxBenefitsRecordList?phone='+_this.$util.getUserInfo().phone+'&appId='+'47be9559-6b1b-42dd-84ed-25d028065013',
+ url: _this.$webHost+'/api/v2/customer/getRyxBenefitsRecordList?phone='+_this.$util.getUserInfo().phone+'&appId='+uni.getStorageSync('ygxLogin').appId,
success: function (res) {
if(res.data.code==200){
_this.lst = res.data.data;
@@ -110,13 +110,17 @@
const _this = this;
uni.request({
url: _this.$webHost+'/api/v2/memberEquity/getUrlByShop/'+_this.$util.getUserInfo().phone,
+ data:{
+ customerId: uni.getStorageSync('ygxLogin').customerId,
+ appId: uni.getStorageSync('ygxLogin').appId
+ },
success: function (res) {
if(res.data.code==200){
uni.request( {
url: _this.$webHost+'/api/v2/memberEquity/clickUrlByShop/'+_this.$util.getUserInfo().phone,
})
uni.navigateTo( {
- url: '/pages/users/web_page/index?webUel=' + encodeURIComponent(res.data.data.url)
+ url: '/pages/web/index?webUel=' + encodeURIComponent(res.data.data.url)
})
} else {
_this.tips = res.data.data || res.data.msg;
@@ -210,7 +214,7 @@
<!-- <view style="font-size: 28rpx;font-weight: 400;background: -webkit-linear-gradient(#FFEEE7, #F4936F);-webkit-background-clip: text;-webkit-text-fill-color: transparent;">会员预计最高节省1359.27元</view>-->
<view style="display: flex;margin-top: 30rpx;align-items: self-end;">
<view v-if="lst.length" style="font-size: 24rpx;width: 70%;">
- <p style="font-size: 36rpx;color: #253567;font-weight: bold;">¥{{lst[0].amount.toFixed(2)}} 99<span style="font-size: 28rpx;margin-left: 20rpx;">{{lst[0].isBuy?'已扣款' : '待扣款'}}</span></p>
+ <p style="font-size: 36rpx;color: #253567;font-weight: bold;">¥{{lst[0].amount.toFixed(2)}} <span style="font-size: 28rpx;margin-left: 20rpx;">{{lst[0].isBuy?'已扣款' : '待扣款'}}</span></p>
<!-- <p style="font-size: 48rpx;color: #253567;font-weight: bold;">¥99.00<span style="font-size: 28rpx;margin-left: 20rpx;">已扣款</span></p>-->
<!-- <p style="background: -webkit-linear-gradient(#FFEEE7, #F4936F);-webkit-background-clip: text;-webkit-text-fill-color: transparent;">{{lst[0].buyDate}}</p>-->
</view>
@@ -246,7 +250,7 @@
<view style="font-size: 36rpx;color: #333333;margin: 0 20rpx;">
<span class="content-title-item">实物权益</span>
</view>
- <view style="color: #666666;font-size: 24rpx;">专享权益以实际兑换页面为准</view>
+ <view style="color: #666666;font-size: 24rpx;">专享权益以商城实际发出商品为准</view>
<!-- <image style="width: 111rpx;height: 8rpx;" src="/static/img/qsRight.png"></image>-->
</view>
<view class="physical" style="background: url('/static/img/qsPhysical.png') no-repeat top center; background-size: 100%;width: 100%;height: 982rpx;">
@@ -258,8 +262,8 @@
<!-- </view>-->
</view>
<view style="width: 690rpx;display: flex;gap: 20rpx;position: fixed;bottom: 40rpx;left: 30rpx;z-index: 5;">
- <button @click="toHuiyuan" style="width:50%;height: 100rpx;line-height: 100rpx;color: #ffffff;border-radius: 50rpx;font-size: 34rpx;background-color: #CD8319">虚拟权益</button>
- <button @click="getTips" style="width:50%;height: 100rpx;line-height: 100rpx;color: #ffffff;border-radius: 50rpx;font-size: 34rpx;background-color: #4766FE">实物权益</button>
+ <button @click="toHuiyuan" style="width:50%;height: 100rpx;line-height: 100rpx;color: #ffffff;border-radius: 50rpx;font-size: 34rpx;background-color: #CD8319">领取虚拟权益</button>
+ <button @click="getTips" style="width:50%;height: 100rpx;line-height: 100rpx;color: #ffffff;border-radius: 50rpx;font-size: 34rpx;background-color: #4766FE">查询实物权益</button>
</view>
</view>
--
Gitblit v1.9.3