miniprogramme/pages/settings/feedback/feedback.wxss
2025-09-12 16:08:17 +08:00

169 lines
No EOL
3 KiB
Text
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/* 深色主题反馈页面样式 */
.container {
width: 100%;
min-height: 100vh;
background: linear-gradient(to bottom, #23013a, #000000);
/* color: #ffffff; */
}
/* 导航栏样式 - 移除固定高度设置由JS动态控制 */
.navbar {
position: fixed;
top: 0;
left: 0;
right: 0;
display: flex;
align-items: center;
/* background-color: #1a1a1a; */
/* border-bottom: 1px solid #333333; */
z-index: 10;
box-sizing: content-box; /* 确保padding不会影响总高度计算 */
}
.back-btn {
width: 48px;
display: flex;
align-items: center;
justify-content: center;
}
.icon {
font-size: 20px;
color: #ffffff;
}
.title {
flex: 1;
text-align: center;
font-size: 34rpx;
font-weight: 500;
color: #ffffff;
}
/* 主内容区 - 移除固定padding-top由JS动态控制 */
.content {
width: 100%;
box-sizing: border-box;
}
/* 表单区域 */
.form-section {
padding: 20px 16px;
background-color: #1a1a1a;
margin: 10px;
border-radius: 12px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.form-item {
margin-bottom: 24px;
}
.label {
display: block;
margin-bottom: 10px;
font-size: 15px;
color: #cccccc;
font-weight: 500;
}
/* 选择器样式 */
.picker-view {
width: 100%;
height: 48px;
line-height: 48px;
padding: 0 12px;
border: 1px solid #444444;
border-radius: 8px;
box-sizing: border-box;
color: #ffffff;
background-color: #2a2a2a;
}
/* 输入框样式 */
.textarea {
width: 100%;
min-height: 150px;
padding: 12px;
border: 1px solid #444444;
border-radius: 8px;
box-sizing: border-box;
font-size: 14px;
line-height: 1.6;
color: #ffffff;
background-color: #2a2a2a;
resize: none;
}
.textarea::placeholder {
color: #888888;
}
.input {
width: 100%;
height: 48px;
padding: 0 12px;
border: 1px solid #444444;
border-radius: 8px;
box-sizing: border-box;
font-size: 14px;
color: #ffffff;
background-color: #2a2a2a;
}
.input::placeholder {
color: #888888;
}
/* 提交按钮样式 */
/* 提交按钮容器 */
.submit-container {
display: flex;
justify-content: center;
padding: 0 30rpx;
margin-top: 60rpx;
}
/* 提交按钮 - 渐变效果更贴近设计图 */
.submit-button {
width: 100%;
height: 90rpx;
border-radius: 45rpx;
display: flex;
align-items: center;
justify-content: center;
font-size: 32rpx;
font-weight: 600;
transition: all 0.3s ease;
}
.submit-text {
color: #ffffff;
font-weight: 600;
}
/* 渐变效果 - 更接近设计图的粉蓝渐变 */
.gradient {
background: linear-gradient(90deg, #FF55C9 0%, #00B8FF 100%);
background-size: 200% 200%;
animation: gradientFlow 3s ease infinite;
}
@keyframes gradientFlow {
0% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
100% { background-position: 0% 50%; }
}
/* 提交中状态 */
.submitting {
background-color: #333333;
color: #999999;
}
/* 触摸效果 */
.submit-button:active:not(.submitting) {
transform: scale(0.98);
opacity: 0.9;
}