1 line
2.3 KiB
JavaScript
1 line
2.3 KiB
JavaScript
(window.webpackJsonp=window.webpackJsonp||[]).push([[5],{452:function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"a",(function(){return c}));var r=n(34);n(39),n(274),n(100),n(61),n(11),n(40),n(62),n(46),n(20),n(63),n(64),n(47);var o=function(t){var time=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1e3,e=arguments.length>2?arguments[2]:void 0,n=new Date(0).getTime();return function(){var r=(new Date).getTime();if(r-n>time){for(var o=arguments.length,c=new Array(o),f=0;f<o;f++)c[f]=arguments[f];t.apply(e,c),n=r}}};function c(t){var p="";if("object"==Object(r.a)(t)){for(var e in p="?",t)p+="".concat(e,"=").concat(t[e],"&");p=p.slice(0,-1)}return p}},454:function(t,e,n){var content=n(463);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(15).default)("532bec65",content,!0,{sourceMap:!1})},459:function(t,e,n){"use strict";var r=n(7),o=n(460);r({target:"String",proto:!0,forced:n(461)("link")},{link:function(t){return o(this,"a","href",t)}})},460:function(t,e,n){var r=n(3),o=n(33),c=n(17),f=/"/g,l=r("".replace);t.exports=function(t,e,n,r){var d=c(o(t)),v="<"+e;return""!==n&&(v+=" "+n+'="'+l(c(r),f,""")+'"'),v+">"+d+"</"+e+">"}},461:function(t,e,n){var r=n(5);t.exports=function(t){return r((function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3}))}},462:function(t,e,n){"use strict";n(454)},463:function(t,e,n){var r=n(14)(!1);r.push([t.i,".ad-item[data-v-368017b1]{width:100%;height:100%;cursor:pointer}",""]),t.exports=r},465:function(t,e,n){"use strict";n.r(e);n(459),n(82);var r=n(452),o={components:{},props:{item:{type:Object,default:function(){return{}}}},methods:{goPage:function(t){var e=t.link_type,link=t.link,n=t.params;if(3===e)window.open(t.link);else["/goods_details"].includes(link)?link+="/".concat(n.id):link+=Object(r.a)(n),this.$router.push({path:link})}}},c=(n(462),n(9)),component=Object(c.a)(o,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"ad-item",on:{click:function(e){return e.stopPropagation(),t.goPage(t.item)}}},[n("el-image",{staticStyle:{width:"100%",height:"100%"},attrs:{src:t.item.image,fit:"cover"}})],1)}),[],!1,null,"368017b1",null);e.default=component.exports}}]); |