From 642fa7ad5acb2d1f61b27dcf3e4ac6b5fc804d7a Mon Sep 17 00:00:00 2001
From: yfx <1249361928@.com>
Date: Thu, 19 Mar 2026 11:18:56 +0800
Subject: [PATCH] 137弹框协议
---
pages/quanyi/index.vue | 13 ++++++++++++-
1 files changed, 12 insertions(+), 1 deletions(-)
diff --git a/pages/quanyi/index.vue b/pages/quanyi/index.vue
index ddc5c26..5a6c344 100644
--- a/pages/quanyi/index.vue
+++ b/pages/quanyi/index.vue
@@ -1,10 +1,14 @@
<script>
-
+import textBox from "@/components/textBox/index.vue";
export default {
+ components: {
+ textBox
+ },
async created() {
const _this = this;
+
await uni.request({
url: _this.$webHost+'/api/v2/auth/qxgIosUnionLogin?phone='+_this.$util.getUserInfo().phone,
data:{
@@ -35,6 +39,10 @@
success:function (info){
_this.memberPeriodConfigInfo = info.data.data;
uni.setStorageSync('memberPeriodConfigInfo',_this.memberPeriodConfigInfo)
+ _this.showTextBox = true;
+ _this.$nextTick(() => {
+ _this.$refs.textBox && _this.$refs.textBox.open()
+ })
}
})
}
@@ -59,6 +67,7 @@
qxgLogin:{},
protocolChecked: [0],
isAgree: false,
+ showTextBox: false,
tm: null,
time:null,
text:10,
@@ -68,6 +77,7 @@
}
}
},
+
methods: {
goHome(){
uni.switchTab({
@@ -189,6 +199,7 @@
</view>
</view>
+ <textBox v-if="showTextBox" ref="textBox" :code="memberPeriodConfigInfo.protocolCode" :title="memberPeriodConfigInfo.protocolName"></textBox>
</view>
</template>
--
Gitblit v1.9.3