index-legacy.ea1cf20b.js 2.0 KB

1
  1. !function(){var t=document.createElement("style");t.innerHTML="._dialogTitle_1ib7t_1{padding-left:.66667rem;text-align:left;font-size:.48rem;font-weight:500;color:#333;line-height:.66667rem;padding-bottom:.32rem}._dialogTitle_1ib7t_1 i{display:inline-block;width:.10667rem;height:.37333rem;background:#ff8057;border-radius:.05333rem;margin-right:.16rem}._oDialog_1ib7t_18 .van-dialog__header{padding-top:.53333rem}._oDialog_1ib7t_18 .van-dialog__message{font-size:.42667rem;color:#333;font-weight:500;line-height:.58667rem}._oDialog_1ib7t_18 .van-dialog__cancel,._oDialog_1ib7t_18 .van-dialog__confirm{font-size:.48rem;height:1.33333rem;line-height:1.33333rem}._oDialog_1ib7t_18 .van-dialog__cancel{color:#777}._oDialog_1ib7t_18 .van-dialog__confirm{color:#f67146}\n",document.head.appendChild(t),System.register(["./index-legacy.a9944503.js"],(function(t){"use strict";var e,n,o,i,a;return{setters:[function(t){e=t.d,n=t.r,o=t.Z,i=t.c,a=t.aV}],execute:function(){var l="_dialogTitle_1ib7t_1",r="_oDialog_1ib7t_18";t("O",e({name:"o-dialog",props:{show:{type:Boolean,default:!1},message:{type:String,default:""},title:{type:String,default:"提示"},confirmButtonText:{type:String,default:"确认"},cancelButtonText:{type:String,default:"取消"},showConfirmButton:{type:Boolean,default:!0},showCancelButton:{type:Boolean,default:!1},messageAlign:{type:String,default:"center"}},emits:["cancel","confirm","update:show"],setup:function(t,e){var c=e.emit,s=n({show:t.show||!1});return o((function(){return t.show}),(function(){s.show=t.show})),function(){return i(a,{class:r,show:s.show,"onUpdate:show":function(t){return s.show=t},message:t.message,messageAlign:t.messageAlign,confirmButtonText:t.confirmButtonText,cancelButtonText:t.cancelButtonText,showConfirmButton:t.showConfirmButton,showCancelButton:t.showCancelButton,onConfirm:function(){c("update:show",!1),c("confirm")},onCancel:function(){c("update:show",!1),c("cancel")}},{title:function(){return i("div",{class:l},[i("i",null,null),t.title])}})}}}))}}}))}();