Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica.cloud.web-education-admin
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
提交
打开侧边栏
com.pica.cloud.education.frontend
pica.cloud.web-education-admin
提交
dd9ce296
提交
dd9ce296
编写于
4月 22, 2020
作者:
haochangdi
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
修改样式
上级
4ee9324f
变更
3
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
13 行增加
和
32 行删除
+13
-32
checked.png
src/assets/image/checked.png
+0
-0
templateList.vue
src/components/education/template/templateList.vue
+12
-31
fetch.js
src/utils/fetch.js
+1
-1
未找到文件。
src/assets/image/checked.png
0 → 100644
浏览文件 @
dd9ce296
813 字节
src/components/education/template/templateList.vue
浏览文件 @
dd9ce296
...
@@ -7,7 +7,8 @@
...
@@ -7,7 +7,8 @@
<div
class=
"title-icon"
>
{{
item
.
subjectName
}}
</div>
<div
class=
"title-icon"
>
{{
item
.
subjectName
}}
</div>
<div
class=
"title"
>
{{
item
.
openTemplateName
}}
</div>
<div
class=
"title"
>
{{
item
.
openTemplateName
}}
</div>
<div
class=
"sj"
v-if=
"item.isclick"
>
<div
class=
"sj"
v-if=
"item.isclick"
>
<i
class=
"el-icon-check"
></i>
<!--
<i
class=
"el-icon-check"
></i>
-->
<img
src=
"../../../assets/image/checked.png"
alt=
""
srcset=
""
>
</div>
</div>
</div>
</div>
<div
class=
"main"
>
<div
class=
"main"
>
...
@@ -191,12 +192,13 @@ export default {
...
@@ -191,12 +192,13 @@ export default {
background
:rgba
(
241
,
247
,
246
,
1
)
;
background
:rgba
(
241
,
247
,
246
,
1
)
;
border-radius
:
4px
4px
2px
2px
;
border-radius
:
4px
4px
2px
2px
;
.title-icon
{
.title-icon
{
width
:
72px
;
// width: 72px;
height
:
22px
;
// height: 22px;
display
:
inline-block
;
padding
:
4px
8px
;
background
:rgba
(
68
,
146
,
132
,
1
)
;
background
:rgba
(
68
,
146
,
132
,
1
)
;
border-radius
:
4px
0px
4px
0px
;
border-radius
:
4px
0px
4px
0px
;
font-size
:
14px
;
font-size
:
14px
;
font-family
:
PingFangSC-Medium
,
PingFang
SC
;
font-weight
:
500
;
font-weight
:
500
;
color
:rgba
(
255
,
255
,
255
,
1
)
;
color
:rgba
(
255
,
255
,
255
,
1
)
;
line-height
:
22px
;
line-height
:
22px
;
...
@@ -206,26 +208,14 @@ export default {
...
@@ -206,26 +208,14 @@ export default {
margin-top
:
16px
;
margin-top
:
16px
;
padding
:
0
24px
;
padding
:
0
24px
;
font-size
:
18px
;
font-size
:
18px
;
font-family
:
PingFangSC-Medium
,
PingFang
SC
;
font-weight
:
500
;
font-weight
:
500
;
color
:
rgba
(
55
,
56
,
57
,
1
);
color
:
rgba
(
55
,
56
,
57
,
1
);
line-height
:
26px
;
line-height
:
26px
;
}
}
.sj
{
.sj
{
position
:
absolute
;
position
:
absolute
;
top
:
0
;
top
:
-1px
;
right
:
0
;
right
:
-1px
;
height
:
0
;
width
:
0
;
border
:
30px
solid
;
border-color
:
#449284
#449284
transparent
transparent
;
i
{
position
:
absolute
;
top
:
-20px
;
right
:
-20px
;
font-size
:
20px
;
color
:
#fff
;
}
}
}
}
}
.main
{
.main
{
...
@@ -236,7 +226,6 @@ export default {
...
@@ -236,7 +226,6 @@ export default {
width
:
90px
;
width
:
90px
;
height
:
20px
;
height
:
20px
;
font-size
:
14px
;
font-size
:
14px
;
font-family
:
PingFangSC-Regular
,
PingFang
SC
;
font-weight
:
400
;
font-weight
:
400
;
color
:rgba
(
151
,
152
,
153
,
1
)
;
color
:rgba
(
151
,
152
,
153
,
1
)
;
line-height
:
20px
;
line-height
:
20px
;
...
@@ -256,12 +245,10 @@ export default {
...
@@ -256,12 +245,10 @@ export default {
border-radius
:
50%
;
border-radius
:
50%
;
}
}
.icon-message
{
.icon-message
{
height
:
16px
;
font-size
:
16px
;
font-size
:
16px
;
font-family
:
PingFangSC-Regular
,
PingFang
SC
;
font-weight
:
400
;
font-weight
:
400
;
color
:rgba
(
55
,
56
,
57
,
1
)
;
color
:rgba
(
55
,
56
,
57
,
1
)
;
line-height
:
20
px
;
line-height
:
18
px
;
}
}
}
}
}
}
...
@@ -281,14 +268,12 @@ export default {
...
@@ -281,14 +268,12 @@ export default {
.pice
{
.pice
{
// width:151px;
// width:151px;
// font-size:18px;
// font-size:18px;
// font-family:PingFangSC-Medium,PingFang SC;
// line-height:25px;
// line-height:25px;
.pice-icon
{
.pice-icon
{
margin-right
:
2px
;
margin-right
:
2px
;
width
:
10px
;
width
:
10px
;
height
:
20px
;
height
:
20px
;
font-size
:
16px
;
font-size
:
16px
;
font-family
:
'PingFangSC-Medium,PingFang SC'
;
font-weight
:
500
;
font-weight
:
500
;
color
:rgba
(
55
,
56
,
57
,
1
)
;
color
:rgba
(
55
,
56
,
57
,
1
)
;
line-height
:
20px
;
line-height
:
20px
;
...
@@ -297,7 +282,6 @@ export default {
...
@@ -297,7 +282,6 @@ export default {
width
:
80px
;
width
:
80px
;
height
:
20px
;
height
:
20px
;
font-size
:
20px
;
font-size
:
20px
;
font-family
:
'PingFangSC-Medium,PingFang SC'
;
font-weight
:
500
;
font-weight
:
500
;
color
:rgba
(
216
,
43
,
43
,
1
)
;
color
:rgba
(
216
,
43
,
43
,
1
)
;
line-height
:
20px
;
line-height
:
20px
;
...
@@ -311,7 +295,6 @@ export default {
...
@@ -311,7 +295,6 @@ export default {
margin-top
:
7px
;
margin-top
:
7px
;
height
:
20px
;
height
:
20px
;
font-size
:
14px
;
font-size
:
14px
;
font-family
:
PingFangSC-Regular
,
PingFang
SC
;
font-weight
:
400
;
font-weight
:
400
;
color
:rgba
(
159
,
159
,
159
,
1
)
;
color
:rgba
(
159
,
159
,
159
,
1
)
;
line-height
:
20px
;
line-height
:
20px
;
...
@@ -323,7 +306,6 @@ export default {
...
@@ -323,7 +306,6 @@ export default {
width
:
98px
;
width
:
98px
;
height
:
50px
;
height
:
50px
;
font-size
:
14px
;
font-size
:
14px
;
font-family
:
PingFangSC-Regular
,
PingFang
SC
;
font-weight
:
400
;
font-weight
:
400
;
color
:rgba
(
68
,
146
,
132
,
1
)
;
color
:rgba
(
68
,
146
,
132
,
1
)
;
line-height
:
50px
;
line-height
:
50px
;
...
@@ -338,6 +320,9 @@ export default {
...
@@ -338,6 +320,9 @@ export default {
max-height
:
80%
;
max-height
:
80%
;
overflow
:
hidden
;
overflow
:
hidden
;
}
}
.el-dialog__body
{
padding-top
:
12px
;
}
.dialog-line
{
.dialog-line
{
width
:
750px
;
width
:
750px
;
height
:
1px
;
height
:
1px
;
...
@@ -356,7 +341,6 @@ export default {
...
@@ -356,7 +341,6 @@ export default {
background
:rgba
(
241
,
247
,
246
,
1
)
;
background
:rgba
(
241
,
247
,
246
,
1
)
;
border-radius
:
4px
4px
2px
2px
;
border-radius
:
4px
4px
2px
2px
;
font-size
:
18px
;
font-size
:
18px
;
font-family
:
PingFangSC-Medium
,
PingFang
SC
;
font-weight
:
500
;
font-weight
:
500
;
color
:rgba
(
55
,
56
,
57
,
1
)
;
color
:rgba
(
55
,
56
,
57
,
1
)
;
line-height
:
80px
;
line-height
:
80px
;
...
@@ -377,7 +361,6 @@ export default {
...
@@ -377,7 +361,6 @@ export default {
width
:
72px
;
width
:
72px
;
height
:
20px
;
height
:
20px
;
font-size
:
18px
;
font-size
:
18px
;
font-family
:
PingFangSC-Medium
,
PingFang
SC
;
font-weight
:
500
;
font-weight
:
500
;
color
:rgba
(
0
,
0
,
0
,
0
.85
)
;
color
:rgba
(
0
,
0
,
0
,
0
.85
)
;
line-height
:
20px
;
line-height
:
20px
;
...
@@ -392,7 +375,6 @@ export default {
...
@@ -392,7 +375,6 @@ export default {
margin-top
:
14px
;
margin-top
:
14px
;
font-size
:
14px
;
font-size
:
14px
;
line-height
:
20px
;
line-height
:
20px
;
font-family
:
PingFangSC-Regular
,
PingFang
SC
;
font-weight
:
400
;
font-weight
:
400
;
color
:rgba
(
103
,
104
,
105
,
1
)
;
color
:rgba
(
103
,
104
,
105
,
1
)
;
line-height
:
20px
;
line-height
:
20px
;
...
@@ -410,7 +392,6 @@ export default {
...
@@ -410,7 +392,6 @@ export default {
margin-left
:
17px
;
margin-left
:
17px
;
margin-top
:
16px
;
margin-top
:
16px
;
font-size
:
14px
;
font-size
:
14px
;
font-family
:
PingFangSC-Regular
,
PingFang
SC
;
font-weight
:
400
;
font-weight
:
400
;
color
:rgba
(
103
,
104
,
105
,
1
)
;
color
:rgba
(
103
,
104
,
105
,
1
)
;
line-height
:
24px
;
line-height
:
24px
;
...
...
src/utils/fetch.js
浏览文件 @
dd9ce296
...
@@ -55,7 +55,7 @@ service.interceptors.request.use(config => {
...
@@ -55,7 +55,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'] = '29D71EAAB92E4580AFB16A8011BE7206';
// config.headers['token'] = '29D71EAAB92E4580AFB16A8011BE7206';
config
.
headers
[
'token'
]
=
'
779A660D3D8742D18C932E34AF3AE996
'
;
config
.
headers
[
'token'
]
=
'
C10B175F19974ABFABC3B783B1F609F9
'
;
// 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'
)
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录