fix: UI
All checks were successful
构建并部署前端到生产环境 / build-and-deploy (push) Successful in 46s

This commit is contained in:
sexygoat
2026-04-16 11:08:45 +08:00
parent 7c35a0bad6
commit e2d3d8172f
3 changed files with 10 additions and 4 deletions

View File

@@ -110,6 +110,10 @@
box-sizing: border-box; box-sizing: border-box;
} }
.pd-20{
padding: 20rpx;
}
.card { .card {
background: var(--bg-primary); background: var(--bg-primary);
border-radius: var(--radius-medium); border-radius: var(--radius-medium);

View File

@@ -84,8 +84,8 @@
], ],
"globalStyle": { "globalStyle": {
"navigationBarTextStyle": "black", "navigationBarTextStyle": "black",
"navigationBarTitleText": "卡管客户端", "navigationBarTitleText": "设备卡信息查询",
"navigationBarBackgroundColor": "#F8F8F8", "navigationBarBackgroundColor": "#d0c3c2",
"backgroundColor": "#F8F8F8" "backgroundColor": "#F8F8F8"
}, },
"uniIdRouter": {} "uniIdRouter": {}

View File

@@ -1,5 +1,6 @@
<template> <template>
<view class="container"> <view class="container">
<view class="pd-20">
<view class="wallet-card"> <view class="wallet-card">
<view class="balance-section"> <view class="balance-section">
<view class="balance-header"> <view class="balance-header">
@@ -162,6 +163,7 @@
</up-popup> </up-popup>
</view> </view>
</view> </view>
</view>
</view> </view>
</template> </template>
@@ -587,14 +589,14 @@
<style lang="scss" scoped> <style lang="scss" scoped>
.container { .container {
height: 100vh; min-height: 100vh;
overflow: hidden; overflow: hidden;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
padding: 20rpx;
box-sizing: border-box; box-sizing: border-box;
max-width: 750rpx; max-width: 750rpx;
margin: 0 auto; margin: 0 auto;
padding: 0 !important;
width: 100%; width: 100%;
} }