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
35b5e46e
authored
Aug 28, 2020
by
TengFengLian
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
修复预约时间显示问题
parent
f2bb6b55
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
pages/myAppointment/myAppointment.js
pages/myAppointment/myAppointment.wxml
pages/myAppointment/myAppointment.js
View file @
35b5e46e
...
...
@@ -132,7 +132,7 @@ Page({
let
obj
=
{
title
:
title
,
type
:
type
,
time
:
item
.
subscribeDate
.
substring
(
0
,
10
)
+
((
type
==
0
)
?
' 20:00-24:00'
:
''
),
time
:
item
.
subscribeDate
.
substring
(
5
,
11
).
replace
(
'-'
,
'月'
).
replace
(
' '
,
'日'
)
+
((
type
==
0
)
?
' 20:00-24:00'
:
''
),
num
:
item
.
subscribeNum
,
url
:
url
,
id
:
item
.
id
,
...
...
pages/myAppointment/myAppointment.wxml
View file @
35b5e46e
...
...
@@ -11,7 +11,7 @@
<image src="{{item.url}}" class="item-img"></image>
<view class="item-content">
<view class="item-title {{item.type == 0 ?'item-num-1' : ''}}">{{item.title}}</view>
<view class="item-time {{item.type == 1 ?'item-time-1' : ''}}">预约时间 {{
m1.getDate(item.time,item.type)
}}</view>
<view class="item-time {{item.type == 1 ?'item-time-1' : ''}}">预约时间 {{
item.time
}}</view>
<view wx:if="{{item.type == 0}}" class="item-num">预约人数 {{item.num}}人</view>
</view>
<view class="button" data-item="{{item}}" bindtap="gohotelAccommodation">预约凭证</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