Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
T
transport-show-h5
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
transport-show-h5
Commits
d7c2b3b0
提交
d7c2b3b0
authored
7月 14, 2020
作者:
王鹏飞
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
style: css样式优化
上级
dae6b8bc
隐藏空白字符变更
内嵌
并排
正在显示
10 个修改的文件
包含
76 行增加
和
6 行删除
+76
-6
banner.png
src/assets/images/banner.png
+0
-0
banner2.png
src/assets/images/banner2.png
+0
-0
CourseItem.vue
src/components/CourseItem.vue
+1
-1
courseChapter.vue
src/pages/course/learn/courseChapter.vue
+11
-0
courseTagMessage.vue
src/pages/course/tag/courseTagMessage.vue
+1
-1
index.vue
src/pages/course/tag/index.vue
+0
-1
messageCard.vue
src/pages/course/tag/messageCard.vue
+26
-0
index.vue
src/pages/home/index.vue
+4
-3
index.vue
src/pages/search/index.vue
+1
-0
style.scss
src/style.scss
+32
-0
没有找到文件。
src/assets/images/banner.png
查看替换文件 @
dae6b8bc
浏览文件 @
d7c2b3b0
285.7 KB
|
W:
|
H:
425.3 KB
|
W:
|
H:
2-up
Swipe
Onion skin
src/assets/images/banner2.png
查看替换文件 @
dae6b8bc
浏览文件 @
d7c2b3b0
424.2 KB
|
W:
|
H:
286.0 KB
|
W:
|
H:
2-up
Swipe
Onion skin
src/components/CourseItem.vue
浏览文件 @
d7c2b3b0
...
...
@@ -77,7 +77,7 @@ export default {
overflow
:
hidden
;
}
.course-item__text
{
max-height
:
0
.
68
rem
;
max-height
:
0
.
34
rem
;
font-size
:
0
.26rem
;
color
:
#999
;
white-space
:
nowrap
;
...
...
src/pages/course/learn/courseChapter.vue
浏览文件 @
d7c2b3b0
<
template
>
<van-collapse
v-model=
"activeNames"
>
<van-collapse-item
:title=
"item.name"
:name=
"item.id"
v-for=
"item in data"
:key=
"item.id"
>
<template
#
right-icon
>
<van-icon
name=
"arrow"
/>
<van-icon
name=
"arrow-down"
/>
</
template
>
<ul>
<li
v-for=
"subItem in item.children"
...
...
@@ -62,5 +66,12 @@ export default {
}
li
{
padding
:
10px
0
;
font-size
:
13px
;
&
:first-child
{
padding-top
:
0
;
}
&
:last-child
{
padding-bottom
:
20px
;
}
}
</
style
>
src/pages/course/tag/courseTagMessage.vue
浏览文件 @
d7c2b3b0
...
...
@@ -102,7 +102,7 @@ export default {
border-radius
:
6px
;
}
.course-tag-message-hd
{
padding
:
10px
0
;
margin-bottom
:
10px
;
font-size
:
15px
;
color
:
#222
;
}
...
...
src/pages/course/tag/index.vue
浏览文件 @
d7c2b3b0
...
...
@@ -170,7 +170,6 @@ export default {
<
style
lang=
"scss"
scoped
>
.messages
{
background
:
#eee
;
overflow
:
hidden
;
}
.send
{
height
:
50px
;
...
...
src/pages/course/tag/messageCard.vue
浏览文件 @
d7c2b3b0
<
template
>
<div
class=
"message-card"
:class=
"classes"
>
<div
class=
"message-card-content"
>
<div
class=
"message-arrow"
></div>
<slot
:data=
"data.payload"
>
<div
class=
"message-card-text"
v-if=
"data.type === 0"
>
{{
data
.
payload
.
text
}}
</div>
<course-tag-message
...
...
@@ -66,6 +67,16 @@ export default {
border-radius
:
6px
;
}
.is-my
{
.message-arrow
{
position
:
absolute
;
right
:
-5px
;
top
:
16px
;
width
:
0
;
height
:
0
;
border-top
:
4px
solid
transparent
;
border-bottom
:
4px
solid
transparent
;
border-left
:
5px
solid
#67a8ff
;
}
.message-card-content
{
text-align
:
right
;
}
...
...
@@ -75,4 +86,19 @@ export default {
background-color
:
#67a8ff
;
}
}
.message-card-content
{
position
:
relative
;
}
.is-system
{
.message-arrow
{
position
:
absolute
;
left
:
-5px
;
top
:
16px
;
width
:
0
;
height
:
0
;
border-top
:
4px
solid
transparent
;
border-bottom
:
4px
solid
transparent
;
border-right
:
5px
solid
#fff
;
}
}
</
style
>
src/pages/home/index.vue
浏览文件 @
d7c2b3b0
...
...
@@ -2,7 +2,7 @@
<div
class=
"main-container"
>
<search-bar
readonly
@
click
.
native=
"toSearch"
></search-bar>
<div
class=
"banner"
>
<van-swipe
class=
"banner-swipe"
:autoplay=
"3000"
indicator-color=
"white"
>
<van-swipe
class=
"banner-swipe"
:autoplay=
"3000"
>
<van-swipe-item>
<img
src=
"../../assets/images/banner.png"
@
click=
"onClickNav('pay')"
/>
</van-swipe-item>
...
...
@@ -184,10 +184,10 @@ export default {
li
{
display
:
inline-block
;
padding
:
0
5px
;
font-size
:
1
2
px
;
font-size
:
1
0
px
;
color
:
#2b7ce9
;
line-height
:
14px
;
background-color
:
rgba
(
43
,
124
,
233
,
0
.4
)
;
background-color
:
#e9f1fc
;
border-radius
:
3px
;
}
}
...
...
@@ -199,6 +199,7 @@ export default {
}
.course-content__price
{
font-size
:
13px
;
font-weight
:
bold
;
color
:
#ff6767
;
line-height
:
1
;
span
{
...
...
src/pages/search/index.vue
浏览文件 @
d7c2b3b0
...
...
@@ -126,6 +126,7 @@ export default {
}
.search-tips__title
{
font-size
:
0
.3rem
;
font-weight
:
400
;
color
:
#222
;
}
.search-tips__list
{
...
...
src/style.scss
浏览文件 @
d7c2b3b0
...
...
@@ -102,11 +102,43 @@ body {
margin
:
0
0
.4rem
;
padding-bottom
:
env
(
safe-area-inset-bottom
);
}
.main-tabs
.van-tab
{
font-size
:
15px
;
color
:
#999
;
}
.
main-tabs
.
van-hairline--top-bottom
:
:
after
{
border-top
:
0
;
}
.main-tabs
.van-tab--active
{
font-weight
:
600
;
color
:
#000
;
}
.main-list
.empty
{
padding
:
40px
0
;
text-align
:
center
;
color
:
#999
;
}
.van-collapse
.van-collapse-item__title
{
padding
:
20px
0
;
font-size
:
15px
;
font-weight
:
600
;
color
:
#222
;
}
.van-collapse
.van-icon-arrow-down
{
display
:
none
;
}
.van-collapse
.van-collapse-item__title--expanded
.van-icon-arrow
{
display
:
none
;
}
.van-collapse
.van-collapse-item__title--expanded
.van-icon-arrow-down
{
display
:
block
;
}
.van-swipe
.van-swipe__indicator--active
{
width
:
30px
;
background-color
:
rgba
(
255
,
255
,
255
,
0
.4
);
border-radius
:
3px
;
}
.van-swipe
.van-swipe__indicators
{
bottom
:
5px
;
}
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论