修改技师列表页定位展示
This commit is contained in:
parent
1932a55d25
commit
bfb951a5b3
|
@ -10,7 +10,7 @@
|
|||
<banner @change="goBanner" :list="banner" :margin="0" :autoplay="true" :indicatorActiveColor="primaryColor"
|
||||
:dotWidth="20" :dotBottom="30" v-if="banner.length > 0">
|
||||
</banner>
|
||||
<view class="search-box flex-center fill-base"
|
||||
<!-- <view class="search-box flex-center fill-base"
|
||||
:class="[{'mt-md':banner.length ==0},{'abs':banner.length>0}]" :style="{ color: primaryColor }">
|
||||
<view style="width: 100%;">
|
||||
<view class="servetip pl-lg pr-lg pt-sm pb-sm">
|
||||
|
@ -21,7 +21,7 @@
|
|||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view> -->
|
||||
</view>
|
||||
|
||||
<!-- 分类 -->
|
||||
|
@ -101,7 +101,7 @@
|
|||
</view>
|
||||
|
||||
|
||||
<view class="fill-base pl-lg pr-lg">
|
||||
<view class="fill-base pl-lg pr-lg" style="margin-top: -80rpx;">
|
||||
<view class="fill-base flex-between">
|
||||
<view class="f-st-title text-bold flex-between">
|
||||
<view class="mr-md" style="width: 15px;height: 17px;">
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
<view class="flex-y-center c-base">
|
||||
<i class="iconfont iconjuli mr-sm"></i>
|
||||
<view class="map-text max-400 ellipsis">
|
||||
{{location&&location.address ?location.address : isLoad ? '定位失败' : '定位中...'}}
|
||||
{{location&&location.name ?location.name : isLoad ? '定位失败' : '定位中...'}}
|
||||
</view>
|
||||
<i class="iconfont icon-down"></i>
|
||||
</view>
|
||||
|
@ -380,6 +380,7 @@
|
|||
province = '',
|
||||
city = '',
|
||||
district = '',
|
||||
name = ''
|
||||
}] = await uni.chooseLocation(param);
|
||||
if (!lng) return
|
||||
let location = {
|
||||
|
@ -388,7 +389,8 @@
|
|||
address,
|
||||
province,
|
||||
city,
|
||||
district
|
||||
district,
|
||||
name
|
||||
}
|
||||
this.updateUserItem({
|
||||
key: 'location',
|
||||
|
@ -408,7 +410,7 @@
|
|||
let {
|
||||
location
|
||||
} = this
|
||||
if (!location.lat || (location.lat && location.address == '定位失败')) {
|
||||
if (!location.lat || (location.lat && location.name == '定位失败')) {
|
||||
// #ifdef H5
|
||||
if (this.$jweixin.isWechat()) {
|
||||
this.$util.showLoading()
|
||||
|
|
Loading…
Reference in New Issue