vant/v3/assets/index.4a8b8c17.js
2024-04-20 08:49:23 +00:00

2 lines
2.7 KiB
JavaScript

import{V as r}from"./index.59330ba3.js";import{V as p,b as a}from"./index.29a2ad88.js";import{V as c}from"./index.8e37fe56.js";import{c as l}from"./index.d8fe3225.js";import{a as d}from"./use-translate.d2900b8c.js";import{z as _,C as f,r as g,o as C,a as B,e,w as i,B as t,h as E,t as b,F}from"./vue-libs.b44bc779.js";import"./with-install.19a35764.js";import"./use-id.46df47b7.js";import"./use-expose.c942d5f8.js";import"./use-route.82f2be69.js";import"./index.1461a543.js";import"./use-touch.04ca7093.js";import"./on-popup-reopen.138c77eb.js";import"./constant.80c6de18.js";import"./interceptor.f0c85874.js";import"./use-refs.b3168e03.js";import"./index.99afab90.js";import"./index.b70c9b40.js";import"./index.4e4daaac.js";const J=_({__name:"index",setup(k){const o=d({"zh-CN":{error:"\u901A\u7528\u9519\u8BEF",search:"\u641C\u7D22\u63D0\u793A",network:"\u7F51\u7EDC\u9519\u8BEF",imageType:"\u56FE\u7247\u7C7B\u578B",customSize:"\u81EA\u5B9A\u4E49\u5927\u5C0F",description:"\u63CF\u8FF0\u6587\u5B57",customImage:"\u81EA\u5B9A\u4E49\u56FE\u7247",bottomContent:"\u5E95\u90E8\u5185\u5BB9"},"en-US":{error:"Error",search:"Search",network:"Network",imageType:"Image Type",customSize:"Custom Size",description:"Description",customImage:"Custom Image",bottomContent:"Bottom Content"}}),s=f("error");return(y,u)=>{const n=g("demo-block");return C(),B(F,null,[e(n,{title:t(o)("basicUsage")},{default:i(()=>[e(t(r),{description:t(o)("description")},null,8,["description"])]),_:1},8,["title"]),e(n,{title:t(o)("imageType")},{default:i(()=>[e(t(p),{active:s.value,"onUpdate:active":u[0]||(u[0]=m=>s.value=m)},{default:i(()=>[e(t(a),{name:"error",title:t(o)("error")},{default:i(()=>[e(t(r),{image:"error",description:t(o)("description")},null,8,["description"])]),_:1},8,["title"]),e(t(a),{name:"network",title:t(o)("network")},{default:i(()=>[e(t(r),{image:"network",description:t(o)("description")},null,8,["description"])]),_:1},8,["title"]),e(t(a),{name:"search",title:t(o)("search")},{default:i(()=>[e(t(r),{image:"search",description:t(o)("description")},null,8,["description"])]),_:1},8,["title"])]),_:1},8,["active"])]),_:1},8,["title"]),e(n,{title:t(o)("customSize")},{default:i(()=>[e(t(r),{"image-size":"100",description:t(o)("description")},null,8,["description"])]),_:1},8,["title"]),e(n,{title:t(o)("customImage")},{default:i(()=>[e(t(r),{image:t(l)("custom-empty-image.png"),"image-size":80,description:t(o)("description")},null,8,["image","description"])]),_:1},8,["title"]),e(n,{title:t(o)("bottomContent")},{default:i(()=>[e(t(r),{description:t(o)("description")},{default:i(()=>[e(t(c),{round:"",type:"danger",class:"bottom-button"},{default:i(()=>[E(b(t(o)("button")),1)]),_:1})]),_:1},8,["description"])]),_:1},8,["title"])],64)}}});export{J as default};