Browse Source

style:资源替换

dev_xrcc
1054425342@qq.com 2 months ago
parent
commit
5e6c9bf6f5
  1. 4
      pig/chapter4/chapter4.vue
  2. 2
      pig/chapter4/secBuy.vue
  3. 9
      pig/home/home.vue

4
pig/chapter4/chapter4.vue

@ -16,7 +16,7 @@
class="bg-image"
:src="
showImg(
'/uploads/20250802/85bba0ce5a8113fe6331f335a4cfd7f7.png'
'/uploads/20250807/71e6ef3d1901198a9266c0ace04fe80c.png'
)
"
:lazy-load="true"
@ -100,7 +100,7 @@
class="bg-image"
:src="
showImg(
'/uploads/20250802/23fc62e1cd91bc373dbf7eb9e741721e.png'
'/uploads/20250806/c936771f3c6289bfd8a3d0fa9d5e53fd.png'
)
"
:lazy-load="true"

2
pig/chapter4/secBuy.vue

@ -30,7 +30,7 @@
v-if="type"
style="position: absolute; z-index: 9; bottom: 340rpx"
:style="{
width: imgMap[type].width,
width: '510rpx',
left: imgMap[type].left,
}"
:src="showImg('/uploads/20250806/b8aa4923d2994836bee0ebed5dc255a6.png')"

9
pig/home/home.vue

@ -31,7 +31,7 @@
}"
:src="
showImg(
'/uploads/20250801/4059157496ea8a1ce3ef9610a63858a7.png'
'/uploads/20250806/a0663a49a6037da67fa5cd897311765e.png'
)
"
:lazy-load="true"
@ -43,7 +43,7 @@
</view>
</swiper-item>
<swiper-item>
<view class="page-container" style="background-color: #EFEFEF;">
<view class="page-container" style="background-color: #efefef">
<template v-if="loadedPages[1]">
<image
v-show="shouldShowContent(1)"
@ -487,9 +487,8 @@ export default {
},
mounted() {
this.titleHeight = uni.getStorageSync("titleHeight");
console.log(this.titleHeight);
const app = getApp();
app.updateMusicSrc("https://static.ticket.sz-trip.com/epicSoul/zdmx.MP3");
app.updateMusicSrc("https://static.ticket.sz-trip.com/epicSoul/bgm.mp3");
app.initBackgroundMusic(); //
uni.$bgMusic.play(); //
for (let i = 0; i <= Math.min(1 + this.preloadBuffer, 6); i++) {
@ -689,7 +688,7 @@ export default {
}
.layer-img {
width: 541rpx;
width: 650rpx;
height: 100%;
}

Loading…
Cancel
Save