Commit 56ccf868 by 李伟康

style(equity): 统一页面样式单位并优化导航栏设计

- 将 nav-bar 高度从 96rpx 调整为 48px,位置从 top: 48rpx 调整为 top: 24px
- 将 back 按钮宽度从 96rpx 调整为 48px,保持高度不变
- 将 pen-box 位置从 right: 40rpx 调整为 right: 20px,距离顶部从 5% 调整为 24px
- 将 pen-box 宽高从 120rpx 调整为 60px,圆角从 16rpx 调整为 8px
- 将阴影效果从 0 4rpx 12rpx 0 #00000033 调整为 0 2px 6px 0 #00000033
- 统一使用 px 单位替代 rpx,提升跨平台兼容性
1 parent d816a406
...@@ -643,13 +643,13 @@ const currentCarInfo = computed(() => { ...@@ -643,13 +643,13 @@ const currentCarInfo = computed(() => {
.nav-bar { .nav-bar {
position: fixed; position: fixed;
width: 100%; width: 100%;
height: 96rpx; height: 48px;
left: 0; left: 0;
top: 48rpx; top: 24px;
z-index: 9; z-index: 9;
pointer-events: none; pointer-events: none;
.back { .back {
width: 96rpx; width: 48px;
height: 100%; height: 100%;
display: flex; display: flex;
align-items: center; align-items: center;
...@@ -659,13 +659,13 @@ const currentCarInfo = computed(() => { ...@@ -659,13 +659,13 @@ const currentCarInfo = computed(() => {
} }
.pen-box { .pen-box {
position: fixed; position: fixed;
right: 40rpx; right: 20px;
top: 5%; top: 5%;
width: 120rpx; width: 60px;
height: 120rpx; height: 60px;
z-index: 10; z-index: 10;
box-shadow: 0 4rpx 12rpx 0 #00000033; box-shadow: 0 2px 6px 0 #00000033;
border-radius: 16rpx; border-radius: 8px;
overflow: hidden; overflow: hidden;
image { image {
width: 100%; width: 100%;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!