|
|
@ -301,7 +301,7 @@ |
|
|
|
<view class="settle-btn" v-if="showSettle"> |
|
|
|
<view class="btn"> |
|
|
|
<text @click="toSettle">我是商家,申请免费入驻互动平台</text> |
|
|
|
<u-icon name="close-circle-fill" color="white" @click="showSettle = false"/> |
|
|
|
<u-icon name="close-circle-fill" color="white" @click="showSettle = false" size="36rpx"/> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
@ -436,6 +436,9 @@ export default { |
|
|
|
//_this.getGoodsList() |
|
|
|
_this.getLocation(res => { |
|
|
|
_this.flowList = [] |
|
|
|
console.log('res.longitude', res.longitude) |
|
|
|
uni.setStorageSync('longitude', res.longitude); |
|
|
|
uni.setStorageSync('latitude', res.latitude); |
|
|
|
_this.getDWList(res.longitude, res.latitude); |
|
|
|
//_this.getGoodsList(res.longitude, res.latitude) |
|
|
|
|
|
|
@ -631,6 +634,7 @@ export default { |
|
|
|
this.longitude = longitude |
|
|
|
this.latitude = latitude |
|
|
|
uni.setStorageSync('city', result.data.ads.city); |
|
|
|
|
|
|
|
this.getGoodsList() |
|
|
|
}) |
|
|
|
|
|
|
@ -675,6 +679,9 @@ export default { |
|
|
|
setTimeout(() => { |
|
|
|
// 获取用户坐标 |
|
|
|
app.getLocation((res) => { |
|
|
|
console.log('res.longitude', res.longitude) |
|
|
|
uni.setStorageSync('longitude', res.longitude); |
|
|
|
uni.setStorageSync('latitude', res.latitude); |
|
|
|
app.getGoodsList(res.longitude, res.latitude) |
|
|
|
app.getDWList(res.longitude, res.latitude); |
|
|
|
}) |
|
|
@ -687,6 +694,9 @@ export default { |
|
|
|
console.log('222') |
|
|
|
// 获取用户坐标 |
|
|
|
app.getLocation((res) => { |
|
|
|
console.log('res.longitude', res.longitude) |
|
|
|
uni.setStorageSync('longitude', res.longitude); |
|
|
|
uni.setStorageSync('latitude', res.latitude); |
|
|
|
app.getShopList(res.longitude, res.latitude) |
|
|
|
app.getDWList(res.longitude, res.latitude); |
|
|
|
}) |
|
|
@ -1061,9 +1071,9 @@ page { |
|
|
|
.settle-btn { |
|
|
|
position: fixed; |
|
|
|
bottom: 130rpx; |
|
|
|
left: calc(50% - 240rpx); |
|
|
|
left: calc(50% - 310rpx); |
|
|
|
z-index: 11; |
|
|
|
width: 480rpx; |
|
|
|
width: 640rpx; |
|
|
|
|
|
|
|
.btn { |
|
|
|
margin: auto; |
|
|
@ -1071,10 +1081,10 @@ page { |
|
|
|
display: flex; |
|
|
|
align-items: center; |
|
|
|
justify-content: center; |
|
|
|
padding: 10rpx 20rpx; |
|
|
|
padding: 20rpx 40rpx; |
|
|
|
color: #ffffff; |
|
|
|
text-align: center; |
|
|
|
font-size: 25rpx; |
|
|
|
font-size: 34rpx; |
|
|
|
border-radius: 999rpx; |
|
|
|
|
|
|
|
text { |
|
|
|