|
@@ -33,7 +33,7 @@
|
|
|
<text v-for="item in storeInfo.itemVOList" :key="item.id">{{item.itemName}}</text>
|
|
|
</view>
|
|
|
<!-- 路线指引 -->
|
|
|
- <view class="store-rich store-line">
|
|
|
+ <view class="store-rich store-line" v-if="storeInfo&&storeInfo.guidance">
|
|
|
<view class="line-title">
|
|
|
* 路线指引 *
|
|
|
</view>
|
|
@@ -42,7 +42,7 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
<!-- 温馨提示 -->
|
|
|
- <view class="store-rich">
|
|
|
+ <view class="store-rich" v-if="storeInfo&&storeInfo.reminder">
|
|
|
<view class="line-title">
|
|
|
* 温馨提示 *
|
|
|
</view>
|
|
@@ -170,6 +170,7 @@
|
|
|
// 打开导航位置信息界面
|
|
|
openLocation () {
|
|
|
let data = this.storeInfo
|
|
|
+ let _this = this
|
|
|
uni.getLocation({
|
|
|
type: 'gcj02', //返回可以用于uni.openLocation的经纬度
|
|
|
success: function (res) {
|
|
@@ -184,7 +185,10 @@
|
|
|
console.log('success');
|
|
|
}
|
|
|
})
|
|
|
- }
|
|
|
+ },
|
|
|
+ fail:function(){
|
|
|
+ _this.toashMsg('获取位置信息失败,请先授权开启定位功能!')
|
|
|
+ }
|
|
|
});
|
|
|
}
|
|
|
|