geekai/web/src/views/mobile/Image.vue
2024-05-27 21:23:11 +08:00

34 lines
731 B
Vue

<template>
<div class="mobile-image container">
<van-tabs v-model:active="activeName" class="my-tab" animated sticky>
<van-tab title="MJ" name="mj">
<image-mj/>
</van-tab>
<van-tab title="SD" name="sd">
<image-sd/>
</van-tab>
<van-tab title="DALL" name="dall">
<van-empty description="功能正在开发中"/>
</van-tab>
</van-tabs>
</div>
</template>
<script setup>
import {ref} from "vue";
import ImageMj from "@/views/mobile/pages/ImageMj.vue";
import ImageSd from "@/views/mobile/pages/ImageSd.vue";
const activeName = ref("mj")
</script>
<style lang="stylus">
.mobile-image {
.my-tab {
.van-tab__panel {
padding 10px
}
}
}
</style>