Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
严立
/
mini-shimao
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
e48bfde0
authored
Sep 21, 2020
by
wjw
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
ww--我的预约列表修改
parent
bae6b957
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
69 additions
and
69 deletions
pages/mine/appointment/appointment.js
pages/mine/appointment/appointment.wxml
pages/mine/appointment/appointment.js
View file @
e48bfde0
...
...
@@ -42,72 +42,72 @@ Page({
// 订单状态(-1已取消, 0未付款, 2待使用, 3已使用, 4已过期 6已关闭)
// 活动状态(0 未开始 1进行中 2 已结束)
activityList
:
[
{
orderId
:
0
,
name
:
'海滩夏日音乐节'
,
status
:
'0'
,
activeState
:
'0'
,
cover
:
''
,
date
:
'6月30日 10:00-12:00'
,
address
:
'云之亭广场外侧'
,
num
:
3
,
amount
:
'326.00'
},
{
orderId
:
1
,
name
:
'海滩夏日音乐节'
,
status
:
'2'
,
activeState
:
'0'
,
cover
:
''
,
date
:
'6月30日 10:00-12:00'
,
address
:
'云之亭广场外侧'
,
num
:
3
,
amount
:
'326.00'
},
{
orderId
:
2
,
name
:
'海滩夏日音乐节海滩夏日音乐节海滩夏日音乐节海滩夏日音乐节'
,
status
:
'2'
,
activeState
:
'1'
,
cover
:
''
,
date
:
'6月30日 10:00-12:00'
,
address
:
'云之亭广场外侧云之亭广场外侧云之亭广场外侧云之亭广场外侧云之亭广场外侧'
,
num
:
3
,
amount
:
'326.00'
},
{
orderId
:
2
,
name
:
'海滩夏日音乐节海滩夏日音乐节海滩夏日音乐节海滩夏日音乐节'
,
status
:
'3'
,
activeState
:
'2'
,
cover
:
''
,
date
:
'6月30日 10:00-12:00'
,
address
:
'云之亭广场外侧云之亭广场外侧云之亭广场外侧云之亭广场外侧云之亭广场外侧'
,
num
:
3
,
amount
:
'326.00'
},
{
orderId
:
2
,
name
:
'海滩夏日音乐节海滩夏日音乐节海滩夏日音乐节海滩夏日音乐节'
,
status
:
'4'
,
activeState
:
'1'
,
cover
:
''
,
date
:
'6月30日 10:00-12:00'
,
address
:
'云之亭广场外侧云之亭广场外侧云之亭广场外侧云之亭广场外侧云之亭广场外侧'
,
num
:
3
,
amount
:
'326.00'
},
{
orderId
:
2
,
name
:
'海滩夏日音乐节海滩夏日音乐节海滩夏日音乐节海滩夏日音乐节'
,
status
:
'-1'
,
activeState
:
'1'
,
cover
:
''
,
date
:
'6月30日 10:00-12:00'
,
address
:
'云之亭广场外侧云之亭广场外侧云之亭广场外侧云之亭广场外侧云之亭广场外侧'
,
num
:
3
,
amount
:
'326.00'
},
//
{
//
orderId: 0,
//
name: '海滩夏日音乐节',
//
status: '0',
//
activeState: '0',
//
cover: '',
//
date: '6月30日 10:00-12:00',
//
address: '云之亭广场外侧',
//
num: 3,
//
amount: '326.00'
//
},
//
{
//
orderId: 1,
//
name: '海滩夏日音乐节',
//
status: '2',
//
activeState: '0',
//
cover: '',
//
date: '6月30日 10:00-12:00',
//
address: '云之亭广场外侧',
//
num: 3,
//
amount: '326.00'
//
},
//
{
//
orderId: 2,
//
name: '海滩夏日音乐节海滩夏日音乐节海滩夏日音乐节海滩夏日音乐节',
//
status: '2',
//
activeState: '1',
//
cover: '',
//
date: '6月30日 10:00-12:00',
//
address: '云之亭广场外侧云之亭广场外侧云之亭广场外侧云之亭广场外侧云之亭广场外侧',
//
num: 3,
//
amount: '326.00'
//
},
//
{
//
orderId: 2,
//
name: '海滩夏日音乐节海滩夏日音乐节海滩夏日音乐节海滩夏日音乐节',
//
status: '3',
//
activeState: '2',
//
cover: '',
//
date: '6月30日 10:00-12:00',
//
address: '云之亭广场外侧云之亭广场外侧云之亭广场外侧云之亭广场外侧云之亭广场外侧',
//
num: 3,
//
amount: '326.00'
//
},
//
{
//
orderId: 2,
//
name: '海滩夏日音乐节海滩夏日音乐节海滩夏日音乐节海滩夏日音乐节',
//
status: '4',
//
activeState: '1',
//
cover: '',
//
date: '6月30日 10:00-12:00',
//
address: '云之亭广场外侧云之亭广场外侧云之亭广场外侧云之亭广场外侧云之亭广场外侧',
//
num: 3,
//
amount: '326.00'
//
},
//
{
//
orderId: 2,
//
name: '海滩夏日音乐节海滩夏日音乐节海滩夏日音乐节海滩夏日音乐节',
//
status: '-1',
//
activeState: '1',
//
cover: '',
//
date: '6月30日 10:00-12:00',
//
address: '云之亭广场外侧云之亭广场外侧云之亭广场外侧云之亭广场外侧云之亭广场外侧',
//
num: 3,
//
amount: '326.00'
//
},
],
data
:
[
// 假数据数组,type=0入园预约,type=1 看房预约
{
title
:
'夜间入园预约'
,
type
:
'0'
,
time
:
'6月30日 20:00-24:00'
,
num
:
3
,
url
:
'http://upload.miaomiao-bao.com/36acd202008141719598303.jpg'
},
...
...
pages/mine/appointment/appointment.wxml
View file @
e48bfde0
...
...
@@ -218,16 +218,16 @@
</view>
</view>
</view>
<view class="noActive" wx:if="{{data.length === 0 && active == 2}}">
<view class="noActive" wx:if="{{data.length === 0 && active ==
=
2}}">
<view class="noActive-title">暂无夜间入园预约</view>
<view class="noActive-rule">20:00后入园需要提前预约,每日限流200人</view>
<view class="noActive-botton" data-index="1" bindtap="goAppoint">去预约</view>
</view>
<view class="noActive" wx:if="{{data.length === 0 && active == 1}}">
<view class="noActive" wx:if="{{data.length === 0 && active ==
=
1}}">
<view class="noActive-title">暂无看房预约</view>
<view class="noActive-botton" data-index="2" bindtap="goAppoint">去预约</view>
</view>
<view class="noActive" wx:if="{{
data.length === 0 && active
== 0}}">
<view class="noActive" wx:if="{{
activityList.length === 0 && active =
== 0}}">
<view class="noActive-title">暂无活动预约</view>
<view class="noActive-botton" data-index="1" bindtap="goAppoint">去预约</view>
</view>
...
...
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