"use strict";const e=require("../../common/vendor.js");if(!Array){e.resolveComponent("hs-button")()}Math;const l=e.defineComponent({__name:"hs-footer",props:["btnParimaryName","btnOtherName","btnOtherShow","back","loading","openType","url"],emits:["handleParmaryClick","handleOtherClick"],setup(l,{emit:n}){const t=l,a=()=>{(null==t?void 0:t.url)?e.index.navigateTo({url:null==t?void 0:t.url}):n("handleParmaryClick")},o=()=>{n("handleOtherClick"),(null==t?void 0:t.back)&&e.index.navigateBack({delta:1})};return(l,n)=>e.e({a:!l.$slots.default},l.$slots.default?{}:e.e({b:null==t?void 0:t.btnOtherShow},(null==t?void 0:t.btnOtherShow)?{c:e.p({label:(null==t?void 0:t.btnOtherName)||"返回",type:"display",size:"md"}),d:e.o(o)}:{},{e:e.p({label:(null==t?void 0:t.btnParimaryName)||"提交",disabled:null==t?void 0:t.loading,type:"primary",openType:(null==t?void 0:t.openType)||"",size:"md"}),f:e.o(a)}))}}),n=e._export_sfc(l,[["__scopeId","data-v-20034ab2"]]);wx.createComponent(n);
