Commit 9eb314ad by zhangxw

滚动条修改

1 parent c16c5eec
...@@ -5,6 +5,11 @@ ...@@ -5,6 +5,11 @@
font-size: 34rpx; font-size: 34rpx;
font-weight: 600; font-weight: 600;
} }
::-webkit-scrollbar {
width: 0;
height: 0;
color: transparent;
}
.container { .container {
overflow: auto; overflow: auto;
.special-image { .special-image {
......
page { page {
background: #F7F8FA; background: #F7F8FA;
} }
.layout {
overflow: auto;
}
::-webkit-scrollbar {
width: 0;
height: 0;
color: transparent;
}
.nothing-box { .nothing-box {
position: fixed; position: fixed;
top: 0; top: 0;
......
<view class="layout" style="padding-bottom:{{padding_bottom }}px"> <view class="layout" style="padding-bottom:{{padding_bottom }}px;height: calc(100vh - {{padding_bottom}}px);">
<block wx:if="{{shoppingcartFlag}}"> <block wx:if="{{shoppingcartFlag}}">
<block wx:if="{{!goodsList.length}}"> <block wx:if="{{!goodsList.length}}">
<view class="nothing-box"> <view class="nothing-box">
......
...@@ -6,6 +6,12 @@ ...@@ -6,6 +6,12 @@
color: #FFFFFF; color: #FFFFFF;
} }
::-webkit-scrollbar {
width: 0;
height: 0;
color: transparent;
}
.bg { .bg {
width: 100%; width: 100%;
height: 480rpx; height: 480rpx;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!