feat: change style optimization
This commit is contained in:
@@ -83,13 +83,37 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.divisionList {
|
.divisionList {
|
||||||
|
display: inline-flex;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
gap: 8px 12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.coverWrapper {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
justify-content: center;
|
||||||
gap: 6px;
|
align-items: center;
|
||||||
|
background: #f5f5f5;
|
||||||
|
border-radius: 8px;
|
||||||
|
padding: 16px;
|
||||||
|
|
||||||
|
:global(.ant-image) {
|
||||||
|
max-width: 100%;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.divisionItem {
|
.divisionItem {
|
||||||
|
display: inline-flex;
|
||||||
|
align-items: center;
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
color: rgba(0, 0, 0, 0.65);
|
color: rgba(0, 0, 0, 0.65);
|
||||||
|
padding: 4px 12px;
|
||||||
|
background: #f5f5f5;
|
||||||
|
border-radius: 4px;
|
||||||
|
transition: all 0.2s ease;
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
color: #1677ff;
|
||||||
|
background: #e6f4ff;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -270,12 +270,14 @@ export default defineComponent({
|
|||||||
{/* ===== 封面 ===== */}
|
{/* ===== 封面 ===== */}
|
||||||
<div class={styles.section}>
|
<div class={styles.section}>
|
||||||
<div class={styles.sectionTitle}>封面</div>
|
<div class={styles.sectionTitle}>封面</div>
|
||||||
|
<div class={styles.coverWrapper}>
|
||||||
<Image
|
<Image
|
||||||
style={{ maxHeight: '380px' }}
|
style={{ maxHeight: '380px' }}
|
||||||
src={detail.value.img || defaultCover}
|
src={detail.value.img || defaultCover}
|
||||||
fallback={defaultCover}
|
fallback={defaultCover}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
{/* ===== 赛事公告 ===== */}
|
{/* ===== 赛事公告 ===== */}
|
||||||
{detail.value.notice && (
|
{detail.value.notice && (
|
||||||
|
|||||||
Reference in New Issue
Block a user