Denna sida fungerar bättre med Javascript igång.
Startsida
Utforska
Hjälp
Registrera dig
Logga in
weapp
/
ttb
Bevaka
6
Stjärnmärk
0
Förgrening
0
Kod
Ärenden
0
Pull-förfrågningar
0
Släpp
0
Wiki
Aktiviteter
Bläddra i källkod
upload
dev_czc
HolyKnightIX
2 år sedan
förälder
5054bf3b4d
incheckning
086c50a1b8
3 ändrade filer
med
4 tillägg
och
2 borttagningar
Delad Vy
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
pages/Appointment/appointment.ttss
+1
-0
pages/appointDetail/appointDetail.ttml
+2
-1
pages/main/main.js
+ 1
- 1
pages/Appointment/appointment.ttss
Visa fil
@@ -87,7 +87,7 @@
}
.list .item {
width: 9
0
%;
width: 9
5
%;
border: 1px solid #ffffff93;
margin: auto;
overflow: hidden;
+ 1
- 0
pages/appointDetail/appointDetail.ttml
Visa fil
@@ -13,6 +13,7 @@
<button class="back" bindtap="back">返回</button>
<block tt:if="{{ detail.status != 8 }}">
<button tt:if="{{ detail.status == 0 }}" class="confirm" bindtap="confirm">确认预约</button>
<!-- <button tt:if="{{ detail.status == 0 }}" class="confirm" bindtap="confirm">修改预约时间</button> -->
<button tt:if="{{ detail.status == 5 }}" class="confirm" bindtap="cancel">取消预约</button>
</block>
</view>
+ 2
- 1
pages/main/main.js
Visa fil
@@ -562,7 +562,8 @@ Page({
tenantId: res.tenant_id,
}, (res) => {
console.log(res);
if (res) {
if (res && res.data) {
res.data.map(file => {
if (file.starttime && file.endtime) {
file.end = file.starttime.substring(0, 7).replace(/-/g, ".") + "-" + file.endtime.substring(0, 7).replace(/-/g, ".");
Skriv
Förhandsgranska
Laddar…
Avbryt
Spara