|
@@ -2,7 +2,7 @@
|
|
|
<view class="map-popup-box">
|
|
|
<view class="icon-title-navBar-box">
|
|
|
<view @click="goUpPage" class="nav-bar-icon"></view>
|
|
|
- <text class="nav-bar-title">选择地址</text>
|
|
|
+ <text @click="aaaa" class="nav-bar-title">选择地址</text>
|
|
|
</view>
|
|
|
|
|
|
<!-- <view class="city-picker-box">
|
|
@@ -13,8 +13,14 @@
|
|
|
</view>
|
|
|
</picker>
|
|
|
</view> -->
|
|
|
-<t-index-address @select="select"></t-index-address>
|
|
|
-
|
|
|
+<uni-popup ref="filterPopup" type="top" :animation="false" :is-mask-click="false"
|
|
|
+ mask-background-color="rgba(0, 0, 0, 0.4)">
|
|
|
+ <view class="icon-title-navBar-box">
|
|
|
+ <view @click="goUpPage2" class="nav-bar-icon"></view>
|
|
|
+ <text class="nav-bar-title">返回</text>
|
|
|
+ </view>
|
|
|
+ <t-index-address @select="select"></t-index-address>
|
|
|
+</uni-popup>
|
|
|
<!-- 查询职业 -->
|
|
|
<view class="phone-search-box">
|
|
|
<input class="search-input" placeholder="请输入地址" v-model="data.keyword" />
|
|
@@ -70,12 +76,21 @@
|
|
|
const {
|
|
|
getPositionSearchByKeyword
|
|
|
} = useCustomMap();
|
|
|
-
|
|
|
+
|
|
|
const result = ref(null);
|
|
|
+ const filterPopup = ref(null);
|
|
|
const selectedCity = ref('选择城市'); // 默认显示“选择城市”
|
|
|
function select(data){
|
|
|
console.log('data',data);
|
|
|
- },
|
|
|
+ }
|
|
|
+ function goUpPage2(data){
|
|
|
+ console.log('data',data);
|
|
|
+ }
|
|
|
+ function aaaa(data){
|
|
|
+ console.log('data',data);
|
|
|
+ filterPopup.value.open("top")
|
|
|
+ }
|
|
|
+
|
|
|
function handleCityChange(e) {
|
|
|
//const city = e.detail.value[1]; // 获取选择的城市
|
|
|
// selectedCity.value = city;
|