Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica.cloud.web-education-admin
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
创建新议题
提交
议题看板
打开侧边栏
jingqi.liu
pica.cloud.web-education-admin
提交
0a193d4f
提交
0a193d4f
编写于
8月 10, 2020
作者:
bo.dang
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'dev-circle-live-20200805' into 'release'
小生态互动直播四期,Code Review: bo.dang See merge request !205
上级
854438cf
16c0a57b
变更
3
展开全部
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
479 行增加
和
335 行删除
+479
-335
create-live.vue
src/views/yqrange/create-live.vue
+451
-330
live-manage.vue
src/views/yqrange/live-manage.vue
+26
-3
role-manage.vue
src/views/yqrange/role-manage.vue
+2
-2
未找到文件。
src/views/yqrange/create-live.vue
浏览文件 @
0a193d4f
此差异已折叠。
点击以展开。
src/views/yqrange/live-manage.vue
浏览文件 @
0a193d4f
...
@@ -130,7 +130,7 @@
...
@@ -130,7 +130,7 @@
<input
type=
"text"
id=
"copyInput"
class=
"hidden-input"
/>
<input
type=
"text"
id=
"copyInput"
class=
"hidden-input"
/>
<div
class=
"live_url_style"
v-if=
"streamType == 1 && (this.liveStatus==1 || this.liveStatus==2)"
>
<div
class=
"live_url_style"
v-if=
"streamType == 1 && (this.liveStatus==1 || this.liveStatus==2)"
>
<div
class=
"href_style"
>
讲师
链接 {{lecturerUrl}}
</div>
<div
class=
"href_style"
>
主播
链接 {{lecturerUrl}}
</div>
<el-col
class=
"href_outer_border"
>
<el-col
class=
"href_outer_border"
>
<el-link
type=
"primary"
@
click=
"copyTxt(1)"
size=
"small"
class=
"href_button_style"
>
复制
</el-link>
<el-link
type=
"primary"
@
click=
"copyTxt(1)"
size=
"small"
class=
"href_button_style"
>
复制
</el-link>
<el-link
type=
"primary"
>
|
</el-link>
<el-link
type=
"primary"
>
|
</el-link>
...
@@ -1040,8 +1040,31 @@ export default {
...
@@ -1040,8 +1040,31 @@ export default {
}
else
{
}
else
{
txt
.
value
=
this
.
audienceUrl
;
txt
.
value
=
this
.
audienceUrl
;
}
}
txt
.
select
();
//选择对象
// if (navigator.userAgent.match(/(iPhone|iPod|iPad|Mac);?/i)) {
document
.
execCommand
(
"copy"
);
if
(
navigator
.
userAgent
.
indexOf
(
"Safari"
)
>
-
1
&&
navigator
.
userAgent
.
indexOf
(
"Chrome"
)
<
1
)
{
var
el
=
document
.
createElement
(
'input'
);
el
.
value
=
txt
.
value
;
//要复制的内容
el
.
style
.
opacity
=
'0'
;
document
.
body
.
appendChild
(
el
);
var
editable
=
el
.
contentEditable
;
var
readOnly
=
el
.
readOnly
;
el
.
contentEditable
=
true
;
el
.
readOnly
=
false
;
const
range
=
document
.
createRange
();
range
.
selectNodeContents
(
el
);
var
sel
=
window
.
getSelection
();
sel
.
removeAllRanges
();
sel
.
addRange
(
range
);
el
.
setSelectionRange
(
0
,
999999
);
el
.
contentEditable
=
editable
;
el
.
readOnly
=
readOnly
;
var
ret
=
document
.
execCommand
(
'copy'
);
el
.
blur
();
}
else
{
txt
.
select
();
//选择对象
document
.
execCommand
(
"copy"
);
}
vm
.
$message
({
vm
.
$message
({
type
:
"success"
,
type
:
"success"
,
...
...
src/views/yqrange/role-manage.vue
浏览文件 @
0a193d4f
...
@@ -75,7 +75,7 @@
...
@@ -75,7 +75,7 @@
size=
"small"
size=
"small"
>
降为普通成员
</el-button>
>
降为普通成员
</el-button>
<el-button
<el-button
v-if=
"scope.row.level != 2 &&
v-if=
"scope.row.level != 2 &&
scope.row.level != 4 &&
(idType == 1 || selfRoleId > scope.row.level) &&
(idType == 1 || selfRoleId > scope.row.level) &&
scope.row.status == 1"
scope.row.status == 1"
@
click=
"addBlackList(scope.row)"
@
click=
"addBlackList(scope.row)"
...
@@ -83,7 +83,7 @@
...
@@ -83,7 +83,7 @@
size=
"small"
size=
"small"
>
加入黑名单
</el-button>
>
加入黑名单
</el-button>
<el-button
<el-button
v-if=
"scope.row.level != 2 &&
v-if=
"scope.row.level != 2 &&
scope.row.level != 4 &&
(idType == 1 || selfRoleId > scope.row.level) &&
(idType == 1 || selfRoleId > scope.row.level) &&
scope.row.status == 2"
scope.row.status == 2"
@
click=
"addBlackList(scope.row)"
@
click=
"addBlackList(scope.row)"
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录