mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
1 line
3.1 KiB
JavaScript
1 line
3.1 KiB
JavaScript
(window.webpackJsonp=window.webpackJsonp||[]).push([[43],{172:function(t,a,n){"use strict";var s=n(86);n.n(s).a},173:function(t,a,n){(t.exports=n(12)(!1)).push([t.i,".demo-tag {\n background-color: #fff;\n}\n.demo-tag .van-tag + .van-tag {\n margin-left: 10px;\n}\n.demo-tag .van-tag:first-of-type {\n margin-left: 15px;\n}\n",""])},265:function(t,a,n){"use strict";n.r(a);var s={i18n:{"zh-CN":{plain:"空心样式",round:"圆角样式",mark:"标记样式",customColor:"自定义颜色",customSize:"标签大小"},"en-US":{plain:"Plain style",round:"Round style",mark:"Mark style",customColor:"Custom Color",customSize:"Custom Size"}}},r=(n(172),n(7)),e=Object(r.a)(s,function(){var t=this,a=t.$createElement,n=t._self._c||a;return n("demo-section",[n("demo-block",{attrs:{title:t.$t("basicUsage")}},[n("van-tag",[t._v(t._s(t.$t("tag")))]),n("van-tag",{attrs:{type:"danger"}},[t._v(t._s(t.$t("tag")))]),n("van-tag",{attrs:{type:"primary"}},[t._v(t._s(t.$t("tag")))]),n("van-tag",{attrs:{type:"success"}},[t._v(t._s(t.$t("tag")))])],1),n("demo-block",{attrs:{title:t.$t("plain")}},[n("van-tag",{attrs:{plain:""}},[t._v(t._s(t.$t("tag")))]),n("van-tag",{attrs:{round:"",plain:"",type:"danger"}},[t._v("\n "+t._s(t.$t("tag"))+"\n ")]),n("van-tag",{attrs:{round:"",plain:"",type:"primary"}},[t._v("\n "+t._s(t.$t("tag"))+"\n ")]),n("van-tag",{attrs:{plain:"",type:"success"}},[t._v("\n "+t._s(t.$t("tag"))+"\n ")])],1),n("demo-block",{attrs:{title:t.$t("round")}},[n("van-tag",{attrs:{round:""}},[t._v(t._s(t.$t("tag")))]),n("van-tag",{attrs:{round:"",type:"danger"}},[t._v("\n "+t._s(t.$t("tag"))+"\n ")]),n("van-tag",{attrs:{round:"",type:"primary"}},[t._v("\n "+t._s(t.$t("tag"))+"\n ")]),n("van-tag",{attrs:{round:"",type:"success"}},[t._v("\n "+t._s(t.$t("tag"))+"\n ")])],1),n("demo-block",{attrs:{title:t.$t("mark")}},[n("van-tag",{attrs:{mark:""}},[t._v(t._s(t.$t("tag")))]),n("van-tag",{attrs:{mark:"",type:"danger"}},[t._v("\n "+t._s(t.$t("tag"))+"\n ")]),n("van-tag",{attrs:{mark:"",type:"primary"}},[t._v("\n "+t._s(t.$t("tag"))+"\n ")]),n("van-tag",{attrs:{mark:"",type:"success"}},[t._v("\n "+t._s(t.$t("tag"))+"\n ")])],1),n("demo-block",{attrs:{title:t.$t("customColor")}},[n("van-tag",{attrs:{color:"#f2826a"}},[t._v(t._s(t.$t("tag")))]),n("van-tag",{attrs:{color:"#f2826a",plain:""}},[t._v("\n "+t._s(t.$t("tag"))+"\n ")]),n("van-tag",{attrs:{color:"#7232dd"}},[t._v(t._s(t.$t("tag")))]),n("van-tag",{attrs:{color:"#7232dd",plain:""}},[t._v("\n "+t._s(t.$t("tag"))+"\n ")]),n("van-tag",{attrs:{color:"#ffe1e1","text-color":"#ad0000"}},[t._v("\n "+t._s(t.$t("tag"))+"\n ")])],1),n("demo-block",{attrs:{title:t.$t("customSize")}},[n("van-tag",{attrs:{type:"danger"}},[t._v(t._s(t.$t("tag")))]),n("van-tag",{attrs:{type:"danger",size:"medium"}},[t._v("\n "+t._s(t.$t("tag"))+"\n ")]),n("van-tag",{attrs:{type:"danger",size:"large"}},[t._v("\n "+t._s(t.$t("tag"))+"\n ")])],1)],1)},[],!1,null,null,null);a.default=e.exports},86:function(t,a,n){var s=n(173);"string"==typeof s&&(s=[[t.i,s,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n(13)(s,r);s.locals&&(t.exports=s.locals)}}]); |