You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
295 lines
5.6 KiB
295 lines
5.6 KiB
/* pages/seller/index.wxss */
|
|
/* 立体玻璃质感按钮基础样式 */
|
|
.glass-btn {
|
|
position: relative;
|
|
overflow: hidden;
|
|
border: none;
|
|
padding: 28rpx 40rpx;
|
|
font-size: 32rpx;
|
|
font-weight: 600;
|
|
border-radius: 16rpx;
|
|
box-shadow:
|
|
0 8rpx 24rpx rgba(0, 0, 0, 0.15),
|
|
0 0 0 1rpx rgba(255, 255, 255, 0.3) inset,
|
|
0 1rpx 0 rgba(255, 255, 255, 0.2) inset;
|
|
text-shadow: 0 2rpx 4rpx rgba(0, 0, 0, 0.2);
|
|
transition: all 0.3s ease;
|
|
background: rgba(255, 255, 255, 0.8);
|
|
backdrop-filter: blur(10rpx);
|
|
-webkit-backdrop-filter: blur(10rpx);
|
|
white-space: nowrap;
|
|
width: auto;
|
|
min-width: 80%;
|
|
text-align: center;
|
|
}
|
|
|
|
/* 按压效果 */
|
|
.glass-btn:active {
|
|
transform: translateY(2rpx);
|
|
box-shadow:
|
|
0 4rpx 12rpx rgba(0, 0, 0, 0.1),
|
|
0 0 0 1rpx rgba(255, 255, 255, 0.2) inset,
|
|
0 1rpx 0 rgba(255, 255, 255, 0.1) inset;
|
|
}
|
|
|
|
/* 主按钮 - 蓝色玻璃效果 */
|
|
.primary-glass-btn {
|
|
background: rgba(22, 119, 255, 0.7);
|
|
color: white;
|
|
box-shadow:
|
|
0 8rpx 24rpx rgba(22, 119, 255, 0.3),
|
|
0 0 0 1rpx rgba(255, 255, 255, 0.3) inset,
|
|
0 1rpx 0 rgba(255, 255, 255, 0.2) inset;
|
|
}
|
|
|
|
/* 联系客服按钮样式 */
|
|
.customer-service-btn {
|
|
background: #f0f0f0;
|
|
color: black;
|
|
font-size: 30rpx;
|
|
width: 70rpx;
|
|
height: 80rpx;
|
|
line-height: 70rpx;
|
|
padding: 0;
|
|
border-radius: 500rpx;
|
|
border: 1rpx solid #d9d9d9;
|
|
box-shadow:
|
|
0 4rpx 16rpx rgba(0, 0, 0, 0.1),
|
|
0 1rpx 0 rgba(255, 255, 255, 0.5) inset;
|
|
transition: all 0.3s ease;
|
|
white-space: nowrap;
|
|
text-align: center;
|
|
}
|
|
|
|
.customer-service-btn:active {
|
|
transform: translateY(2rpx);
|
|
background: #f5f5f5;
|
|
box-shadow:
|
|
0 2rpx 8rpx rgba(0, 0, 0, 0.08),
|
|
0 1rpx 0 rgba(255, 255, 255, 0.3) inset;
|
|
}
|
|
|
|
/* 登录授权弹窗样式 - 专门用于登录相关弹窗 */
|
|
.auth-modal-overlay {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background-color: rgba(0, 0, 0, 0.5);
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
z-index: 999;
|
|
}
|
|
|
|
.auth-modal-container {
|
|
background-color: white;
|
|
border-radius: 16rpx;
|
|
width: 80%;
|
|
padding: 40rpx;
|
|
}
|
|
|
|
.auth-modal-title {
|
|
text-align: center;
|
|
margin-bottom: 30rpx;
|
|
}
|
|
|
|
.auth-modal-title text {
|
|
font-size: 36rpx;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.auth-modal-content {
|
|
text-align: center;
|
|
margin-bottom: 40rpx;
|
|
color: #666;
|
|
}
|
|
|
|
.auth-modal-content text {
|
|
font-size: 32rpx;
|
|
}
|
|
|
|
.auth-modal-buttons {
|
|
text-align: center;
|
|
}
|
|
|
|
.auth-primary-button {
|
|
background-color: #1677ff;
|
|
color: white;
|
|
width: 100%;
|
|
border-radius: 8rpx;
|
|
margin-bottom: 20rpx;
|
|
border: none;
|
|
}
|
|
|
|
.auth-cancel-button {
|
|
background: none;
|
|
color: #666;
|
|
border: none;
|
|
}
|
|
|
|
/* 头像选择样式 */
|
|
.auth-avatar-section {
|
|
text-align: center;
|
|
margin-bottom: 40rpx;
|
|
}
|
|
|
|
.auth-avatar-wrapper {
|
|
padding: 0;
|
|
background: none;
|
|
border: none;
|
|
}
|
|
|
|
.auth-avatar {
|
|
width: 160rpx;
|
|
height: 160rpx;
|
|
border-radius: 50%;
|
|
}
|
|
|
|
/* 表单样式 */
|
|
.auth-form-group {
|
|
margin-bottom: 30rpx;
|
|
}
|
|
|
|
.auth-form-label {
|
|
font-size: 28rpx;
|
|
margin-bottom: 10rpx;
|
|
display: block;
|
|
}
|
|
|
|
.auth-form-input {
|
|
border: 1rpx solid #eee;
|
|
border-radius: 8rpx;
|
|
padding: 20rpx;
|
|
width: 100%;
|
|
max-width: 100%;
|
|
box-sizing: border-box;
|
|
font-size: 28rpx;
|
|
}
|
|
|
|
.auth-form-actions {
|
|
text-align: center;
|
|
margin-top: 40rpx;
|
|
}
|
|
|
|
.auth-confirm-button {
|
|
background-color: #07c160;
|
|
color: white;
|
|
width: 100%;
|
|
border-radius: 8rpx;
|
|
border: none;
|
|
}
|
|
|
|
/* 加载更多样式 */
|
|
.load-more {
|
|
text-align: center;
|
|
padding: 30rpx;
|
|
color: #666;
|
|
background-color: #f9f9f9;
|
|
border-radius: 8rpx;
|
|
margin: 20rpx 0;
|
|
}
|
|
|
|
.loading-text {
|
|
color: #999;
|
|
font-size: 26rpx;
|
|
}
|
|
|
|
.load-more-text {
|
|
color: #1677ff;
|
|
font-size: 26rpx;
|
|
padding: 15rpx 30rpx;
|
|
border: 1rpx solid #1677ff;
|
|
border-radius: 8rpx;
|
|
display: inline-block;
|
|
background-color: white;
|
|
}
|
|
|
|
.no-more {
|
|
text-align: center;
|
|
padding: 30rpx;
|
|
color: #999;
|
|
font-size: 26rpx;
|
|
background-color: #f9f9f9;
|
|
border-radius: 8rpx;
|
|
margin: 20rpx 0;
|
|
}
|
|
|
|
/* 页面滚动锁定样式 */
|
|
.page-scroll-lock {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
overflow: hidden;
|
|
height: 100vh;
|
|
|
|
/* iOS设备特殊锁定机制 */
|
|
-webkit-overflow-scrolling: auto;
|
|
touch-action: none;
|
|
pointer-events: none;
|
|
|
|
/* iOS设备硬件加速处理 */
|
|
transform: translateZ(0);
|
|
-webkit-transform: translateZ(0);
|
|
}
|
|
|
|
/* iOS设备子元素交互修复 */
|
|
.page-scroll-lock view,
|
|
.page-scroll-lock text,
|
|
.page-scroll-lock image,
|
|
.page-scroll-lock button,
|
|
.page-scroll-lock input,
|
|
.page-scroll-lock textarea,
|
|
.page-scroll-lock scroll-view,
|
|
.page-scroll-lock swiper,
|
|
.page-scroll-lock navigator,
|
|
.page-scroll-lock picker,
|
|
.page-scroll-lock slider,
|
|
.page-scroll-lock switch {
|
|
pointer-events: auto;
|
|
}
|
|
|
|
/* 弹窗输入框防抖动样式 */
|
|
.modal-content .input {
|
|
-webkit-appearance: none;
|
|
appearance: none;
|
|
-webkit-tap-highlight-color: transparent;
|
|
tap-highlight-color: transparent;
|
|
outline: none;
|
|
-webkit-user-select: text;
|
|
user-select: text;
|
|
-webkit-touch-callout: none;
|
|
touch-callout: none;
|
|
}
|
|
|
|
/* 弹窗容器硬件加速 */
|
|
.modal-content {
|
|
will-change: transform;
|
|
-webkit-will-change: transform;
|
|
}
|
|
|
|
/* 输入框容器稳定性增强 */
|
|
.modal-content input,
|
|
.modal-content textarea {
|
|
transform: translateZ(0);
|
|
-webkit-transform: translateZ(0);
|
|
perspective: 1000px;
|
|
-webkit-perspective: 1000px;
|
|
}
|
|
|
|
/* iOS输入框防抖优化 */
|
|
.modal-content .input {
|
|
-webkit-appearance: none;
|
|
appearance: none;
|
|
-webkit-tap-highlight-color: transparent;
|
|
touch-action: manipulation;
|
|
-webkit-touch-callout: none;
|
|
-webkit-user-select: text;
|
|
user-select: text;
|
|
-webkit-transform: translateZ(0);
|
|
transform: translateZ(0);
|
|
will-change: transform;
|
|
}
|