Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
self-support
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李俊赕
self-support
Commits
4e5c22c8
Commit
4e5c22c8
authored
May 10, 2021
by
林文清
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update:学习样式修改
parent
eadf0763
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
145 additions
and
170 deletions
+145
-170
pages.json
src/pages.json
+5
-0
learn.vue
src/pages/index/learn.vue
+136
-167
news-details.vue
src/pages/learn/news-details.vue
+2
-1
section.vue
src/pages/learn/section.vue
+2
-2
guifan@3x.png
src/static/photo/guifan@3x.png
+0
-0
jianbian@3x.png
src/static/photo/jianbian@3x.png
+0
-0
No files found.
src/pages.json
View file @
4e5c22c8
...
@@ -434,6 +434,11 @@
...
@@ -434,6 +434,11 @@
"name"
:
"订单 - 过程反馈"
,
//模式名称
"name"
:
"订单 - 过程反馈"
,
//模式名称
"path"
:
"pages/order/feedback"
,
//启动页面,必选
"path"
:
"pages/order/feedback"
,
//启动页面,必选
"query"
:
""
//启动参数,在页面的onLoad函数里面得到
"query"
:
""
//启动参数,在页面的onLoad函数里面得到
},
{
"name"
:
"学习 - 首页"
,
//模式名称
"path"
:
"pages/index/learn"
,
//启动页面,必选
"query"
:
""
//启动参数,在页面的onLoad函数里面得到
}
}
]
]
}
}
...
...
src/pages/index/learn.vue
View file @
4e5c22c8
...
@@ -5,10 +5,10 @@
...
@@ -5,10 +5,10 @@
</u-navbar>
</u-navbar>
<image
:src=
"bannerImage"
mode=
""
class=
"banner"
></image>
<image
:src=
"bannerImage"
mode=
""
class=
"banner"
></image>
<u-tabs-swiper
bg-color=
"#F4F5F7"
inactive-color=
"#999999"
font-size=
"28"
ref=
"uTabs"
:list=
"tabs"
<u-tabs-swiper
bg-color=
"#F4F5F7"
inactive-color=
"#999999"
font-size=
"28"
ref=
"uTabs"
:list=
"tabs"
:current=
"current"
@
change=
"tabsChange"
:is-scroll=
"false
"
swiperWidth=
"750"
></u-tabs-swiper>
:current=
"current"
@
change=
"tabsChange"
:is-scroll=
"false"
:bar-width=
"52
"
swiperWidth=
"750"
></u-tabs-swiper>
<swiper
:current=
"swiperCurrent"
@
transition=
"transition
"
@
animationfinish=
"animationfinish"
>
<swiper
class=
"swiper_group"
:current=
"swiperCurrent
"
@
animationfinish=
"animationfinish"
>
<swiper-item
class=
"swiper-item
"
>
<swiper-item
@
touchmove
.
stop
.
prevent=
"stopTouchMove"
v-show=
"current == 0
"
>
<scroll-view
scroll-y
style=
"height:
796rpx
;width:100%;"
>
<scroll-view
scroll-y
style=
"height:
100%
;width:100%;"
>
<view
class=
"jf-currency-class"
>
<view
class=
"jf-currency-class"
>
<image
:src=
"jianBianImg"
mode=
""
class=
"current-img"
></image>
<image
:src=
"jianBianImg"
mode=
""
class=
"current-img"
></image>
<view
class=
"class1"
style=
"position: relative;"
@
click=
"goToPrint"
>
<view
class=
"class1"
style=
"position: relative;"
@
click=
"goToPrint"
>
...
@@ -22,7 +22,7 @@
...
@@ -22,7 +22,7 @@
</view>
</view>
</scroll-view>
</scroll-view>
</swiper-item>
</swiper-item>
<swiper-item
class=
"swiper-item
"
>
<swiper-item
@
touchmove
.
stop
.
prevent=
"stopTouchMove"
v-show=
"current == 1
"
>
<scroll-view
scroll-y
style=
"height:100%;width:100%;"
@
scrolltolower=
"onreachBottom"
>
<scroll-view
scroll-y
style=
"height:100%;width:100%;"
@
scrolltolower=
"onreachBottom"
>
<view
v-for=
"item in list"
:key=
"item.id"
class=
"notice"
@
click=
"bbb(item)"
>
<view
v-for=
"item in list"
:key=
"item.id"
class=
"notice"
@
click=
"bbb(item)"
>
<view
class=
"n-head"
>
<view
class=
"n-head"
>
...
@@ -37,150 +37,139 @@
...
@@ -37,150 +37,139 @@
<view
class=
"notice-bottom-right"
>
查看详情
</view>
<view
class=
"notice-bottom-right"
>
查看详情
</view>
</view>
</view>
</view>
</view>
<view
v-shou=
"isLoadMore"
>
<view
v-shou=
"isLoadMore"
class=
"load-more"
>
<u-loadmore
:status=
"loadStatus"
/>
<u-loadmore
:status=
"loadStatus"
/>
</view>
</view>
</scroll-view>
</scroll-view>
</swiper-item>
</swiper-item>
<swiper-item
class=
"swiper-item"
style=
"margin-top: 20rpx;
"
>
<swiper-item
@
touchmove
.
stop
.
prevent=
"stopTouchMove"
v-show=
"current == 2
"
>
<scroll-view
scroll-y
style=
"height:100%;width:100%;"
>
<scroll-view
scroll-y
style=
"height:100%;width:100%;"
>
<view
class=
"lean"
>
<view
class=
"title u-margin-top-10 u-margin-bottom-30"
>
通用课程
</view>
<view
class=
"top"
>
<view
class=
"learn-currency-class"
>
<view
class=
"title u-margin-top-10 u-margin-bottom-30"
>
通用课程
</view>
<view
class=
"learn-class1"
@
click=
"goPlay(courselist[0])"
>
<view
class=
"learn-currency-class"
>
<image
class=
"learn-img"
:src=
"courselist[0].pic"
mode=
""
></image>
<view
class=
"learn-class1"
@
click=
"goPlay(courselist[0])"
>
<image
class=
"bofang"
:src=
"bofang"
mode=
""
></image>
<image
class=
"learn-img"
:src=
"courselist[0].pic"
mode=
""
></image>
<view
class=
"learn-desc"
>
<image
class=
"bofang"
:src=
"bofang"
mode=
""
></image>
<view
class=
"u-font-28 font-bold h68"
>
<view
class=
"learn-desc"
>
{{
courselist
[
0
].
title
}}
<view
class=
"u-font-28 font-bold h68"
>
{{
courselist
[
0
].
title
}}
</view>
<view
class=
"u-font-20 learn-intro h48"
>
{{
courselist
[
0
].
desc
}}
</view>
</view>
<view
class=
"line-percent u-margin-top-35"
>
<u-line-progress
active-color=
"#2979ff"
:percent=
"courselist[0].percent"
:show-percent=
"false"
>
</u-line-progress>
<text
class=
"font-default-color"
:class=
"
{'font-active-color':courselist[0].percent}"
v-text="courselist[0].status">
</text>
</view>
</view>
</view>
<view
class=
"learn-class1 u-margin-left-30"
@
click=
"goPlay(courselist[1])"
>
<view
class=
"u-font-20 learn-intro h48"
>
<image
class=
"learn-img"
:src=
"courselist[1].pic"
mode=
""
></image>
{{
courselist
[
0
].
desc
}}
<image
class=
"bofang"
:src=
"bofang"
mode=
""
></image>
<view
class=
"learn-desc"
>
<view
class=
"u-font-28 font-bold h68"
>
{{
courselist
[
1
].
title
}}
</view>
<view
class=
"u-font-20 learn-intro h48"
>
{{
courselist
[
1
].
desc
}}
</view>
</view>
<view
class=
"line-percent u-margin-top-35"
>
<u-line-progress
active-color=
"#2979ff"
:percent=
"courselist[1].percent"
:show-percent=
"false"
>
</u-line-progress>
<text
class=
"font-default-color"
:class=
"
{'font-active-color':courselist[1].percent}"
v-text="courselist[1].status">
</text>
</view>
</view>
</view>
</view>
</view>
<view
class=
"title u-margin-top-50 u-margin-bottom-30"
>
技能课程
</view>
<view
class=
"line-percent u-margin-top-35"
>
<view
class=
"learn-currency-class u-margin-bottom-20"
>
<u-line-progress
active-color=
"#2979ff"
:percent=
"courselist[0].percent"
<view
class=
"learn-class1"
@
click=
"goPlay(courselist[2])"
>
:show-percent=
"false"
>
<image
class=
"learn-img"
:src=
"courselist[2].pic"
mode=
""
></image>
</u-line-progress>
<image
class=
"bofang"
:src=
"bofang"
mode=
""
></image>
<text
class=
"font-default-color"
:class=
"
{'font-active-color':courselist[0].percent}"
<view
class=
"learn-desc"
>
v-text="courselist[0].status">
</text>
<view
class=
"u-font-28 font-bold h68"
>
</view>
{{
courselist
[
2
].
title
}}
</view>
</view>
<view
class=
"learn-class1 u-margin-left-30"
@
click=
"goPlay(courselist[1])"
>
<view
class=
"u-font-20 learn-intro h48"
>
<image
class=
"learn-img"
:src=
"courselist[1].pic"
mode=
""
></image>
{{
courselist
[
2
].
desc
}}
<image
class=
"bofang"
:src=
"bofang"
mode=
""
></image>
</view>
<view
class=
"learn-desc"
>
</view>
<view
class=
"u-font-28 font-bold h68"
>
<view
class=
"line-percent u-margin-top-35"
{{
courselist
[
1
].
title
}}
style=
"display:flex;justify-content: space-between;"
>
<u-line-progress
active-color=
"#2979ff"
:percent=
"courselist[2].percent"
:show-percent=
"false"
>
</u-line-progress>
<text
class=
"font-default-color"
:class=
"
{'font-active-color':courselist[2].percent}"
v-text="courselist[2].status">
</text>
</view>
</view>
</view>
<view
class=
"u-font-20 learn-intro h48"
>
{{
courselist
[
1
].
desc
}}
</view>
</view>
<view
class=
"line-percent u-margin-top-35"
>
<u-line-progress
active-color=
"#2979ff"
:percent=
"courselist[1].percent"
:show-percent=
"false"
>
</u-line-progress>
<text
class=
"font-default-color"
:class=
"
{'font-active-color':courselist[1].percent}"
v-text="courselist[1].status">
</text>
</view>
</view>
</view>
<view
class=
"title u-margin-top-30 u-margin-bottom-30"
>
技能课程
</view>
<view
class=
"learn-currency-class u-margin-bottom-20"
style=
"padding-bottom: 300rpx;"
>
<view
class=
"learn-class1"
@
click=
"goPlay(courselist[2])"
>
<image
class=
"learn-img"
:src=
"courselist[2].pic"
mode=
""
></image>
<image
class=
"bofang"
:src=
"bofang"
mode=
""
></image>
<view
class=
"learn-desc"
>
<view
class=
"u-font-28 font-bold h68"
>
{{
courselist
[
2
].
title
}}
</view>
<view
class=
"u-font-20 learn-intro h48"
>
{{
courselist
[
2
].
desc
}}
</view>
</view>
<view
class=
"line-percent u-margin-top-35"
style=
"display:flex;justify-content: space-between;"
>
<u-line-progress
active-color=
"#2979ff"
:percent=
"courselist[2].percent"
:show-percent=
"false"
>
</u-line-progress>
<text
class=
"font-default-color"
:class=
"
{'font-active-color':courselist[2].percent}"
v-text="courselist[2].status">
</text>
</view>
</view>
</view>
</view>
</view>
</view>
</scroll-view>
</scroll-view>
</swiper-item>
</swiper-item>
<swiper-item>
<swiper-item
@
touchmove
.
stop
.
prevent=
"stopTouchMove"
v-show=
"current == 3"
>
<scroll-view
scroll-y
style=
"height:100%;width:100%;"
>
<scroll-view
scroll-y
style=
"height:100%;width:100%;"
>
<view
class=
"lean"
>
<view
class=
"title u-margin-top-10 u-margin-bottom-30"
>
通用认证
</view>
<view
class=
"top"
>
<view
class=
"currency-class"
>
<view
class=
"title u-margin-top-10 u-margin-bottom-30"
>
通用认证
</view>
<view
class=
"class1"
@
click=
"aaa(0)"
>
<view
class=
"currency-class"
>
<image
class=
"img"
:src=
"examList[0].pic"
mode=
""
></image>
<view
class=
"class1"
@
click=
"aaa(0)"
>
<view
class=
"right"
>
<image
class=
"img"
:src=
"examList[0].pic"
mode=
""
></image>
<view
class=
"u-font-32 font-bold"
>
<view
class=
"right"
>
{{
examList
[
0
].
title
}}
<view
class=
"u-font-32 font-bold"
>
{{
examList
[
0
].
title
}}
</view>
<view
class=
"u-font-24"
>
{{
examList
[
0
].
desc
}}
</view>
<view
class=
"u-font-24"
style=
"display:flex;justify-content: space-between;"
>
<text
class=
"font-color-999999"
>
{{
examList
[
0
].
condition
}}
</text>
<text
class=
"font-default-exam-color"
:class=
"
{'font-active-color':examList[0].isComplete}">
{{
examList
[
0
].
status
}}
</text>
</view>
</view>
</view>
</view>
<view
class=
"class1 u-margin-top-40"
@
click=
"aaa(1)"
>
<view
class=
"u-font-24"
>
<image
class=
"img"
:src=
"examList[1].pic"
mode=
""
></image>
{{
examList
[
0
].
desc
}}
<view
class=
"right"
>
</view>
<view
class=
"u-font-32 font-bold"
>
<view
class=
"u-font-24"
style=
"display:flex;justify-content: space-between;"
>
{{
examList
[
1
].
title
}}
<text
class=
"font-color-999999"
>
{{
examList
[
0
].
condition
}}
</text>
</view>
<text
class=
"font-default-exam-color"
<view
class=
"u-font-24"
>
:class=
"
{'font-active-color':examList[0].isComplete}">
{{
examList
[
1
].
desc
}}
{{
examList
[
0
].
status
}}
</view>
</text>
<view
class=
"u-font-24"
style=
"display:flex;justify-content: space-between;"
>
<text
class=
"font-color-999999"
>
{{
examList
[
1
].
condition
}}
</text>
<text
class=
"font-default-exam-color"
:class=
"
{'font-active-color':examList[1].isComplete}">
{{
examList
[
1
].
status
}}
</text>
</view>
</view>
</view>
</view>
</view>
</view>
<!--
<view
class=
"title u-margin-top-50 u-margin-bottom-30"
>
技能认证
</view>
</view>
<view
class=
"currency-class"
>
<view
class=
"class1 u-margin-top-40"
@
click=
"aaa(1)"
>
<view
class=
"class1"
@
click=
"aaa(2)"
>
<image
class=
"img"
:src=
"examList[1].pic"
mode=
""
></image>
<image
class=
"img"
:src=
"examList[2].pic"
mode=
""
></image>
<view
class=
"right"
>
<view
class=
"right"
>
<view
class=
"u-font-32 font-bold"
>
<view
class=
"u-font-32 font-bold"
>
{{
examList
[
1
].
title
}}
{{
examList
[
2
].
title
}}
</view>
<view
class=
"u-font-24"
>
{{
examList
[
2
].
desc
}}
</view>
<view
class=
"u-font-24"
style=
"display:flex;justify-content: space-between;"
>
<text
class=
"font-color-999999"
>
{{
examList
[
2
].
condition
}}
</text>
<text
class=
"font-default-exam-color"
:class=
"
{'font-active-color':examList[2].isComplete}">
{{
examList
[
2
].
status
}}
</text>
</view>
</view>
</view>
</view>
</view>
-->
<view
class=
"u-font-24"
>
{{
examList
[
1
].
desc
}}
</view>
<view
class=
"u-font-24"
style=
"display:flex;justify-content: space-between;"
>
<text
class=
"font-color-999999"
>
{{
examList
[
1
].
condition
}}
</text>
<text
class=
"font-default-exam-color"
:class=
"
{'font-active-color':examList[1].isComplete}">
{{
examList
[
1
].
status
}}
</text>
</view>
</view>
</view>
</view>
</view>
</view>
<!--
<view
class=
"title u-margin-top-30 u-margin-bottom-30"
>
技能认证
</view>
<view
class=
"currency-class"
>
<view
class=
"class1"
@
click=
"aaa(2)"
>
<image
class=
"img"
:src=
"examList[2].pic"
mode=
""
></image>
<view
class=
"right"
>
<view
class=
"u-font-32 font-bold"
>
{{
examList
[
2
].
title
}}
</view>
<view
class=
"u-font-24"
>
{{
examList
[
2
].
desc
}}
</view>
<view
class=
"u-font-24"
style=
"display:flex;justify-content: space-between;"
>
<text
class=
"font-color-999999"
>
{{
examList
[
2
].
condition
}}
</text>
<text
class=
"font-default-exam-color"
:class=
"
{'font-active-color':examList[2].isComplete}">
{{
examList
[
2
].
status
}}
</text>
</view>
</view>
</view>
</view>
-->
</scroll-view>
</scroll-view>
</swiper-item>
</swiper-item>
</swiper>
</swiper>
...
@@ -188,7 +177,6 @@
...
@@ -188,7 +177,6 @@
</
template
>
</
template
>
<
script
>
<
script
>
import
util
from
'@/utils/util.js'
var
json
=
{
var
json
=
{
"dev"
:
[{
"dev"
:
[{
"title"
:
"服务规范"
,
"title"
:
"服务规范"
,
...
@@ -199,7 +187,7 @@
...
@@ -199,7 +187,7 @@
"sectionId"
:
""
"sectionId"
:
""
},
},
{
{
"title"
:
"接单
操作
"
,
"title"
:
"接单
规范
"
,
"desc"
:
"快速学习,使用APP 接单、抢单"
,
"desc"
:
"快速学习,使用APP 接单、抢单"
,
"percent"
:
0
,
"percent"
:
0
,
"status"
:
""
,
"status"
:
""
,
...
@@ -224,7 +212,7 @@
...
@@ -224,7 +212,7 @@
"sectionId"
:
""
"sectionId"
:
""
},
},
{
{
"title"
:
"接单
操作
"
,
"title"
:
"接单
规范
"
,
"desc"
:
"快速学习,使用APP 接单、抢单"
,
"desc"
:
"快速学习,使用APP 接单、抢单"
,
"percent"
:
0
,
"percent"
:
0
,
"status"
:
""
,
"status"
:
""
,
...
@@ -248,7 +236,7 @@
...
@@ -248,7 +236,7 @@
"sectionId"
:
""
"sectionId"
:
""
},
},
{
{
"title"
:
"接单
操作
"
,
"title"
:
"接单
规范
"
,
"desc"
:
"快速学习,使用APP 接单、抢单"
,
"desc"
:
"快速学习,使用APP 接单、抢单"
,
"percent"
:
0
,
"percent"
:
0
,
"status"
:
""
,
"status"
:
""
,
...
@@ -335,7 +323,6 @@
...
@@ -335,7 +323,6 @@
}
}
]
]
}
}
// import aJson from "@/static/json/learn.json";
let
env
=
process
.
uniEnv
.
node_env
;
let
env
=
process
.
uniEnv
.
node_env
;
let
courseListJson
=
json
.
[
env
];
let
courseListJson
=
json
.
[
env
];
let
examListJson
=
examJson
[
env
];
let
examListJson
=
examJson
[
env
];
...
@@ -430,14 +417,13 @@
...
@@ -430,14 +417,13 @@
// isComplete: false
// isComplete: false
// }
// }
],
],
loadStatus
:
"loading"
,
//加载样式:loadMore-加载前样式,loading-加载加载中样式,nomore-没有数据样式
loadStatus
:
"loading"
,
isLoadMore
:
false
,
//是否加载中
isLoadMore
:
false
,
exam
:
null
,
exam
:
null
,
jianBianImg
:
process
.
uniEnv
.
qn_base_url
+
"jianbian@3x_bak1.png"
jianBianImg
:
process
.
uniEnv
.
qn_base_url
+
"jianbian@3x_bak1.png"
};
};
},
},
onLoad
(
param
)
{
onLoad
(
param
)
{
// debugger
console
.
log
(
'--node_env--'
);
console
.
log
(
'--node_env--'
);
console
.
log
(
process
.
uniEnv
.
node_env
);
console
.
log
(
process
.
uniEnv
.
node_env
);
try
{
try
{
...
@@ -446,9 +432,6 @@
...
@@ -446,9 +432,6 @@
this
.
swiperCurrent
=
param
.
tabs
;
this
.
swiperCurrent
=
param
.
tabs
;
}
}
}
catch
(
e
)
{}
}
catch
(
e
)
{}
// this.getList();
// this.getCourseList();
// this.getUserExamInfo();
},
},
computed
:
{
computed
:
{
bannerImage
()
{
bannerImage
()
{
...
@@ -456,11 +439,13 @@
...
@@ -456,11 +439,13 @@
},
},
},
},
onShow
:
function
()
{
onShow
:
function
()
{
// debugger
this
.
tabsChange
(
this
.
current
);
// this.onLoad();
console
.
log
(
'--返回也可以执行--'
);
console
.
log
(
'--返回也可以执行--'
);
},
},
methods
:
{
methods
:
{
stopTouchMove
()
{
return
false
;
},
getList
()
{
getList
()
{
this
.
$u
.
api
this
.
$u
.
api
.
getTrainingNoticeList
(
this
.
params
)
.
getTrainingNoticeList
(
this
.
params
)
...
@@ -512,9 +497,7 @@
...
@@ -512,9 +497,7 @@
timeFormat
(
time
,
format
,
fromMysql
=
true
)
{
timeFormat
(
time
,
format
,
fromMysql
=
true
)
{
let
rate
=
fromMysql
?
1000
:
1
;
let
rate
=
fromMysql
?
1000
:
1
;
let
dataFmt
=
format
||
'yyyy-MM-dd hh:mm:ss'
// 需要格式化的规则
let
dataFmt
=
format
||
'yyyy-MM-dd hh:mm:ss'
// 需要格式化的规则
time
=
typeof
(
time
)
==
'number'
?
time
:
new
Date
(
time
*
rate
)
// 处理传入的time
time
=
typeof
(
time
)
==
'number'
?
time
:
new
Date
(
time
*
rate
)
// 处理传入的time
let
fmt
=
{
let
fmt
=
{
'y+'
:
time
.
getFullYear
(),
// 年份
'y+'
:
time
.
getFullYear
(),
// 年份
'M+'
:
time
.
getMonth
()
+
1
,
// 月份
'M+'
:
time
.
getMonth
()
+
1
,
// 月份
...
@@ -585,11 +568,6 @@
...
@@ -585,11 +568,6 @@
break
;
break
;
}
}
},
},
//swiper-item左右移动,通知tabs的滑块跟随移动
transition
(
e
)
{
let
dx
=
e
.
detail
.
dx
;
this
.
$refs
.
uTabs
.
setDx
(
dx
);
},
animationfinish
(
e
)
{
animationfinish
(
e
)
{
let
current
=
e
.
detail
.
current
;
let
current
=
e
.
detail
.
current
;
this
.
$refs
.
uTabs
.
setFinishCurrent
(
current
);
this
.
$refs
.
uTabs
.
setFinishCurrent
(
current
);
...
@@ -721,17 +699,13 @@
...
@@ -721,17 +699,13 @@
wx
.
navigateTo
({
wx
.
navigateTo
({
url
:
'/pages/learn/news-details'
,
url
:
'/pages/learn/news-details'
,
success
:
function
(
res
)
{
success
:
function
(
res
)
{
// 通过eventChannel向被打开页面传送数据
res
.
eventChannel
.
emit
(
'acceptDataFromLearn'
,
news
)
res
.
eventChannel
.
emit
(
'acceptDataFromLearn'
,
news
)
}
}
});
});
console
.
log
(
"跳转结束11111111"
);
},
},
},
},
};
};
</
script
>
</
script
>
<
style
>
<
style
>
.study
{
.study
{
height
:
100vh
;
height
:
100vh
;
...
@@ -751,7 +725,7 @@
...
@@ -751,7 +725,7 @@
margin-top
:
10
rpx
;
margin-top
:
10
rpx
;
}
}
/*
//
交付规范 */
/* 交付规范 */
.standard
{
.standard
{
width
:
690
rpx
;
width
:
690
rpx
;
height
:
180
rpx
;
height
:
180
rpx
;
...
@@ -766,7 +740,7 @@
...
@@ -766,7 +740,7 @@
background-color
:
#FFFFFF
;
background-color
:
#FFFFFF
;
}
}
/*
//
培训通知 */
/* 培训通知 */
.notice
{
.notice
{
/* border: #808080 solid 2rpx; */
/* border: #808080 solid 2rpx; */
width
:
100%
;
width
:
100%
;
...
@@ -795,13 +769,11 @@
...
@@ -795,13 +769,11 @@
margin-bottom
:
20
rpx
;
margin-bottom
:
20
rpx
;
}
}
/*
//
在线学习 */
/* 在线学习 */
.currency-class
{
.currency-class
{
width
:
100%
;
width
:
100%
;
/* height: 340rpx; */
background
:
#ffffff
;
background
:
#ffffff
;
padding
:
30
rpx
;
padding
:
30
rpx
;
/* margin-bottom: 11px; */
border-radius
:
12
rpx
;
border-radius
:
12
rpx
;
}
}
...
@@ -896,13 +868,12 @@
...
@@ -896,13 +868,12 @@
}
}
swiper
{
swiper
{
height
:
691
rpx
;
height
:
920
rpx
;
}
}
.line-percent
{
.line-percent
{
display
:
flex
;
display
:
flex
;
justify-content
:
space-between
;
justify-content
:
space-between
;
//
line-height
:
24
rpx
;
font-size
:
24
rpx
;
font-size
:
24
rpx
;
color
:
#999999
;
color
:
#999999
;
margin
:
20
rpx
;
margin
:
20
rpx
;
...
@@ -949,8 +920,6 @@
...
@@ -949,8 +920,6 @@
color
:
#999999
;
color
:
#999999
;
}
}
.standard
{}
.standard-img
{
.standard-img
{
width
:
160
rpx
;
width
:
160
rpx
;
height
:
120
rpx
;
height
:
120
rpx
;
...
@@ -979,7 +948,6 @@
...
@@ -979,7 +948,6 @@
}
}
.notice-bottom-left
{
.notice-bottom-left
{
/* margin-left: 30rpx; */
font-size
:
24
rpx
;
font-size
:
24
rpx
;
color
:
#999999
;
color
:
#999999
;
}
}
...
@@ -1012,17 +980,18 @@
...
@@ -1012,17 +980,18 @@
font-size
:
20
rpx
;
font-size
:
20
rpx
;
}
}
.h68
{
//
height
:
68
rpx
;
}
.h48
{
.h48
{
height
:
48
rpx
;
height
:
48
rpx
;
}
}
.current-img
{
.current-img
{
width
:
100%
;
width
:
100%
;
height
:
100%
;
height
:
100%
;
position
:
absolute
;
position
:
absolute
;
}
}
.load-more
{
padding-top
:
50
rpx
;
padding-bottom
:
200
rpx
;
}
</
style
>
</
style
>
src/pages/learn/news-details.vue
View file @
4e5c22c8
...
@@ -41,6 +41,7 @@
...
@@ -41,6 +41,7 @@
line-height
:
36
rpx
;
line-height
:
36
rpx
;
color
:
#666666
;
color
:
#666666
;
margin-left
:
30
rpx
;
margin-left
:
30
rpx
;
margin-top
:
30
rpx
;
margin-top
:
30
rpx
;
margin-right
:
30
rpx
;
}
}
</
style
>
</
style
>
src/pages/learn/section.vue
View file @
4e5c22c8
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
<view
class=
"uni-padding-wrap uni-common-mt"
>
<view
class=
"uni-padding-wrap uni-common-mt"
>
<view><video
object-fit=
"cover"
class=
"course-video"
id=
"courseVideo"
:src=
"courseSrc"
<view><video
object-fit=
"cover"
class=
"course-video"
id=
"courseVideo"
:src=
"courseSrc"
:options=
"playerOptions"
:playsinline=
"true"
@
play=
"playCourse"
@
error=
"videoErrorCallback"
:options=
"playerOptions"
:playsinline=
"true"
@
play=
"playCourse"
@
error=
"videoErrorCallback"
@
ready=
"playerReadied"
@
timeupdate=
"onPlayerTimeupdate($event)"
controls
></video></view>
@
ready=
"playerReadied"
@
timeupdate=
"onPlayerTimeupdate($event)"
autoplay=
"true"
controls
></video></view>
<view
class=
"title-content"
>
<view
class=
"title-content"
>
<view
class=
"item-content"
>
<view
class=
"item-content"
>
<view
class=
"item-st"
>
<view
class=
"item-st"
>
...
@@ -239,7 +239,7 @@
...
@@ -239,7 +239,7 @@
this
.
section_id
=
res
.
data
.
id
;
this
.
section_id
=
res
.
data
.
id
;
this
.
section_content
=
res
.
data
.
content
;
this
.
section_content
=
res
.
data
.
content
;
this
.
teacher
.
name
=
res
.
data
.
teachers
[
0
].
name
;
this
.
teacher
.
name
=
res
.
data
.
teachers
[
0
].
name
;
this
.
teacher
.
avatar
=
res
.
data
.
teachers
[
0
].
avatar
;
this
.
teacher
Image
=
res
.
data
.
teachers
[
0
].
avatar
;
this
.
teacherIntro
=
res
.
data
.
teachers
[
0
].
intro
.
replace
(
/<p.*
?
>|<
\/
p>/ig
,
""
);
this
.
teacherIntro
=
res
.
data
.
teachers
[
0
].
intro
.
replace
(
/<p.*
?
>|<
\/
p>/ig
,
""
);
this
.
params
.
course_id
=
res
.
data
.
course_id
;
this
.
params
.
course_id
=
res
.
data
.
course_id
;
if
(
this
.
isShowVideo
)
{
if
(
this
.
isShowVideo
)
{
...
...
src/static/photo/guifan@3x.png
deleted
100644 → 0
View file @
eadf0763
17.9 KB
src/static/photo/jianbian@3x.png
deleted
100644 → 0
View file @
eadf0763
21.9 KB
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment