Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
ElectricitySheep
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
黄媛媛
ElectricitySheep
Commits
680d2020
Commit
680d2020
authored
May 26, 2020
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
f63cfbf8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
10 deletions
+23
-10
videoManage.vue
src/components/StoreDesign/videoManage.vue
+16
-3
templateEdit.vue
src/components/sallCenter/templateEdit.vue
+7
-7
No files found.
src/components/StoreDesign/videoManage.vue
View file @
680d2020
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
<template
v-if=
"videoIsShowAdd"
>
<template
v-if=
"videoIsShowAdd"
>
<div
class=
"head-title"
>
<div
class=
"head-title"
>
视频
视频
<el-button
@
click=
"videoIsShowAdd=false"
style=
"float:right;margin-top: -5px;"
size=
"small"
type=
"primary"
>
<el-button
@
click=
"videoIsShowAdd=false
,clearMsg()
"
style=
"float:right;margin-top: -5px;"
size=
"small"
type=
"primary"
>
添加视频
添加视频
</el-button>
</el-button>
</div>
</div>
...
@@ -62,7 +62,7 @@
...
@@ -62,7 +62,7 @@
</el-form-item>
</el-form-item>
<el-form-item
label=
"视频链接"
>
<el-form-item
label=
"视频链接"
>
<el-input
placeholder=
"请输入链接"
v-model=
"addMsg.VedioUrl"
size=
"small"
>
<el-input
placeholder=
"请输入链接"
v-model=
"addMsg.VedioUrl"
size=
"small"
>
<el-button
slot=
"append"
>
选择文件
</el-button>
<el-button
slot=
"append"
@
click=
"changeState1=true"
>
选择文件
</el-button>
</el-input>
</el-input>
<el-link
class=
"box-grow-0"
type=
"primary"
style=
"font-size:12px"
v-if=
'addMsg.VedioUrl'
<el-link
class=
"box-grow-0"
type=
"primary"
style=
"font-size:12px"
v-if=
'addMsg.VedioUrl'
:underline=
"false"
target=
"_blank"
:href=
"addMsg.VedioUrl"
>
视频预览
:underline=
"false"
target=
"_blank"
:href=
"addMsg.VedioUrl"
>
视频预览
...
@@ -95,18 +95,26 @@
...
@@ -95,18 +95,26 @@
<el-dialog
title=
"选择文件"
:visible
.
sync=
"choicImg"
width=
"1240px"
>
<el-dialog
title=
"选择文件"
:visible
.
sync=
"choicImg"
width=
"1240px"
>
<ChooseImg
@
SelectId=
"SelectId"
></ChooseImg>
<ChooseImg
@
SelectId=
"SelectId"
></ChooseImg>
</el-dialog>
</el-dialog>
<!-- 选择视频 -->
<el-dialog
title=
"选择文件"
:visible
.
sync=
"changeState1"
width=
"1240px"
>
<Choosevideo
@
Selectvideo=
"Selectvideo"
></Choosevideo>
</el-dialog>
</div>
</div>
</template>
</template>
<
script
>
<
script
>
import
ChooseImg
from
"@/components/global/ChooseImg.vue"
;
import
ChooseImg
from
"@/components/global/ChooseImg.vue"
;
import
Choosevideo
from
"@/components/global/Choosevideo.vue"
;
export
default
{
export
default
{
components
:
{
components
:
{
ChooseImg
ChooseImg
,
Choosevideo
},
},
data
()
{
data
()
{
return
{
return
{
//是否线下链接弹窗
//是否线下链接弹窗
loading
:
false
,
loading
:
false
,
//选择视频
changeState1
:
false
,
dataList
:
[],
dataList
:
[],
msg
:
{
msg
:
{
pageIndex
:
1
,
pageIndex
:
1
,
...
@@ -148,6 +156,11 @@
...
@@ -148,6 +156,11 @@
this
.
msg
.
pageIndex
=
val
;
this
.
msg
.
pageIndex
=
val
;
this
.
getList
();
this
.
getList
();
},
},
//选择视频
Selectvideo
(
val
){
this
.
addMsg
.
VedioUrl
=
val
.
Path
;
this
.
changeState1
=
false
;
},
getList
()
{
getList
()
{
this
.
apipost
(
"/api/MContent/GetVideoPageList"
,
this
.
msg
,
res
=>
{
this
.
apipost
(
"/api/MContent/GetVideoPageList"
,
this
.
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
...
...
src/components/sallCenter/templateEdit.vue
View file @
680d2020
...
@@ -12,20 +12,20 @@
...
@@ -12,20 +12,20 @@
height
:
725px
;
height
:
725px
;
}
}
.all-components
{
.
My
all-components
{
max-height
:
725px
;
max-height
:
725px
;
overflow-y
:
auto
;
overflow-y
:
auto
;
background
:
#fff
;
background
:
#fff
;
padding
:
20px
;
padding
:
20px
;
}
}
.all-components
.component-group
{
.
My
all-components
.component-group
{
border
:
1px
solid
#eeeeee
;
border
:
1px
solid
#eeeeee
;
width
:
300px
;
width
:
300px
;
margin-bottom
:
20px
;
margin-bottom
:
20px
;
}
}
.all-components
.component-group-name
{
.
My
all-components
.component-group-name
{
height
:
35px
;
height
:
35px
;
line-height
:
35px
;
line-height
:
35px
;
background
:
#f7f7f7
;
background
:
#f7f7f7
;
...
@@ -33,13 +33,13 @@
...
@@ -33,13 +33,13 @@
border-bottom
:
1px
solid
#eeeeee
;
border-bottom
:
1px
solid
#eeeeee
;
}
}
.all-components
.Mycomponent-list
{
.
My
all-components
.Mycomponent-list
{
margin-right
:
-2px
;
margin-right
:
-2px
;
margin-top
:
-2px
;
margin-top
:
-2px
;
flex-wrap
:
wrap
;
flex-wrap
:
wrap
;
}
}
.all-components
.Mycomponent-list
.Mycomponent-item
{
.
My
all-components
.Mycomponent-list
.Mycomponent-item
{
width
:
100px
;
width
:
100px
;
height
:
100px
;
height
:
100px
;
border
:
0
solid
#eeeeee
;
border
:
0
solid
#eeeeee
;
...
@@ -137,7 +137,7 @@
...
@@ -137,7 +137,7 @@
border
:
none
;
border
:
none
;
border-radius
:
0
;
border-radius
:
0
;
position
:
absolute
;
position
:
absolute
;
margin-left
:
0
;
margin-left
:
0
!important
;
}
}
.diy-search
>
div
{
.diy-search
>
div
{
...
@@ -178,7 +178,7 @@
...
@@ -178,7 +178,7 @@
style=
"margin:0 9px;color:#C0C4CC"
>
/
</span><span>
新增
</span>
style=
"margin:0 9px;color:#C0C4CC"
>
/
</span><span>
新增
</span>
</div>
</div>
<div
flex=
"box:first"
class=
"tpEdit_Content"
>
<div
flex=
"box:first"
class=
"tpEdit_Content"
>
<div
class=
"all-components"
>
<div
class=
"
My
all-components"
>
<el-form
label-width=
"80px"
>
<el-form
label-width=
"80px"
>
<el-form-item
label=
"模板名称"
>
<el-form-item
label=
"模板名称"
>
<el-input
type=
"text"
size=
"small"
v-model=
"addMsg.TemplateName"
maxlength=
"50"
></el-input>
<el-input
type=
"text"
size=
"small"
v-model=
"addMsg.TemplateName"
maxlength=
"50"
></el-input>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment