import{_ as t,G as a,aW as o,b as i,d as n,p as l,w as e,H as s,i as d,o as u,f as c,k as f,R as p}from"./index-2PZN6pGH.js";const r=t({data:()=>({title:"toast"}),methods:{toast1Tap:function(){a({title:"默认"})},toast2Tap:function(){a({title:"duration 3000",duration:3e3})},toast3Tap:function(){a({title:"loading",icon:"loading",duration:5e3})},toast4Tap:function(){a({title:"logo",image:"../../../static/uni.png"})},hideToast:function(){o()}}},[["render",function(t,a,o,r,k,C){const T=i(n("page-head"),s),_=p,g=d;return u(),l(g,null,{default:e((()=>[c(T,{title:k.title},null,8,["title"]),c(g,{class:"uni-padding-wrap"},{default:e((()=>[c(g,{class:"uni-btn-v"},{default:e((()=>[c(_,{type:"default",onClick:C.toast1Tap},{default:e((()=>[f("点击弹出默认toast")])),_:1},8,["onClick"]),c(_,{type:"default",onClick:C.toast2Tap},{default:e((()=>[f("点击弹出设置duration的toast")])),_:1},8,["onClick"]),c(_,{type:"default",onClick:C.toast3Tap},{default:e((()=>[f("点击弹出显示loading的toast")])),_:1},8,["onClick"]),c(_,{type:"default",onClick:C.toast4Tap},{default:e((()=>[f("点击弹出显示自定义图片的toast")])),_:1},8,["onClick"]),c(_,{type:"default",onClick:C.hideToast},{default:e((()=>[f("点击隐藏toast")])),_:1},8,["onClick"])])),_:1})])),_:1})])),_:1})}]]);export{r as default};
