|
@@ -5,15 +5,15 @@
|
|
|
<text class="nav-bar-title">选择地址</text>
|
|
|
</view>
|
|
|
|
|
|
- <view class="city-picker-box">
|
|
|
+ <!-- <view class="city-picker-box">
|
|
|
<picker mode="region" @change="handleCityChange">
|
|
|
<view class="city-picker">
|
|
|
<text>{{ selectedCity }}</text>
|
|
|
<uni-icons type="arrowdown" size="16" color="#666"></uni-icons>
|
|
|
</view>
|
|
|
</picker>
|
|
|
- </view>
|
|
|
-
|
|
|
+ </view> -->
|
|
|
+<t-index-address @select="select"></t-index-address>
|
|
|
|
|
|
<!-- 查询职业 -->
|
|
|
<view class="phone-search-box">
|
|
@@ -73,7 +73,9 @@
|
|
|
|
|
|
const result = ref(null);
|
|
|
const selectedCity = ref('选择城市'); // 默认显示“选择城市”
|
|
|
-
|
|
|
+ function select(data){
|
|
|
+ console.log('data',data);
|
|
|
+ },
|
|
|
function handleCityChange(e) {
|
|
|
//const city = e.detail.value[1]; // 获取选择的城市
|
|
|
// selectedCity.value = city;
|