feat: 字体图标调整

This commit is contained in:
duanshuwen
2025-08-01 11:29:03 +08:00
parent 3cf429931c
commit 824f3c4901
10 changed files with 83 additions and 44 deletions

View File

@@ -2,11 +2,8 @@
<view class="top-nav-bar" :style="{ paddingTop: statusBarHeight + 'px' }">
<view class="nav-content">
<view class="nav-left" @click="goBack">
<image
class="back-icon"
src="@/static/back.png"
mode="aspectFit"
></image>
<uni-icons class="icon-back" type="left" size="20" color="#333">
</uni-icons>
</view>
<view class="nav-center">
<slot name="title">
@@ -57,4 +54,4 @@ const goBack = () => {
<style scoped>
@import "./styles/index.scss";
</style>
</style>

View File

@@ -1,12 +1,9 @@
.nav-content {
display: flex;
align-items: center;
height: 40px;
box-sizing: border-box;
padding-top: 8px;
}
.nav-left {
@@ -17,11 +14,6 @@
height: 30px;
}
.back-icon {
width: 16px;
height: 16px;
}
.nav-center {
flex: 1;
display: flex;
@@ -34,5 +26,3 @@
color: #333;
text-align: center;
}