Toggle navigation
This project
Loading...
Sign in
xt
/
xcx-book
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Download as
Email Patches
Plain Diff
Browse Files
Commit
df1848395c1df3ee587bc46ea2946ed873d715aa
Authored by
wangfan
2019-01-21 12:26:07 +0800
1 parent
69aa9f54
build: skipped
快速预定
Changes
4
Builds
0
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
3 deletions
app.json
pack-cookbook/pages/index.js
pages/customer/detail_owner.js
pages/customer/detail_owner.wxml
app.json
View file @
df18483
...
...
@@ -40,6 +40,14 @@
]
}
],
"preloadRule"
:
{
"pages/customer/detail_owner"
:
{
"network"
:
"all"
,
"packages"
:
[
"pack-cookbook"
]
}
},
"window"
:
{
"navigationStyle"
:
"custom"
,
"backgroundTextStyle"
:
"light"
,
...
...
pack-cookbook/pages/index.js
View file @
df18483
...
...
@@ -161,7 +161,7 @@ Page({
if
(
orderid
){
param
.
orderid
=
orderid
;
}
App
.
Cookbook
.
GetCookbookByClass
(
param
).
then
(
json
=>
{
App
.
Advance
.
GetCookbookByClass
(
param
).
then
(
json
=>
{
//菜单分类添加修饰
let
cookbooklist
=
this
.
formatCookList
(
json
.
data
[
0
].
list
);
setTimeout
(()
=>
{
...
...
pages/customer/detail_owner.js
View file @
df18483
...
...
@@ -133,7 +133,9 @@ Page({
if
(
res
.
ret
!=
200
){
return
util
.
toast
(
res
.
msg
,
'none'
)
}
wx
.
navigateTo
({
url
:
'/pack-cookbook/pages/index'
});
})
},
})
\ No newline at end of file
...
...
pages/customer/detail_owner.wxml
View file @
df18483
...
...
@@ -47,7 +47,7 @@
share="{{detail}}"
share-act="invitation"
class="share-but-view">
<view class="share-but Regular flex-cc" wx:if="{{
!detail.orderid
}}">
<view class="share-but Regular flex-cc" wx:if="{{
detail.order && detail.order.cookbooklist.length>0
}}">
<view>查看菜品</view>
<image class="order-cook" src="http://qn.colorcun.com/custom/lite-yd-cook/image/order-cook.png"></image>
</view>
...
...
Please
register
or
login
to post a comment