.health-promotion-page { min-height: calc(100vh - 48px); padding: 18px 20px 24px; background: #f2f5f9; } .health-promotion-page__panel { padding: 18px 18px 24px; border-radius: 10px; background: #fff; box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04); } .health-promotion-page__title { margin-bottom: 16px; color: #303133; font-size: 20px; font-weight: 500; } .health-promotion-search-card { padding: 16px 18px 10px; border: 1px solid #e7edf4; border-radius: 6px; } .health-promotion-search-form { display: grid; grid-template-columns: repeat(4, minmax(200px, 1fr)) auto; gap: 10px 18px; align-items: start; } .health-promotion-search-form .ant-form-item { margin-bottom: 0; } .health-promotion-search-form .ant-form-item-row { display: grid; grid-template-columns: 64px minmax(0, 1fr); align-items: center; column-gap: 12px; } .health-promotion-search-form .ant-form-item-label { padding: 0; } .health-promotion-search-form__actions { display: flex; justify-content: flex-end; gap: 12px; min-width: 160px; } .health-promotion-toolbar { display: flex; justify-content: flex-end; margin: 16px 0 10px; } .health-promotion-table-card { overflow: hidden; border: 1px solid #e7edf4; border-radius: 6px; } .health-promotion-table-card .ant-table-thead > tr > th { background: #f8fafc; color: #303133; font-weight: 500; } .health-promotion-table__title { display: flex; align-items: center; gap: 12px; } .health-promotion-table__cover-placeholder { display: flex; align-items: center; justify-content: center; width: 64px; height: 40px; border-radius: 6px; background: #edf2f7; color: #64748b; font-size: 14px; font-weight: 600; } .health-promotion-table__actions { button { padding: 0; border: none; background: none; color: #1677ff; cursor: pointer; } } .health-promotion-pagination { display: flex; justify-content: flex-end; padding: 16px 18px; } .health-promotion-edit-form__section-title { margin-bottom: 16px; padding-left: 8px; border-left: 3px solid #1677ff; color: #303133; font-size: 15px; font-weight: 500; } .health-promotion-edit-form__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 36px; align-items: start; } .health-promotion-edit-form .ant-form-item { margin-bottom: 18px; } .health-promotion-edit-form__upload { grid-column: span 1; } .health-promotion-edit-form__cover-box { display: flex; align-items: center; justify-content: center; width: 96px; height: 96px; overflow: hidden; border: 1px dashed #cbd5e1; border-radius: 8px; background: #f8fafc; color: #94a3b8; font-size: 28px; cursor: pointer; } .health-promotion-edit-form__switch-group { display: flex; align-items: center; gap: 28px; min-height: 72px; } .health-promotion-edit-form__switch-item { display: flex; align-items: center; gap: 10px; } .health-promotion-edit-form__switch-item .ant-form-item { margin-bottom: 0; } .health-promotion-edit-form__switch-label { color: #606266; white-space: nowrap; } .health-promotion-edit-form__video-upload { display: flex; align-items: center; gap: 12px; } .health-promotion-edit-form__video-upload span { color: #606266; word-break: break-all; } .health-promotion-edit-form__footer { display: flex; gap: 12px; margin-top: 12px; } @media (max-width: 1200px) { .health-promotion-search-form { grid-template-columns: repeat(2, minmax(200px, 1fr)); } .health-promotion-edit-form__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } } @media (max-width: 768px) { .health-promotion-page { padding: 12px; } .health-promotion-page__panel { padding: 16px; } .health-promotion-search-form { grid-template-columns: 1fr; } .health-promotion-search-form__actions { justify-content: flex-start; } .health-promotion-edit-form__grid { grid-template-columns: 1fr; } .health-promotion-edit-form__switch-group, .health-promotion-edit-form__video-upload { flex-direction: column; align-items: flex-start; } }