- Updated the API base URLs in app.js to point to local development server for testing. - Enhanced SVG icons with gradient fills for improved visual appeal across various components. - Refactored the avatar upload functionality in avatar-nickname.js and profile-edit.js to utilize a new upload utility for better code maintainability. - Improved the layout and styling of the my page and super article editor for a more user-friendly interface. This update aims to streamline development processes and enhance the overall user experience in the application.
83 lines
3.3 KiB
Plaintext
83 lines
3.3 KiB
Plaintext
.page { min-height: 100vh; background: #0b1220; color: #fff; }
|
|
.nav-bar {
|
|
position: fixed; left: 0; right: 0; top: 0; z-index: 10;
|
|
display: flex; align-items: center; justify-content: space-between;
|
|
height: 44px; padding: 0 24rpx; background: rgba(5, 11, 20, 0.9);
|
|
}
|
|
.nav-back, .nav-placeholder { width: 64rpx; }
|
|
.nav-title { font-size: 32rpx; font-weight: 700; }
|
|
.card {
|
|
margin: 24rpx; padding: 28rpx; border-radius: 24rpx;
|
|
background: rgba(15, 23, 42, 0.86); border: 1rpx solid rgba(148, 163, 184, 0.2);
|
|
}
|
|
.section-title {
|
|
display: block; font-size: 26rpx; font-weight: 700; color: #e2e8f0;
|
|
margin-bottom: 20rpx; letter-spacing: 2rpx;
|
|
}
|
|
.label { display: block; font-size: 24rpx; color: #cbd5e1; margin-bottom: 12rpx; }
|
|
.input-wrap, .textarea-wrap { background: rgba(2, 6, 23, 0.75); border-radius: 16rpx; padding: 18rpx 20rpx; }
|
|
.input { width: 100%; color: #fff; font-size: 28rpx; background: transparent; }
|
|
.file-actions { margin-bottom: 12rpx; }
|
|
.add-file-btn {
|
|
display: inline-flex; align-items: center; justify-content: center;
|
|
padding: 14rpx 28rpx; border-radius: 16rpx; font-size: 26rpx; font-weight: 600;
|
|
color: #22d3ee; border: 1rpx solid rgba(34, 211, 238, 0.45);
|
|
background: rgba(8, 47, 73, 0.45);
|
|
}
|
|
.file-row {
|
|
display: flex; align-items: flex-start; justify-content: space-between;
|
|
gap: 16rpx; padding: 16rpx 18rpx; margin-bottom: 12rpx;
|
|
border-radius: 14rpx; background: rgba(2, 6, 23, 0.55); border: 1rpx solid rgba(148, 163, 184, 0.12);
|
|
}
|
|
.file-main { flex: 1; min-width: 0; }
|
|
.file-name { display: block; font-size: 26rpx; color: #f1f5f9; word-break: break-all; line-height: 1.45; }
|
|
.file-meta { display: block; font-size: 22rpx; color: #94a3b8; margin-top: 6rpx; }
|
|
.file-meta.ok { color: #5eead4; }
|
|
.file-remove {
|
|
flex-shrink: 0; font-size: 24rpx; color: #f97316; padding: 8rpx 12rpx;
|
|
}
|
|
.prompt-textarea { min-height: 200rpx; }
|
|
.generate-btn {
|
|
margin-top: 20rpx; height: 88rpx; border-radius: 16rpx;
|
|
border: 1rpx solid rgba(34, 211, 238, 0.55); color: #a5f3fc; font-size: 30rpx; font-weight: 700;
|
|
display: flex; align-items: center; justify-content: center;
|
|
background: rgba(8, 47, 73, 0.45);
|
|
}
|
|
.generate-btn-loading { opacity: 0.7; pointer-events: none; }
|
|
.toolbar { margin-top: 12rpx; margin-bottom: 12rpx; display: flex; gap: 12rpx; }
|
|
.tool-btn {
|
|
padding: 10rpx 18rpx; border-radius: 999rpx; font-size: 22rpx;
|
|
color: #67e8f9; border: 1rpx solid rgba(34, 211, 238, 0.35); background: rgba(8, 47, 73, 0.45);
|
|
}
|
|
.textarea {
|
|
width: 100%; min-height: 380rpx; color: #fff; font-size: 28rpx; line-height: 1.65;
|
|
background: transparent;
|
|
}
|
|
.hint { display: block; margin-top: 10rpx; color: #94a3b8; font-size: 22rpx; }
|
|
.submit-btn {
|
|
margin-top: 24rpx; height: 88rpx; border-radius: 16rpx;
|
|
background: linear-gradient(135deg, #22d3ee, #14b8a6);
|
|
color: #032b35; font-size: 30rpx; font-weight: 700;
|
|
display: flex; align-items: center; justify-content: center;
|
|
}
|
|
|
|
/* 审核模式:盖住整页(含自定义导航),高于 .nav-bar 的 z-index: 10 */
|
|
.audit-mode-mask {
|
|
position: fixed;
|
|
left: 0;
|
|
right: 0;
|
|
top: 0;
|
|
bottom: 0;
|
|
z-index: 10000;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: rgba(11, 18, 32, 0.94);
|
|
}
|
|
.audit-mode-text {
|
|
font-size: 36rpx;
|
|
font-weight: 600;
|
|
color: rgba(255, 255, 255, 0.88);
|
|
letter-spacing: 4rpx;
|
|
}
|