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
ae0a94c0
Commit
ae0a94c0
authored
Apr 20, 2021
by
Facius
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
界面更新
parent
9f6da214
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
41 additions
and
39 deletions
+41
-39
course-detail.vue
src/pages/learn/course-detail.vue
+26
-30
exam.vue
src/pages/learn/exam.vue
+15
-9
No files found.
src/pages/learn/course-detail.vue
View file @
ae0a94c0
...
@@ -4,8 +4,9 @@
...
@@ -4,8 +4,9 @@
<view><video
object-fit=
"cover"
class=
"course-video"
id=
"courseVideo"
:src=
"courseSrc"
<view><video
object-fit=
"cover"
class=
"course-video"
id=
"courseVideo"
:src=
"courseSrc"
@
error=
"videoErrorCallback"
controls
></video></view>
@
error=
"videoErrorCallback"
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"
>
<image
style=
"width: 80rpx;height: 36rpx;"
:src=
"kcImage"
></image>
<text
class=
"item-st-text"
>
{{
courseTitle
.
split
(
' '
)
?
courseTitle
.
split
(
' '
)[
0
]
:
''
}}
</text>
<text
class=
"item-st-text"
>
{{
courseTitle
.
split
(
' '
)
?
courseTitle
.
split
(
' '
)[
0
]
:
''
}}
</text>
</view>
</view>
<view
class=
"item-title"
>
{{
courseTitle
.
split
(
' '
)
?
courseTitle
.
split
(
' '
)[
1
]
:
''
}}
</view>
<view
class=
"item-title"
>
{{
courseTitle
.
split
(
' '
)
?
courseTitle
.
split
(
' '
)[
1
]
:
''
}}
</view>
...
@@ -63,6 +64,9 @@
...
@@ -63,6 +64,9 @@
'1、勘测环节录单要求'
,
'1、勘测环节录单要求'
,
'2、安装环节录单要求'
'2、安装环节录单要求'
]]
]]
},
kcImage
()
{
return
qn_base_url
+
'kc.png'
}
}
},
},
onLoad
(
e
)
{
onLoad
(
e
)
{
...
@@ -168,28 +172,32 @@
...
@@ -168,28 +172,32 @@
font-size
:
24rpx
;
font-size
:
24rpx
;
.item-content
{
.item-content
{
display
:
flex
;
display
:
flex
;
align-items
:
center
;
}
}
.item-st
{
.item-st
{
width
:
80rpx
;
width
:
80rpx
;
height
:
36rpx
;
height
:
36rpx
;
background-image
:
linear-gradient
(
to
right
,
#FF930D
,
#FFC174
);
padding-right
:
2rpx
;
font-size
:
16rpx
;
text-align
:
center
;
border-radius
:
6rpx
36rpx
36rpx
6rpx
;
margin-right
:
20rpx
;
padding-top
:
8rpx
;
line-height
:
24rpx
;
padding-right
:
2rpx
;
position
:
relative
;
text-align
:
center
;
.item-st-text
{
margin-right
:
20rpx
;
color
:
#FFFFFF
;
position
:
absolute
;
.item-st-text
{
font-size
:
16rpx
;
color
:
#FFFFFF
;
left
:
20rpx
;
}
top
:
8rpx
;
line-height
:
28rpx
;
}
}
}
.item-title
{
.item-title
{
color
:
#333333
;
color
:
#333333
;
font-size
:
28rpx
;
font-size
:
44rpx
;
font-weight
:
bold
;
}
}
}
}
...
@@ -199,18 +207,6 @@
...
@@ -199,18 +207,6 @@
padding-bottom
:
30rpx
;
padding-bottom
:
30rpx
;
}
}
.item-st
{
width
:
80rpx
;
height
:
36rpx
;
background-image
:
linear-gradient
(
to
right
,
#FF930D
,
#FFC174
);
font-size
:
16rpx
;
border-radius
:
6rpx
36rpx
36rpx
6rpx
;
padding-top
:
8rpx
;
padding-right
:
2rpx
;
text-align
:
center
;
margin-right
:
20rpx
;
}
.item-title
{
.item-title
{
color
:
#333333
;
color
:
#333333
;
font-size
:
28rpx
;
font-size
:
28rpx
;
...
...
src/pages/learn/exam.vue
View file @
ae0a94c0
...
@@ -9,9 +9,10 @@
...
@@ -9,9 +9,10 @@
<view
class=
"learn-view-title"
>
接单操作须知
</view>
<view
class=
"learn-view-title"
>
接单操作须知
</view>
<view
class=
"learn-list"
v-for=
"(item, key) in tutorials"
:key=
"key"
>
<view
class=
"learn-list"
v-for=
"(item, key) in tutorials"
:key=
"key"
>
<view
class=
"learn-list-item"
>
<view
class=
"learn-list-item"
>
<view
class=
"item-content"
>
<view
class=
"item-content"
>
<view
class=
"item-st"
><text
<view
class=
"item-st"
>
class=
"item-st-text"
>
{{
item
.
title
.
split
(
' '
)
?
item
.
title
.
split
(
' '
)[
0
]
:
''
}}
</text>
<image
style=
"width: 80rpx;height: 36rpx;"
:src=
"kcImage"
></image>
<text
class=
"item-st-text"
>
{{
item
.
title
.
split
(
' '
)
?
item
.
title
.
split
(
' '
)[
0
]
:
''
}}
</text>
</view>
</view>
<view
class=
"item-title"
>
{{
item
.
title
.
split
(
' '
)
?
item
.
title
.
split
(
' '
)[
1
]
:
''
}}
</view>
<view
class=
"item-title"
>
{{
item
.
title
.
split
(
' '
)
?
item
.
title
.
split
(
' '
)[
1
]
:
''
}}
</view>
</view>
</view>
...
@@ -139,6 +140,9 @@
...
@@ -139,6 +140,9 @@
},
},
tips1Image
()
{
tips1Image
()
{
return
qn_base_url
+
'tips1.png'
return
qn_base_url
+
'tips1.png'
},
kcImage
()
{
return
qn_base_url
+
'kc.png'
}
}
},
},
onLoad
()
{
onLoad
()
{
...
@@ -291,16 +295,18 @@
...
@@ -291,16 +295,18 @@
.item-st
{
.item-st
{
width
:
80rpx
;
width
:
80rpx
;
height
:
36rpx
;
height
:
36rpx
;
background-image
:
linear-gradient
(
to
right
,
#FF930D
,
#FFC174
);
font-size
:
16rpx
;
border-radius
:
6rpx
36rpx
36rpx
6rpx
;
padding-top
:
8rpx
;
padding-right
:
2rpx
;
padding-right
:
2rpx
;
text-align
:
center
;
text-align
:
center
;
margin-right
:
20rpx
;
margin-right
:
20rpx
;
line-height
:
24rpx
;
line-height
:
24rpx
;
position
:
relative
;
.item-st-text
{
.item-st-text
{
color
:
#FFFFFF
;
color
:
#FFFFFF
;
position
:
absolute
;
font-size
:
16rpx
;
left
:
20rpx
;
top
:
8rpx
;
line-height
:
28rpx
;
}
}
}
}
...
...
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