091bf0d.js 2.7 KB

1
  1. (window.webpackJsonp=window.webpackJsonp||[]).push([[5],{493:function(e,t,r){"use strict";r.d(t,"b",(function(){return n})),r.d(t,"a",(function(){return o}));r(30),r(65),r(47),r(37),r(21),r(61),r(66),r(48),r(18),r(100),r(63),r(12);var n=function(e){var time=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1e3,t=arguments.length>2?arguments[2]:void 0,r=new Date(0).getTime();return function(){var n=(new Date).getTime();if(n-r>time){for(var o=arguments.length,c=new Array(o),l=0;l<o;l++)c[l]=arguments[l];e.apply(t,c),r=n}}};var o=function(e){var t=document.createElement("input");t.setAttribute("value",e),document.body.appendChild(t),t.select();try{if(document.execCommand("copy"))return Promise.resolve();throw new Error}catch(e){return Promise.reject(e)}finally{document.body.removeChild(t)}}},494:function(e,t,r){var content=r(502);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[e.i,content,""]]),content.locals&&(e.exports=content.locals);(0,r(20).default)("77b218c1",content,!0,{sourceMap:!1})},501:function(e,t,r){"use strict";r(494)},502:function(e,t,r){var n=r(19)((function(i){return i[1]}));n.push([e.i,".ad-item[data-v-127365e2]{cursor:pointer;height:100%;width:100%}",""]),n.locals={},e.exports=n},507:function(e,t,r){"use strict";r.r(t);r(26),r(21),r(25),r(12),r(31),r(22),r(32);var n=r(10),o=(r(142),r(493),r(13));function c(object,e){var t=Object.keys(object);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(object);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(object,e).enumerable}))),t.push.apply(t,r)}return t}var l={components:{},props:{item:{type:Object,default:function(){return{}}}},computed:function(e){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?c(Object(source),!0).forEach((function(t){Object(n.a)(e,t,source[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(source)):c(Object(source)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(source,t))}))}return e}({},Object(o.c)(["ossDomain"])),methods:{goPage:function(e){var t=e.link,r=t.type,path=t.path,n=t.params;switch(r){case"goods":case"seckill":case"category":path+="?id=".concat(n.id),this.$router.push({path:path});break;default:this.$router.push({path:path})}}}},f=l,d=(r(501),r(9)),component=Object(d.a)(f,(function(){var e=this,t=e._self._c;return t("div",{staticClass:"ad-item",on:{click:function(t){return t.stopPropagation(),e.goPage(e.item)}}},[e.ossDomain&&e.item.url?t("el-image",{staticStyle:{width:"100%",height:"100%"},attrs:{src:e.$getImageUri(e.item.url)}}):e._e()],1)}),[],!1,null,"127365e2",null);t.default=component.exports}}]);