From c6246c023d6f6c68ddc24b7217bdfd7505c0da1a Mon Sep 17 00:00:00 2001 From: sexygoat <1538832180@qq.com> Date: Thu, 16 Apr 2026 09:54:55 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9=E5=B8=83=E5=B1=80UI?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App.vue | 5 +- components/DeviceStatusCard.vue | 4 +- components/UserInfoCard.vue | 3 +- pages.json | 2 +- pages/bind/bind.vue | 4 + pages/index/index.vue | 2 +- pages/login/login.vue | 443 ++++++++++---------------------- pages/my-wallet/my-wallet.vue | 3 + pages/order-list/order-list.vue | 4 + static/clear.png | Bin 0 -> 3527 bytes 10 files changed, 151 insertions(+), 319 deletions(-) create mode 100644 static/clear.png diff --git a/App.vue b/App.vue index a177e03..0267882 100644 --- a/App.vue +++ b/App.vue @@ -95,7 +95,8 @@ page { color: var(--text-primary); - background-color: var(--bg-secondary); + background: linear-gradient(180deg, #F0F4FF 0%, #E8F0FE 50%, #F2F2F7 100%); + min-height: 100vh; } .container { @@ -105,6 +106,8 @@ padding: 30rpx 20rpx; max-width: 750rpx; margin: 0 auto; + width: 100%; + box-sizing: border-box; } .card { diff --git a/components/DeviceStatusCard.vue b/components/DeviceStatusCard.vue index 6ee7396..287a12a 100644 --- a/components/DeviceStatusCard.vue +++ b/components/DeviceStatusCard.vue @@ -17,7 +17,8 @@ - 到期时间:{{ deviceInfo.expireDate }} + IMEI:{{ deviceInfo.imei || '-' }} + 手机号:{{ deviceInfo.bound_phone || '-' }} {{ statusText }} @@ -47,6 +48,7 @@ const props = defineProps({ deviceInfo: { type: Object, default: () => ({}) }, isRealName: { type: Boolean, default: false }, + isDevice: { type: Boolean, default: true }, opratorList: { type: Array, default: () => [] } }); diff --git a/components/UserInfoCard.vue b/components/UserInfoCard.vue index 4e62887..a9057de 100644 --- a/components/UserInfoCard.vue +++ b/components/UserInfoCard.vue @@ -8,8 +8,7 @@ {{ currentCardNo || '-' }} - IMEI:{{ deviceInfo.imei || '-' }} - 手机号:{{ deviceInfo.bound_phone || '-' }} + 到期时间:{{ deviceInfo.expireDate || '-' }} {{ onlineStatus }} diff --git a/pages.json b/pages.json index f8819fd..6674817 100644 --- a/pages.json +++ b/pages.json @@ -84,7 +84,7 @@ ], "globalStyle": { "navigationBarTextStyle": "black", - "navigationBarTitleText": "信息查询", + "navigationBarTitleText": "卡管客户端", "navigationBarBackgroundColor": "#F8F8F8", "backgroundColor": "#F8F8F8" }, diff --git a/pages/bind/bind.vue b/pages/bind/bind.vue index ca47ae5..5312d9e 100644 --- a/pages/bind/bind.vue +++ b/pages/bind/bind.vue @@ -137,6 +137,10 @@ .page { min-height: 100vh; background: var(--bg-secondary); + max-width: 750rpx; + margin: 0 auto; + width: 100%; + box-sizing: border-box; } .custom-navbar { diff --git a/pages/index/index.vue b/pages/index/index.vue index 7393707..fde2e93 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -4,7 +4,7 @@ :isDevice="userInfo.isDevice" :networkStatus="deviceInfo.network_status" /> + :isDevice="userInfo.isDevice" @authentication="enterDetail('authentication')" /> diff --git a/pages/login/login.vue b/pages/login/login.vue index 362f3a9..4d42427 100644 --- a/pages/login/login.vue +++ b/pages/login/login.vue @@ -1,63 +1,59 @@