1 |
- !function(){var e=document.createElement("style");e.innerHTML="._dialogTitle_zz3gi_1{padding-left:.66667rem;text-align:left;font-size:.48rem;font-weight:500;color:#333;line-height:.66667rem;padding-bottom:.32rem}._dialogTitle_zz3gi_1 i{display:inline-block;width:.10667rem;height:.37333rem;background:#ff8057;border-radius:.05333rem;margin-right:.16rem}._oDialog_zz3gi_18 .van-dialog__header{padding-top:.53333rem}._oDialog_zz3gi_18 .van-dialog__message{font-size:.42667rem;color:#333;font-weight:400;line-height:.64rem}._oDialog_zz3gi_18 .van-dialog__cancel,._oDialog_zz3gi_18 .van-dialog__confirm{font-size:.48rem;height:1.33333rem;line-height:1.33333rem}._oDialog_zz3gi_18 .van-dialog__cancel{color:#777}._oDialog_zz3gi_18 .van-dialog__confirm{color:#f67146}\n",document.head.appendChild(e),System.register(["./index-legacy.90c82f08.js"],(function(e){"use strict";var t,o,n,i,a;return{setters:[function(e){t=e.d,o=e.r,n=e.Z,i=e.c,a=e.a$}],execute:function(){var l="_dialogTitle_zz3gi_1",r="_oDialog_zz3gi_18";e("O",t({name:"o-dialog",props:{show:{type:Boolean,default:!1},message:{type:String,default:""},allowHtml:{type:Boolean,default:!1},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"},dialogMarginTop:{type:String,default:"0px"}},emits:["cancel","confirm","update:show"],setup:function(e,t){var g=t.emit,c=o({show:e.show||!1});return n((function(){return e.show}),(function(){c.show=e.show})),function(){return i(a,{class:r,style:{marginTop:e.dialogMarginTop},show:c.show,"onUpdate:show":function(e){return c.show=e},allowHtml:e.allowHtml,message:e.message,messageAlign:e.messageAlign,confirmButtonText:e.confirmButtonText,cancelButtonText:e.cancelButtonText,showConfirmButton:e.showConfirmButton,showCancelButton:e.showCancelButton,onConfirm:function(){g("update:show",!1),g("confirm")},onCancel:function(){g("update:show",!1),g("cancel")}},{title:function(){return i("div",{class:l},[i("i",null,null),e.title])}})}}}))}}}))}();
|