mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-mobile.git
synced 2025-12-07 09:56:45 +08:00
提交
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
<view v-if="praises" @click="addPraise()" class="interact-bar-item">
|
||||
<image v-if="isPraise" class="pto-img" src="../../static/images/icon/bar-praise-active.png" size="24"></image>
|
||||
<image v-else class="pto-img" src="../../static/images/icon/bar-praise.png" size="24"></image>
|
||||
<text style="font-size: 15px;color: #999999;margin-left: 8upx;">{{data.praises == 0 ? '':data.praises}}</text>
|
||||
<text style="font-size: 15px;color: #999999;margin-left: 8upx;">{{data.praises}}</text>
|
||||
</view>
|
||||
<view v-if="favorites" class="interact-bar-item">
|
||||
<image class="pto-img" src="../../static/images/icon/bar-favorite.png" size="24"></image>
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
:controls="false"
|
||||
:enable-play-gesture="false"
|
||||
:initial-time="initPlayingTime"
|
||||
@error="onError"
|
||||
@error="error"
|
||||
@touchend="onTouchend"
|
||||
@play="onPlay"
|
||||
@pause="onPause"
|
||||
@@ -236,7 +236,7 @@
|
||||
// this.fullScreenFlag ? this.bool=true : this.bool=false;
|
||||
//this.fullScreenFlag=!this.fullScreenFlag;
|
||||
},
|
||||
onError(e){
|
||||
error(e){
|
||||
console.log(e,'播放错误');
|
||||
this.$emit('error',e);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user