pages-product-classify.f66a4d0c.js 7.3 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-product-classify"],{"0349":function(t,o,e){"use strict";var i=e("4ea4");e("c975"),Object.defineProperty(o,"__esModule",{value:!0}),o.default=void 0,e("96cf");var a=i(e("1da1")),n=e("12c5"),d={data:function(){return{list:[],bannerImg:[]}},onLoad:function(t){this.type=t.type,this.loadData()},methods:{navTo:function(t){uni.navigateTo({url:"/pages/product/product?id="+t.id+"&isPao=1"})},loadData:function(){var t=this;return(0,a.default)(regeneratorRuntime.mark((function o(){return regeneratorRuntime.wrap((function(o){while(1)switch(o.prev=o.next){case 0:(0,n.groomList)({},t.type).then((function(o){var e=o.data;t.bannerImg=e.banner,t.list=e.list})).catch((function(t){console.log(t)}));case 1:case"end":return o.stop()}}),o)})))()},bannerNavToUrl:function(t){t.wap_link.indexOf("http")>0&&(window.location.href=t.wap_link),t.wap_link&&uni.navigateTo({url:t.wap_link})}}};o.default=d},"12c5":function(t,o,e){"use strict";var i=e("4ea4");Object.defineProperty(o,"__esModule",{value:!0}),o.getProducts=n,o.goodsDetail=d,o.getBargainList=s,o.cartAdd=r,o.collectAdd=u,o.collectDel=c,o.searchKeyword=l,o.groomList=f,o.seckillGoods=g,o.groupGoods=v,o.getCategoryList=b,o.getCombinationList=p,o.getCombinationLisRemove=m,o.getCombinationLisPink=h,o.getCombinationPoster=w,o.getSeckillClass=y,o.getSeckillList=x,o.reply_config=L,o.reply_list=_;var a=i(e("4c3b"));function n(t){return(0,a.default)({url:"/api/products",method:"get",data:t})}function d(t,o){return(0,a.default)({url:"/api/product/detail/"+o,method:"get",data:t})}function s(t){return(0,a.default)({url:"/api/bargain/list",method:"get",data:t})}function r(t){return(0,a.default)({url:"/api/cart/add",method:"post",data:t})}function u(t){return(0,a.default)({url:"/api/collect/add",method:"post",data:t})}function c(t){return(0,a.default)({url:"/api/collect/del",method:"post",data:t})}function l(t){return(0,a.default)({url:"/api/search/keyword",method:"get",data:t})}function f(t,o){return(0,a.default)({url:"/api/groom/list/"+o,method:"get",data:t})}function g(t,o){return(0,a.default)({url:"/api/seckill/detail/"+o,method:"get",data:t})}function v(t,o){return(0,a.default)({url:"/api/combination/detail/"+o,method:"get",data:t})}function b(t){return(0,a.default)({url:"/api/category",method:"get",data:t})}function p(t){return(0,a.default)({url:"/api/combination/list",method:"get",data:t})}function m(t,o){return(0,a.default)({url:"/api/combination/remove"+o,method:"get",data:t})}function h(t,o){return(0,a.default)({url:"/api/combination/pink/"+o,method:"get",data:t})}function w(t){return(0,a.default)({url:"/api/combination/poster",method:"post",data:t})}function y(t){return(0,a.default)({url:"/api/seckill/index",method:"get",data:t})}function x(t,o){return(0,a.default)({url:"/api/seckill/list/"+o,method:"get",data:t})}function L(t,o){return(0,a.default)({url:"/api/reply/config/"+o,method:"get",data:t})}function _(t,o){return(0,a.default)({url:"/api/reply/list/"+o,method:"get",data:t})}},6028:function(t,o,e){"use strict";var i;e.d(o,"b",(function(){return a})),e.d(o,"c",(function(){return n})),e.d(o,"a",(function(){return i}));var a=function(){var t=this,o=t.$createElement,e=t._self._c||o;return e("v-uni-view",{staticClass:"container"},[e("v-uni-view",{staticClass:"status_bar"}),e("v-uni-view",{staticClass:"goodsList-box"},t._l(t.list,(function(o,i){return e("v-uni-view",{key:i,staticClass:"goodsList-item flex"},[e("v-uni-image",{attrs:{src:o.image,mode:" scaleToFill"}}),e("v-uni-view",{staticClass:"goodsList-content"},[e("v-uni-view",{staticClass:"title clamp2"},[e("v-uni-text",[t._v(t._s(o.store_name))])],1),e("v-uni-view",{staticClass:"goods-money flex"},[e("v-uni-view",{staticClass:"money-box"},[e("v-uni-view",{staticClass:"money"},[e("v-uni-text",{staticClass:"font-size-sm"},[t._v("¥")]),t._v(t._s(o.price))],1),e("v-uni-view",{staticClass:"otMoney-box"},[e("v-uni-text",{staticClass:"otMoney"},[t._v("¥"+t._s(o.ot_price))]),e("v-uni-text",{staticClass:"sales"},[t._v("已售"+t._s(o.sales)+"件")])],1)],1),e("v-uni-view",{staticClass:"cart iconfont iconcart",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.navTo(o)}}})],1)],1)],1)})),1)],1)},n=[]},"62c2":function(t,o,e){"use strict";e.r(o);var i=e("6028"),a=e("76af");for(var n in a)"default"!==n&&function(t){e.d(o,t,(function(){return a[t]}))}(n);e("da0c");var d,s=e("f0c5"),r=Object(s["a"])(a["default"],i["b"],i["c"],!1,null,"468bd018",null,!1,i["a"],d);o["default"]=r.exports},"76af":function(t,o,e){"use strict";e.r(o);var i=e("0349"),a=e.n(i);for(var n in i)"default"!==n&&function(t){e.d(o,t,(function(){return i[t]}))}(n);o["default"]=a.a},"789e":function(t,o,e){var i=e("24fb");o=i(!1),o.push([t.i,'@charset "UTF-8";\n/* 页面左右间距 */\n/* 文字尺寸 */\n/*文字颜色*/\n/* 边框颜色 */\n/*颜色*/\n/* 图片加载中颜色 */\n/* 行为相关颜色 */\n/* 功能栏字体大小 */\n/*功能栏左侧小图标*/uni-page-body[data-v-468bd018]{background:#f8f8f8}.status_bar[data-v-468bd018]{height:0;width:100%}.carousel-section[data-v-468bd018]{padding:0}.carousel-section .titleNview-placing[data-v-468bd018]{padding-top:0;height:0}.carousel-section .swiper-dots[data-v-468bd018]{left:%?45?%;bottom:%?40?%}.carousel-section .carousel[data-v-468bd018]{width:100%;height:%?360?%}.carousel-section .carousel .carousel-item[data-v-468bd018]{width:100%;height:100%;overflow:hidden}.carousel-section .carousel uni-image[data-v-468bd018]{width:100%;height:100%}.type-title-box[data-v-468bd018]{padding:%?40?%}.type-title-box .title-content[data-v-468bd018]{height:100%;width:%?200?%;text-align:center;font-size:%?32?%;font-weight:500;color:#303133}.type-title-box .title-border[data-v-468bd018]{width:%?250?%;height:%?2?%;background-color:#e9e9e9}.goodsList-box .goodsList-item[data-v-468bd018]{margin-bottom:%?40?%;background-color:#fff;padding:%?30?%}.goodsList-box .goodsList-item uni-image[data-v-468bd018]{flex-shrink:0;border-radius:%?15?%;height:%?180?%;width:%?180?%}.goodsList-box .goodsList-item .goodsList-content[data-v-468bd018]{margin-left:%?20?%;flex-grow:1;height:%?180?%;position:relative}.goodsList-box .goodsList-item .goodsList-content .title[data-v-468bd018]{font-size:%?28?%;color:#303133;font-weight:500}.goodsList-box .goodsList-item .goodsList-content .goods-money[data-v-468bd018]{position:absolute;left:0;bottom:0;width:100%}.goodsList-box .goodsList-item .goodsList-content .goods-money .money-box .money[data-v-468bd018]{font-size:%?32?%;color:#dd524d;font-weight:700}.goodsList-box .goodsList-item .goodsList-content .goods-money .money-box .otMoney-box[data-v-468bd018]{font-size:%?24?%}.goodsList-box .goodsList-item .goodsList-content .goods-money .money-box .otMoney-box .otMoney[data-v-468bd018]{color:#303133;padding-right:%?20?%}.goodsList-box .goodsList-item .goodsList-content .goods-money .money-box .otMoney-box .sales[data-v-468bd018]{color:#909399}.goodsList-box .goodsList-item .goodsList-content .goods-money .cart[data-v-468bd018]{border:1px solid #dd524d;color:#dd524d;font-size:%?28?%;font-weight:700;border-radius:99px;width:%?55?%;height:%?55?%;display:flex;justify-content:center;align-items:center}body.?%PAGE?%[data-v-468bd018]{background:#f8f8f8}',""]),t.exports=o},da0c:function(t,o,e){"use strict";var i=e("f487"),a=e.n(i);a.a},f487:function(t,o,e){var i=e("789e");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var a=e("4f06").default;a("73f11744",i,!0,{sourceMap:!1,shadowMode:!1})}}]);