|
|
@@ -24,7 +24,7 @@ |
|
|
|
<script setup>
|
|
|
|
//#region 导入
|
|
|
|
import { ref, reactive } from "vue";
|
|
|
|
import { onLoad } from "@dcloudio/uni-app";
|
|
|
|
import { onLoad, onShow } from "@dcloudio/uni-app";
|
|
|
|
import {
|
|
|
|
findByIdApi,
|
|
|
|
findImageApi,
|
|
|
@@ -40,6 +40,10 @@ const styleId = ref(null); |
|
|
|
const styleData = ref({});
|
|
|
|
onLoad((options) => {
|
|
|
|
styleId.value = options.id;
|
|
|
|
// getInfo();
|
|
|
|
// getMyCoin();
|
|
|
|
});
|
|
|
|
onShow(() => {
|
|
|
|
getInfo();
|
|
|
|
getMyCoin();
|
|
|
|
});
|
|
|
|