Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
take_order
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
和慭琛
take_order
Commits
cda8946c
Commit
cda8946c
authored
Jan 28, 2021
by
和慭琛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
培训视频页 原型图页面搭建 交互 100%
parent
659aab99
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
164 additions
and
1 deletion
+164
-1
pages.json
take-order/pages.json
+8
-0
web.vue
take-order/pages/take/web.vue
+7
-1
index.vue
take-order/pages/video/index.vue
+149
-0
No files found.
take-order/pages.json
View file @
cda8946c
...
...
@@ -8,6 +8,14 @@
{
"path"
:
"pages/video/index"
,
"style"
:
{
"navigationBarTitleText"
:
"培训&考试"
}
},
{
"path"
:
"pages/exam/index"
,
"style"
:
{
"navigationBarTitleText"
:
"入驻考试"
...
...
take-order/pages/take/web.vue
View file @
cda8946c
...
...
@@ -13,8 +13,14 @@
},
onLoad
(
e
)
{
getApp
().
trackPage
(
'师傅入驻页'
)
getApp
().
trackPage
(
'内置网页'
)
if
(
e
&&
e
.
url
){
this
.
webUrl
=
e
.
url
return
}
//https://system.banshouhui.com/weixiuapp/site/index.html#/?pioneerId=40
getApp
().
trackPage
(
'师傅入驻页'
)
this
.
webUrl
=
getApp
().
globalData
.
domain_Name
+
'/weixiuapp/site/index.html#/?pioneerId=40'
//console.log(this.webUrl)
...
...
take-order/pages/video/index.vue
0 → 100644
View file @
cda8946c
<
template
>
<view
class=
"backView"
>
<view
class=
"itemView"
v-for=
"(item,ikey) in dataList"
:key=
"ikey"
@
click=
"itemClick(item,ikey)"
>
<view
class=
"titleView"
>
<text
class=
"title"
>
{{
item
.
title
}}
</text>
<image
class=
"arrow"
:src=
"icon_arrow_right"
mode=
""
></image>
</view>
<text
class=
"notice"
>
时长:5分钟,已完成学习
</text>
</view>
<view
class=
"bottomView"
>
<view
class=
"bottomBtn"
@
click=
"examClick()"
>
<text
class=
"bottomTitle"
>
完成学习后,可参加考试
</text>
</view>
</view>
</view>
</
template
>
<
script
>
export
default
{
data
()
{
return
{
icon_arrow_right
:
''
,
dataList
:[],
}
},
onLoad
(
e
)
{
this
.
icon_arrow_right
=
getApp
().
globalData
.
icon_arrow_right
this
.
getData
()
},
methods
:
{
//获取数据
getData
:
function
()
{
this
.
dataList
=
[
{
'title'
:
'第一章 希望的终结'
,
},
{
'title'
:
'第二章 困惑的浪漫'
,
},
{
'title'
:
'第三章 诸神的黄昏'
,
},
];
},
itemClick
:
function
(
item
,
ikey
)
{
uni
.
navigateTo
({
url
:
'/pages/take/web'
+
'?url='
+
'https://www.baidu.com'
,
})
},
//参加考试
examClick
:
function
()
{
uni
.
navigateTo
({
url
:
'/pages/exam/index'
})
}
}
}
</
script
>
<
style
>
.backView
{
background-color
:
#FFFFFF
;
position
:
absolute
;
top
:
0
;
left
:
0
;
width
:
100%
;
display
:
flex
;
flex-direction
:
column
;
}
.itemView
{
background-color
:
#FAFAFA
;
width
:
100%
;
display
:
flex
;
flex-direction
:
column
;
border-bottom
:
2
rpx
solid
#999999
;
}
.titleView
{
background-color
:
#FFFFFF
;
width
:
100%
;
height
:
80
rpx
;
display
:
flex
;
flex-direction
:
row
;
align-items
:
center
;
justify-content
:
space-between
;
border-bottom
:
2
rpx
solid
#999999
;
}
.title
{
font-size
:
28
rpx
;
margin-left
:
40
rpx
;
}
.arrow
{
width
:
16
rpx
;
height
:
28
rpx
;
margin-right
:
40
rpx
;
}
.notice
{
padding-left
:
40
rpx
;
padding-top
:
20
rpx
;
padding-bottom
:
20
rpx
;
font-size
:
28
rpx
;
color
:
#999999
;
}
.bottomView
{
background-color
:
#FFFFFF
;
width
:
100%
;
height
:
140
rpx
;
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
position
:
fixed
;
bottom
:
0
;
}
.bottomBtn
{
background-color
:
#007AFF
;
width
:
60%
;
height
:
80
rpx
;
border-radius
:
40
rpx
;
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
}
.bottomTitle
{
font-size
:
32
rpx
;
color
:
#FFFFFF
;
}
</
style
>
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