From 91ab0a3b7eca959fc40bd9c8eb68f9202d0b5eb9 Mon Sep 17 00:00:00 2001
From: wupengfei <834520024@qq.com>
Date: 星期三, 22 十月 2025 10:15:33 +0800
Subject: [PATCH] fix: bug
---
apps/cMiniApp/src/subpackages/mine/setting/setting.vue | 24 +++++++++++++++++++-----
1 files changed, 19 insertions(+), 5 deletions(-)
diff --git a/apps/cMiniApp/src/subpackages/mine/setting/setting.vue b/apps/cMiniApp/src/subpackages/mine/setting/setting.vue
index c0426e2..e93197a 100644
--- a/apps/cMiniApp/src/subpackages/mine/setting/setting.vue
+++ b/apps/cMiniApp/src/subpackages/mine/setting/setting.vue
@@ -9,9 +9,9 @@
</template>
</ListItem> -->
<ListItem title="鐢ㄦ埛鍗忚" @click="goMineUserPolicy"></ListItem>
- <ListItem title="浜哄伐瀹㈡湇" @click="goMineService"></ListItem>
<ListItem title="闅愮鏀跨瓥" @click="goPrivacyPolicy"></ListItem>
<ListItem title="閫�鍑虹櫥褰�" @click="handleLoginout"></ListItem>
+ <nut-button :open-type="'contact'" class="setting-page-service">浜哄伐瀹㈡湇</nut-button>
</List>
</PageLayout>
</template>
@@ -59,10 +59,11 @@
}
function goMineService() {
+ const encodedUrl = encodeURIComponent('https://work.weixin.qq.com/kfid/kfcd24e0c60fd91099');
Taro.openCustomerServiceChat({
extInfo: {
// url: 'https://work.weixin.qq.com/kfid/kfcd24e0c60fd91099',
- url: RouterPath.extraPage,
+ url: `${RouterPath.extraPage}?url=${encodedUrl}`,
},
corpId: 'wwc84cb8e0525c772f',
fail: (res) => {
@@ -78,8 +79,21 @@
<style lang="scss">
@import '@/styles/common.scss';
-.user-account {
- color: boleGetCssVar('text-color', 'regular');
- font-size: 24px;
+.setting-page-wrapper {
+ .user-account {
+ color: boleGetCssVar('text-color', 'regular');
+ font-size: 24px;
+ }
+
+ .setting-page-service {
+ height: 104px;
+ padding-left: 28px;
+ color: boleGetCssVar('text-color', 'primary');
+ width: 100%;
+
+ .nut-button__wrap {
+ justify-content: flex-start;
+ }
+ }
}
</style>
--
Gitblit v1.9.1