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
f4fcd1b7
Commit
f4fcd1b7
authored
May 17, 2021
by
林文清
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update:学习样式
parent
b2576e8a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
9 deletions
+12
-9
pages.json
src/pages.json
+2
-1
learn.vue
src/pages/index/learn.vue
+7
-5
section.vue
src/pages/learn/section.vue
+3
-3
No files found.
src/pages.json
View file @
f4fcd1b7
...
...
@@ -204,7 +204,8 @@
"path"
:
"cert/index"
,
"style"
:
{
"navigationBarTitleText"
:
"我的证件"
,
"navigationStyle"
:
"custom"
"navigationStyle"
:
"custom"
,
"disableScroll"
:
true
}
},
{
...
...
src/pages/index/learn.vue
View file @
f4fcd1b7
...
...
@@ -7,7 +7,7 @@
<u-tabs-swiper
bg-color=
"#F4F5F7"
inactive-color=
"#999999"
font-size=
"28"
ref=
"uTabs"
:list=
"tabs"
:current=
"current"
@
change=
"tabsChange"
:is-scroll=
"false"
:bar-width=
"52"
swiperWidth=
"750"
></u-tabs-swiper>
<swiper
class=
"swiper_group"
:current=
"swiperCurrent"
@
transition=
"transition"
@
animationfinish=
"animationfinish"
>
<swiper-item
@
touchmove
.
stop
.
prevent=
"stopTouchMove"
v-show=
"current == 0"
>
<swiper-item
@
touchmove
.
stop
.
prevent=
"stopTouchMove"
>
<scroll-view
scroll-y
style=
"height:100%;width:100%;"
>
<view
class=
"jf-currency-class"
>
<image
:src=
"jianBianImg"
mode=
""
class=
"current-img"
></image>
...
...
@@ -22,7 +22,7 @@
</view>
</scroll-view>
</swiper-item>
<swiper-item
@
touchmove
.
stop
.
prevent=
"stopTouchMove"
v-show=
"current == 1"
>
<swiper-item
@
touchmove
.
stop
.
prevent=
"stopTouchMove"
>
<scroll-view
scroll-y
style=
"height:100%;width:100%;"
@
scrolltolower=
"onreachBottom"
scroll-y=
"true"
refresher-enabled=
"true"
:refresher-triggered=
"triggered"
:refresher-threshold=
"100"
@
refresherpulling=
"onPulling"
@
refresherrefresh=
"onRefresh"
@
refresherrestore=
"onRestore"
@
refresherabort=
"onAbort"
>
<view
v-for=
"item in list"
:key=
"item.id"
class=
"notice"
@
click=
"bbb(item)"
>
<view
class=
"n-head"
>
...
...
@@ -42,7 +42,7 @@
</view>
</scroll-view>
</swiper-item>
<swiper-item
@
touchmove
.
stop
.
prevent=
"stopTouchMove"
v-show=
"current == 2"
>
<swiper-item
@
touchmove
.
stop
.
prevent=
"stopTouchMove"
>
<scroll-view
scroll-y
style=
"height:100%;width:100%;"
>
<view
class=
"title u-margin-top-10 u-margin-bottom-30"
>
通用课程
</view>
<view
class=
"learn-currency-class"
>
...
...
@@ -102,7 +102,7 @@
</view>
</scroll-view>
</swiper-item>
<swiper-item
@
touchmove
.
stop
.
prevent=
"stopTouchMove"
v-show=
"current == 3"
>
<swiper-item
@
touchmove
.
stop
.
prevent=
"stopTouchMove"
>
<scroll-view
scroll-y
style=
"height:100%;width:100%;"
>
<view
class=
"title u-margin-top-10 u-margin-bottom-30"
>
通用认证
</view>
<view
class=
"currency-class"
>
...
...
@@ -407,6 +407,7 @@ export default {
isReflesh
:
true
,
triggered
:
false
,
_freshing
:
false
,
isOnLoad
:
0
};
},
onLoad
(
param
)
{
...
...
@@ -424,13 +425,14 @@ export default {
},
},
onShow
:
function
(
param
)
{
this
.
isOnLoad
=
1
;
try
{
if
(
param
.
tabs
)
{
this
.
current
=
param
.
tabs
;
this
.
swiperCurrent
=
param
.
tabs
;
}
}
catch
(
e
)
{}
if
(
this
.
current
==
2
||
this
.
current
==
3
)
{
if
(
this
.
current
==
1
||
this
.
current
==
2
||
this
.
current
==
3
)
{
this
.
tabsChange
(
this
.
current
);
}
},
...
...
src/pages/learn/section.vue
View file @
f4fcd1b7
...
...
@@ -32,6 +32,7 @@
<view
class=
"teacher-intro"
>
{{
teacherIntro
}}
</view>
</view>
</view>
<u-line
color=
"#F4F5F7"
margin=
"30rpx 0 0 0"
/>
<view
class=
"learn-view-title"
>
目录
</view>
<view
class=
"scroll_box"
>
<scroll-view
scroll-x
@
scroll=
"scroll"
:scroll-left=
"scrollValue"
>
...
...
@@ -372,13 +373,13 @@
font-size
:
32rpx
;
color
:
#333333
;
height
:
820rpx
;
padding
:
0
30rpx
;
.learn-view-title
{
font-size
:
32rpx
;
font-weight
:
bold
;
margin-bottom
:
10rpx
;
padding-top
:
30rpx
;
margin-left
:
30rpx
;
}
.learn-list
{
...
...
@@ -455,7 +456,6 @@
width
:
100%
;
height
:
150rpx
;
overflow
:
hidden
;
padding-left
:
20rpx
;
background
:
#fff
;
margin-top
:
30rpx
;
}
...
...
@@ -490,9 +490,9 @@
.teacher-disc
{
font-size
:
24rpx
;
margin-left
:
30rpx
;
margin-top
:
6rpx
;
color
:
#999999
;
padding-left
:
30rpx
;
}
.kc-image
{
...
...
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