opt: optimize mobile images page styles

This commit is contained in:
RockYang 2024-05-03 08:14:33 +08:00
parent b7abc42209
commit 3ac04a3938
2 changed files with 7 additions and 8 deletions

View File

@ -1,13 +1,13 @@
<template>
<div class="mobile-image container">
<van-tabs v-model:active="activeName" class="my-tab" animated sticky>
<van-tab title="MidJourney" name="mj">
<van-tab title="MJ" name="mj">
<image-mj/>
</van-tab>
<van-tab title="Stable-Diffusion" name="sd">
<van-tab title="SD" name="sd">
<image-sd/>
</van-tab>
<van-tab title="DALL-E" name="dall">
<van-tab title="DALL" name="dall">
<van-empty description="功能正在开发中"/>
</van-tab>
</van-tabs>

View File

@ -2,7 +2,7 @@
<div class="img-wall container">
<div class="content">
<van-tabs v-model:active="activeName" animated sticky>
<van-tab title="MidJourney" name="mj">
<van-tab title="MJ" name="mj">
<van-list
v-model:error="data['mj'].error"
v-model:loading="data['mj'].loading"
@ -23,7 +23,7 @@
</van-cell>
</van-list>
</van-tab>
<van-tab title="StableDiffusion" name="sd">
<van-tab title="SD" name="sd">
<van-list
v-model:error="data['sd'].error"
v-model:loading="data['sd'].loading"
@ -43,7 +43,7 @@
</van-cell>
</van-list>
</van-tab>
<van-tab title="DALLE3" name="dalle3">
<van-tab title="DALL" name="dalle3">
<van-empty description="功能正在开发中"/>
</van-tab>
</van-tabs>
@ -57,8 +57,7 @@
<script setup>
import {onMounted, onUnmounted, ref} from "vue";
import {httpGet} from "@/utils/http";
import {showConfirmDialog, showDialog, showFailToast, showImagePreview, showNotify} from "vant";
import {Delete} from "@element-plus/icons-vue";
import {showConfirmDialog, showFailToast, showImagePreview, showNotify} from "vant";
import Clipboard from "clipboard";
import {ElMessage} from "element-plus";