本網站在啟用 JavaScript 的情況下可以運作的更好。
首頁
探索
說明
註冊
登入
weapp
/
ttb
關注
6
收藏
0
複製
0
程式碼
問題
0
合併請求
0
版本發佈
0
Wiki
活動
瀏覽代碼
upload
dev_czc
HolyKnightIX
2 年之前
父節點
5054bf3b4d
當前提交
086c50a1b8
共有
3 個檔案被更改
,包括
4 行新增
和
2 行删除
分割檢視
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
查看文件
@@ -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
查看文件
@@ -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
查看文件
@@ -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, ".");
Write
Preview
Loading…
取消
儲存