From f958247d2c9a8615bef24c503c8b91d5c5535e0e Mon Sep 17 00:00:00 2001
From: yfx <1249361928@.com>
Date: Thu, 19 Mar 2026 17:53:28 +0800
Subject: [PATCH] title

---
 pages/quanyi/add.vue |   38 ++++++++++++++++++++++++--------------
 1 files changed, 24 insertions(+), 14 deletions(-)

diff --git a/pages/quanyi/add.vue b/pages/quanyi/add.vue
index 8d74334..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,16 +141,21 @@
     })
 
 
-  },
-  mounted(){
-    this.windowHeight = uni.getSystemInfoSync().windowHeight;
-    this.interval = setInterval(() => {
-      let newHeight = window.innerHeight;
-      if (this.windowHeight !== newHeight) {
-        this.windowHeight = newHeight;
-        this.handleResize();
+    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()
+        })
       }
-    }, 200);
+    })
   },
   methods: {
     kk(){
@@ -1061,6 +1070,9 @@
     </uv-popup>
 
 
+    <text-box v-if="showTextBox" ref="textBox" :getPlatformProtocolNewList="getPlatformProtocolNewList"></text-box>
+
+
   </view>
 </template>
 
@@ -1082,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