更新 体检引导优化

main
鹿和sa0ChunLuyu 1 year ago
parent f2a77bb6c6
commit f59e4c0e1c

@ -258,9 +258,7 @@ class FenzhenController extends Controller
if ($error_day == -1) {
if (!!$tip_check_show) {
$et = $info->appointment_date . ' ' . $res['data']['end_time'] . ':00';
// $et = '2024-10-10 00:00:00';
$check_tip = (time() - strtotime($et)) > (60 * 20);
// $check_tip = json_encode([time() - strtotime($et), 60 * 20], JSON_UNESCAPED_UNICODE);
}
}
return \Yz::Return(true, "获取成功", [

@ -29,7 +29,8 @@
const fenzhen_list = ref(false);
const check_tip_show = ref(false);
const checkTipShow = () => {
const checkTipShow = (show) => {
if (!!show) {
check_tip_show.value = true
uni.showModal({
title: '提示',
@ -41,6 +42,7 @@
}
});
}
}
const getFenzhenList = async (loading = true) => {
if (!!loading) {
uni.showLoading();
@ -52,7 +54,7 @@
$response(response, () => {
fenzhen_list.value = response.data;
if (!check_tip_show.value) {
checkTipShow()
checkTipShow(response.data.check_tip)
}
setTimeout(() => {
if (!!window.location.href.includes('/pages/user/fenzhen/fenzhen') &&
@ -270,7 +272,8 @@
<view class="more_wrapper mt-20rpx" v-if="i.more === fenzhen_active && !!fenzhen_info">
<template v-for="(item, index) in fenzhen_info.list" :key="index">
<view class="between h-90rpx b-0 b-b-1 b-solid b-#EAEAEA" v-if="item.status == 1">
<view class="between h-90rpx b-0 b-b-1 b-solid b-#EAEAEA"
v-if="item.status == 1 || item.status == 2">
<view class="text-#000000 text-30rpx">{{ item.name }}</view>
<view class="center">
<text @click="qijian(item)"

Loading…
Cancel
Save