提交 7eaa2230 编写于 作者: bo.dang's avatar bo.dang

圈子图像和防录屏

上级 88555523
...@@ -228,8 +228,8 @@ ...@@ -228,8 +228,8 @@
this.currentOption.minCropBoxWidth = 160; this.currentOption.minCropBoxWidth = 160;
this.currentOption.minCropBoxHeight = 160; this.currentOption.minCropBoxHeight = 160;
let fileLimit = { let fileLimit = {
width: 48, width: 160,
height: 48, height: 160,
size: 0.5, size: 0.5,
sizeText: "500K", sizeText: "500K",
key: "headUrl", key: "headUrl",
......
...@@ -250,6 +250,13 @@ ...@@ -250,6 +250,13 @@
</el-form-item> </el-form-item>
</div> </div>
<el-form-item label="是否开启防录屏跑马灯">
<el-radio-group v-model="formData.canScreenCap" size="small">
<el-radio label="0" :disabled="formData.liveStatus != 1 && formData.liveStatus != 2"></el-radio>
<el-radio label="1" :disabled="formData.liveStatus != 1 && formData.liveStatus != 2"></el-radio>
</el-radio-group>
</el-form-item>
<div class="basic-item-icon"> <div class="basic-item-icon">
<el-form-item label="上传课件"> <el-form-item label="上传课件">
...@@ -269,7 +276,7 @@ ...@@ -269,7 +276,7 @@
<!--</el-col>--> <!--</el-col>-->
<el-button type="primary" size="small" style="margin-top: -10px;" >点击上传课件</el-button> <el-button type="primary" size="small" style="margin-top: -10px;" >点击上传课件</el-button>
<p style="float: right;">仅支持PDF格式,限制大小:100Mb</p> <p style="float: right;">&nbsp;&nbsp;仅支持PDF格式,限制大小:100Mb</p>
<!--<video class="video-mg-url" controls preload :src="cleatBroadcast.liveInfo.mgUrl"></video>--> <!--<video class="video-mg-url" controls preload :src="cleatBroadcast.liveInfo.mgUrl"></video>-->
<!-- <img v-if="!cleatBroadcast.liveInfo.mgUrl" class="video-bg-img" src="../../../static/img/small.png"> --> <!-- <img v-if="!cleatBroadcast.liveInfo.mgUrl" class="video-bg-img" src="../../../static/img/small.png"> -->
</el-upload> </el-upload>
...@@ -286,7 +293,7 @@ ...@@ -286,7 +293,7 @@
<div> <div>
<span>{{fileToName(formData.rtcMaterial.fileName,".pdf", 6)}}({{fileToSize(formData.rtcMaterial.fileSize, 1)}}M)</span> <span>{{fileToName(formData.rtcMaterial.fileName,".pdf", 6)}}({{fileToSize(formData.rtcMaterial.fileSize, 1)}}M)</span>
<el-button v-show="(uploadProgress1 > 0)" @click="delFile" style="margin-left: 100px;" size="small" type="text">{{uploadProgress1 && uploadProgress1 < 100 ? '取消上传' : '删除'}}</el-button> <el-button v-show="(uploadProgress1 > 0 || formData.rtcMaterial.fileName != '')" @click="delFile" style="margin-left: 100px;" size="small" type="text">{{(uploadProgress1 && uploadProgress1 < 100 && formData.rtcMaterial.fileUrl == '')? '取消上传' : '删除'}}</el-button>
</div> </div>
...@@ -622,6 +629,7 @@ ...@@ -622,6 +629,7 @@
rtcId: "", rtcId: "",
}, },
canScreenCap: "0",
backgroundImageId: null backgroundImageId: null
}, },
introTextNum: 0, introTextNum: 0,
...@@ -1450,6 +1458,7 @@ ...@@ -1450,6 +1458,7 @@
this.changeStreamType(); this.changeStreamType();
this.formData.scope = String(this.formData.scope); this.formData.scope = String(this.formData.scope);
this.formData.canScreenCap = String(this.formData.canScreenCap);
if(this.formData.scope == "2"){ if(this.formData.scope == "2"){
this.isCollectShow = true; this.isCollectShow = true;
} }
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册