完成适配移动端

This commit is contained in:
2025-03-01 10:52:11 +08:00
parent 1f79c93859
commit 8d19a58e9d
68 changed files with 2117 additions and 847 deletions

View File

@@ -53,8 +53,8 @@
</div>
</div>
</div>
<div class="item-image pt-3">
<el-image v-if="item.files" :src="`${JSON.parse(item.files)[0]}`" class="w-full h-1/2 max-h-[220px]"/>
<div class="item-image pt-3 overflow-hidden">
<el-image v-if="item.files" :src="`${JSON.parse(item.files)[0]}`" class="w-full h-1/2 max-h-[220px] transition-transform duration-300 ease-in-out hover:scale-110"/>
<el-image v-else class="w-full h-[220px]"/>
</div>
</div>
@@ -116,7 +116,10 @@ const hideDomain = () => {
// 加载页面数据
const reload = async () => {
await pageCmsWebsiteAll(where).then(response => {
await pageCmsWebsiteAll({
...where,
plugin: false
}).then(response => {
if (response?.list) {
list.value = response?.list;
total.value = response.count;