From a9e9233ff88495e022738179fefaea739e145abb Mon Sep 17 00:00:00 2001
From: lin <1005713861@163.com>
Date: Thu, 25 Jun 2026 10:43:57 +0800
Subject: [PATCH] UI:澜品优选 我的页面会员权益跳转逻辑调整

---
 pages/quanyi/components/agreement/index.vue |   15 +++++++++++----
 1 files changed, 11 insertions(+), 4 deletions(-)

diff --git a/pages/quanyi/components/agreement/index.vue b/pages/quanyi/components/agreement/index.vue
index 3e0fec3..3ab0523 100644
--- a/pages/quanyi/components/agreement/index.vue
+++ b/pages/quanyi/components/agreement/index.vue
@@ -12,9 +12,12 @@
     const _this = this;
     uni.request( {
       url: _this.$webHost + "/api/v2/renpin/H5/getPlatformProtocolNew",
+      data: {
+        customerId: uni.getStorageSync('ygxLogin').customerId,
+        appId: uni.getStorageSync('ygxLogin').appId
+      },
       method: 'GET',
       success(res) {
-        console.log(res.data.data);
         _this.list = res.data.data;
       }
     })
@@ -25,6 +28,7 @@
       this.$refs.agreement.open();
     },
     toProtocol(e){
+      console.log(e);
       let title = e.name;
       let code = e.code;
       uni.navigateTo({
@@ -42,16 +46,16 @@
             zIndex="3">
     <uv-cell-group>
       <view class="popup-title">
-        <view>请阅读以下协议</view>
+        <view style="margin: auto;text-align: center;padding: 20rpx;">请阅读以下协议</view>
       </view>
       <view class="setting-list-item">
         <view
             class="setting-text"
-            style="font-size: 32rpx; font-weight: bold; justify-content: left"
+            style="font-size: 32rpx; font-weight: bold; justify-content: left;padding-left: 30rpx;"
         >平台服务协议</view
         >
       </view>
-      <view class="list" style="height: 50vh;">
+      <view class="list" style="height: 50vh;overflow: scroll;">
         <view class="li" @click="toProtocol(item)" v-for="(item,index) in list" :key="index" >
 
           <view style="font-size: 30rpx">{{item.name}}</view>
@@ -73,7 +77,10 @@
   display: flex;
   flex-direction: row;
   justify-content: center;
+
+  margin: auto;
   margin-top: 38rpx;
+  text-align: center;
 }
 .setting-list-item {
   display: flex;

--
Gitblit v1.9.3