更改搜索框
This commit is contained in:
@@ -15,7 +15,18 @@
|
|||||||
:style="{'height':HeighT.customBar+'px','marginTop':HeighT.heightBar+'px','padding-right':HeighT.custwidth + 'px'}">
|
:style="{'height':HeighT.customBar+'px','marginTop':HeighT.heightBar+'px','padding-right':HeighT.custwidth + 'px'}">
|
||||||
<!-- #endif -->
|
<!-- #endif -->
|
||||||
<!-- 标题搜索框 -->
|
<!-- 标题搜索框 -->
|
||||||
<view class="flex-between" @click="clicknavigateBack">
|
<view class="flex-between" v-if="inputshow">
|
||||||
|
<view class="navbar_tow_one flex-start">
|
||||||
|
<u-icon style="margin-left: 8rpx;" name="arrow-down-fill" color="#333333"
|
||||||
|
size="16"></u-icon>
|
||||||
|
</view>
|
||||||
|
<view class="navbar_tow_tow flex-start">
|
||||||
|
<input type="text" class="navbar_tow_towinput" v-model="keyword" placeholder="请输入关键字" />
|
||||||
|
<view class="navbar_tow_towview">搜索</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<!-- 正常导航栏 -->
|
||||||
|
<view class="flex-between" @click="clicknavigateBack" v-else>
|
||||||
<view class="navbar_tow_one flex-start" v-if="iconshow">
|
<view class="navbar_tow_one flex-start" v-if="iconshow">
|
||||||
<u-icon name="arrow-left" :color="iconcolor" size="40"></u-icon>
|
<u-icon name="arrow-left" :color="iconcolor" size="40"></u-icon>
|
||||||
</view>
|
</view>
|
||||||
@@ -42,7 +53,8 @@
|
|||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
Topdistance: ''
|
Topdistance: '',
|
||||||
|
keyword
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
props: {
|
props: {
|
||||||
@@ -77,6 +89,10 @@
|
|||||||
navigateBacknavtitle: {
|
navigateBacknavtitle: {
|
||||||
type: Boolean,
|
type: Boolean,
|
||||||
default: false
|
default: false
|
||||||
|
},
|
||||||
|
inputshow:{
|
||||||
|
type: Boolean,
|
||||||
|
default: false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
|
|||||||
Reference in New Issue
Block a user