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
ec522dfb
Commit
ec522dfb
authored
Dec 28, 2020
by
和慭琛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
分享问题
parent
c867ae69
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
192 additions
and
116 deletions
+192
-116
index.vue
take-order/pages/index/index.vue
+17
-2
detail.vue
take-order/pages/take/detail.vue
+165
-114
index.vue
take-order/pages/take/index.vue
+10
-0
No files found.
take-order/pages/index/index.vue
View file @
ec522dfb
...
@@ -164,7 +164,13 @@
...
@@ -164,7 +164,13 @@
}
}
},
},
onLoad
()
{
onLoad
(
e
)
{
//+ '?orderId=' + this.orderId + '&toWhere=detail'
if
(
e
&&
e
.
toWhere
){
this
.
toWhere
(
e
)
}
this
.
icon_location
=
getApp
().
globalData
.
icon_location
this
.
icon_location
=
getApp
().
globalData
.
icon_location
this
.
icon_notice
=
getApp
().
globalData
.
icon_index_notice
this
.
icon_notice
=
getApp
().
globalData
.
icon_index_notice
this
.
icon_agree_yes
=
getApp
().
globalData
.
icon_agree_yes
this
.
icon_agree_yes
=
getApp
().
globalData
.
icon_agree_yes
...
@@ -225,7 +231,16 @@
...
@@ -225,7 +231,16 @@
doNothing
:
function
(){},
doNothing
:
function
(){},
toWhere
:
function
(
e
){
if
(
e
.
toWhere
==
detail
&&
e
.
orderId
){
uni
.
navigateTo
({
url
:
'/pages/take/detail'
+
'?orderId='
+
e
.
orderId
,
})
}
},
nameInput
(
e
){
nameInput
(
e
){
this
.
name
=
e
.
detail
.
value
this
.
name
=
e
.
detail
.
value
...
...
take-order/pages/take/detail.vue
View file @
ec522dfb
This diff is collapsed.
Click to expand it.
take-order/pages/take/index.vue
View file @
ec522dfb
...
@@ -231,6 +231,16 @@
...
@@ -231,6 +231,16 @@
},
},
onShareAppMessage
(
res
)
{
let
shareObj
=
{
title
:
''
,
path
:
'/pages/take/index'
,
success
(){},
fail
(){}
}
return
shareObj
},
methods
:
{
methods
:
{
...
...
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