Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
T
transport-show-h5
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
transport-show-h5
Commits
8a8b196d
提交
8a8b196d
authored
7月 14, 2020
作者:
王鹏飞
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
style: css优化
上级
a93a2971
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
40 行增加
和
34 行删除
+40
-34
item.vue
src/pages/course/tag/item.vue
+29
-16
list.vue
src/pages/course/tag/list.vue
+10
-9
login.vue
src/pages/login/login.vue
+1
-1
style.scss
src/style.scss
+0
-8
没有找到文件。
src/pages/course/tag/item.vue
浏览文件 @
8a8b196d
...
@@ -8,13 +8,15 @@
...
@@ -8,13 +8,15 @@
<div
class=
"tag-content"
v-html=
"html"
></div>
<div
class=
"tag-content"
v-html=
"html"
></div>
</div>
</div>
<div
class=
"tools"
>
<div
class=
"tools"
>
<ul>
<div
class=
"inner"
>
<li
@
click=
"toExamPage"
>
知识点考试
</li>
<ul>
</ul>
<li
@
click=
"toExamPage"
>
知识点考试
</li>
<ul>
</ul>
<li
@
click=
"getCourseTag(detail.last)"
v-if=
"detail.last"
>
上一点
</li>
<ul>
<li
@
click=
"getCourseTag(detail.next)"
v-if=
"detail.next"
>
下一点
</li>
<li
@
click=
"getCourseTag(detail.last)"
v-if=
"detail.last"
>
上一点
</li>
</ul>
<li
@
click=
"getCourseTag(detail.next)"
v-if=
"detail.next"
>
下一点
</li>
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -99,23 +101,23 @@ export default {
...
@@ -99,23 +101,23 @@ export default {
.course-tag-hd
{
.course-tag-hd
{
position
:
sticky
;
position
:
sticky
;
top
:
0
;
top
:
0
;
padding
:
0
.4rem
;
padding
:
20px
;
background-color
:
#fff
;
background-color
:
#fff
;
z-index
:
10
;
z-index
:
10
;
}
}
.course-tag-bd
{
.course-tag-bd
{
padding
:
0
.4rem
;
padding
:
20px
;
}
}
.course-tag-main
{
.course-tag-main
{
padding
:
0
.2rem
;
padding
:
10px
;
background-color
:
#fff
;
background-color
:
#fff
;
border-radius
:
0
.12rem
;
border-radius
:
6px
;
}
}
.tag-title
{
.tag-title
{
font-size
:
0
.3rem
;
font-size
:
15px
;
font-weight
:
bold
;
font-weight
:
bold
;
color
:
#222
;
color
:
#222
;
line-height
:
0
.48rem
;
line-height
:
24px
;
}
}
.tag-content
{
.tag-content
{
padding
:
20px
0
;
padding
:
20px
0
;
...
@@ -129,13 +131,24 @@ export default {
...
@@ -129,13 +131,24 @@ export default {
}
}
}
}
.tools
{
.tools
{
display
:
flex
;
justify-content
:
space-between
;
margin-top
:
5px
;
margin-top
:
5px
;
height
:
34px
;
padding-bottom
:
env
(
safe-area-inset-bottom
);
.inner
{
position
:
fixed
;
left
:
0
;
right
:
0
;
bottom
:
0
;
display
:
flex
;
justify-content
:
space-between
;
height
:
34px
;
padding
:
20px
20px
0
;
padding-bottom
:
env
(
safe-area-inset-bottom
);
}
li
{
li
{
display
:
inline-block
;
display
:
inline-block
;
height
:
24px
;
height
:
24px
;
margin
:
0
0
10px
10px
;
margin
-left
:
10px
;
padding
:
0
15px
;
padding
:
0
15px
;
font-size
:
13px
;
font-size
:
13px
;
color
:
#fff
;
color
:
#fff
;
...
...
src/pages/course/tag/list.vue
浏览文件 @
8a8b196d
...
@@ -109,32 +109,33 @@ export default {
...
@@ -109,32 +109,33 @@ export default {
.course-tag-hd
{
.course-tag-hd
{
position
:
sticky
;
position
:
sticky
;
top
:
0
;
top
:
0
;
padding
:
0
.4rem
;
padding
:
20px
;
background-color
:
#fff
;
background-color
:
#fff
;
z-index
:
10
;
z-index
:
10
;
}
}
.course-tag-bd
{
.course-tag-bd
{
padding
:
0
.4rem
;
padding
:
20px
;
}
}
.course-tag-main
{
.course-tag-main
{
padding
:
0
.2rem
;
padding
:
10px
;
background-color
:
#fff
;
background-color
:
#fff
;
border-radius
:
0
.12rem
;
border-radius
:
6px
;
}
}
.course-title
{
.course-title
{
font-size
:
0
.3rem
;
font-size
:
15px
;
font-weight
:
bold
;
color
:
#222
;
color
:
#222
;
}
}
.tag-title
{
.tag-title
{
font-size
:
0
.3rem
;
font-size
:
15px
;
font-weight
:
bold
;
font-weight
:
bold
;
color
:
#222
;
color
:
#222
;
line-height
:
0
.48rem
;
line-height
:
24px
;
}
}
.tag-item
{
.tag-item
{
position
:
relative
;
position
:
relative
;
padding
:
0
.4rem
0
.4rem
0
.4rem
0
;
padding
:
20px
20px
20px
0
;
font-size
:
0
.3rem
;
font-size
:
15px
;
color
:
#222
;
color
:
#222
;
line-height
:
1
.4
;
line-height
:
1
.4
;
border-bottom
:
1px
solid
#eee
;
border-bottom
:
1px
solid
#eee
;
...
...
src/pages/login/login.vue
浏览文件 @
8a8b196d
...
@@ -292,7 +292,7 @@ export default {
...
@@ -292,7 +292,7 @@ export default {
border-radius
:
3px
;
border-radius
:
3px
;
}
}
}
}
.van-toast
{
.van-toast
--text
{
padding
:
20px
;
padding
:
20px
;
border-radius
:
6px
;
border-radius
:
6px
;
}
}
...
...
src/style.scss
浏览文件 @
8a8b196d
html
*
{
-webkit-box-sizing
:
border-box
;
-moz-box-sizing
:
border-box
;
box-sizing
:
border-box
;
outline
:
none
;
-webkit-text-size-adjust
:
none
;
-webkit-tap-highlight-color
:
rgba
(
0
,
0
,
0
,
0
);
}
body
,
body
,
h1
,
h1
,
h2
,
h2
,
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论