mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/student-h5.git
synced 2025-12-11 20:06:48 +08:00
fix:图片引用问题修改
This commit is contained in:
@@ -29,9 +29,9 @@
|
|||||||
</template>
|
</template>
|
||||||
<script setup>
|
<script setup>
|
||||||
import { computed, defineProps, ref, watch } from "vue";
|
import { computed, defineProps, ref, watch } from "vue";
|
||||||
import back from "../assets/image/pathdetails/pathDetailBack.png";
|
// import back from "../assets/image/pathdetails/pathDetailBack.png";
|
||||||
import nameBack from "../assets/image/pathdetails/pathDetailImg.png";
|
// import nameBack from "../assets/image/pathdetails/pathDetailImg.png";
|
||||||
import currentBack from "../assets/image/pathdetails/pathDetailImgSelect.png";
|
// import currentBack from "../assets/image/pathdetails/pathDetailImgSelect.png";
|
||||||
import { useRouter } from "vue-router/dist/vue-router";
|
import { useRouter } from "vue-router/dist/vue-router";
|
||||||
import { ElLoading } from "element-plus";
|
import { ElLoading } from "element-plus";
|
||||||
import { ROUTERTASK_LIST } from "@/api/api";
|
import { ROUTERTASK_LIST } from "@/api/api";
|
||||||
@@ -48,6 +48,12 @@ const props = defineProps({
|
|||||||
});
|
});
|
||||||
const router = useRouter();
|
const router = useRouter();
|
||||||
const visiable = ref(true);
|
const visiable = ref(true);
|
||||||
|
|
||||||
|
const back = ref("../assets/image/pathdetails/pathDetailBack.png");
|
||||||
|
const nameBack = ref("../assets/image/pathdetails/pathDetailImg.png");
|
||||||
|
const currentBack = ref("../assets/image/pathdetails/pathDetailImgSelect.png");
|
||||||
|
|
||||||
|
|
||||||
const imageAttrs = {
|
const imageAttrs = {
|
||||||
"路径图背景-1671015331292.png": {
|
"路径图背景-1671015331292.png": {
|
||||||
width: 1437,
|
width: 1437,
|
||||||
|
|||||||
Reference in New Issue
Block a user