"use strict";const e=require("../../common/vendor.js"),t=require("../../common/assets.js"),a={__name:"index",setup(a){const i=e.ref([{id:1,name:"张医生",title:"主任医师",specialty:"中医科",avatar:"/static/doctor/tcm1.jpg"},{id:2,name:"李医生",title:"副主任医师",specialty:"心内科",avatar:"/static/doctor/tcm2.jpg"}]),r=e.ref([{id:1,title:"颈椎病针灸治疗案例",desc:"通过针灸配合推拿,显著改善患者颈椎不适...",image:"/static/tcm/case1.jpg",doctor:"张医生",date:"2024-03-20"},{id:2,title:"失眠中药调理案例",desc:"采用中药辨证施治,改善患者睡眠质量...",image:"/static/tcm/case2.jpg",doctor:"李医生",date:"2024-03-18"}]),o=t=>{e.index.navigateTo({url:t,fail:t=>{console.error("跳转失败:",t),e.index.showToast({title:"该功能即将上线",icon:"none"})}})};return(a,d)=>({a:t._imports_0$11,b:t._imports_1$1,c:e.o(e=>o("/pages/featured/tcm")),d:t._imports_2$1,e:e.o(e=>o("/pages/featured/cross-border")),f:t._imports_3$1,g:e.o(e=>o("/pages/featured/expert")),h:t._imports_4,i:e.o(e=>o("/pages/featured/department")),j:e.f(i.value,(t,a,i)=>({a:t.avatar,b:e.t(t.name),c:e.t(t.title),d:e.t(t.specialty),e:a,f:e.o(a=>{return i=t,void e.index.navigateTo({url:`/pages/doctor/detail?id=${i.id}`});var i},a)})),k:e.f(r.value,(t,a,i)=>({a:t.image,b:e.t(t.title),c:e.t(t.desc),d:e.t(t.doctor),e:e.t(t.date),f:a,g:e.o(a=>{return i=t,void e.index.navigateTo({url:`/pages/featured/case?id=${i.id}`});var i},a)})),l:e.gei(a,"")})}};wx.createPage(a);