修复最后一个菜品被购物车遮挡问题
This commit is contained in:
1 parent
ca53fb4e2a
commit
12be4b4f69
1 file changed
+15
-3
@@ -8,9 +8,9 @@
|
|||||||
/>
|
/>
|
||||||
|
|
||||||
<view class="container" v-if="!loading">
|
<view class="container" v-if="!loading">
|
||||||
<view>
|
<!-- <view>
|
||||||
<image :src="shopAd" mode="aspectFill" class="w-100 " style="height: 250rpx;"></image>
|
<image :src="shopAd" mode="aspectFill" class="w-100 " style="height: 250rpx;"></image>
|
||||||
</view>
|
</view> -->
|
||||||
<view style="height: 60rpx;background-color: #FFFFFF;" v-if="store.notice">
|
<view style="height: 60rpx;background-color: #FFFFFF;" v-if="store.notice">
|
||||||
<uv-notice-bar :text="store.notice"></uv-notice-bar>
|
<uv-notice-bar :text="store.notice"></uv-notice-bar>
|
||||||
</view>
|
</view>
|
||||||
@@ -107,6 +107,7 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<!-- category end -->
|
<!-- category end -->
|
||||||
|
<view style="height: 110rpx;"></view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</scroll-view>
|
</scroll-view>
|
||||||
@@ -371,6 +372,7 @@ const init = async() => { //页面初始化
|
|||||||
getShopList(result)
|
getShopList(result)
|
||||||
},
|
},
|
||||||
fail: function (res) {
|
fail: function (res) {
|
||||||
|
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title: '获取位置失败,请检查是否开启相关权限',
|
title: '获取位置失败,请检查是否开启相关权限',
|
||||||
duration: 2000,
|
duration: 2000,
|
||||||
@@ -386,7 +388,13 @@ const init = async() => { //页面初始化
|
|||||||
complete: function (res) {
|
complete: function (res) {
|
||||||
}
|
}
|
||||||
}));
|
}));
|
||||||
|
if(!result.hasOwnProperty('latitude')){
|
||||||
|
result = {
|
||||||
|
latitude: 39.919990,
|
||||||
|
longitude: 116.456270
|
||||||
|
};
|
||||||
|
getShopList(result)
|
||||||
|
}
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1240,6 +1248,10 @@ const toPay = () => {
|
|||||||
.cart-box {
|
.cart-box {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
bottom: 30rpx;
|
bottom: 30rpx;
|
||||||
|
/* #ifdef H5 */
|
||||||
|
bottom:var(--window-bottom);
|
||||||
|
//bottom: 100rpx;
|
||||||
|
/* #endif */
|
||||||
left: 30rpx;
|
left: 30rpx;
|
||||||
right: 30rpx;
|
right: 30rpx;
|
||||||
height: 96rpx;
|
height: 96rpx;
|
||||||
|
|||||||
Reference in new issue
Block a user