(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-columnGoods-HotNewGoods-index"],{"0676":function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* crmeb颜色变量 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.empty-box[data-v-63d1a8ca]{display:flex;flex-direction:column;justify-content:center;align-items:center;margin-top:%?200?%;padding-bottom:%?60?%}.empty-box uni-image[data-v-63d1a8ca]{width:%?414?%;height:%?240?%}.empty-box .txt[data-v-63d1a8ca]{font-size:%?26?%;color:#999}',""]),t.exports=e},"0f0a":function(t,e,i){"use strict";i("7a82");var n=i("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.collectAdd=function(t,e){return a.default.post("front/collect/add",{id:t,category:void 0===e?"product":e})},e.collectAll=function(t,e){return a.default.post("collect/all",{id:t,category:void 0===e?"product":e})},e.collectDel=function(t){return a.default.post("collect/cancel/".concat(t))},e.collectDelete=function(t){return a.default.post("collect/delete",t)},e.getCategoryList=function(){return a.default.get("front/category",{},{noAuth:!0})},e.getCollectUserList=function(t){return a.default.get("collect/user",t)},e.getGroomList=function(t,e){return a.default.get("index/product/"+t,e,{noAuth:!0})},e.getProductCode=function(t){return a.default.get("front/product/code/"+t,{})},e.getProductDetail=function(t,e){return a.default.get("front/product/detail/"+t+"?type="+e,{},{noAuth:!0})},e.getProductGood=function(){return a.default.get("front/product/good")},e.getProductHot=function(t,e){return a.default.get("front/product/hot",{page:void 0===t?1:t,limit:void 0===e?4:e},{noAuth:!0})},e.getProductslist=function(t){return a.default.get("front/products",t,{noAuth:!0})},e.getReplyConfig=function(t){return a.default.get("front/reply/config/"+t,{},{noAuth:!0})},e.getReplyList=function(t,e){return a.default.get("reply/list/"+t,e,{noAuth:!0})},e.getReplyProduct=function(t){return a.default.get("front/reply/product/"+t,{noAuth:!0})},e.getSearchKeyword=function(){return a.default.get("search/keyword",{},{noAuth:!0})},e.postCartAdd=function(t){return a.default.post("front/cart/save",t,{})},e.storeListApi=function(t){return a.default.post("store/list",t,{},1)};var a=n(i("216d"))},"121f":function(t,e,i){"use strict";i.r(e);var n=i("46f4"),a=i.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},"358f":function(t,e,i){t.exports=i.p+"static/img/empty-box.a3b2b2dd.png"},"3a4c":function(t,e,i){"use strict";i("7a82");var n=i("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("99af");var a=n(i("ad50")),r=n(i("f7a3")),o=i("0f0a"),s={name:"HotNewGoods",components:{GoodList:r.default,emptyPage:a.default},props:{},data:function(){return{imgUrls:[],goodsList:[],name:"",icon:"",type:0,autoplay:!0,circular:!0,interval:3e3,duration:500,page:1,limit:8,isScroll:!0}},onLoad:function(t){this.type=t.type,this.titleInfo(),this.getIndexGroomList()},methods:{titleInfo:function(){"1"===this.type?(this.name="精品推荐",this.icon="icon-jingpintuijian",uni.setNavigationBarTitle({title:"精品推荐"})):"2"===this.type?(this.name="热门榜单",this.icon="icon-remen",uni.setNavigationBarTitle({title:"热门榜单"})):"3"===this.type?(this.name="首发新品",this.icon="icon-xinpin",uni.setNavigationBarTitle({title:"首发新品"})):"4"===this.type&&(this.name="促销单品",this.icon="icon-xinpin",uni.setNavigationBarTitle({title:"促销单品"}))},getIndexGroomList:function(){if(this.isScroll){var t=this,e=this.type;(0,o.getGroomList)(e,{page:this.page,limit:this.limit}).then((function(e){t.imgUrls=e.data.banner,t.goodsList=t.goodsList.concat(e.data.list),t.isScroll=e.data.list.length>=t.limit,t.page++})).catch((function(e){t.$util.Tips({title:e})}))}}},onReachBottom:function(){this.getIndexGroomList()}};e.default=s},"46f4":function(t,e,i){"use strict";i("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("a9e3");var n=i("26cb"),a=i("192a"),r={computed:(0,n.mapGetters)(["uid"]),props:{status:{type:Number,default:0},bastList:{type:Array,default:function(){return[]}}},data:function(){return{}},methods:{goDetail:function(t){(0,a.goShopDetail)(t,this.uid).then((function(e){uni.navigateTo({url:"/pages/goods_details/index?id=".concat(t.id)})}))}}};e.default=r},"47e8":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC4AAAAVCAMAAAAO2ixrAAABR1BMVEUAAAAMDQxFRUUAAAAMDAwDAwMJCQkGBgYUExRCQkIRERE2NjYcHBw0NDQeHh4PDw45OTk4ODcwMDAsLCwkJCQgICAaGhoYGBgWFhYuLi4oKCgiIiJBQUE8PDw7OztAPz8+Pj4zMjIrKysmJiYyMjIqKip1XygnJiaqlyLWvx3Upxt3ZiutmSqshSrWtSJxWSFiXiCnjR2+sxv93xqmhRn81xjUrxj7yBb6whX6vBSPcy94bS2ulSyqoCD/9x717B3r4h3Wxx3fqx2ilxybkxz+6RvKxBvUtht+eBrpzxnJtxn7zheMfxeLhhZHRBNiWDt+aTduWjVIQDKXgTHCnCiTiiiEfiW1qyOcfiPgwh/gtx9OSB/+7x3g0R3+7Rz05By/uRzz2xvesxvq1xq9pxjxthczMxcyMRaYihUzLxVaTxNrZRFEPQyJMP9/AAAAAnRSTlMAgJsrThgAAAF8SURBVCjPfdPXVsJAEAbgWEBEikIQSESlJ6H33nu1997r+1/L7mYdTwDn+jtz/p2ZZRaWUWk1Gpt1U2ew8Kyb85rtJqd+bWN927G7s7W6ugjFEG/84/2ca65nwCv6e5B3EA8cvBb83P4M8WriX0tRkue0YT4pePTBYLBYPNoDzxCvVpM81XvSv3rmqpVMzsRFOBy+zBxjD5xZkX2zgvNEr6OcKNhNqQLKk8/uEw9c9uNyF/n4DesXBbM9FcD56yGcH7gKe6NR226j9941eVYUvOZUAL+3HiLvBa6S+4/KbzZrt3Vl4UWBcw0CaJ753AGdD3DZV0YaW7w/yd+JubnBoyRJL7kQnSflSyraP17TfLSGk/ydGOvOnPsmdQjzp/zXf92Ohw8ofzrGsxmfYl+Ug3967z+j/aaTFj4bUeyXcvCNXuIT3UM6abBkI3A/2FOOC/vvRA/fm5TUGXIRfD/ggUP/qfsED/xfT/MDV/jZ/wX4lNfO8JRDzcxD/Q9yEkpsY96XtwAAAABJRU5ErkJggg=="},"4f4d":function(t,e,i){"use strict";i.r(e);var n=i("b034"),a=i("56eb");for(var r in a)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(r);i("78bf");var o=i("f0c5"),s=Object(o["a"])(a["default"],n["b"],n["c"],!1,null,"bc1eb60a",null,!1,n["a"],void 0);e["default"]=s.exports},"56eb":function(t,e,i){"use strict";i.r(e);var n=i("3a4c"),a=i.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},"5edd":function(t,e,i){var n=i("0676");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("4f06").default;a("52d64a9c",n,!0,{sourceMap:!1,shadowMode:!1})},"60a2":function(t,e,i){var n=i("6f39");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("4f06").default;a("af489eb0",n,!0,{sourceMap:!1,shadowMode:!1})},6314:function(t,e,i){"use strict";i("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={props:{title:{type:String,default:"暂无记录"}}};e.default=n},"6f39":function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* crmeb颜色变量 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */[data-v-bc1eb60a] .empty-box{background-color:#f5f5f5}.swiper[data-v-bc1eb60a], uni-swiper[data-v-bc1eb60a], uni-swiper-item[data-v-bc1eb60a], .slide-image[data-v-bc1eb60a]{width:100%;height:%?280?%}.quality-recommend .wrapper[data-v-bc1eb60a]{background:#fff}.quality-recommend .title[data-v-bc1eb60a]{height:%?120?%;font-size:%?32?%;color:#282828;background-color:#f5f5f5}.quality-recommend .title .line[data-v-bc1eb60a]{width:%?230?%;height:%?2?%;background-color:#e9e9e9}.txt-bar[data-v-bc1eb60a]{padding:%?20?% 0;text-align:center;font-size:%?26?%;color:#666;background-color:#f5f5f5}',""]),t.exports=e},"78bf":function(t,e,i){"use strict";var n=i("60a2"),a=i.n(n);a.a},"7ca8":function(t,e,i){"use strict";i.r(e);var n=i("6314"),a=i.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},"83b7":function(t,e,i){var n=i("b923");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("4f06").default;a("54c1617a",n,!0,{sourceMap:!1,shadowMode:!1})},a97b:function(t,e,i){"use strict";var n=i("5edd"),a=i.n(n);a.a},ad50:function(t,e,i){"use strict";i.r(e);var n=i("fde2"),a=i("7ca8");for(var r in a)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(r);i("a97b");var o=i("f0c5"),s=Object(o["a"])(a["default"],n["b"],n["c"],!1,null,"63d1a8ca",null,!1,n["a"],void 0);e["default"]=s.exports},af91:function(t,e,i){"use strict";var n=i("83b7"),a=i.n(n);a.a},b034:function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){}));var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"quality-recommend"},[i("div",{staticClass:"slider-banner swiper"},[i("v-uni-view",{staticClass:"swiper"},[i("v-uni-swiper",{attrs:{"indicator-dots":"true",autoplay:t.autoplay,circular:t.circular,interval:t.interval,duration:t.duration,"indicator-color":"rgba(255,255,255,0.6)","indicator-active-color":"#fff"}},[t._l(t.imgUrls,(function(t,e){return[i("v-uni-swiper-item",[i("v-uni-image",{staticClass:"slide-image",attrs:{src:t.pic}})],1)]}))],2)],1)],1),i("div",{staticClass:"title acea-row row-center-wrapper"},[i("div",{staticClass:"line"}),i("div",{staticClass:"name"},[i("span",{staticClass:"iconfont",class:t.icon}),t._v(t._s(t.name))]),i("div",{staticClass:"line"})]),i("v-uni-view",{staticClass:"wrapper"},[i("GoodList",{attrs:{bastList:t.goodsList,"is-sort":!1}}),t.goodsList.length>0&&!t.isScroll?i("v-uni-view",{staticClass:"txt-bar"},[t._v("我是有底线的~")]):t._e(),0!=t.goodsList.length||t.isScroll?t._e():i("emptyPage",{attrs:{title:"暂无数据~"}})],1)],1)},a=[]},b923:function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* crmeb颜色变量 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.goodList .item[data-v-72e7ac32]{position:relative;padding-left:%?30?%}.goodList .item .pictrue[data-v-72e7ac32]{width:%?180?%;height:%?180?%;position:relative}.goodList .item .pictrue uni-image[data-v-72e7ac32]{width:100%;height:100%;border-radius:%?6?%}.goodList .item .pictrue .numPic[data-v-72e7ac32]{position:absolute;left:%?7?%;top:%?7?%;width:%?50?%;height:%?50?%;border-radius:50%}.goodList .item .underline[data-v-72e7ac32]{padding:%?30?% %?30?% %?30?% 0;border-bottom:1px solid #f5f5f5}.goodList .item:nth-last-child(1) .underline[data-v-72e7ac32]{border-bottom:0}.goodList .item .text[data-v-72e7ac32]{font-size:%?30?%;color:#222;width:%?489?%}.goodList .item .text .money[data-v-72e7ac32]{font-size:%?26?%;font-weight:700;margin-top:%?50?%}.goodList .item .text .money .num[data-v-72e7ac32]{font-size:%?34?%}.goodList .item .text .vip-money[data-v-72e7ac32]{font-size:%?24?%;color:#282828;font-weight:700;margin-top:%?15?%}.goodList .item .text .vip-money uni-image[data-v-72e7ac32]{width:%?46?%;height:%?21?%;margin:0 %?22?% 0 %?5?%}.goodList .item .text .vip-money .num[data-v-72e7ac32]{font-size:%?22?%;color:#aaa;font-weight:400;margin:%?-2?% 0 0 0}.goodList .item .iconfont[data-v-72e7ac32]{position:absolute;right:%?30?%;width:%?50?%;height:%?50?%;border-radius:50%;font-size:%?30?%;bottom:%?38?%}',""]),t.exports=e},e0c2:function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){}));var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{staticClass:"goodList"},[t._l(t.bastList,(function(e,a){return[n("v-uni-view",{key:a+"_0",staticClass:"item acea-row row-between-wrapper",attrs:{"hover-class":"none"},on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.goDetail(e)}}},[n("v-uni-view",{staticClass:"pictrue"},[n("v-uni-image",{attrs:{src:e.image}}),e.activityH5&&"1"===e.activityH5.type?n("span",{staticClass:"pictrue_log pictrue_log_class"},[t._v("秒杀")]):t._e(),e.activityH5&&"2"===e.activityH5.type?n("span",{staticClass:"pictrue_log pictrue_log_class"},[t._v("砍价")]):t._e(),e.activityH5&&"3"===e.activityH5.type?n("span",{staticClass:"pictrue_log pictrue_log_class"},[t._v("拼团")]):t._e()],1),n("v-uni-view",{staticClass:"underline"},[n("v-uni-view",{staticClass:"text"},[n("v-uni-view",{staticClass:"line1"},[t._v(t._s(e.storeName))]),n("v-uni-view",{staticClass:"money font-color"},[t._v("¥"),n("v-uni-text",{staticClass:"num"},[t._v(t._s(e.price))])],1),e.vip_price&&e.vip_price>0?n("v-uni-view",{staticClass:"vip-money acea-row row-middle"},[t._v("¥"+t._s(e.vip_price||0)),n("v-uni-image",{attrs:{src:i("47e8")}}),n("v-uni-text",{staticClass:"num"},[t._v("已售"+t._s(Number(e.sales)+Number(e.ficti)||0)+t._s(e.unitName))])],1):n("v-uni-view",{staticClass:"vip-money acea-row row-middle"},[n("v-uni-text",{staticClass:"num"},[t._v("已售"+t._s(Number(e.sales)+Number(e.ficti)||0)+t._s(e.unitName))])],1)],1)],1),n("v-uni-view",{staticClass:"iconfont icon-gouwuche cart-color acea-row row-center-wrapper"})],1)]}))],2)},a=[]},f7a3:function(t,e,i){"use strict";i.r(e);var n=i("e0c2"),a=i("121f");for(var r in a)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(r);i("af91");var o=i("f0c5"),s=Object(o["a"])(a["default"],n["b"],n["c"],!1,null,"72e7ac32",null,!1,n["a"],void 0);e["default"]=s.exports},fde2:function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){}));var n=function(){var t=this.$createElement,e=this._self._c||t;return e("v-uni-view",{staticClass:"empty-box"},[e("v-uni-image",{attrs:{src:i("358f")}}),e("v-uni-view",{staticClass:"txt"},[this._v(this._s(this.title))])],1)},a=[]}}]);