|
|
@@ -309,7 +309,7 @@ onShow(() => { loadList(); });
|
|
|
background: #fff;
|
|
|
|
|
|
&.default {
|
|
|
- background: linear-gradient(135deg, rgba(65, 157, 149, 0.03) 0%, rgba(65, 157, 149, 0.01) 100%);
|
|
|
+ background: linear-gradient(135deg, rgba(45, 158, 149, 0.03) 0%, rgba(45, 158, 149, 0.01) 100%);
|
|
|
}
|
|
|
}
|
|
|
|
|
|
@@ -338,7 +338,7 @@ onShow(() => { loadList(); });
|
|
|
color: #fff;
|
|
|
}
|
|
|
|
|
|
-.edit-btn { background: #419D95; }
|
|
|
+.edit-btn { background: var(--color-primary); }
|
|
|
.delete-btn { background: #e74c3c; }
|
|
|
|
|
|
// === Item content ===
|
|
|
@@ -347,15 +347,15 @@ onShow(() => { loadList(); });
|
|
|
.title-name { font-size: 30rpx; font-weight: 600; color: #1a1a1a; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; min-width: 0; }
|
|
|
|
|
|
.type-tag { font-size: 20rpx; padding: 4rpx 12rpx; border-radius: 6rpx; margin-left: 12rpx; flex-shrink: 0;
|
|
|
- &.tag-org { background: rgba(65, 157, 149, 0.1); color: #419D95; }
|
|
|
+ &.tag-org { background: rgba(45, 158, 149, 0.1); color: var(--color-primary); }
|
|
|
&.tag-personal { background: rgba(255, 153, 0, 0.1); color: #cc7a00; }
|
|
|
}
|
|
|
|
|
|
-.default-tag { font-size: 20rpx; padding: 4rpx 12rpx; border-radius: 6rpx; margin-left: 8rpx; background: rgba(65, 157, 149, 0.12); color: #419D95; flex-shrink: 0; }
|
|
|
+.default-tag { font-size: 20rpx; padding: 4rpx 12rpx; border-radius: 6rpx; margin-left: 8rpx; background: rgba(45, 158, 149, 0.12); color: var(--color-primary); flex-shrink: 0; }
|
|
|
.item-detail { font-size: 24rpx; color: #999; margin-top: 10rpx; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
|
.item-footer { margin-top: 16rpx; }
|
|
|
|
|
|
-.set-default-btn { display: inline-block; font-size: 22rpx; color: #419D95; padding: 6rpx 20rpx; border: 1rpx solid rgba(65, 157, 149, 0.4); border-radius: 20rpx; }
|
|
|
+.set-default-btn { display: inline-block; font-size: 22rpx; color: var(--color-primary); padding: 6rpx 20rpx; border: 1rpx solid rgba(45, 158, 149, 0.4); border-radius: 20rpx; }
|
|
|
|
|
|
// === Empty ===
|
|
|
.empty-state { display: flex; flex-direction: column; align-items: center; justify-content: center; padding-top: 240rpx; }
|
|
|
@@ -364,7 +364,7 @@ onShow(() => { loadList(); });
|
|
|
|
|
|
// === Add button ===
|
|
|
.add-row { position: fixed; bottom: 0; left: 0; right: 0; padding: 16rpx 0; padding-bottom: calc(16rpx + env(safe-area-inset-bottom)); display: flex; justify-content: center; }
|
|
|
-.add-btn { display: flex; align-items: center; justify-content: center; width: 400rpx; height: 80rpx; background: #419D95; color: #fff; font-size: 32rpx; font-weight: 500; border-radius: 40rpx; }
|
|
|
+.add-btn { display: flex; align-items: center; justify-content: center; width: 400rpx; height: 80rpx; background: var(--color-primary); color: #fff; font-size: 32rpx; font-weight: 500; border-radius: 40rpx; }
|
|
|
|
|
|
// === Modal ===
|
|
|
.modal-mask { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0); z-index: 1000; display: flex; align-items: flex-end; transition: background 0.25s ease-out; &.visible { background: rgba(0,0,0,0.45); } }
|
|
|
@@ -376,14 +376,14 @@ onShow(() => { loadList(); });
|
|
|
.modal-header { display: flex; align-items: center; justify-content: center; padding: 8rpx 30rpx 20rpx; position: relative; border-bottom: 1rpx solid rgba(0,0,0,0.05); }
|
|
|
.modal-title { font-size: 32rpx; font-weight: 600; color: #1a1a1a; }
|
|
|
.modal-header-right { position: absolute; right: 30rpx; top: 50%; transform: translateY(-50%); display: flex; align-items: center; }
|
|
|
-.import-title-btn { font-size: 24rpx; color: #419D95; padding: 8rpx 16rpx; border: 1rpx solid rgba(65, 157, 149, 0.4); border-radius: 16rpx; margin-right: 16rpx; }
|
|
|
+.import-title-btn { font-size: 24rpx; color: var(--color-primary); padding: 8rpx 16rpx; border: 1rpx solid rgba(45, 158, 149, 0.4); border-radius: 16rpx; margin-right: 16rpx; }
|
|
|
.modal-close { padding: 12rpx; }
|
|
|
|
|
|
.modal-body { padding: 8rpx 30rpx 0; overflow-y: auto; overflow-x: hidden; box-sizing: border-box; }
|
|
|
|
|
|
.modal-footer { display: flex; padding: 20rpx 30rpx; padding-bottom: calc(20rpx + env(safe-area-inset-bottom)); gap: 20rpx; border-top: 1rpx solid rgba(0,0,0,0.05); }
|
|
|
-.btn-cancel { width: 160rpx; height: 80rpx; display: flex; align-items: center; justify-content: center; font-size: 28rpx; color: #419D95; background: rgba(65, 157, 149, 0.08); border-radius: 40rpx; flex-shrink: 0; }
|
|
|
-.btn-save { flex: 1; height: 80rpx; display: flex; align-items: center; justify-content: center; font-size: 28rpx; font-weight: 500; color: #fff; background: #419D95; border-radius: 40rpx; &.loading { opacity: 0.7; } }
|
|
|
+.btn-cancel { width: 160rpx; height: 80rpx; display: flex; align-items: center; justify-content: center; font-size: 28rpx; color: var(--color-primary); background: rgba(45, 158, 149, 0.08); border-radius: 40rpx; flex-shrink: 0; }
|
|
|
+.btn-save { flex: 1; height: 80rpx; display: flex; align-items: center; justify-content: center; font-size: 28rpx; font-weight: 500; color: #fff; background: var(--color-primary); border-radius: 40rpx; &.loading { opacity: 0.7; } }
|
|
|
|
|
|
// === Forms ===
|
|
|
.form-section-label { font-size: 22rpx; color: #999; padding: 16rpx 0 8rpx; margin-bottom: 4rpx; }
|
|
|
@@ -395,8 +395,8 @@ onShow(() => { loadList(); });
|
|
|
.form-input { flex: 1; height: 80rpx; padding: 0 20rpx; margin: 0; background: #f6f7fa; border: 1rpx solid #eee; border-radius: 12rpx; font-size: 28rpx; color: #1a1a1a; box-sizing: border-box; }
|
|
|
.input-placeholder { color: #bbb; }
|
|
|
.type-options { display: flex; }
|
|
|
-.type-opt { display: flex; align-items: center; justify-content: center; font-size: 26rpx; color: #888; padding: 10rpx 28rpx; border: 1rpx solid #e0e0e0; border-radius: 8rpx; margin-right: 16rpx; transition: all 0.15s; &.active { border-color: #419D95; background: rgba(65, 157, 149, 0.06); color: #419D95; } }
|
|
|
+.type-opt { display: flex; align-items: center; justify-content: center; font-size: 26rpx; color: #888; padding: 10rpx 28rpx; border: 1rpx solid #e0e0e0; border-radius: 8rpx; margin-right: 16rpx; transition: all 0.15s; &.active { border-color: var(--color-primary); background: rgba(45, 158, 149, 0.06); color: var(--color-primary); } }
|
|
|
.form-switch { display: flex; align-items: center; justify-content: space-between; .form-label { margin-bottom: 0; } }
|
|
|
-.switch { width: 72rpx; height: 40rpx; background: #d0d0d0; border-radius: 24rpx; position: relative; transition: background 0.2s; &.on { background: #419D95; } }
|
|
|
+.switch { width: 72rpx; height: 40rpx; background: #d0d0d0; border-radius: 24rpx; position: relative; transition: background 0.2s; &.on { background: var(--color-primary); } }
|
|
|
.switch-dot { width: 32rpx; height: 32rpx; background: #fff; border-radius: 50%; position: absolute; top: 4rpx; left: 4rpx; transition: transform 0.2s; .switch.on & { transform: translateX(32rpx); } }
|
|
|
</style>
|