lin
2026-07-09 1c9a1dced28b40e44159d05f83f51b428378ceb5
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;