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
提交
95adbed9
提交
95adbed9
编写于
6月 28, 2020
作者:
guangjun.yang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
样式优化等
上级
6ff1d387
变更
9
隐藏空白字符变更
内嵌
并排
正在显示
9 个修改的文件
包含
74 行增加
和
24 行删除
+74
-24
cropper-img.vue
src/components/common/cropper-img.vue
+3
-2
cropper.two copy.vue
src/components/common/cropper.two copy.vue
+2
-2
edit-course-dialog.vue
...mponents/education/custom-resource/edit-course-dialog.vue
+19
-9
preview-protocol.vue
...components/education/custom-resource/preview-protocol.vue
+1
-1
preview-video.vue
src/components/education/custom-resource/preview-video.vue
+1
-1
course-list.vue
src/components/education/custom/course-list.vue
+2
-2
global.scss
src/style/global.scss
+40
-3
fetch.js
src/utils/fetch.js
+1
-1
edit-custom.vue
src/views/education/edit-custom.vue
+5
-3
未找到文件。
src/components/common/cropper-img.vue
浏览文件 @
95adbed9
...
@@ -119,15 +119,16 @@ export default {
...
@@ -119,15 +119,16 @@ export default {
</
script
>
</
script
>
<
style
scoped
lang=
"scss"
>
<
style
scoped
lang=
"scss"
>
// .rc-cropper {
// margin-left: 20px;
// }
.rc-cropper__canvasCrop1
{
.rc-cropper__canvasCrop1
{
/* border: 1px solid red; */
width
:
800px
;
width
:
800px
;
height
:
540px
;
height
:
540px
;
}
}
.rc-cropper__canvasCrop2
{
.rc-cropper__canvasCrop2
{
/* border: 1px solid red; */
width
:
400px
;
width
:
400px
;
height
:
300px
;
height
:
300px
;
}
}
...
...
src/components/common/cropper.two copy.vue
浏览文件 @
95adbed9
...
@@ -104,10 +104,10 @@ export default {
...
@@ -104,10 +104,10 @@ export default {
}
}
</
script
>
</
script
>
<
style
>
<
style
>
.rc-cropper
{
/*
.rc-cropper {
position: relative;
position: relative;
margin-top: 20px;
margin-top: 20px;
}
}
*/
/* img {
/* img {
width: 100%;
width: 100%;
...
...
src/components/education/custom-resource/edit-course-dialog.vue
浏览文件 @
95adbed9
<
template
>
<
template
>
<div
class=
"edit-course-wrapper
dialog-title-border
"
>
<div
class=
"edit-course-wrapper"
>
<el-dialog
<el-dialog
class=
"dialog-title-border"
ref=
"testDialogRef"
ref=
"testDialogRef"
title=
"上传课程"
title=
"上传课程"
:visible=
"dialogVisible"
:visible=
"dialogVisible"
...
@@ -317,7 +318,7 @@
...
@@ -317,7 +318,7 @@
<img
class=
"success-img"
src=
"../../../assets/image/phrase3/icon-audit-success.png"
/>
<img
class=
"success-img"
src=
"../../../assets/image/phrase3/icon-audit-success.png"
/>
<span
class=
"tips-1"
>
您上传的课程已成功提交,预计在3-5个工作日内完成审核
</span>
<span
class=
"tips-1"
>
您上传的课程已成功提交,预计在3-5个工作日内完成审核
</span>
<span
class=
"tips-2"
>
审核通过后,您才可以选择课程完成项目配置。如有任何疑问可联系云鹊医400-920-8877
</span>
<span
class=
"tips-2"
>
审核通过后,您才可以选择课程完成项目配置。如有任何疑问可联系云鹊医400-920-8877
</span>
<el-button
type=
"primary"
icon=
"el-icon-back"
@
click=
"backToOrgCourse"
>
返回机构课程
</el-button>
<el-button
class=
"back-btn"
type=
"primary"
icon=
"el-icon-back"
@
click=
"backToOrgCourse"
>
返回机构课程
</el-button>
</div>
</div>
<div
v-show=
"step == 1"
slot=
"footer"
class=
"dialog-footer"
>
<div
v-show=
"step == 1"
slot=
"footer"
class=
"dialog-footer"
>
<el-button
@
click=
"dialogObj.visible=true"
>
取 消
</el-button>
<el-button
@
click=
"dialogObj.visible=true"
>
取 消
</el-button>
...
@@ -331,6 +332,7 @@
...
@@ -331,6 +332,7 @@
<DialogComponet
:dialogObj=
"dialogObj"
@
hide=
"hideCancleTips"
@
confirm=
"dialogObj.visible=false"
></DialogComponet>
<DialogComponet
:dialogObj=
"dialogObj"
@
hide=
"hideCancleTips"
@
confirm=
"dialogObj.visible=false"
></DialogComponet>
<PreviewVideo
:dialogVisible=
"isPreviewVideo"
:videoUrl=
"videoUrl"
@
close=
"isPreviewVideo=false"
></PreviewVideo>
<PreviewVideo
:dialogVisible=
"isPreviewVideo"
:videoUrl=
"videoUrl"
@
close=
"isPreviewVideo=false"
></PreviewVideo>
<el-dialog
<el-dialog
class=
"dialog-title-border-old"
title=
"图片裁剪"
title=
"图片裁剪"
:visible
.
sync=
"showCropper"
:visible
.
sync=
"showCropper"
:width=
"currentOption.cropDialogWidth"
:width=
"currentOption.cropDialogWidth"
...
@@ -350,8 +352,6 @@
...
@@ -350,8 +352,6 @@
</
template
>
</
template
>
<
script
>
<
script
>
import
PreviewVideo
from
"@/components/education/custom-resource/preview-video"
;
import
PreviewVideo
from
"@/components/education/custom-resource/preview-video"
;
import
PreviewProtocol
from
"@/components/education/custom-resource/preview-protocol"
;
import
PreviewEditCourse
from
"@/components/education/custom-resource/edit-course-dialog"
;
import
DialogComponet
from
"@/components/education/template/dialog"
;
import
DialogComponet
from
"@/components/education/template/dialog"
;
import
CropperImg
from
'@/components/common/cropper-img.vue'
import
CropperImg
from
'@/components/common/cropper-img.vue'
import
{
doUpload
,
getFilePath
}
from
"@/utils/qiniu-util"
;
import
{
doUpload
,
getFilePath
}
from
"@/utils/qiniu-util"
;
...
@@ -556,7 +556,6 @@ export default {
...
@@ -556,7 +556,6 @@ export default {
},
},
components
:
{
components
:
{
PreviewVideo
,
PreviewVideo
,
PreviewEditCourse
,
DialogComponet
,
DialogComponet
,
CropperImg
CropperImg
},
},
...
@@ -1121,18 +1120,25 @@ export default {
...
@@ -1121,18 +1120,25 @@ export default {
width
:
12px
;
width
:
12px
;
}
}
}
}
.line-left
,
.line-left
{
flex
:
1
;
margin-left
:
20px
;
border-bottom
:
1px
dashed
#e4e7ed
;
}
.line-right
{
.line-right
{
// display: inline-block;
// width: 100%;
flex
:
1
;
flex
:
1
;
margin-right
:
6px
;
border-bottom
:
1px
dashed
#e4e7ed
;
border-bottom
:
1px
dashed
#e4e7ed
;
}
}
}
}
.tips
{
.tips
{
width
:
100%
;
// margin-left: -20px;
// width: 810px;
// width: 100%;
height
:
32px
;
height
:
32px
;
line-height
:
32px
;
line-height
:
32px
;
margin-left
:
20px
;;
margin-right
:
10px
;
padding-left
:
12px
;
padding-left
:
12px
;
background
:
rgba
(
254
,
250
,
245
,
1
);
background
:
rgba
(
254
,
250
,
245
,
1
);
border-radius
:
3px
;
border-radius
:
3px
;
...
@@ -1234,9 +1240,13 @@ export default {
...
@@ -1234,9 +1240,13 @@ export default {
text-align
:
center
;
text-align
:
center
;
align-items
:
center
;
align-items
:
center
;
.success-img
{
.success-img
{
margin-top
:
80px
;
width
:
60px
;
width
:
60px
;
height
:
60px
;
height
:
60px
;
}
}
.back-btn
{
margin-bottom
:
70px
;
}
.tips-1
{
.tips-1
{
margin-top
:
30px
;
margin-top
:
30px
;
font-size
:
18px
;
font-size
:
18px
;
...
...
src/components/education/custom-resource/preview-protocol.vue
浏览文件 @
95adbed9
...
@@ -12,7 +12,7 @@
...
@@ -12,7 +12,7 @@
<div
slot=
"title"
style=
"text-align: left;"
>
<div
slot=
"title"
style=
"text-align: left;"
>
<span
style=
"font-weight: 700;"
>
用户协议
</span>
<span
style=
"font-weight: 700;"
>
用户协议
</span>
</div>
</div>
<div
v-html=
"protocolContent"
></div>
<div
style=
"margin: 20px 20px;height: 400px;padding: 10px 0;"
v-html=
"protocolContent"
></div>
<div
slot=
"footer"
class=
"dialog-footer"
>
<div
slot=
"footer"
class=
"dialog-footer"
>
<el-button
@
click=
"close(false)"
>
不同意
</el-button>
<el-button
@
click=
"close(false)"
>
不同意
</el-button>
<el-button
type=
"primary"
@
click=
"signProtocol"
>
同意
</el-button>
<el-button
type=
"primary"
@
click=
"signProtocol"
>
同意
</el-button>
...
...
src/components/education/custom-resource/preview-video.vue
浏览文件 @
95adbed9
<
template
>
<
template
>
<div
class=
"preview-video-wrapper dialog-title-border"
>
<div
class=
"preview-video-wrapper dialog-title-border
-old
"
>
<el-dialog
<el-dialog
title=
"预览课程"
title=
"预览课程"
:visible=
"dialogVisible"
:visible=
"dialogVisible"
...
...
src/components/education/custom/course-list.vue
浏览文件 @
95adbed9
...
@@ -436,13 +436,13 @@ export default {
...
@@ -436,13 +436,13 @@ export default {
align-items: center;
align-items: center;
background:rgba(248,249,250,1);
background:rgba(248,249,250,1);
border-radius:4px;
border-radius:4px;
border:
1px soli
d rgba(228,231,237,1);
border:
1px dashe
d rgba(228,231,237,1);
img {
img {
width: 16px;
width: 16px;
height: 16px;
height: 16px;
}
}
span {
span {
margin-top:
10
px;
margin-top:
8
px;
font-size: 12px;
font-size: 12px;
color: #979899;
color: #979899;
}
}
...
...
src/style/global.scss
浏览文件 @
95adbed9
...
@@ -172,14 +172,28 @@
...
@@ -172,14 +172,28 @@
}
}
.el-tabs__active-bar
{
.el-tabs__active-bar
{
background
:
#449284
!
important
;
background
:
#449284
!
important
;
height
:
3px
;
border-radius
:
2px
;
}
}
}
}
.dialog-title-border
{
.dialog-title-border
{
.el-dialog__
body
{
.el-dialog__
header
{
margin
:
0
20px
;
margin
:
0
20px
;
padding
:
25px
5px
30px
;
padding
:
20px
0px
;
border-top
:
1px
solid
#E4E7ED
;
border-bottom
:
1px
solid
#E4E7ED
;
}
.el-dialog--center
.el-dialog__body
{
margin
:
0
;
padding
:
0
;
margin-right
:
10px
;
}
.el-dialog__body
{
max-height
:
380px
;
margin
:
0
;
padding
:
0
;
overflow-y
:
auto
;
overflow-x
:
hidden
;
}
}
.dialog
{
.dialog
{
.el-dialog__body
{
.el-dialog__body
{
...
@@ -188,6 +202,29 @@
...
@@ -188,6 +202,29 @@
border-top
:
0px
solid
#E4E7ED
;
border-top
:
0px
solid
#E4E7ED
;
}
}
}
}
.el-dialog__footer
{
padding-top
:
20px
;
}
}
.dialog-title-border-old
{
.el-dialog__header
{
margin
:
0
20px
;
padding
:
15px
0px
;
border-bottom
:
1px
solid
#E4E7ED
;
}
.el-dialog__body
{
margin
:
0
20px
;
padding
:
25px
5px
30px
;
// border-top: 1px solid #E4E7ED;
}
.dialog
{
.el-dialog__body
{
margin
:
0
;
padding
:
25px
5px
30px
;
border-top
:
1px
solid
#E4E7ED
;
}
}
}
}
.el-cascader
.el-input
.el-input__inner
:focus
,
.el-cascader
.el-input.is-focus
.el-input__inner
{
.el-cascader
.el-input
.el-input__inner
:focus
,
.el-cascader
.el-input.is-focus
.el-input__inner
{
border-color
:
#449284
!
important
;
border-color
:
#449284
!
important
;
...
...
src/utils/fetch.js
浏览文件 @
95adbed9
...
@@ -54,7 +54,7 @@ service.interceptors.request.use(config => {
...
@@ -54,7 +54,7 @@ service.interceptors.request.use(config => {
}
}
if
(
process
.
env
.
BUILD_ENV
==
"development"
){
// 本地开发环境
if
(
process
.
env
.
BUILD_ENV
==
"development"
){
// 本地开发环境
// console.log('环境变量>>>> ', process.env.BUILD_ENV);
// console.log('环境变量>>>> ', process.env.BUILD_ENV);
config
.
headers
[
'token'
]
=
'
FB40194EE277496093448BF696A3D0E4
'
;
config
.
headers
[
'token'
]
=
'
01968031113F41F1AF503205C9BAFE50
'
;
// config.headers['token'] = localStorage.getItem('storageToken')
// config.headers['token'] = localStorage.getItem('storageToken')
}
else
{
}
else
{
config
.
headers
[
'token'
]
=
localStorage
.
getItem
(
'storageToken'
)
config
.
headers
[
'token'
]
=
localStorage
.
getItem
(
'storageToken'
)
...
...
src/views/education/edit-custom.vue
浏览文件 @
95adbed9
...
@@ -174,7 +174,7 @@ export default {
...
@@ -174,7 +174,7 @@ export default {
isPreviewEditCourse
:
false
,
isPreviewEditCourse
:
false
,
courseId
:
'0'
,
courseId
:
'0'
,
isPreviewProtocol
:
fals
e
,
isPreviewProtocol
:
tru
e
,
protocolId
:
22
,
protocolId
:
22
,
protocolContent
:
''
,
protocolContent
:
''
,
isFirst
:
true
,
// 是否是第一次(不做更新)
isFirst
:
true
,
// 是否是第一次(不做更新)
...
@@ -704,8 +704,10 @@ export default {
...
@@ -704,8 +704,10 @@ export default {
.edit-custom-wrap
{
.edit-custom-wrap
{
::-webkit-scrollbar
{
::-webkit-scrollbar
{
width
:
10px
;
// width: 10px;
height
:
10px
;
// height: 10px;
width
:
5px
;
height
:
5px
;
background-color
:
#fff
;
background-color
:
#fff
;
}
}
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录