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
c27222e7
Commit
c27222e7
authored
Apr 30, 2021
by
林文清
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
学习ui
parent
8cb91d7e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
79 additions
and
13 deletions
+79
-13
index.vue
src/pages/learn/index.vue
+79
-13
jianbian@3x.png
src/static/photo/jianbian@3x.png
+0
-0
No files found.
src/pages/learn/index.vue
View file @
c27222e7
...
@@ -9,13 +9,26 @@
...
@@ -9,13 +9,26 @@
:current=
"current"
@
change=
"tabsChange"
:is-scroll=
"false"
swiperWidth=
"750"
></u-tabs-swiper>
:current=
"current"
@
change=
"tabsChange"
:is-scroll=
"false"
swiperWidth=
"750"
></u-tabs-swiper>
</view>
</view>
<swiper
:current=
"swiperCurrent"
@
transition=
"transition"
@
animationfinish=
"animationfinish"
<swiper
:current=
"swiperCurrent"
@
transition=
"transition"
@
animationfinish=
"animationfinish"
style=
"height: 755rpx;"
>
style=
"height: 755rpx;
padding-top: 30rpx;
"
>
<swiper-item
class=
"swiper-item"
>
<swiper-item
class=
"swiper-item"
>
<scroll-view
scroll-y
style=
"height:796rpx;width:100%;"
@
scrolltolower=
"onreachBottom"
>
<scroll-view
scroll-y
style=
"height:796rpx;width:100%;"
@
scrolltolower=
"onreachBottom"
>
<view
class=
"standard"
@
click=
"goToPrint"
>
<view
class=
"currency-class"
:style=
"
{'background-image':'url(/static/photo/jianbian@3x.png)'}">
<text>
充电桩交付规范
</text>
<view
class=
"class1"
@
click=
ccc(courselist[0].id)
>
<text>
>
</text>
<image
class=
"img"
:src=
"rule.pic"
mode=
""
></image>
<view
class=
"right u-margin-left-30 u-padding-top-10 u-padding-bottom-14 width-360"
>
<view
class=
"u-font-32 font-bold"
>
充电桩交付规范
</view>
<view
class=
"u-font-24"
>
请点击学习
</view>
</view>
<view
class=
"line-percent"
>
<text
class=
"font-default-color"
>
去查看
</text>
</view>
</view>
</view>
</view>
</scroll-view>
</scroll-view>
</swiper-item>
</swiper-item>
<swiper-item
class=
"swiper-item"
>
<swiper-item
class=
"swiper-item"
>
...
@@ -199,6 +212,9 @@
...
@@ -199,6 +212,9 @@
start
:
0
,
start
:
0
,
},
},
list
:
[],
list
:
[],
rule
:
{
pic
:
process
.
uniEnv
.
qn_base_url
+
"guifan1@3x.png"
},
courselist
:
[{
courselist
:
[{
title
:
'服务规范'
,
title
:
'服务规范'
,
desc
:
'为用户提供更好服务,自己赚更多钱'
,
desc
:
'为用户提供更好服务,自己赚更多钱'
,
...
@@ -473,14 +489,12 @@
...
@@ -473,14 +489,12 @@
console
.
log
(
that
.
exam
);
console
.
log
(
that
.
exam
);
if
(
res
.
data
.
examStatus
==
2
)
{
if
(
res
.
data
.
examStatus
==
2
)
{
console
.
log
(
"examStatus "
+
i
+
" 2"
);
console
.
log
(
"examStatus "
+
i
+
" 2"
);
that
.
applyExam
();
return
;
return
;
}
}
if
(
res
.
data
.
examStatus
==
1
)
{
if
(
res
.
data
.
examStatus
==
1
)
{
console
.
log
(
"examStatus "
+
i
+
" 1"
);
console
.
log
(
"examStatus "
+
i
+
" 1"
);
that
.
examList
[
i
].
isComplete
=
true
;
that
.
examList
[
i
].
isComplete
=
true
;
that
.
examScore
=
res
.
data
.
examScore
;
that
.
examScore
=
res
.
data
.
examScore
;
that
.
postResult
();
return
;
return
;
}
}
if
(
res
.
data
.
examStatus
==
0
)
{
if
(
res
.
data
.
examStatus
==
0
)
{
...
@@ -532,12 +546,17 @@
...
@@ -532,12 +546,17 @@
/* //交付规范 */
/* //交付规范 */
.standard
{
.standard
{
width
:
656
rpx
;
width
:
690
rpx
;
height
:
180
rpx
;
display
:
flex
;
display
:
flex
;
justify-content
:
space-between
;
justify-content
:
space-between
;
border-bottom
:
1
rpx
solid
#82848a
;
/* border-bottom: 1rpx solid #82848a; */
padding
:
0
34
rpx
;
/* padding: 0 34rpx; */
margin
:
72
rpx
auto
;
/* margin: 72rpx auto; */
border-radius
:
12
rpx
;
padding
:
30
rpx
;
margin-top
:
30
rpx
;
background-color
:
#FFFFFF
;
}
}
/* //培训通知 */
/* //培训通知 */
...
@@ -549,18 +568,22 @@
...
@@ -549,18 +568,22 @@
overflow
:
hidden
;
overflow
:
hidden
;
background-color
:
#ffffff
;
background-color
:
#ffffff
;
border-radius
:
12
rpx
;
border-radius
:
12
rpx
;
padding
:
30
rpx
;
}
}
.n-head
{
.n-head
{
text-align
:
left
;
text-align
:
left
;
/* margin: 30rpx 30rpx 0 30rpx;
*/
margin-left
:
30
rpx
;
}
}
.news
{
.news
{
height
:
168
rpx
;
height
:
168
rpx
;
overflow
:
hidden
;
overflow
:
hidden
;
/* margin: 30rpx 30rpx 0 30rpx; */
margin-top
:
30
rpx
;
/* margin-top: 30rpx;
margin-left: 30rpx;
margin-right: 30rpx;
margin-bottom: 0; */
}
}
/* //在线学习 */
/* //在线学习 */
...
@@ -665,4 +688,47 @@
...
@@ -665,4 +688,47 @@
.content-line
{
.content-line
{
margin-top
:
30
rpx
;
margin-top
:
30
rpx
;
}
}
.standard
{
}
.standard-img
{
width
:
160
rpx
;
height
:
120
rpx
;
}
.standard-body
{
height
:
120
rpx
;
display
:
flex
;
}
.standard-body-title
{
font-size
:
32
rpx
;
font-weight
:
bold
;
}
.width-360
{
width
:
360
rpx
;
}
.rule-back
{
background-image
:
process
.
uniEnv
.
qn_base_url
+
"banner-xx@3x.png"
;
}
/*
<
view
class
=
"standard"
@click
=
"goToPrint"
>
<!
--
<
text
>
充电桩交付规范
</
text
>
<
text
>></
text
>
--
>
<
view
class
=
"standard-img"
></
view
>
<
view
class
=
"standard-body"
>
<
view
class
=
"standard-body-title"
>
充电桩交付规范
</
view
>
<
view
class
=
"standard-body-title"
>
请点击学习
</
view
>
</
view
>
<
view
cl
ass
=
"standard-go-look-look"
>
去查看
</
view
>*/
</
style
>
</
style
>
src/static/photo/jianbian@3x.png
0 → 100644
View file @
c27222e7
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