56 lines
3.5 KiB
Plaintext
56 lines
3.5 KiB
Plaintext
<view class="video-header">
|
|
|
|
<view hidden="{{!playerShow}}">
|
|
<text style="background-color: deeppink;">这是顶部</text>
|
|
<!-- <text style="color: aliceblue;">111111111111111111111111122\n22222222222222222222222222233333</text> -->
|
|
|
|
|
|
<view style="width:100%;height:100%;display: flex;justify-content: space-between;">
|
|
<view style="width: 30%;">
|
|
<button bindtap="showDetailChange" style="font-size: 10px;margin-top: 20rpx;height: 80rpx;display: flex; justify-content: center; align-items: center; ">
|
|
<label tt:if="{{showDetail}}"> 当前显示详细日志 </label>
|
|
<label tt:else> 当前显示简易日志 </label>
|
|
</button>
|
|
<button bindtap="showOnTimeUpdateChange" style="font-size:8px;margin-top: 20rpx;height: 80rpx;display: flex; justify-content: center; align-items: center; ">
|
|
<label tt:if="{{showOnTimeUpdate}}"> 当前OnTimeUpdate日志开 </label>
|
|
<label tt:else> 当前OnTimeUpdate日志关 </label>
|
|
</button>
|
|
<button bindtap="getPlayletInfo" style="font-size: 10px;margin-top: 20rpx;height: 80rpx;display: flex; justify-content: center; align-items: center; ">调用getPlayletInfo</button>
|
|
|
|
<button bindtap="setPlayStatusPlay" style="font-size: 10px;margin-top: 20rpx;height: 80rpx;display: flex; justify-content: center; align-items: center; ">调用播放</button>
|
|
|
|
<button bindtap="setPlayStatusPause" style="font-size: 10px;margin-top: 20rpx;height: 80rpx;display: flex; justify-content: center; align-items: center; ">调用暂停</button>
|
|
|
|
<button bindtap="clearLog" style="font-size: 10px;margin-top: 20rpx;height: 80rpx;display: flex; justify-content: center; align-items: center; ">清除日志</button>
|
|
|
|
<!-- <button bindtap="changeSettings" style="font-size: small;">切换用户播放设置changeSettings</button> -->
|
|
|
|
</view>
|
|
|
|
<view style="width: 70%;">
|
|
|
|
<scroll-view scroll-y="{{true}}" scroll-with-animation="{{true}}" style="height: 500rpx;">
|
|
<text space="nbsp" style="margin-top: 20rpx;word-break:break-all;font-size: smaller;"
|
|
tt:if="{{showDetail && showOnTimeUpdate}}"> {{logDetail}} </text>
|
|
<text space="nbsp" style="margin-top: 20rpx;word-break:break-all;font-size: smaller;"
|
|
tt:elif="{{!showDetail && showOnTimeUpdate}}"> {{log}} </text>
|
|
<text space="nbsp" style="margin-top: 20rpx;word-break:break-all;font-size: smaller;"
|
|
tt:elif="{{showDetail && !showOnTimeUpdate}}"> {{logDetailWithoutOnTimeUpdate}} </text>
|
|
<text space="nbsp" style="margin-top: 20rpx;word-break:break-all;font-size: smaller;"
|
|
tt:else> {{logWithoutOnTimeUpdate}} </text>
|
|
<!-- <text space="nbsp" style="margin-top: 20rpx;word-break:break-all;font-size: smaller;">
|
|
{{log}}
|
|
|
|
</text> -->
|
|
</scroll-view>
|
|
</view>
|
|
|
|
</view>
|
|
<button bindtap="emitInfoToParent" style="font-size:8px;margin-top: 20rpx;height: 80rpx;display: flex; justify-content: center; align-items: center; ">
|
|
第{{emitTimesPlayer}}次调用父组件方法
|
|
</button>
|
|
<text style="margin-bottom: 0;background-color: deeppink;">这是底部</text>
|
|
</view>
|
|
|
|
</view>
|