vant/v1/async_17.6f735234.js
2024-04-20 08:49:23 +00:00

1 line
2.1 KiB
JavaScript

(window.webpackJsonp=window.webpackJsonp||[]).push([[17],{117:function(t,n,o){"use strict";var i=o(59);o.n(i).a},118:function(t,n,o){(t.exports=o(12)(!1)).push([t.i,".demo-goods-action .van-goods-action {\n position: relative;\n}\n",""])},211:function(t,n,o){"use strict";o.r(n);var i={i18n:{"zh-CN":{clickIcon:"点击图标",clickButton:"点击按钮",icon1:"客服",icon2:"购物车",icon3:"店铺",button1:"加入购物车",button2:"立即购买",title2:"图标提示"},"en-US":{clickIcon:"Click Icon",clickButton:"Click Button",icon1:"Icon1",icon2:"Icon2",icon3:"Icon3",button1:"Button1",button2:"Button2",title2:"Icon info"}},methods:{onClickMiniBtn:function(){this.$toast(this.$t("clickIcon"))},onClickBigBtn:function(){this.$toast(this.$t("clickButton"))}}},c=(o(117),o(7)),a=Object(c.a)(i,function(){var t=this,n=t.$createElement,o=t._self._c||n;return o("demo-section",[o("demo-block",{attrs:{title:t.$t("basicUsage")}},[o("van-goods-action",[o("van-goods-action-mini-btn",{attrs:{icon:"chat-o",text:t.$t("icon1")},on:{click:t.onClickMiniBtn}}),o("van-goods-action-mini-btn",{attrs:{icon:"cart-o",text:t.$t("icon2")},on:{click:t.onClickMiniBtn}}),o("van-goods-action-big-btn",{attrs:{text:t.$t("button1")},on:{click:t.onClickBigBtn}}),o("van-goods-action-big-btn",{attrs:{primary:"",text:t.$t("button2")},on:{click:t.onClickBigBtn}})],1)],1),o("demo-block",{attrs:{title:t.$t("title2")}},[o("van-goods-action",[o("van-goods-action-mini-btn",{attrs:{icon:"chat-o",text:t.$t("icon1")},on:{click:t.onClickMiniBtn}}),o("van-goods-action-mini-btn",{attrs:{icon:"cart-o",info:"5",text:t.$t("icon2")},on:{click:t.onClickMiniBtn}}),o("van-goods-action-mini-btn",{attrs:{icon:"shop-o",text:t.$t("icon3")},on:{click:t.onClickMiniBtn}}),o("van-goods-action-big-btn",{attrs:{text:t.$t("button1")},on:{click:t.onClickBigBtn}}),o("van-goods-action-big-btn",{attrs:{primary:"",text:t.$t("button2")},on:{click:t.onClickBigBtn}})],1)],1)],1)},[],!1,null,null,null);n.default=a.exports},59:function(t,n,o){var i=o(118);"string"==typeof i&&(i=[[t.i,i,""]]);var c={hmr:!0,transform:void 0,insertInto:void 0};o(13)(i,c);i.locals&&(t.exports=i.locals)}}]);