From 6c7fecf52405e132e3573b43a7206f99026a1fd8 Mon Sep 17 00:00:00 2001 From: zxl <763096477@qq.com> Date: 星期一, 04 八月 2025 18:13:05 +0800 Subject: [PATCH] 商家入驻同意协议,优惠卷领取状态 --- pages/mine/help/tips.vue | 12 +++++++++++- 1 files changed, 11 insertions(+), 1 deletions(-) diff --git a/pages/mine/help/tips.vue b/pages/mine/help/tips.vue index 0c12192..7f9c911 100644 --- a/pages/mine/help/tips.vue +++ b/pages/mine/help/tips.vue @@ -1,7 +1,7 @@ <template> <div class="wrapper"> <u-parse :show-with-animation="true" :lazy-load="true" :selectable="true" :html="res.content" v-if="res"></u-parse> - + <button class="submit" @click="agreed()">鍚屾剰鍗忚</button> </div> </template> <script> @@ -44,9 +44,14 @@ title: this.way[option.type].title, }); this.init(option); + }, methods: { + agreed(){ + uni.setStorageSync('agreed', true); // 瀛樺偍鍚屾剰鐘舵�� + uni.navigateBack(); // 杩斿洖鍘熼〉闈� + }, init(option) { getArticleDetailByType(this.way[option.type].type).then((res) => { if (res.data.success) { @@ -59,6 +64,11 @@ }; </script> <style lang="scss" scoped> + .submit { + color: #fff; + margin-top: 120rpx; + background: rgba($light-color, 0.8); + } .wrapper { padding: 16rpx; } -- Gitblit v1.8.0