| @@ -50,8 +50,8 @@ async function getMyCoin() { | |||||
| if (!res4.data) { | if (!res4.data) { | ||||
| userInfoModulesPinia.myGlod = 0; | userInfoModulesPinia.myGlod = 0; | ||||
| } else { | } else { | ||||
| userInfoModulesPinia.myGlod = res4.data.digitalAvatarGlod | |||||
| ? res4.data.digitalAvatarGlod | |||||
| userInfoModulesPinia.myGlod = res4.data.digitalAvatarResidueGlod | |||||
| ? res4.data.digitalAvatarResidueGlod | |||||
| : 0; | : 0; | ||||
| } | } | ||||
| } | } | ||||
| @@ -84,7 +84,7 @@ async function createing(id) { | |||||
| } | } | ||||
| try { | try { | ||||
| uni.showLoading({ | uni.showLoading({ | ||||
| title: "加载中...", | |||||
| title: "生成中...", | |||||
| mask: true, | mask: true, | ||||
| }); | }); | ||||
| const res = await findImageApi(); | const res = await findImageApi(); | ||||
| @@ -31,8 +31,8 @@ | |||||
| :autoplay="false" | :autoplay="false" | ||||
| radius="5" | radius="5" | ||||
| bgColor="#1f2123" | bgColor="#1f2123" | ||||
| @click="goLookPhoto" | |||||
| ></u-swiper> | ></u-swiper> | ||||
| <!-- @click="goLookPhoto" --> | |||||
| <image | <image | ||||
| v-if="createState != 2" | v-if="createState != 2" | ||||
| class="logo" | class="logo" | ||||
| @@ -89,7 +89,7 @@ async function getSwiperList() { | |||||
| //#endregion --------------------- | //#endregion --------------------- | ||||
| //#region 下载 | //#region 下载 | ||||
| const swiperIndex = ref(null); | |||||
| const swiperIndex = ref(0); | |||||
| function getSwiperIndex(index) { | function getSwiperIndex(index) { | ||||
| swiperIndex.value = index.current; | swiperIndex.value = index.current; | ||||
| } | } | ||||