"use strict";var t=require("../common/vendor.js"),o=require("../api/doctor.js");require("../common/request.js");const r={data:()=>({isFollow:!1,doctorId:null,doctor:null,department:null,hospital:null,pings:[]}),onLoad(t){this.doctorId=t.doctorId},onShow(){this.getDoctorDetails()},methods:{showImg(){var o=[];o.push(this.doctor.avatar),t.index.previewImage({current:0,urls:o})},getDoctorDetails(){var r={doctorId:this.doctorId};o.getDoctorDetails(r).then((o=>{200==o.code?(this.doctor=o.data.doctor,this.department=o.data.department,this.hospital=o.data.hospital):t.index.showToast({icon:"none",title:"请求失败"})}))}}};if(!Array){t.resolveComponent("u-rate")()}Math;var e=t._export_sfc(r,[["render",function(o,r,e,a,d,i){return{a:t.o((t=>i.showImg())),b:d.doctor.avatar,c:t.t(d.doctor.doctorName),d:t.o((t=>d.doctor.pingStar=t)),e:t.p({activeColor:"#ffc603",count:"5",readonly:!0,modelValue:d.doctor.pingStar}),f:t.t(d.department.deptName),g:t.t(d.doctor.position),h:t.t(d.hospital.hospitalName),i:t.t(d.doctor.speciality),j:t.t(d.doctor.introduction)}}],["__scopeId","data-v-49d42a3b"]]);wx.createPage(e);
