增加提示和等待时间

main
yanzai 7 months ago
parent a3f90f695d
commit 563ece6bf0

1
.gitignore vendored

@ -1,3 +1,4 @@
/tongyuan_fz_h5/unpackage
/tongyuan_fz_h5/unpackage
/tongyuan_fz_h5/unpackage
/tongyuan_fz_h5/unpackage

@ -15,7 +15,11 @@
<view v-if=" userInfo.reg_number">{{userInfo.reg_number}}</view>
</view>
<view style="font-size: 26rpx;margin-top: 50rpx;color: #d46767;font-weight: 700;">
<view v-for="(item,index) in tip">
{{item}}
</view>
</view>
<view class="xia">
<view class="xia_row1">
<view class="xia_title">体检诊室 <span style="font-size: 30rpx;color: #7D7D7D;"> <span class="lanzi">{{keshi_ids.length}}</span> </span></view>
@ -34,12 +38,20 @@
</view>
<view class="zhuangtai" v-if="item.status==2">
<view class="zhuangtai_left bakcolor2" > </view>
<view class="zhuangtai_right">
<view class="zhuangtai_right ">
<view>
<view class="keshiname">{{item.clinic}}</view>
<view class="zhenshiname">{{item.item}}</view>
<view style="display: flex; justify-content: end;">
<view style="color: #7D7D7D;"> <span class="shuzi">{{item.wait}}</span>人排队</view>
<view style="color: #7D7D7D;margin-left: 20rpx;" > 预计等待<span class="shuzi">{{item.time}}</span>分钟</view>
</view>
</view>
<view style="color: #7D7D7D;">{{item.wait}}人排队</view>
</view>
</view>
<view class="zhuangtai" v-if="item.status==3">
@ -88,6 +100,7 @@
let keshi_ids=ref([])
let hospital=ref('')
let refreshInterval = ref(null) //
let tip=ref([]);
const ChaXunFenZhenInfo= async(info)=>{
wancheng_count.value=0;
FenZhenGetTiJianLine({
@ -97,6 +110,7 @@
if (res.status) {
fenzhen_list.value = res.data.list
userInfo.value=res.data.info
tip.value=res.data.tip.split('\r\n');
fenzhen_list.value.forEach(function(item,index){
if(item.status==4){
wancheng_count.value++
@ -151,6 +165,10 @@
color:#fff;
}
.shuzi{
font-weight: 700;
color:#ff5500;
}
.name{
font-size: 50rpx;
}

@ -14,7 +14,7 @@
<title>MemberMngr</title>
<!--preload-links-->
<!--app-context-->
<script type="module" crossorigin src="/h5/assets/index-278486bf.js"></script>
<script type="module" crossorigin src="/h5/assets/index-7c1fcebf.js"></script>
<link rel="stylesheet" href="/h5/assets/index-533083b3.css">
</head>
<body>

Loading…
Cancel
Save