Pārlūkot izejas kodu

视频弹框添加标题

master
wwp pirms 2 mēnešiem
vecāks
revīzija
cbfa249625
1 mainītis faili ar 11 papildinājumiem un 5 dzēšanām
  1. +11
    -5
      monitorMobile/pages/monitor/index.vue

+ 11
- 5
monitorMobile/pages/monitor/index.vue Parādīt failu

@@ -6,11 +6,11 @@
</view>
<view class="contentBox">
<view class="closeBox">
<view class="">
<view class="title">
{{sensorName+'(' + sensorId + ')'}}
</view>
<view class="closes" @click="closeDialog">
<u-icon name="close-circle-fill" color="#ccc" size="24"></u-icon>
<u-icon name="close-circle-fill" color="#ccc" size="22"></u-icon>
</view>
</view>
<view class="botbox">
@@ -117,7 +117,7 @@
所属学校:演示学校
</view>
</view>
<view class="rightBox btoBox" @click="startClick(item.sensorId)">
<view class="rightBox btoBox" @click="startClick(item.sensorId,item.sensorName)">
<view class="txt">
播放
</view>
@@ -183,6 +183,7 @@
showChild: true,
player: null,
sensorId: '',
sensorName: '',
videoUrl: '',
streamId: '',
videoToken: '',
@@ -335,8 +336,9 @@
});
},
// 获取视频地址
startClick(id) {
startClick(id,name) {
this.sensorId = id;
this.sensorName = name;
this.showVideo = true;

startUrl({
@@ -441,6 +443,10 @@
align-items: center;
padding: 0 25rpx;
background: #fff;
.title {
font-weight: 700;
font-size: 28rpx;
}
.closes {
// background: #ccc;


Notiek ielāde…
Atcelt
Saglabāt