Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica.cloud.web-education-admin
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
提交
打开侧边栏
com.pica.cloud.education.frontend
pica.cloud.web-education-admin
提交
0eab2363
提交
0eab2363
编写于
6月 04, 2020
作者:
ping zhang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
样式优化
上级
37c87458
变更
6
显示空白字符变更
内嵌
并排
正在显示
6 个修改的文件
包含
60 行增加
和
44 行删除
+60
-44
course-list.vue
src/components/education/custom/course-list.vue
+18
-4
course-select.vue
src/components/education/custom/course-select.vue
+5
-5
custom-baseinfo.vue
src/components/education/custom/custom-baseinfo.vue
+3
-2
env-config.js
src/utils/env-config.js
+1
-1
fetch.js
src/utils/fetch.js
+1
-1
edit-custom.vue
src/views/education/edit-custom.vue
+32
-31
未找到文件。
src/components/education/custom/course-list.vue
浏览文件 @
0eab2363
...
...
@@ -29,6 +29,7 @@
<ul
class=
"list"
>
<li
class=
"course"
:class=
"
{ 'course-checked': item.checked }"
v-for="(item, index) in courseList.list"
:key="index"
@click="toggleChecked(item)"
...
...
@@ -256,6 +257,18 @@ export default {
margin-right: 10px;
border-radius: 4px;
border: 1px solid rgba(228, 231, 237, 1);
&.course-checked {
&::before {
content: "";
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
border: 2px solid #449284;
border-radius: 4px;
}
}
.img {
position: relative;
top: 0;
...
...
@@ -342,9 +355,10 @@ export default {
}
}
.page-wrapper {
width: 1074px;
// width: 1074px;
text-align: right;
.page {
float: right;
//
float: right;
margin: 20px 0;
}
}
...
...
src/components/education/custom/course-select.vue
浏览文件 @
0eab2363
...
...
@@ -409,6 +409,6 @@ export default {
flex-direction: row;
justify-content: flex-end;
margin-top: 20px;
margin-right:
6
0px;
margin-right:
3
0px;
}
</
style
>
src/components/education/custom/custom-baseinfo.vue
浏览文件 @
0eab2363
...
...
@@ -182,11 +182,12 @@
<el-input
size=
"small"
type=
"textarea"
:autosize=
"
{ minRows: 5}"
:autosize=
"
{ minRows: 5
, maxRows: 5
}"
placeholder="请输入项目简介"
v-model="formData.projectIntro"
style="width:83%;"
:disabled="isPreview==1"
maxlength="200"
>
</el-input>
<span
class=
"word-num"
>
{{
(
formData
.
projectIntro
).
replace
(
/
\s
+/g
,
""
).
length
}}
/200
</span>
</el-col>
...
...
src/utils/env-config.js
浏览文件 @
0eab2363
...
...
@@ -10,7 +10,7 @@ export const envConfig = {
// baseUrl: 'https://uat-sc.yunqueyi.com/',
// baseUrl: 'http://10.177.15.150:10401/',
// baseUrl: 'http://10.177.15.150:11905/',
baseUrl
:
'https://
dev
-sc.yunqueyi.com/'
,
baseUrl
:
'https://
uat
-sc.yunqueyi.com/'
,
// baseUrl: 'https://test1-sc.yunqueyi.com/',
// baseUrl: 'https://sc.yunqueyi.com/',
// baseUrl: 'https://uat-sc.yunqueyi.com/',
...
...
src/utils/fetch.js
浏览文件 @
0eab2363
...
...
@@ -54,7 +54,7 @@ service.interceptors.request.use(config => {
}
if
(
process
.
env
.
BUILD_ENV
==
"development"
){
// 本地开发环境
// console.log('环境变量>>>> ', process.env.BUILD_ENV);
config
.
headers
[
'token'
]
=
'
69A24843079C458DBAC7E7C954923718
'
;
config
.
headers
[
'token'
]
=
'
AA3888A4256A49099D14879928E3E919
'
;
// config.headers['token'] = localStorage.getItem('storageToken')
}
else
{
config
.
headers
[
'token'
]
=
localStorage
.
getItem
(
'storageToken'
)
...
...
src/views/education/edit-custom.vue
浏览文件 @
0eab2363
...
...
@@ -8,8 +8,8 @@
></bread-crumb>
<div
class=
"add-content-new screenSet"
id=
"screenSet"
>
<
el-row
class=
"step-content-new"
>
<el-col
style=
"width:
70
0px;"
>
<
div
class=
"step-content-new"
>
<el-col
style=
"width:
53
0px;"
>
<el-steps
:active=
"active"
simple
class
>
<span
class=
"step-num"
v-bind:class=
"
{ 'on-step': active==0 }">1
</span>
<el-step
title=
"选择项目课程"
>
1
</el-step>
...
...
@@ -19,15 +19,13 @@
<el-step
title=
"选择学员范围"
>
3
</el-step>
</el-steps>
</el-col>
<div
style=
"flex: 1;"
></div>
<el-col
style=
"margin-left: 236px; width: 160px;margin-top: 2px;"
>
<!--
<el-col
:span=
"5"
:offset=
"5"
>
-->
<div>
<div
v-if=
"!canNext"
class=
"dis-btn"
>
下一步
</div>
<el-button
class=
"dis-btn-b"
v-if=
"active != 0 && projectStatus == 1 && isPreview != 1"
size=
"small"
@
click=
"save"
>
暂存
</el-button>
<el-button
class=
"dis-btn-b"
v-if=
"active !== 2 && canNext"
size=
"small"
type=
"primary"
@
click=
"nextStep"
>
下一步
</el-button>
<el-button
class=
"dis-btn-b"
v-if=
"active == 2"
size=
"small"
type=
"primary"
@
click=
"complete"
>
完成
</el-button>
</
el-col
>
</
el-row
>
</
div
>
</
div
>
<!-- 模板列表
<div
v-if=
"active == 0"
class=
"tpl-main"
>
...
...
@@ -578,13 +576,15 @@ export default {
min-width
:
1200px
;
display
:
flex
;
justify-content
:
space-between
;
align-items
:
center
;
// min-width: 1300px;
background
:
#fff
;
background
:
#fff
;
overflow
:
hidden
;
height
:
54px
;
line-height
:
54px
;
padding
:
15px
0
50px
0
;
// line-height: 54px;
// padding: 15px 0 50px 0;
padding
:
0
30px
;
border-bottom
:
1px
solid
#efefef
;
background
:
#fff
;
.is-text
{
...
...
@@ -592,6 +592,7 @@ export default {
}
.el-steps--simple
{
background
:
#fff
;
padding
:
13px
0
;
}
.button-green
{
color
:
#ffffff
;
...
...
@@ -645,7 +646,7 @@ export default {
.dis-btn-b
{
position
:
relative
;
left
:
5px
;
bottom
:
10px
;
//
bottom: 10px;
}
}
.add-content-new
{
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录