This commit is contained in:
abu 2025-03-20 09:27:39 +08:00
parent 0369f5fb07
commit 9492c13b08
2 changed files with 2 additions and 1 deletions

View File

@ -11,7 +11,7 @@
<!-- <uni-video :src="item.url" :playStatus="playStatus" :screenHeight="screenHeight" v-if="playerCur === index" @play="onplay"></uni-video> -->
<video ref="myVideo" id="myVideo" :object-fit="item.width >= item.height ? 'contain' : 'fill'"
:src="item.url" :controls="false" :enable-progress-gesture="false" :show-progress="true" v-if="playerCur === index" loop
autoplay show-loading="true" style="width: 750rpx" :style="{ height: screenHeight + 'px' }"
autoplay show-loading="true" :http-cache="true" style="width: 750rpx" :style="{ height: screenHeight + 'px' }"
@click="playOrPause" @play="onplay" @error="onerror" @timeupdate="timeupdate"></video>
<image :lazy-load="true" :fade-show="false" v-if="!item.play" :src="item.cover"
:mode="item.width >= item.height ? 'aspectFit' : 'scaleToFill'"

View File

@ -84,6 +84,7 @@ export default {
//
getUserimInfo()
.then(({ data }) => {
console.log(data)
if (data.code == 200) {
console.log(data);
const par = data.result;