gdpao
This commit is contained in:
parent
f3c881cf76
commit
cf71c2ba66
@ -1202,9 +1202,10 @@ export default {
|
|||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
display: flex;
|
display: flex;
|
||||||
position: fixed;
|
position: fixed;
|
||||||
height: 98rpx;
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
bottom:0;
|
bottom: 0;
|
||||||
|
left: 0;
|
||||||
|
padding-bottom: env(safe-area-inset-bottom);
|
||||||
// border-top: 1rpx solid #ececec;
|
// border-top: 1rpx solid #ececec;
|
||||||
z-index: 10076;
|
z-index: 10076;
|
||||||
.navs{
|
.navs{
|
||||||
|
@ -53,7 +53,7 @@
|
|||||||
<goods :sid="sid"></goods>
|
<goods :sid="sid"></goods>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="tabbar">
|
<view class="tabbar" :style="safeareaStyle">
|
||||||
<view @click="switchCurrent(0)">
|
<view @click="switchCurrent(0)">
|
||||||
<image src="/static/image/shop/9.png"></image>
|
<image src="/static/image/shop/9.png"></image>
|
||||||
<view>商品分类</view>
|
<view>商品分类</view>
|
||||||
@ -94,6 +94,7 @@ export default {
|
|||||||
page: 1,
|
page: 1,
|
||||||
scrollHeiht: '',
|
scrollHeiht: '',
|
||||||
paddingTop: 0,
|
paddingTop: 0,
|
||||||
|
safeareaStyle: "", // 苹果底部
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
components:{
|
components:{
|
||||||
@ -125,6 +126,10 @@ export default {
|
|||||||
this.getArticlelist();
|
this.getArticlelist();
|
||||||
this.setViewHeight();
|
this.setViewHeight();
|
||||||
// this.getStoreImgVideoList();
|
// this.getStoreImgVideoList();
|
||||||
|
// #ifdef APP-PLUS
|
||||||
|
this.device = uni.getSystemInfoSync(); // 获取信息
|
||||||
|
console.log(this.device.safeArea);
|
||||||
|
// #endif
|
||||||
},
|
},
|
||||||
onShow() {
|
onShow() {
|
||||||
this.cur = 0;
|
this.cur = 0;
|
||||||
@ -398,14 +403,14 @@ body {
|
|||||||
.tabbar {
|
.tabbar {
|
||||||
border-top: 1rpx #DBDADA solid;
|
border-top: 1rpx #DBDADA solid;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 98rpx;
|
|
||||||
background: rgba(251,251,251,1);
|
background: rgba(251,251,251,1);
|
||||||
display: flex;
|
display: flex;
|
||||||
padding: 10rpx 55rpx;
|
|
||||||
position: fixed;
|
position: fixed;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
z-index: 9;
|
z-index: 9;
|
||||||
|
padding: 10rpx 55rpx;
|
||||||
|
padding-bottom: env(safe-area-inset-bottom);
|
||||||
> view {
|
> view {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
Loading…
Reference in New Issue
Block a user