mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
parent
57cf883296
commit
92a0934bdf
@ -60,7 +60,7 @@ Page({
|
||||
| placeholder | 固定在顶部时是否开启占位 | _boolean_ | `false` | - |
|
||||
| border | 是否显示下边框 | _boolean_ | `true` | - |
|
||||
| z-index | 元素 z-index | _number_ | `1` | - |
|
||||
| custom-style | 自定义样式 | _string_ | - | - |
|
||||
| custom-style | 根节点自定义样式 | _string_ | - | - |
|
||||
| safe-area-inset-top | 是否留出顶部安全距离(状态栏高度) | _boolean_ | `true` | - |
|
||||
|
||||
### Slot
|
||||
|
@ -4,9 +4,9 @@
|
||||
|
||||
<view
|
||||
class="{{ utils.bem('nav-bar', { fixed }) }} custom-class {{ border ? 'van-hairline--bottom' : '' }}"
|
||||
style="{{ baseStyle }}"
|
||||
style="{{ baseStyle }}; {{ customStyle }}"
|
||||
>
|
||||
<view class="van-nav-bar__content" style="{{ customStyle }}">
|
||||
<view class="van-nav-bar__content">
|
||||
<view class="van-nav-bar__left" bind:tap="onClickLeft">
|
||||
<block wx:if="{{ leftArrow || leftText }}">
|
||||
<van-icon
|
||||
|
Loading…
x
Reference in New Issue
Block a user