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
8cec2f31
Commit
8cec2f31
authored
Feb 26, 2021
by
李俊赕
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
edit-bug
parent
fd1c002e
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
18 additions
and
13 deletions
+18
-13
pages.json
take-order/pages.json
+7
-7
base.vue
take-order/pages/settle/base.vue
+1
-1
index.vue
take-order/pages/settle/index.vue
+1
-1
prompt.vue
take-order/pages/settle/prompt.vue
+3
-1
select.vue
take-order/pages/settle/select.vue
+6
-3
No files found.
take-order/pages.json
View file @
8cec2f31
...
@@ -7,15 +7,15 @@
...
@@ -7,15 +7,15 @@
"pages"
:
[
//pages数组中第一项表示应用启动页,参考:https
:
//uniapp.dcloud.io/collocation/pages
"pages"
:
[
//pages数组中第一项表示应用启动页,参考:https
:
//uniapp.dcloud.io/collocation/pages
{
{
"path"
:
"pages/
exam/index"
,
"path"
:
"pages/
settle/index"
,
"style"
:
{
"style"
:
{
"navigationBarTitleText"
:
"
入驻考试"
"navigationBarTitleText"
:
"
充电桩安装招募"
}
}
},{
},{
"path"
:
"pages/
settle/index"
,
"path"
:
"pages/
exam/index"
,
"style"
:
{
"style"
:
{
"navigationBarTitleText"
:
"
充电桩安装招募"
"navigationBarTitleText"
:
"
入驻考试"
}
}
},{
},{
...
...
take-order/pages/settle/base.vue
View file @
8cec2f31
...
@@ -81,7 +81,7 @@
...
@@ -81,7 +81,7 @@
</view>
</view>
<view
class=
"seat"
></view>
<view
class=
"seat"
></view>
<view
class=
"btn-wrap flex-xc"
>
<view
class=
"btn-wrap flex-xc"
>
<button
class=
"btn-submit"
:disabled=
"!submitStatus"
@
click=
"
submitBaseInfo
"
>
<button
class=
"btn-submit"
:disabled=
"!submitStatus"
@
click=
"
$u.debounce(submitBaseInfo, 500)
"
>
确定
确定
</button>
</button>
</view>
</view>
...
...
take-order/pages/settle/index.vue
View file @
8cec2f31
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
return
{
return
{
theme_url
:
'https://qn-static.banshouhui.com/settle_theme.png'
,
theme_url
:
'https://qn-static.banshouhui.com/settle_theme.png'
,
count
:
8
,
count
:
9
,
isStop
:
false
,
isStop
:
false
,
settledInfo
:
null
,
settledInfo
:
null
,
status
:
''
,
status
:
''
,
...
...
take-order/pages/settle/prompt.vue
View file @
8cec2f31
...
@@ -72,7 +72,9 @@
...
@@ -72,7 +72,9 @@
}
}
},
},
onLoad
(
e
)
{
onLoad
(
e
)
{
if
(
!
this
.
settledInfo
){
this
.
getBaseInfo
()
this
.
getBaseInfo
()
}
},
},
onShow
(){
onShow
(){
if
(
!
this
.
settledInfo
){
if
(
!
this
.
settledInfo
){
...
...
take-order/pages/settle/select.vue
View file @
8cec2f31
...
@@ -178,9 +178,6 @@
...
@@ -178,9 +178,6 @@
this
.
initPage
(
option
)
this
.
initPage
(
option
)
this
.
initworkingAgeList
();
this
.
initworkingAgeList
();
this
.
getareaList
()
this
.
getareaList
()
uni
.
setNavigationBarTitle
({
title
:
'新的标题'
});
},
},
methods
:
{
methods
:
{
goBack
(
type
)
{
goBack
(
type
)
{
...
@@ -194,6 +191,7 @@
...
@@ -194,6 +191,7 @@
initPage
(
option
)
{
initPage
(
option
)
{
const
selectType
=
option
.
selectType
const
selectType
=
option
.
selectType
this
.
selectType
=
selectType
this
.
selectType
=
selectType
let
title
=
''
let
pages
=
getCurrentPages
()
let
pages
=
getCurrentPages
()
if
(
pages
.
length
<
2
)
{
if
(
pages
.
length
<
2
)
{
return
return
...
@@ -204,12 +202,17 @@
...
@@ -204,12 +202,17 @@
areaIds
:
prevVue
.
baseInfo
.
service_area
,
areaIds
:
prevVue
.
baseInfo
.
service_area
,
areaTxts
:
prevVue
.
areaTxts
areaTxts
:
prevVue
.
areaTxts
}
}
title
=
'选择可服务的城市'
}
else
if
(
selectType
===
'working_age'
)
{
}
else
if
(
selectType
===
'working_age'
)
{
this
.
selected
=
{
this
.
selected
=
{
working_age
:
prevVue
.
baseInfo
.
working_age
,
working_age
:
prevVue
.
baseInfo
.
working_age
,
workingAgeTxt
:
prevVue
.
workingAgeTxt
workingAgeTxt
:
prevVue
.
workingAgeTxt
}
}
title
=
'选择工作工龄'
}
}
uni
.
setNavigationBarTitle
({
title
});
},
},
setPrevPageData
()
{
setPrevPageData
()
{
...
...
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