用户位置选择

master
gongfuxiang 2024-09-28 13:53:23 +08:00
parent 25d59872b1
commit dc6d38036a
2 changed files with 0 additions and 9 deletions

View File

@ -66,7 +66,6 @@
var self = this;
var timer = setInterval(function () {
var result = app.globalData.choice_user_location_init() || null;
console.log(result);
if(result != null && (result.status == 1 || result.status == 3)) {
self.setData({
location: result

View File

@ -34,14 +34,6 @@
<view class="home-top-nav margin-bottom-sm pr padding-right-main">
<!-- 定位 -->
<view v-if="is_home_location_choice == 1" class="home-top-nav-location dis-inline-block va-m single-text cr-white pr bs-bb padding-left-main padding-right-lg" >
<!-- <view class="dis-inline-block va-m lh">
<iconfont name="icon-location" size="32rpx" propClass="lh" color="#fff"></iconfont>
</view>
<text class="va-m margin-left-xs text-size-md">{{ user_location.text || '' }}</text>
<view class="lh pa right-0 top-xxxl">
<iconfont name="icon-arrow-bottom" size="24rpx" propClass="lh-xs" color="#fff"></iconfont>
</view> -->
<component-choice-location @onback="user_back_choice_location"></component-choice-location>
</view>
<block v-else>