|
@@ -9,23 +9,6 @@ |
|
@@ -9,23 +9,6 @@ |
9
|
<!-- 返回按钮 -->
|
9
|
<!-- 返回按钮 -->
|
10
|
<view :class="[backBtnColor ? 'backBtnWhite' : 'backBtnBlack']" v-if="backBtn" @click="backDefault">
|
10
|
<view :class="[backBtnColor ? 'backBtnWhite' : 'backBtnBlack']" v-if="backBtn" @click="backDefault">
|
11
|
</view>
|
11
|
</view>
|
12
|
- <!-- 定位 -->
|
|
|
13
|
- <view class="address" v-if="bottomBtn" @click="toAddress">
|
|
|
14
|
- <view class="addressText">
|
|
|
15
|
- {{address}}
|
|
|
16
|
- </view>
|
|
|
17
|
- <view class="bottomBtn"></view>
|
|
|
18
|
- </view>
|
|
|
19
|
- <!-- 首页搜索框 -->
|
|
|
20
|
- <view class="search" :style="{height: ellipse + 'px'}" v-if="search" @click="toNewPage">
|
|
|
21
|
- <image class="searchImg" src="/static/mine/ic_search.png" mode="widthFix"></image>
|
|
|
22
|
- <input type="text" :focus="true" placeholder="搜索" placeholder-class="placeholder" />
|
|
|
23
|
- </view>
|
|
|
24
|
- <!-- 地址搜索框 -->
|
|
|
25
|
- <view class="searchTwo" :style="{height: ellipse + 'px'}" v-if="addressSearch" @click="toNewPage">
|
|
|
26
|
- <image class="searchImg" src="/static/mine/ic_search.png" mode="widthFix"></image>
|
|
|
27
|
- <input class="overdian" type="text" :value="searchContent" :placeholder="placeholder" placeholder-class="placeholderTwo" @input="iptContent"/>
|
|
|
28
|
- </view>
|
|
|
29
|
<!-- 顶部标题 -->
|
12
|
<!-- 顶部标题 -->
|
30
|
<view class="title" v-if="showTitle">
|
13
|
<view class="title" v-if="showTitle">
|
31
|
{{title}}
|
14
|
{{title}}
|
|
@@ -63,18 +46,6 @@ |
|
@@ -63,18 +46,6 @@ |
63
|
backBtn: Boolean, // 按钮显隐
|
46
|
backBtn: Boolean, // 按钮显隐
|
64
|
howBack: Boolean, //返回方式 默认返回上一页 true为自定义返回页面
|
47
|
howBack: Boolean, //返回方式 默认返回上一页 true为自定义返回页面
|
65
|
customURL: String, //自定义返回路径 绝对路径
|
48
|
customURL: String, //自定义返回路径 绝对路径
|
66
|
- // 搜索框
|
|
|
67
|
- search: Boolean, //首页搜索框显隐
|
|
|
68
|
- addressSearch: Boolean, //普通搜索框显隐
|
|
|
69
|
- searchContent: String, // 搜索值
|
|
|
70
|
- placeholder: String, //输入框提示信息
|
|
|
71
|
- toNewUrl: String, //点击跳转页面路径
|
|
|
72
|
- // 地址
|
|
|
73
|
- bottomBtn: Boolean, //显隐
|
|
|
74
|
- address: String, //地址信息
|
|
|
75
|
- newAddress: String, //地址跳转
|
|
|
76
|
- // 定位搜索
|
|
|
77
|
- showSearhcInput: Boolean
|
|
|
78
|
|
49
|
|
79
|
},
|
50
|
},
|
80
|
mounted() {
|
51
|
mounted() {
|
|
@@ -118,12 +89,6 @@ |
|
@@ -118,12 +89,6 @@ |
118
|
})
|
89
|
})
|
119
|
}
|
90
|
}
|
120
|
},
|
91
|
},
|
121
|
- // 搜索框点击
|
|
|
122
|
- toNewPage() {
|
|
|
123
|
- uni.navigateTo({
|
|
|
124
|
- url: this.toNewUrl
|
|
|
125
|
- })
|
|
|
126
|
- },
|
|
|
127
|
//地址跳转
|
92
|
//地址跳转
|
128
|
toAddress() {
|
93
|
toAddress() {
|
129
|
let that = this
|
94
|
let that = this
|