|
@@ -26,8 +26,8 @@
|
|
|
<!-- 图片 -->
|
|
|
<template v-if="type === 'img' || type === '2d'">
|
|
|
<img
|
|
|
- @click="lookImg(`hotData/${hotIdOrName.id}/${type}/${item.id}`)"
|
|
|
- v-lazy="`hotData/${hotIdOrName.id}/${type}/${item.id}`"
|
|
|
+ @click="lookImg(`${hotBaseUrl}${hotIdOrName.id}/${type}/${item.id}`)"
|
|
|
+ v-lazy="`${hotBaseUrl}${hotIdOrName.id}/${type}/${item.id}`"
|
|
|
alt=""
|
|
|
/>
|
|
|
</template>
|
|
@@ -139,7 +139,7 @@
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
-import { hotData } from "./data";
|
|
|
+import { hotData,hotBaseUrl } from "./data";
|
|
|
import Audio from "./Audio.vue";
|
|
|
import Swiper from "./swiper.js";
|
|
|
export default {
|
|
@@ -158,6 +158,10 @@ export default {
|
|
|
data() {
|
|
|
//这里存放数据
|
|
|
return {
|
|
|
+ hotBaseUrl,//热点图片的前缀 url
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
lookPics: [],
|
|
|
|
|
|
show: false,
|