98 lines
1.7 KiB
Vue
98 lines
1.7 KiB
Vue
<template>
|
||
<div id="aericle-style">
|
||
<div class="aericle-list">
|
||
<div
|
||
class="aericle-item"
|
||
v-for="item in aericleList"
|
||
:key="item.id"
|
||
>
|
||
<div class="aericle-meta">
|
||
<span class="aericle-time">{{ item.time }}</span>
|
||
</div>
|
||
<div class="aericle-content">{{ item.content }}</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</template>
|
||
|
||
<script setup>
|
||
import { ref } from 'vue'
|
||
|
||
// 吐槽数据(仅站长可见/可发)
|
||
const aericleList = ref([
|
||
{
|
||
id: 1,
|
||
content: '嘿嘿 嘿嘿嘿(流口水ing)',
|
||
time: '2025-09-26 09:30'
|
||
}
|
||
])
|
||
</script>
|
||
|
||
<style scoped>
|
||
#aericle-style {
|
||
background: rgba(255,255,255,0.95);
|
||
border-radius: 12px;
|
||
padding: 32px 20px 24px 20px;
|
||
box-shadow: 0 2px 12px rgba(0,0,0,0.06);
|
||
}
|
||
|
||
.aericle-header {
|
||
text-align: center;
|
||
margin-bottom: 28px;
|
||
}
|
||
.aericle-header h1 {
|
||
font-size: 2.2rem;
|
||
margin-bottom: 8px;
|
||
color: #409eff;
|
||
letter-spacing: 2px;
|
||
}
|
||
.aericle-desc {
|
||
color: #888;
|
||
font-size: 1rem;
|
||
margin-bottom: 0;
|
||
}
|
||
|
||
.aericle-list {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 18px;
|
||
}
|
||
|
||
.aericle-item {
|
||
background: #f8fafd;
|
||
border-radius: 10px;
|
||
padding: 18px 20px 14px 20px;
|
||
box-shadow: 0 1px 4px rgba(0,0,0,0.03);
|
||
position: relative;
|
||
transition: box-shadow 0.2s;
|
||
}
|
||
.aericle-item:hover {
|
||
box-shadow: 0 4px 16px rgba(64,158,255,0.12);
|
||
}
|
||
|
||
.aericle-meta {
|
||
font-size: 13px;
|
||
color: #aaa;
|
||
margin-bottom: 8px;
|
||
text-align: right;
|
||
}
|
||
|
||
.aericle-content {
|
||
font-size: 1.08rem;
|
||
color: #333;
|
||
line-height: 1.8;
|
||
word-break: break-all;
|
||
}
|
||
|
||
@media (max-width: 768px) {
|
||
#aericle-style {
|
||
padding: 14px 4px 10px 4px;
|
||
}
|
||
.aericle-header h1 {
|
||
font-size: 1.4rem;
|
||
}
|
||
.aericle-content {
|
||
font-size: 0.98rem;
|
||
}
|
||
}
|
||
</style> |