2 lines
809 B
JavaScript
Raw Normal View History

2025-12-15 18:27:46 +08:00
"use strict";const e=require("../../common/vendor.js");if(!Array){e.resolveComponent("hs-button")()}Math;const t=e.defineComponent({__name:"hs-footer",props:["btnParimaryName","btnOtherName","btnOtherShow","back"],emits:["handleParmaryClick","handleOtherClick"],setup(t,{emit:a}){const n=t,o=()=>{a("handleParmaryClick")},r=()=>{a("handleOtherClick"),(null==n?void 0:n.back)&&e.index.navigateBack({delta:1})};return(t,a)=>e.e({a:!t.$slots.default},t.$slots.default?{}:e.e({b:null==n?void 0:n.btnOtherShow},(null==n?void 0:n.btnOtherShow)?{c:e.p({label:(null==n?void 0:n.btnOtherName)||"返回",type:"ghost",size:"md"}),d:e.o(r)}:{},{e:e.p({label:(null==n?void 0:n.btnParimaryName)||"提交",type:"primary",size:"md"}),f:e.o(o)}))}}),a=e._export_sfc(t,[["__scopeId","data-v-c1651fe1"]]);wx.createComponent(a);