vd
This commit is contained in:
parent
0369f5fb07
commit
9492c13b08
@ -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'"
|
||||
|
@ -84,6 +84,7 @@ export default {
|
||||
//获取用户信息
|
||||
getUserimInfo()
|
||||
.then(({ data }) => {
|
||||
console.log(data)
|
||||
if (data.code == 200) {
|
||||
console.log(data);
|
||||
const par = data.result;
|
||||
|
Loading…
x
Reference in New Issue
Block a user