Browse Source

修改苹果手机时间显示问题

detailsPage
aBin 4 years ago
parent
commit
370d347de4
  1. 6
      index.html

6
index.html

@ -62,8 +62,8 @@
<img style="height:16px" src="https://www.tall.wiki/staticrec/photos/right.png">
</div>
<div class="time-box w-screen h-screen fixed z-10" style="background: rgba(0,0,0,0.65);top:0;left:0;display:none">
<div class="flex flex-col absolute w-full" style="background:#fff;bottom: 0;height:300px">
<div class="flex justify-between p-2 border-gray-200 border-b-2" style="height:44px;">
<div class="flex flex-col absolute w-full" style="background:#fff;bottom: 0;height:312px;border-radius:8px 8px 0 0">
<div class="flex justify-between p-2 border-gray-200 border-b-2" style="height:56px;line-height:38px">
<div class="text-gray-500" onclick="p1419895941603008512.cancelTime()">取消</div>
<div>分诊时间</div>
<div class="text-blue-500" onclick="p1419895941603008512.changeTime()">确定</div>
@ -305,7 +305,7 @@
min = '0' + min
}
var chooseTime = `${year}-${month}-${day} ${hour}:${min}`
this.chooseTimeValue = new Date(chooseTime).getTime()
this.chooseTimeValue = new Date(chooseTime.replace(/-/g,'/')).getTime()
if(chooseTime){
await this.choose(new Date(chooseTime).getTime())
this.cancelTime()

Loading…
Cancel
Save