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
07be67dd
Commit
07be67dd
authored
Dec 28, 2020
by
Mac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
ad855a9c
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
92 additions
and
72 deletions
+92
-72
addLecturer.vue
src/components/education/addLecturer.vue
+21
-6
educationteacher.vue
src/components/sallCenter/plugin/educationteacher.vue
+67
-62
startupPage.vue
src/components/sallCenter/startupPage.vue
+3
-3
templateEdit.vue
src/components/sallCenter/templateEdit.vue
+1
-1
No files found.
src/components/education/addLecturer.vue
View file @
07be67dd
...
...
@@ -31,11 +31,16 @@
<el-form-item
label=
"讲师国籍"
prop=
"Nationality"
class=
"is-required"
size=
"small"
>
<el-input
v-model=
"addMsg.Nationality"
/>
</el-form-item>
<el-form-item
label=
"是否外国人"
size=
"small"
>
<el-switch
v-model=
"addMsg.IsForeigners"
active-color=
"#409EFF"
:active-value=
"1"
:inactive-value=
"0"
>
</el-switch>
<el-form-item
label=
"国旗"
class=
"is-required"
size=
"small"
>
<el-button
@
click=
"openChangeDig(2)"
size=
"small"
>
选择文件
</el-button>
<div
class=
"app-gallery-item"
style=
"position: relative;width: 100px;margin-top: 10px;"
>
<img
v-if=
"!addMsg.ForeignersUrl || addMsg.ForeignersUrl==''"
src=
"../../assets/img/default.png"
style=
"width:80px;height:80px"
alt=
""
>
<img
v-else
style=
"width:80px;height:80px"
:src=
"addMsg.ForeignersUrl"
alt=
""
>
</div>
</el-form-item>
<el-form-item
label=
"上架状态"
size=
"small"
>
<el-switch
v-model=
"addMsg.TeacherStatus"
active-color=
"#409EFF"
:active-value=
"1"
:inactive-value=
"2"
>
...
...
@@ -100,8 +105,8 @@
WorkYears
:
''
,
TeacherStatus
:
2
,
LableNameList
:
''
,
IsForeigners
:
0
,
//是否外国人0-否,1-是
Nationality
:
''
,
//老师国籍
ForeignersUrl
:
''
,
//国家图片
},
dynamicTags
:
[],
inputVisible
:
false
,
...
...
@@ -165,6 +170,10 @@
let
url
=
this
.
getIconLink
(
msg
.
url
)
this
.
addMsg
.
TeacherLogo
=
url
}
if
(
this
.
imgType
==
2
){
let
url
=
this
.
getIconLink
(
msg
.
url
)
this
.
addMsg
.
ForeignersUrl
=
url
}
this
.
changeState
=
false
;
},
...
...
@@ -180,6 +189,10 @@
this
.
Error
(
'请上传品牌Logo'
)
return
false
}
if
(
this
.
addMsg
.
ForeignersUrl
==
''
){
this
.
Error
(
'请上传国家国旗'
)
return
false
}
this
.
addMsg
.
LableNameList
=
this
.
dynamicTags
let
content
=
this
.
$refs
.
ue
.
getUEContent
();
...
...
@@ -328,5 +341,7 @@
margin-left
:
10px
;
vertical-align
:
bottom
;
}
.addLecturer
.el-form-item__content
{
line-height
:
0
;
}
</
style
>
src/components/sallCenter/plugin/educationteacher.vue
View file @
07be67dd
This diff is collapsed.
Click to expand it.
src/components/sallCenter/startupPage.vue
View file @
07be67dd
...
...
@@ -19,14 +19,14 @@
<el-form-item
label=
"是否开启"
>
<el-switch
v-model=
"addMsg.IsShow"
:active-value=
"1"
:inactive-value=
"0"
></el-switch>
</el-form-item>
<el-form-item
label=
"
是否开启
"
>
<el-form-item
label=
"
音频时间
"
>
<el-input
placeholder=
"请输入内容"
v-model=
"addMsg.Seconds"
size=
"small"
type=
"number"
:min=
"0"
style=
"max-width:600px"
>
<template
slot=
"append"
>
秒
</
template
>
</el-input>
</el-form-item>
<el-form-item
label=
"
商品视频
"
>
<el-form-item
label=
"
音频地址
"
>
<el-input
v-model=
"addMsg.MusicUrl"
size=
"small"
placeholder=
"请输入内容"
style=
"max-width:600px"
>
<el-button
@
click=
"changevideo = true"
slot=
"append"
>
添加
视
频
</el-button>
<el-button
@
click=
"changevideo = true"
slot=
"append"
>
添加
音
频
</el-button>
</el-input>
</el-form-item>
...
...
src/components/sallCenter/templateEdit.vue
View file @
07be67dd
...
...
@@ -1446,7 +1446,7 @@
PaddingBottom
:
0
,
//下边距
PaddingLeft
:
0
,
//左边距
PaddingRight
:
0
,
//右边距
l
ist
:
[],
//商品列表
TeacherL
ist
:
[],
//商品列表
}
}
this
.
dataList
.
push
(
lsObj
);
...
...
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