|
|
@@ -56,13 +56,14 @@
|
|
|
<view class="menu-text">我的卡片</view>
|
|
|
<view class="menu-arrow"></view>
|
|
|
</view>
|
|
|
- <view class="menu-item" @click="goToInvoice">
|
|
|
+ <!-- 发票管理暂时隐藏 -->
|
|
|
+ <!-- <view class="menu-item" @click="goToInvoice">
|
|
|
<view class="menu-icon">
|
|
|
<image class="menu-svg-icon" src="/static/icons/invoice.svg" mode="aspectFit"></image>
|
|
|
</view>
|
|
|
<view class="menu-text">发票管理</view>
|
|
|
<view class="menu-arrow"></view>
|
|
|
- </view>
|
|
|
+ </view> -->
|
|
|
</view>
|
|
|
</view>
|
|
|
|
|
|
@@ -107,6 +108,11 @@
|
|
|
<view class="version-info">
|
|
|
{{ appVersion }}
|
|
|
</view>
|
|
|
+
|
|
|
+ <!-- ICP备案号 -->
|
|
|
+ <view class="icp-info">
|
|
|
+ 粤ICP备2026097261号-1X
|
|
|
+ </view>
|
|
|
</view>
|
|
|
</template>
|
|
|
|
|
|
@@ -117,12 +123,12 @@ import { logout as logoutApi } from '../../api/user';
|
|
|
import { getCouponCount } from '../../api/coupon';
|
|
|
import { clearAuth, getUserInfo as getStoredUserInfo } from '../../utils/auth';
|
|
|
import { logger } from '../../utils/logger';
|
|
|
-import { APP_VERSION } from '../../utils/config';
|
|
|
+import { getAppVersion } from '../../utils/config';
|
|
|
import type { UserInfo } from '../../api/user';
|
|
|
|
|
|
const userInfo = ref<UserInfo | null>(null);
|
|
|
const availableCouponCount = ref(0);
|
|
|
-const appVersion = APP_VERSION;
|
|
|
+const appVersion = getAppVersion();
|
|
|
|
|
|
// 显示手机号(脱敏)
|
|
|
const displayPhone = computed(() => {
|
|
|
@@ -454,7 +460,16 @@ const handleLogout = () => {
|
|
|
text-align: center;
|
|
|
font-size: 22rpx;
|
|
|
color: $color-text-tertiary;
|
|
|
- padding: $spacing-lg 0;
|
|
|
+ padding: $spacing-lg 0 0;
|
|
|
+ animation: fadeIn 0.4s ease;
|
|
|
+}
|
|
|
+
|
|
|
+/* ========== ICP备案号 ========== */
|
|
|
+.icp-info {
|
|
|
+ text-align: center;
|
|
|
+ font-size: 20rpx;
|
|
|
+ color: $color-text-tertiary;
|
|
|
+ padding: $spacing-xs 0 $spacing-lg;
|
|
|
animation: fadeIn 0.4s ease;
|
|
|
}
|
|
|
</style>
|