glhcp/server/public/pc/_nuxt/df204b6.js

1 line
6.5 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

(window.webpackJsonp=window.webpackJsonp||[]).push([[37,19],{439:function(t,e,r){"use strict";var o=r(18),n=r(2),c=r(3),l=r(137),d=r(27),h=r(19),f=r(273),x=r(54),m=r(136),v=r(272),_=r(5),y=r(97).f,N=r(45).f,I=r(25).f,S=r(440),w=r(441).trim,k="Number",E=n.Number,z=E.prototype,C=n.TypeError,L=c("".slice),A=c("".charCodeAt),M=function(t){var e=v(t,"number");return"bigint"==typeof e?e:O(e)},O=function(t){var e,r,o,n,c,l,d,code,h=v(t,"number");if(m(h))throw C("Cannot convert a Symbol value to a number");if("string"==typeof h&&h.length>2)if(h=w(h),43===(e=A(h,0))||45===e){if(88===(r=A(h,2))||120===r)return NaN}else if(48===e){switch(A(h,1)){case 66:case 98:o=2,n=49;break;case 79:case 111:o=8,n=55;break;default:return+h}for(l=(c=L(h,2)).length,d=0;d<l;d++)if((code=A(c,d))<48||code>n)return NaN;return parseInt(c,o)}return+h};if(l(k,!E(" 0o1")||!E("0b1")||E("+0x1"))){for(var R,T=function(t){var e=arguments.length<1?0:E(M(t)),r=this;return x(z,r)&&_((function(){S(r)}))?f(Object(e),r,T):e},$=o?y(E):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),F=0;$.length>F;F++)h(E,R=$[F])&&!h(T,R)&&I(T,R,N(E,R));T.prototype=z,z.constructor=T,d(n,k,T)}},440:function(t,e,r){var o=r(3);t.exports=o(1..valueOf)},441:function(t,e,r){var o=r(3),n=r(33),c=r(17),l=r(442),d=o("".replace),h="["+l+"]",f=RegExp("^"+h+h+"*"),x=RegExp(h+h+"*$"),m=function(t){return function(e){var r=c(n(e));return 1&t&&(r=d(r,f,"")),2&t&&(r=d(r,x,"")),r}};t.exports={start:m(1),end:m(2),trim:m(3)}},442:function(t,e){t.exports="\t\n\v\f\r    \u2028\u2029\ufeff"},475:function(t,e,r){var content=r(489);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,r(15).default)("d6370bb2",content,!0,{sourceMap:!1})},488:function(t,e,r){"use strict";r(475)},489:function(t,e,r){var o=r(14)(!1);o.push([t.i,".shop-item[data-v-871c1244]{width:270px;height:400px;background-size:cover;background-position:50%;padding:10px;border-radius:6px}.shop-item .shop-info[data-v-871c1244]{border-radius:6px;padding:18px 15px}.shop-item .shop-info .logo[data-v-871c1244]{width:70px;height:70px;border-radius:16px;margin-top:-45px}.shop-item .shop-info .sales[data-v-871c1244]{display:inline-block;padding:4px 10px;background-color:#f2f2f2;margin-top:6px;border-radius:4px}",""]),t.exports=o},502:function(t,e,r){"use strict";r.r(e);r(439);var o={components:{},props:{cover:{type:String},shopId:{type:[String,Number]},logo:{type:String},type:{type:[String,Number]},name:{type:String},sales:{type:[String,Number]}},methods:{}},n=(r(488),r(9)),component=Object(n.a)(o,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("nuxt-link",{staticClass:"shop-item flex-col row-right",style:{"background-image":"url("+t.cover+")"},attrs:{to:"/shop_street_detail?id="+t.shopId}},[r("div",{staticClass:"bg-white shop-info text-center"},[r("el-image",{staticClass:"logo",attrs:{src:t.logo}}),t._v(" "),r("div",{staticClass:"m-t-12 line-1 lg"},[1==t.type?r("el-tag",{attrs:{size:"mini"}},[t._v("自营")]):t._e(),t._v(" "+t._s(t.name)+"\n ")],1),t._v(" "),r("span",{staticClass:"xs muted sales"},[t._v("共"+t._s(t.sales)+"件商品")])],1)])}),[],!1,null,"871c1244",null);e.default=component.exports},530:function(t,e,r){var content=r(586);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,r(15).default)("5790a1c6",content,!0,{sourceMap:!1})},585:function(t,e,r){"use strict";r(530)},586:function(t,e,r){var o=r(14)(!1);o.push([t.i,".shop-street[data-v-62a34c9e]{width:1180px;padding:20px 0}.shop-street .shop-cart[data-v-62a34c9e]{width:270px;height:400px;margin-bottom:20px}.shop-street .shop-cart[data-v-62a34c9e]:not(:nth-of-type(4n)){margin-right:20px}.shop-street .shop-cart .shop-desc[data-v-62a34c9e]{width:249px;height:124px;background-color:#fff;margin-top:247px;margin-bottom:9px;border-radius:6px;position:relative}.shop-street .shop-cart .shop-desc .shop-logo[data-v-62a34c9e]{position:absolute;top:-26px;left:89px;z-index:10}.shop-street .shop-cart .shop-desc .shop-name[data-v-62a34c9e]{margin-top:52px;padding:0 10px;margin-bottom:4px;text-align:center;font-size:16px;color:#101010}.shop-street .shop-cart .shop-desc .goods-num[data-v-62a34c9e]{width:82px;height:24px;text-align:center;background:#e5e5e5;padding-top:4px;margin-bottom:20px;font-size:12px;border-radius:4px;color:#999}",""]),t.exports=o},659:function(t,e,r){"use strict";r.r(e);var o=r(6),n=(r(53),{head:function(){return{title:this.$store.getters.headTitle,link:[{rel:"icon",type:"image/x-icon",href:this.$store.getters.favicon}]}},asyncData:function(t){return Object(o.a)(regeneratorRuntime.mark((function e(){var r,o,n,c,l;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.query,r=t.$get,e.next=3,r("shop/getShopList",{params:{page_size:8,page_no:1}});case 3:return o=e.sent,n=o.data,c=n.list,l=n.count,e.abrupt("return",{shopList:c,count:l});case 8:case"end":return e.stop()}}),e)})))()},data:function(){return{shopList:[],count:0,page:1,pageSize:8}},methods:{changePage:function(t){this.page=t,this.getShopList()},getShopList:function(){var t=this;return Object(o.a)(regeneratorRuntime.mark((function e(){var r,o,n,c,l,d;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.page,o=t.pageSize,e.next=3,t.$get("shop/getShopList",{params:{page_size:o,page_no:r}});case 3:n=e.sent,c=n.data,l=c.list,d=c.count,1==n.code&&(t.shopList=l,t.count=d);case 9:case"end":return e.stop()}}),e)})))()}}}),c=(r(585),r(9)),component=Object(c.a)(n,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"street"},[r("div",{staticClass:"shop-street flex flex-wrap flex-center"},t._l(t.shopList,(function(t,e){return r("div",{key:e},[r("div",{staticClass:"shop-cart"},[r("shop-item",{attrs:{cover:t.cover,shopId:t.id,logo:t.logo,type:t.type,name:t.name,sales:t.on_sale_goods}})],1)])})),0),t._v(" "),t.count?r("div",{staticStyle:{"padding-bottom":"38px","text-align":"center"}},[r("el-pagination",{attrs:{background:"",layout:"prev, pager, next",total:t.count,"prev-text":"上一页","next-text":"下一页","hide-on-single-page":"","page-size":t.pageSize},on:{"current-change":t.changePage}})],1):t._e()])}),[],!1,null,"62a34c9e",null);e.default=component.exports;installComponents(component,{ShopItem:r(502).default})}}]);