Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica.cloud.web-education-admin
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
提交
打开侧边栏
com.pica.cloud.education.frontend
pica.cloud.web-education-admin
提交
e16aeb8f
提交
e16aeb8f
编写于
8月 20, 2020
作者:
bo.dang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
签到时间优化
上级
e39c53b8
变更
1
隐藏空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
27 行增加
和
3 行删除
+27
-3
create-live.vue
src/views/yqrange/create-live.vue
+27
-3
未找到文件。
src/views/yqrange/create-live.vue
浏览文件 @
e16aeb8f
...
@@ -91,16 +91,17 @@
...
@@ -91,16 +91,17 @@
<el-form-item
label=
"签到时间"
v-if=
"signFlag"
>
<el-form-item
label=
"签到时间"
v-if=
"signFlag"
>
<el-col
:span=
"
8
"
>
<el-col
:span=
"
9
"
>
<el-input
<el-input
min=
"0"
type=
"number"
type=
"number"
:min=
"1"
:max=
"1000"
size=
"small"
size=
"small"
v-model=
"formData.signMinute"
v-model=
"formData.signMinute"
maxlength=
"20"
placeholder=
"开播后超过此时长无法签到"
placeholder=
"开播后超过此时长无法签到"
style=
"width:70%;"
style=
"width:70%;"
:disabled=
"styleEditFlag"
:disabled=
"styleEditFlag"
@
blur=
"resetSignMinute"
></el-input>
></el-input>
<span>
分
</span>
<span>
分
</span>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"若不设置此时长,则直播全程可签到"
placement=
"top"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"若不设置此时长,则直播全程可签到"
placement=
"top"
>
...
@@ -726,6 +727,13 @@
...
@@ -726,6 +727,13 @@
required: true, message: "
请选择直播方式
", trigger: 'blur'
required: true, message: "
请选择直播方式
", trigger: 'blur'
}],
}],
signMinute: [{
min: 1,
max: 1000,
message: "
不能输入
0
!
",
trigger: "
blur
"
}],
scope:[
scope:[
{required: true}
{required: true}
],
],
...
@@ -1623,6 +1631,11 @@
...
@@ -1623,6 +1631,11 @@
this.checked = this.formData.isAppPush == 1 ? true: false;
this.checked = this.formData.isAppPush == 1 ? true: false;
if(this.formData.signMinute == 0 || this.formData.signMinute == undefined){
this.formData.signMinute = "";
}
this.formData.scope = String(this.formData.scope);
this.formData.scope = String(this.formData.scope);
this.formData.countRule = String(this.formData.countRule);
this.formData.countRule = String(this.formData.countRule);
this.formData.antiScreenCap = String(this.formData.antiScreenCap);
this.formData.antiScreenCap = String(this.formData.antiScreenCap);
...
@@ -1712,6 +1725,10 @@
...
@@ -1712,6 +1725,10 @@
this.formData.isAppPush = this.checked == true ? 1: 0;
this.formData.isAppPush = this.checked == true ? 1: 0;
if(this.formData.signMinute == "" || this.formData.signMinute == undefined){
this.formData.signMinute = 0;
}
// this.formData.rtcIntroduces[0].content = this.formData.textContent;
// this.formData.rtcIntroduces[0].content = this.formData.textContent;
// 直播简介图片版
// 直播简介图片版
// this.formData.rtcIntroduces[1].type = 2;
// this.formData.rtcIntroduces[1].type = 2;
...
@@ -1876,7 +1893,14 @@
...
@@ -1876,7 +1893,14 @@
this.formData.tabs[0].name = "";
this.formData.tabs[0].name = "";
this.formData.tabs[0].contents = [];
this.formData.tabs[0].contents = [];
}
}
},
resetSignMinute(){
if(this.formData.signMinute == 0){
this.formData.signMinute = "";
}
}
}
},
},
}
}
</
script
>
</
script
>
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录