WXL
11 小时以前 05c363fdd7ab04e3bd9a753e2c5d5bfff04d681c
1
"use strict";const e=require("../../common/vendor.js"),t={__name:"health-records",setup(t){const a=e.ref({height:175,weight:65,bmi:"21.3",bloodType:"A"}),i=e.ref([{icon:"/static/health/blood-pressure.png",title:"血压记录",time:"今天 09:30",path:"/pages/health/blood-pressure"},{icon:"/static/health/heart-rate.png",title:"心率记录",time:"今天 08:15",path:"/pages/health/heart-rate"},{icon:"/static/health/blood-sugar.png",title:"血糖记录",time:"昨天 20:30",path:"/pages/health/blood-sugar"}]),h=e.ref([{name:"年度体检报告",date:"2024-03-20",description:"本次体检结果总体良好,建议加强运动,注意作息规律。",tags:["正常","建议复查"],path:"/pages/health/report-detail"},{name:"心电图检查报告",date:"2024-03-15",description:"心电图检查未见明显异常,窦性心律。",tags:["正常"],path:"/pages/health/report-detail"}]),r=()=>{e.index.navigateTo({url:"/pages/health/update-data"})};return(t,o)=>({a:e.t(a.value.height||"--"),b:e.t(a.value.weight||"--"),c:e.t(a.value.bmi||"--"),d:e.t(a.value.bloodType||"--"),e:e.o(r),f:e.f(i.value,(t,a,i)=>({a:t.icon,b:e.t(t.title),c:e.t(t.time),d:a,e:e.o(a=>{return i=t,void e.index.navigateTo({url:i.path});var i},a)})),g:e.f(h.value,(t,a,i)=>({a:e.t(t.name),b:e.t(t.date),c:e.t(t.description),d:e.f(t.tags,(t,a,i)=>({a:e.t(t),b:a})),e:a,f:e.o(a=>(t=>{e.index.navigateTo({url:`${t.path}?id=${t.id}`})})(t),a)})),h:e.gei(t,"")})}};wx.createPage(t);