We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 81a31ec commit 3b474ebCopy full SHA for 3b474eb
1 file changed
src/components/nav-bar.vue
@@ -13,18 +13,23 @@
13
custom-style="padding: 12rpx"
14
@click="openDrawer"
15
/>
16
- <t-search
+ <view
17
v-if="navType === 'search'"
18
- shape="round"
19
- placeholder="请搜索你想要的内容"
20
@click="searchTurn"
21
- />
+ >
+ <t-search
+ shape="round"
22
+ placeholder="请搜索你想要的内容"
23
+ :disabled="true"
24
+ @click="searchTurn"
25
+ />
26
+ </view>
27
</view>
28
</template>
29
</t-navbar>
30
31
<t-drawer
- :style="{ paddingTop: statusHeight + 'px' }"
32
+ :custom-style="'padding-top: ' + statusHeight + 'px'"
33
:visible="visible"
34
:items="sidebar"
35
placement="left"
0 commit comments