2023-11-27-dist

This commit is contained in:
X1627315083
2023-11-27 11:11:07 +08:00
parent e05b159c5a
commit 1f52565aad
9 changed files with 1087 additions and 147 deletions

View File

@@ -148,6 +148,7 @@
</div>
<layout ref="layout" :moodb_className="moodb_className" :flex_direction="flex_direction" @setmoodbClass="setmoodbClass"></layout>
<layoutMobile ref="layoutMobile" :moodb_className="moodb_className" :flex_direction="flex_direction" @setmoodbClass="setmoodbClass"></layoutMobile>
</div>
</template>
@@ -155,7 +156,7 @@
import { defineComponent, h, ref ,computed,nextTick,inject} from "vue";
import { LoadingOutlined } from "@ant-design/icons-vue";
import { getCookie } from "@/tool/cookie";
import { getUploadUrl } from "@/tool/util";
import { getUploadUrl,isMoible } from "@/tool/util";
import { useStore } from "vuex";
import { message, Upload } from "ant-design-vue";
import { Https } from "@/tool/https";
@@ -163,6 +164,7 @@ import Material from "@/component/HomePage/Material.vue";
import Generate from "@/component/HomePage/Generate.vue";
import MoodTemplate from "@/component/HomePage/MoodTemplate.vue";
import layout from "@/component/HomePage/layout.vue";
import layoutMobile from "@/component/HomePage/layoutMobile.vue";
import domTurnImg from '@/tool/domTurnImg'
import GO from "@/tool/GO";
import moodb from "@/tool/moodb";
@@ -170,7 +172,7 @@ import { useI18n } from "vue-i18n";
import { openGuide,driverObj__ } from "@/tool/guide";
import { driver } from "driver.js";
export default defineComponent({
components: { Material, MoodTemplate, Generate,layout },
components: { Material, MoodTemplate, Generate,layout,layoutMobile },
setup() {
const store = useStore()
let lessenList: any = ref([]);
@@ -421,7 +423,7 @@ export default defineComponent({
changeTemplateModal() {
if(this.modalImg[0]?.id){
let layout:any = this.$refs.layout
let layout:any = isMoible() ? this.$refs.layoutMobile : this.$refs.layout
// layout.init('moodboard')
layout.init()
}else{