Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
T
transport-show-h5
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
transport-show-h5
Commits
08a8d580
提交
08a8d580
authored
7月 28, 2020
作者:
王鹏飞
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
feat: 增加相关视频
上级
adc5117f
显示空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
18 行增加
和
2 行删除
+18
-2
index.html
src/index.html
+1
-1
index.vue
src/pages/course/tag/index.vue
+1
-0
item.vue
src/pages/course/tag/item.vue
+3
-1
tagMessage.vue
src/pages/course/tag/tagMessage.vue
+12
-0
update.vue
src/pages/my/alarm/components/update.vue
+1
-0
没有找到文件。
src/index.html
浏览文件 @
08a8d580
...
...
@@ -7,7 +7,7 @@
<meta
http-equiv=
"Cache-Control"
content=
"no-cache, no-store, must-revalidate"
/>
<meta
http-equiv=
"Pragma"
content=
"no-cache"
/>
<meta
http-equiv=
"Expires"
content=
"0"
/>
<title></title>
<title>
道路安全考证宝典
</title>
<meta
name=
"viewport"
id=
"viewport"
content=
"width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no, shrink-to-fit=no, viewport-fit=cover"
>
<!-- <script src="https://cdn.jsdelivr.net/npm/vconsole@3.3.4/dist/vconsole.min.js"></script> -->
</head>
...
...
src/pages/course/tag/index.vue
浏览文件 @
08a8d580
...
...
@@ -206,5 +206,6 @@ export default {
background
:
url('../../../assets/images/icon_backtop.png')
no-repeat
;
background-size
:
contain
;
cursor
:
pointer
;
margin-bottom
:
env
(
safe-area-inset-bottom
);
}
</
style
>
src/pages/course/tag/item.vue
浏览文件 @
08a8d580
...
...
@@ -11,6 +11,7 @@
<div
class=
"inner"
>
<ul>
<li
@
click=
"toExamPage"
>
去测试
</li>
<li
@
click=
"toExamPage"
v-if=
"detail.has_video"
>
相关视频
</li>
</ul>
<ul>
<li
@
click=
"getCourseTag(detail.last)"
v-if=
"detail.last"
>
上一点
</li>
...
...
@@ -144,7 +145,8 @@ export default {
display
:
inline-block
;
height
:
35px
;
margin-left
:
10px
;
padding
:
0
30px
;
// padding: 0 30px;
padding
:
0
10px
;
font-size
:
13px
;
color
:
#fff
;
line-height
:
35px
;
...
...
src/pages/course/tag/tagMessage.vue
浏览文件 @
08a8d580
...
...
@@ -18,6 +18,7 @@
<div
class=
"tools"
>
<ul>
<li
@
click=
"toExamPage"
>
知识点考试
</li>
<li
@
click=
"toCourseVideo"
v-if=
"data.has_video"
>
相关视频
</li>
</ul>
</div>
</div>
...
...
@@ -27,6 +28,7 @@
export
default
{
name
:
'TagMessage'
,
props
:
{
courseId
:
{
type
:
String
},
data
:
{
type
:
Object
}
},
data
()
{
...
...
@@ -82,6 +84,16 @@ export default {
}
else
{
this
.
$router
.
push
({
path
})
}
},
// 去课程视频页面
toCourseVideo
()
{
if
(
this
.
isWeapp
)
{
wx
.
miniProgram
.
navigateTo
({
url
:
`/pages/course/item?id=
${
this
.
courseId
}
`
})
}
else
{
window
.
alert
(
'请在微信小程序中打开'
)
}
}
},
mounted
()
{
...
...
src/pages/my/alarm/components/update.vue
浏览文件 @
08a8d580
...
...
@@ -175,6 +175,7 @@ export default {
text-align
:
center
;
}
.alarm-form
{
padding-bottom
:
env
(
safe-area-inset-bottom
);
}
.alarm-form-time
{
position
:
relative
;
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论