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

2 lines
1.8 KiB
JavaScript

import{V as r}from"./index.628e86fc.js";import{V as m}from"./index.4d1fb3f9.js";import{V as l}from"./index.8e37fe56.js";import{c}from"./index.d8fe3225.js";import{a as d}from"./use-translate.d2900b8c.js";import{z as p,r as _,o as f,a as g,e as o,w as n,B as t,h as i,t as a,F as b}from"./vue-libs.b44bc779.js";import"./with-install.19a35764.js";import"./index.45d743b7.js";import"./index.b70c9b40.js";import"./constant.80c6de18.js";import"./use-route.82f2be69.js";import"./index.4e4daaac.js";const T=p({__name:"index",setup(h){const e=d({"zh-CN":{title:"\u5546\u54C1\u540D\u79F0",discountInfo:"\u8425\u9500\u4FE1\u606F",customContent:"\u81EA\u5B9A\u4E49\u5185\u5BB9"},"en-US":{discountInfo:"Discount Info",customContent:"Custom Content"}}),u=c("ipad.jpeg");return(C,x)=>{const s=_("demo-block");return f(),g(b,null,[o(s,{title:t(e)("basicUsage")},{default:n(()=>[o(t(r),{num:"2",price:"2.00",desc:t(e)("desc"),title:t(e)("title"),thumb:t(u)},null,8,["desc","title","thumb"])]),_:1},8,["title"]),o(s,{title:t(e)("discountInfo")},{default:n(()=>[o(t(r),{num:"2",price:"2.00","origin-price":"10.00",tag:t(e)("tag"),desc:t(e)("desc"),title:t(e)("title"),thumb:t(u)},null,8,["tag","desc","title","thumb"])]),_:1},8,["title"]),o(s,{title:t(e)("customContent")},{default:n(()=>[o(t(r),{num:"2",price:"2.00",desc:t(e)("desc"),title:t(e)("title"),thumb:t(u)},{tags:n(()=>[o(t(m),{plain:"",type:"danger",style:{"margin-right":"5px"}},{default:n(()=>[i(a(t(e)("tag")),1)]),_:1}),o(t(m),{plain:"",type:"danger"},{default:n(()=>[i(a(t(e)("tag")),1)]),_:1})]),footer:n(()=>[o(t(l),{round:"",size:"mini"},{default:n(()=>[i(a(t(e)("button")),1)]),_:1}),o(t(l),{round:"",size:"mini"},{default:n(()=>[i(a(t(e)("button")),1)]),_:1})]),_:1},8,["desc","title","thumb"])]),_:1},8,["title"])],64)}}});export{T as default};