@@ -557,6 +1059,16 @@ async function handleCpSave() {
{{ formatDate(record.createTime) }}
+
+ {{ getGiftTabName(record.giftTab) }}
+
+
+
+
+ {{ stringifyCellValue(record.regionNameStr) }}
+
+
+
{{ record.userBaseInfo?.actualAccount || record.userBaseInfo?.id || '-' }}
@@ -700,6 +1212,85 @@ async function handleCpSave() {
@success="loadSetting(true)"
/>
+
+
+ 已选择 {{ selectedGiftCount }} 个礼物,只会修改勾选字段。
+
+
+
+ 礼物类型
+
+
+
+ 收费类型
+
+
+
+ 特效
+
+
+
+ 金币
+
+
+
+ 积分
+
+
+
+ 排序权重
+
+
+
+ 上/下架
+
+
+
+
+
.toolbar {
- margin-bottom: 16px;
+ margin-bottom: 12px;
+}
+
+.gift-page-card {
+ border: 1px solid #e5e7eb;
+ border-radius: 8px;
+ height: 100%;
+}
+
+.gift-page-card :deep(.ant-card-body) {
+ display: flex;
+ flex-direction: column;
+ height: 100%;
+ min-height: 0;
+ padding: 16px;
+}
+
+.gift-page-card :deep(.ant-tabs-nav) {
+ margin: 0 0 8px;
+}
+
+.gift-setting-panel {
+ display: flex;
+ flex: 1 1 auto;
+ flex-direction: column;
+ min-height: 0;
+}
+
+.gift-setting-table {
+ flex: 1 1 auto;
+ min-height: 360px;
+}
+
+.region-cell {
+ display: block;
+ max-width: 100%;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+}
+
+.column-title {
+ align-items: center;
+ display: inline-flex;
+ gap: 6px;
+ min-width: 0;
+ white-space: nowrap;
+}
+
+.column-title--actions {
+ justify-content: center;
+ width: 100%;
+}
+
+.column-filter-button,
+.filter-reset-button {
+ align-items: center;
+ color: rgb(102 112 133);
+ display: inline-flex;
+ height: 22px;
+ justify-content: center;
+ padding: 0;
+ width: 22px;
+}
+
+.column-filter-button:hover,
+.filter-reset-button:hover {
+ background: rgb(242 244 247);
+ color: rgb(23 92 211);
+}
+
+.column-filter-button--active {
+ background: rgb(230 240 255);
+ color: rgb(22 119 255);
+}
+
+.filter-icon-svg {
+ height: 14px;
+ width: 14px;
+}
+
+.column-filter-panel {
+ display: flex;
+ flex-direction: column;
+ gap: 12px;
+ min-width: 220px;
+}
+
+.column-filter-panel :deep(.ant-input),
+.column-filter-panel :deep(.ant-input-number),
+.column-filter-panel :deep(.ant-select) {
+ width: 100%;
+}
+
+.column-filter-actions {
+ display: flex;
+ gap: 8px;
+ justify-content: flex-end;
+}
+
+:global(.gift-filter-popover .ant-popover-inner-content) {
+ padding: 12px;
}
.pager {
@@ -817,4 +1509,34 @@ async function handleCpSave() {
color: #dc2626;
line-height: 22px;
}
+
+.batch-edit-summary {
+ color: #475569;
+ font-size: 13px;
+ margin-bottom: 12px;
+}
+
+.batch-edit-grid {
+ display: grid;
+ gap: 12px;
+ grid-template-columns: repeat(2, minmax(0, 1fr));
+}
+
+.batch-edit-field {
+ display: grid;
+ gap: 6px;
+}
+
+.batch-edit-field--wide {
+ grid-column: 1 / -1;
+}
+
+:global(.gift-page-content) {
+ box-sizing: border-box;
+ display: flex;
+ flex-direction: column;
+ min-height: 0;
+ overflow: hidden !important;
+ padding: 16px !important;
+}