This commit is contained in:
duanxiaohai 2023-07-18 14:59:14 +08:00
parent a5c1eb8619
commit 2bd7f45cb7
1 changed files with 18 additions and 3 deletions

View File

@ -33,8 +33,7 @@
controls
:src="item.video"
poster="../../static/orderE.png"
>
</video>
></video>
<view class="mask" @click="playMask(index)" v-if="item.play">
<text>{{ item.title }}</text>
<image src="../../static/play.png"></image>
@ -74,10 +73,12 @@ export default {
video: "../../static/a1.mp4",
play: true,
},
],
};
},
onLoad() {
this.lytrelease();
},
onShow() {
// this.getData();
},
@ -102,6 +103,20 @@ export default {
console.log(e);
});
},
lytrelease() {
this.http
.request("/exhibition/list", {}, "get")
.then((res) => {
console.log(res.data);
// this.releasesNum[6].num = res.data.allCreateCount;
// this.releasesNum[6].time = res.data.lastUpdateAt;
// this.releasesNum[6].moon = res.data.monthReadCount;
// this.releasesNum[6].assemble = res.data.allReadCount;
})
.catch((err) => {
console.log(err);
});
},
},
};
</script>