Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica.cloud.web-education-admin
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
提交
打开侧边栏
com.pica.cloud.education.frontend
pica.cloud.web-education-admin
提交
168b88f0
提交
168b88f0
编写于
10月 25, 2018
作者:
guojing.hao
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
yqy-home-header
上级
a57fb6b9
变更
2
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
21 行增加
和
3 行删除
+21
-3
yqy-home-header.vue
src/components/business/yqy-home-header.vue
+18
-3
global.scss
src/style/global.scss
+3
-0
未找到文件。
src/components/business/yqy-home-header.vue
浏览文件 @
168b88f0
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
</div>
</div>
<div
class=
"headerRight"
>
<div
class=
"headerRight"
>
<img
class=
"info"
:src=
"resourceData.img"
>
<img
class=
"info"
:src=
"resourceData.img"
>
<
img
class=
"info-count"
:src=
"resourceData.img"
>
<
div
:class=
"resourceData.isTransparent?'transparent':'notTransparent'"
class=
"info-count fs10"
>
{{
resourceData
.
count
}}
</div
>
</div>
</div>
</div>
</div>
</
template
>
</
template
>
...
@@ -21,8 +21,10 @@ export default {
...
@@ -21,8 +21,10 @@ export default {
type
:
Object
,
type
:
Object
,
default
:()
=>
{
default
:()
=>
{
return
{
return
{
isTransparent
:
true
,
placeholder
:
'请输入课程名称'
,
placeholder
:
'请输入课程名称'
,
img
:
'../../images/Shape@2x.png'
img
:
'../../images/Shape@2x.png'
,
count
:
0
}
}
}
}
}
}
...
@@ -102,8 +104,21 @@ html,body{
...
@@ -102,8 +104,21 @@ html,body{
}
}
.info-count
{
.info-count
{
position
:absolute
;
position
:absolute
;
top
:
px2rem
(
-10px
)
;
top
:
0
;
right
:
px2rem
(
21px
);
right
:
px2rem
(
21px
);
width
:
px2rem
(
15px
);
height
:
px2rem
(
15px
);
border-radius
:
50%
;
text-align
:
center
;
line-height
:
15px
;
}
.transparent
{
background-color
:
#fff
;
color
:
RGBA
(
53
,
134
,
126
,
1
);
}
.notTransparent
{
background-color
:
RGBA
(
251
,
91
,
82
,
1
);
color
:
#fff
;
}
}
.hotTag
{
.hotTag
{
width
:
100%
;
width
:
100%
;
...
...
src/style/global.scss
浏览文件 @
168b88f0
...
@@ -34,6 +34,9 @@
...
@@ -34,6 +34,9 @@
.fs26
{
.fs26
{
font-size
:
px2rem
(
13px
);
font-size
:
px2rem
(
13px
);
}
}
.fs10
{
font-size
:
px2rem
(
10px
);
}
.gray
{
.gray
{
color
:
RGBA
(
177
,
181
,
184
,
1
);
color
:
RGBA
(
177
,
181
,
184
,
1
);
}
}
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录