From 3a188822cc7c42387081ee62bacf2a331c3edb28 Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期一, 29 十二月 2025 09:26:45 +0800
Subject: [PATCH] Merge branch 'master' of http://120.26.58.240:8888/r/flexJobMiniApp

---
 apps/cMiniApp/src/subpackages/wallet/mineWallet/InnerPage.vue |   36 ++++++++++++++++++++++--------------
 apps/cMiniApp/src/stores/modules/system.ts                    |   11 +++++++++++
 apps/cMiniApp/src/pages/mine/index.vue                        |    6 ++++--
 3 files changed, 37 insertions(+), 16 deletions(-)

diff --git a/apps/cMiniApp/src/pages/mine/index.vue b/apps/cMiniApp/src/pages/mine/index.vue
index 68cc1c8..a6f3a53 100644
--- a/apps/cMiniApp/src/pages/mine/index.vue
+++ b/apps/cMiniApp/src/pages/mine/index.vue
@@ -34,8 +34,9 @@
                       class="user-info-unCertified-btn"
                       @click.stop="goAuthentication"
                       v-if="
-                        userDetail?.realStatus === EnumPersonalUserRealStatus.UnReal ||
-                        userDetail?.realStatus === EnumPersonalUserRealStatus.Fail
+                        (userDetail?.realStatus === EnumPersonalUserRealStatus.UnReal ||
+                          userDetail?.realStatus === EnumPersonalUserRealStatus.Fail) &&
+                        !hideTemplate
                       "
                     >
                       绔嬪嵆璁よ瘉
@@ -178,6 +179,7 @@
 const systemStore = useSystemStore();
 const { goLoginFn } = useGoLogin();
 const bgHeight = computed(() => 133 + systemStore.navHeight);
+const hideTemplate = computed(() => systemStore.isWeappCheck);
 
 useQuery({
   queryKey: ['updateUserInfo'],
diff --git a/apps/cMiniApp/src/stores/modules/system.ts b/apps/cMiniApp/src/stores/modules/system.ts
index 8fdd047..6e1d8e3 100644
--- a/apps/cMiniApp/src/stores/modules/system.ts
+++ b/apps/cMiniApp/src/stores/modules/system.ts
@@ -1,6 +1,7 @@
 import Taro from '@tarojs/taro';
 import { defineStore } from 'pinia';
 import { store } from '@/stores';
+import * as settingsServices from '@12333/services/apiV2/settings';
 
 export interface Options {
   path: string;
@@ -17,6 +18,7 @@
   redirectPath: string;
   isTabSwitch: boolean;
   isFirstEnter: boolean;
+  isWeappCheck: boolean;
 }
 
 export const useSystemStore = defineStore({
@@ -51,9 +53,18 @@
     menuButtonTop: 0,
 
     isFirstEnter: true,
+
+    isWeappCheck: true,
   }),
 
   actions: {
+    async getAppConfig() {
+      try {
+        let res = await settingsServices.getWxmpSettings({});
+        this.isWeappCheck = res.wxmpAuditInProcess;
+      } catch (error) {}
+    },
+
     init(options: Options) {
       this.options = options; // 鏀句竴涓嬮〉闈㈢浉鍏崇殑鏁版嵁渚嬪scene绛� 椤甸潰楂樺害涔嬬被鐨勪笉瀛橈紒
     },
diff --git a/apps/cMiniApp/src/subpackages/wallet/mineWallet/InnerPage.vue b/apps/cMiniApp/src/subpackages/wallet/mineWallet/InnerPage.vue
index 8ce8c31..8bf30e9 100644
--- a/apps/cMiniApp/src/subpackages/wallet/mineWallet/InnerPage.vue
+++ b/apps/cMiniApp/src/subpackages/wallet/mineWallet/InnerPage.vue
@@ -5,20 +5,23 @@
   </div> -->
   <List>
     <ListItem title="鏀跺叆鏄庣粏" @click="goIncomeDetail"> </ListItem>
-    <ListItem title="閾惰鍗�" @click="goBankBind">
-      <template #extra>
-        <div class="bind-bank-card">
-          {{ isBindBank ? '宸茬粦瀹�' : '鏈粦瀹氥�佺珛鍗崇粦瀹�' }}
-        </div>
-      </template>
-    </ListItem>
-    <ListItem title="鏀粯瀹�" @click="goBankAlipay">
-      <template #extra>
-        <div class="bind-bank-card">
-          {{ isBindAlipay ? '宸茬粦瀹�' : '鏈粦瀹氥�佺珛鍗崇粦瀹�' }}
-        </div>
-      </template>
-    </ListItem>
+    <template v-if="!hideTemplate">
+      <ListItem title="閾惰鍗�" @click="goBankBind">
+        <template #extra>
+          <div class="bind-bank-card">
+            {{ isBindBank ? '宸茬粦瀹�' : '鏈粦瀹氥�佺珛鍗崇粦瀹�' }}
+          </div>
+        </template>
+      </ListItem>
+      <ListItem title="鏀粯瀹�" @click="goBankAlipay">
+        <template #extra>
+          <div class="bind-bank-card">
+            {{ isBindAlipay ? '宸茬粦瀹�' : '鏈粦瀹氥�佺珛鍗崇粦瀹�' }}
+          </div>
+        </template>
+      </ListItem>
+    </template>
+
     <ListItem title="寰俊">
       <template #extra>
         <div class="bind-bank-card">
@@ -30,6 +33,7 @@
 </template>
 
 <script setup lang="ts">
+import { useSystemStore } from '@/stores/modules/system';
 import { List, ListItem, WithdrawMoneyCard } from '@12333/components';
 import { EnumUserBankCardAccess } from '@12333/constants';
 import Taro from '@tarojs/taro';
@@ -38,8 +42,12 @@
   name: 'InnerPage',
 });
 
+const systemStore = useSystemStore();
+
 const { userDetail, isBindBank, isBindAlipay, isBindWechat } = useUser();
 
+const hideTemplate = computed(() => systemStore.isWeappCheck);
+
 function goIncomeDetail() {
   Taro.navigateTo({
     url: `${RouterPath.incomeDetail}`,

--
Gitblit v1.10.0