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
b9548150bb5388b5349178ae40d87618cbe8facd
Authored by
liuxuqinfhp1220
2019-08-28 11:38:25 +0800
1 parent
8ca2c31d
build: skipped
no message
Changes
4
Builds
0
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
1 deletions
components/reserve/room/room.wxss
pages/customer/detail_owner.js
pages/reserve/detail.js
project.config.json
components/reserve/room/room.wxss
View file @
b954815
...
...
@@ -14,6 +14,7 @@
margin-right: 30rpx;
position: relative;
overflow: hidden;
line-height:1.2;
}
.border-yellow{
border:2rpx solid #C3A56C;
...
...
pages/customer/detail_owner.js
View file @
b954815
...
...
@@ -228,4 +228,11 @@ Page({
url
:
url
,
})
},
onUnload
(){
let
pages
=
getCurrentPages
();
if
(
pages
.
length
>
2
&&
pages
[
pages
.
length
-
2
].
route
==
'pages/reserve/detail'
){
wx
.
setStorageSync
(
'order'
,
'complete'
)
}
console
.
log
(
pages
)
}
})
\ No newline at end of file
...
...
pages/reserve/detail.js
View file @
b954815
...
...
@@ -99,6 +99,14 @@ Page({
reserveDate
:
this
.
data
.
reserveDate
})
}
//已经完成预订的情况---清除日期、时段、选中包间
if
(
wx
.
getStorageSync
(
'order'
)){
this
.
setData
({
reserveSection
:
null
,
seletroomlist
:[]
})
wx
.
removeStorageSync
(
'order'
)
}
},
/**
...
...
project.config.json
View file @
b954815
...
...
@@ -55,7 +55,7 @@
"id"
:
0
,
"name"
:
"预订本-商家1"
,
"pathName"
:
"pack-book/pages/book/b_index"
,
"query"
:
"seller_id=100
1
&seller_openid=o9pcQ0cbjRKnRWczcOJaaSRGP1lE&manager_id=500"
,
"query"
:
"seller_id=100
7
&seller_openid=o9pcQ0cbjRKnRWczcOJaaSRGP1lE&manager_id=500"
,
"scene"
:
1001
},
{
...
...
Please
register
or
login
to post a comment