From f0e8ab500a93c4ab7223b8eebd1650c143a8f667 Mon Sep 17 00:00:00 2001
From: lin <1005713861@163.com>
Date: Mon, 25 May 2026 11:07:26 +0800
Subject: [PATCH] feat:星享购 会员权益

---
 pages/quanshou/index.vue |   34 +++++++++++++++++++---------------
 1 files changed, 19 insertions(+), 15 deletions(-)

diff --git a/pages/quanshou/index.vue b/pages/quanshou/index.vue
index f54a8c2..607c426 100644
--- a/pages/quanshou/index.vue
+++ b/pages/quanshou/index.vue
@@ -56,7 +56,7 @@
     const _this = this;
     this.isAgree = uni.getStorageSync('boughtEquity')
     uni.request({
-      url: _this.$webHost+'/api/v2/customer/getRyxBenefitsRecordList?phone='+uni.getStorageSync('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;
@@ -99,14 +99,18 @@
     toHuiyuan(){
       const _this = this;
       uni.request({
-        url: _this.$webHost+'/api/v2/memberEquity/getUrlByShop/'+uni.getStorageSync('phone'),
+        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/'+uni.getStorageSync('phone'),
+              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/toUrl?webUel=' + encodeURIComponent(res.data.data.url)
             })
           } else {
             _this.tips = res.data.data || res.data.msg;
@@ -124,7 +128,7 @@
     getTips(){
       const _this = this;
       uni.request({
-        url: _this.$webHost+'/api/v2/shop/findExpressNo?phone='+uni.getStorageSync('phone'),
+        url: _this.$webHost+'/api/v2/shop/findExpressNo?phone='+_this.$util.getUserInfo().phone,
         success: function (res) {
           if(res.data.code==200){
             _this.tips = res.data.data;
@@ -284,29 +288,29 @@
 
     <uni-popup type="center" ref="comment" >
       <view style="border-radius: 48rpx;padding: 28rpx 0;width: 538rpx;background: #FFFFFF;padding-top: 0;">
-        <view style="background-image: linear-gradient(to bottom, #FFB8B8, #FFFBFC);width: 100%;height: 200rpx;border-radius: 48rpx;">
-          <view style="text-align: center;padding-top: 30rpx;" >
+        <view style="border-radius: 48rpx 48rpx 0 0;background: url('/static/img/shiwuBg.png') no-repeat top center; background-size: 100%;width: 100%;height: 300rpx;">
+          <!-- <view style="text-align: center;padding-top: 30rpx;" >
             <image src="/static/img/yifa.png" style="width: 370rpx;height: 274rpx;"></image>
-          </view>
+          </view> -->
         </view>
-        <view style="font-size: 32rpx;font-weight: 600;color: #333333;text-align: center;margin-top: 134rpx;margin-bottom: 80rpx;padding: 0 28rpx;">
+        <view style="font-size: 32rpx;font-weight: 600;color: #333333;text-align: center;margin-top: 60rpx;margin-bottom: 80rpx;padding: 0 28rpx;">
           <view>{{ tips }}</view>
         </view>
-        <view @click="$refs.comment.close()" style="font-weight: 500;font-size: 32rpx;color: #ffffff;text-align: center;padding: 24rpx 28rpx;border-top: 2rpx solid #EEEEEE;background-color: #EE2626;margin-left: 30rpx;margin-right: 30rpx;border-radius: 56rpx">好的</view>
+        <view @click="$refs.comment.close()" style="font-weight: 500;font-size: 32rpx;color: #ffffff;text-align: center;padding: 24rpx 28rpx;border-top: 2rpx solid #EEEEEE;background-color: #4766FE;margin-left: 30rpx;margin-right: 30rpx;border-radius: 56rpx">好的</view>
       </view>
     </uni-popup>
 
     <uni-popup type="center" ref="life" >
       <view style="border-radius: 48rpx;padding: 28rpx 0;width: 538rpx;background: #FFFFFF;padding-top: 0;">
-        <view style="background-image: linear-gradient(to bottom, #FFB8B8, #FFFBFC);width: 100%;height: 200rpx;border-radius: 48rpx;">
-          <view style="text-align: center;padding-top: 30rpx;">
+        <view style="background: url('/static/img/xuniBg.png') no-repeat top center; background-size: 100%;width: 100%;height: 300rpx;border-radius: 48rpx 48rpx 0 0;">
+          <!-- <view style="text-align: center;padding-top: 30rpx;">
             <image src="/static/img/qsLifeIcon.png" style="width: 370rpx;height: 238rpx;"></image>
-          </view>
+          </view> -->
         </view>
-        <view style="font-size: 32rpx;font-weight: 600;color: #333333;text-align: center;margin-top: 134rpx;margin-bottom: 80rpx;padding: 0 28rpx;">
+        <view style="font-size: 32rpx;font-weight: 600;color: #333333;text-align: center;margin-top: 60rpx;margin-bottom: 80rpx;padding: 0 28rpx;">
           <view>{{ tips }}</view>
         </view>
-        <view @click="$refs.life.close()" style="font-weight: 500;font-size: 32rpx;color: #ffffff;text-align: center;padding: 24rpx 28rpx;border-top: 2rpx solid #EEEEEE;background-color: #EE2626;margin-left: 30rpx;margin-right: 30rpx;border-radius: 56rpx">好的</view>
+        <view @click="$refs.life.close()" style="font-weight: 500;font-size: 32rpx;color: #ffffff;text-align: center;padding: 24rpx 28rpx;border-top: 2rpx solid #EEEEEE;background-color: #4766FE;margin-left: 30rpx;margin-right: 30rpx;border-radius: 56rpx">好的</view>
       </view>
     </uni-popup>
   </view>

--
Gitblit v1.9.3