完善页面
This commit is contained in:
@ -3,7 +3,9 @@
|
||||
<wd-navbar safeAreaInsetTop :bordered="false" :custom-class="customClass" :fixed="fixed" :placeholder="fixed" :zIndex="zIndex">
|
||||
<template #left>
|
||||
<view class="h-48rpx flex items-center" @click="navbar.back">
|
||||
<wd-img width="48rpx" height="48rpx" :src="`${OSS}icon/icon_arrow_left.png`" class="mt-6rpx"></wd-img>
|
||||
<view class="mt-4rpx">
|
||||
<wd-icon name="thin-arrow-left" size="30rpx" :color="iconLeftColor" ></wd-icon>
|
||||
</view>
|
||||
<view class="text-[#303133] text-36rpx ml-24rpx leading-48rpx" v-if="!layoutLeft">{{ title }}</view>
|
||||
|
||||
<!-- 开启左侧自定义布局 -->
|
||||
@ -65,6 +67,12 @@
|
||||
zIndex: {
|
||||
type: Number,
|
||||
default: 10
|
||||
},
|
||||
|
||||
// icon left 的颜色
|
||||
iconLeftColor: {
|
||||
type: String,
|
||||
default: '#121212'
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user