|
|
@ -19,6 +19,19 @@ page { |
|
|
background-color: #f5f7fa; |
|
|
background-color: #f5f7fa; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/* 导航栏固定样式 */ |
|
|
|
|
|
.nav-bar { |
|
|
|
|
|
position: fixed; |
|
|
|
|
|
top: 0; |
|
|
|
|
|
left: 0; |
|
|
|
|
|
right: 0; |
|
|
|
|
|
z-index: 999; |
|
|
|
|
|
background: linear-gradient(135deg, #ffffff 0%, #f5f7fa 100%); |
|
|
|
|
|
padding: 20rpx 20rpx 0 20rpx; |
|
|
|
|
|
box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.1); |
|
|
|
|
|
box-sizing: border-box; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
/* 标题样式 */ |
|
|
/* 标题样式 */ |
|
|
.title { |
|
|
.title { |
|
|
font-size: 36rpx; |
|
|
font-size: 36rpx; |
|
|
@ -372,7 +385,7 @@ page { |
|
|
/* 商品区域样式 - 填充完整宽度 */ |
|
|
/* 商品区域样式 - 填充完整宽度 */ |
|
|
.goods-section { |
|
|
.goods-section { |
|
|
background-color: transparent; |
|
|
background-color: transparent; |
|
|
padding: 0 20rpx; |
|
|
padding: 320rpx 20rpx 0 20rpx; |
|
|
margin: 0; |
|
|
margin: 0; |
|
|
flex: 1; |
|
|
flex: 1; |
|
|
overflow-y: auto; |
|
|
overflow-y: auto; |
|
|
@ -589,6 +602,36 @@ page { |
|
|
color: #1677ff; |
|
|
color: #1677ff; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/* 回到顶部按钮样式 */ |
|
|
|
|
|
.back-to-top-btn { |
|
|
|
|
|
position: fixed; |
|
|
|
|
|
right: 40rpx; |
|
|
|
|
|
bottom: 120rpx; |
|
|
|
|
|
width: 80rpx; |
|
|
|
|
|
height: 80rpx; |
|
|
|
|
|
background: linear-gradient(135deg, #1677ff 0%, #4096ff 100%); |
|
|
|
|
|
border-radius: 50%; |
|
|
|
|
|
display: flex; |
|
|
|
|
|
justify-content: center; |
|
|
|
|
|
align-items: center; |
|
|
|
|
|
box-shadow: 0 4rpx 16rpx rgba(22, 119, 255, 0.4); |
|
|
|
|
|
z-index: 998; |
|
|
|
|
|
transition: all 0.3s ease; |
|
|
|
|
|
border: 2rpx solid rgba(255, 255, 255, 0.8); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.back-to-top-btn:hover { |
|
|
|
|
|
transform: scale(1.1); |
|
|
|
|
|
box-shadow: 0 6rpx 20rpx rgba(22, 119, 255, 0.5); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.back-to-top-icon { |
|
|
|
|
|
font-size: 36rpx; |
|
|
|
|
|
color: white; |
|
|
|
|
|
font-weight: bold; |
|
|
|
|
|
line-height: 1; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
/* 图片预览样式 */ |
|
|
/* 图片预览样式 */ |
|
|
.image-preview-mask { |
|
|
.image-preview-mask { |
|
|
position: fixed; |
|
|
position: fixed; |
|
|
|