From ff6c9233877b6a6627253c8c8842d62e6763899c Mon Sep 17 00:00:00 2001
From: lin <1005713861@163.com>
Date: Mon, 20 Apr 2026 15:48:39 +0800
Subject: [PATCH] feat: 澜品优选用户默认头像更换;手机号录入位数限制;更改头像功能隐藏

---
 pages/quanyi/add.vue |   30 +++++++++++++++++++++++++-----
 1 files changed, 25 insertions(+), 5 deletions(-)

diff --git a/pages/quanyi/add.vue b/pages/quanyi/add.vue
index a0b5ca4..80a9255 100644
--- a/pages/quanyi/add.vue
+++ b/pages/quanyi/add.vue
@@ -4,13 +4,17 @@
 import kkIcon from  '@/static/imgs/icons/kk.png'
 import addAddress from "@/pages/quanyi/components/addAddress";
 import agreement from "@/pages/quanyi/components/agreement";
+
+import textBox from "@/components/textBox/index.vue";
 export default {
   name: "add",
   components: {
-    addAddress,agreement
+    addAddress,agreement,textBox
   },
   data() {
     return {
+      getPlatformProtocolNewList:[],
+      showTextBox: false,
       loginAct: false,
       $webHost:'https://rbb98765.zrgy-bbg.com',
       protocolChecked: [1],
@@ -137,6 +141,21 @@
     })
 
 
+    uni.request( {
+      url: _this.$webHost + "/api/v2/renpin/H5/getPlatformProtocolNew",
+      data: {
+        customerId: uni.getStorageSync('qxgLogin').customerId,
+        appId: uni.getStorageSync('qxgLogin').appId
+      },
+      method: 'GET',
+      success(res) {
+        _this.getPlatformProtocolNewList = res.data.data;
+        _this.showTextBox = true;
+        _this.$nextTick(() => {
+          _this.$refs.textBox && _this.$refs.textBox.open()
+        })
+      }
+    })
   },
   methods: {
     kk(){
@@ -1051,6 +1070,9 @@
     </uv-popup>
 
 
+    <text-box v-if="showTextBox" ref="textBox" :getPlatformProtocolNewList="getPlatformProtocolNewList"></text-box>
+
+
   </view>
 </template>
 
@@ -1072,14 +1094,12 @@
   padding-top: 40rpx;
   .clo{
     display: flex;
-    padding: 30rpx 0rpx;
-    margin: 0 40rpx;
-
     background: #FBFBFB !important;
     border-radius: 24rpx 24rpx 24rpx 24rpx;
     border: 2rpx solid #EEEEEE;
     padding: 30rpx 20rpx;
-    margin-bottom: 40rpx;
+    margin: 0 40rpx 40rpx;
+
     .label{
       width: 160rpx;
       height: 40rpx;

--
Gitblit v1.9.3