Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
J
jz_Travel
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
zhengke
jz_Travel
Commits
77ce9168
Commit
77ce9168
authored
Jun 04, 2021
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
24aceba2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
148 additions
and
105 deletions
+148
-105
detail.vue
pages/restaurant/detail.vue
+9
-1
order.vue
pages/restaurant/order.vue
+6
-0
detail.vue
pages/ticketCoupons/detail.vue
+127
-103
fillOrder.vue
pages/ticketCoupons/fillOrder.vue
+6
-1
No files found.
pages/restaurant/detail.vue
View file @
77ce9168
...
...
@@ -200,7 +200,8 @@
date
:
""
,
info
:
''
}],
Date
:
""
Date
:
""
,
up
:
""
}
},
components
:
{
...
...
@@ -365,6 +366,9 @@
},
//获取详情
getDetail
()
{
uni
.
showLoading
({
title
:
'加载中...'
});
this
.
request2
({
url
:
'/api/AppletDining/GetDiningDetails'
,
data
:
{
...
...
@@ -372,6 +376,7 @@
}
},
res
=>
{
uni
.
hideLoading
();
if
(
res
.
resultCode
==
1
)
{
res
.
data
.
FoodTag
=
res
.
data
.
FoodTag
.
split
(
','
)
res
.
data
.
GeographicTag
=
res
.
data
.
GeographicTag
.
split
(
','
)
...
...
@@ -385,6 +390,9 @@
this
.
imgsList
.
push
(
obj
)
})
}
},
err
=>
{
uni
.
hideLoading
();
}
);
},
...
...
pages/restaurant/order.vue
View file @
77ce9168
...
...
@@ -175,6 +175,12 @@
uni
.
requestSubscribeMessage
({
tmplIds
:
res
.
data
.
template_message_list
,
complete
(
_res
)
{
if
(
data
.
Final_Price
===
0
){
uni
.
redirectTo
({
url
:
'/pages/jiuzhai/allorderList'
});
return
}
that
.
queren
(
res
.
data
.
OrderId
)
}
});
...
...
pages/ticketCoupons/detail.vue
View file @
77ce9168
This diff is collapsed.
Click to expand it.
pages/ticketCoupons/fillOrder.vue
View file @
77ce9168
...
...
@@ -87,7 +87,6 @@
onLoad
(
options
)
{
let
obj
=
JSON
.
parse
(
decodeURIComponent
(
options
.
data
))
this
.
ticketdData
=
obj
console
.
log
(
this
.
ticketdData
)
this
.
Final_Price
=
this
.
ticketdData
.
PeopleNumber
*
this
.
ticketdData
.
Unit_Price
},
...
...
@@ -151,6 +150,12 @@
console
.
log
(
'订阅失败'
,
err
)
},
complete
(
_res
)
{
if
(
that
.
Final_Price
===
0
){
uni
.
redirectTo
({
url
:
'/pages/jiuzhai/allorderList'
});
return
}
that
.
queren
(
res
.
data
.
OrderId
)
}
});
...
...
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