@@ -259,7 +259,9 @@
</view>
<!-- 加入购物车 -->
- <button class="add">加入购物车</button>
+ <view class="btn-box">
+ <button class="add">加入购物车</button>
+ </view>
<view class="" style="height: 24rpx;">
@@ -726,7 +728,15 @@
}
-
+ .btn-box{
+ background-color:#fff;
+ padding: 32rpx;
+ position: fixed;
+ bottom: 0rpx;
+ left: 0rpx;
+ right: 0rpx;
+ z-index: 99;
+ }
.add{
height: 80rpx;
line-height: 80rpx;
@@ -735,11 +745,8 @@
color: rgba(255, 255, 255, 1);
font-size: 32rpx;
text-align: center;
- // margin-top: 20px;
- position: fixed;
- bottom: 20rpx;
- left: 32rpx;
- right: 32rpx;
+