feat: 字体图标调整
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user