- Added audit mode checks to restrict access to certain features and UI elements in the article editor and user pages. - Updated the UI to disable input fields and display a mask when in audit mode, enhancing user feedback. - Ensured that actions like submitting articles and inserting content are blocked in audit mode to prevent unauthorized usage. This update aims to improve content management and user experience by enforcing stricter access controls during the audit process.
49 lines
1.8 KiB
Plaintext
49 lines
1.8 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);
|
|
}
|
|
.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; }
|
|
.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; }
|
|
.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;
|
|
}
|