1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-home-home"],{"057d":function(t,e,a){"use strict";var i=a("c5e3"),o=a.n(i);o.a},"123c":function(t,e,a){"use strict";a.r(e);var i=a("eff7"),o=a.n(i);for(var n in i)["default"].indexOf(n)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(n);e["default"]=o.a},1335:function(t,e,a){"use strict";a.d(e,"b",(function(){return o})),a.d(e,"c",(function(){return n})),a.d(e,"a",(function(){return i}));var i={uIcon:a("5fbc").default},o=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{},[a("v-uni-view",{staticClass:"u-navbar",class:{"u-navbar-fixed":t.isFixed,"u-border-bottom":t.borderBottom},style:[t.navbarStyle]},[a("v-uni-view",{staticClass:"u-status-bar",style:{height:t.statusBarHeight+"px"}}),a("v-uni-view",{staticClass:"u-navbar-inner",style:[t.navbarInnerStyle]},[t.isBack?a("v-uni-view",{staticClass:"u-back-wrap",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.goBack.apply(void 0,arguments)}}},[a("v-uni-view",{staticClass:"u-icon-wrap"},[a("u-icon",{attrs:{name:t.backIconName,color:t.backIconColor,size:t.backIconSize}})],1),t.backText?a("v-uni-view",{staticClass:"u-icon-wrap u-back-text u-line-1",style:[t.backTextStyle]},[t._v(t._s(t.backText))]):t._e()],1):t._e(),t.title?a("v-uni-view",{staticClass:"u-navbar-content-title",style:[t.titleStyle]},[a("v-uni-view",{staticClass:"u-title u-line-1",style:{color:t.titleColor,fontSize:t.titleSize+"rpx",fontWeight:t.titleBold?"bold":"normal"}},[t._v(t._s(t.title))])],1):t._e(),a("v-uni-view",{staticClass:"u-slot-content"},[t._t("default")],2),a("v-uni-view",{staticClass:"u-slot-right"},[t._t("right")],2)],1)],1),t.isFixed&&!t.immersive?a("v-uni-view",{staticClass:"u-navbar-placeholder",style:{width:"100%",height:Number(t.navbarHeight)+t.statusBarHeight+"px"}}):t._e()],1)},n=[]},1624:function(t,e,a){var i=a("24fb");e=i(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.u-navbar[data-v-2920cc37]{width:100%}.u-navbar-fixed[data-v-2920cc37]{position:fixed;left:0;right:0;top:0;z-index:991}.u-status-bar[data-v-2920cc37]{width:100%}.u-navbar-inner[data-v-2920cc37]{display:flex;flex-direction:row;justify-content:space-between;position:relative;align-items:center}.u-back-wrap[data-v-2920cc37]{display:flex;flex-direction:row;align-items:center;flex:1;flex-grow:0;padding:%?14?% %?14?% %?14?% %?24?%}.u-back-text[data-v-2920cc37]{padding-left:%?4?%;font-size:%?30?%}.u-navbar-content-title[data-v-2920cc37]{display:flex;flex-direction:row;align-items:center;justify-content:center;flex:1;position:absolute;left:0;right:0;height:%?60?%;text-align:center;flex-shrink:0}.u-navbar-centent-slot[data-v-2920cc37]{flex:1}.u-title[data-v-2920cc37]{line-height:%?60?%;font-size:%?32?%;flex:1}.u-navbar-right[data-v-2920cc37]{flex:1;display:flex;flex-direction:row;align-items:center;justify-content:flex-end}.u-slot-content[data-v-2920cc37]{flex:1;display:flex;flex-direction:row;align-items:center}',""]),t.exports=e},2909:function(t,e,a){"use strict";a("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return(0,i.default)(t)||(0,o.default)(t)||(0,n.default)(t)||(0,r.default)()};var i=s(a("6005")),o=s(a("db90")),n=s(a("06c5")),r=s(a("3427"));function s(t){return t&&t.__esModule?t:{default:t}}},"2e72":function(t,e,a){var i=a("24fb");e=i(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.icp-container[data-v-77b45f12]{width:100%;color:#ccc;font-size:%?24?%;line-height:%?40?%;text-align:center;padding:%?40?%}',""]),t.exports=e},3427:function(t,e,a){"use strict";a("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},a("d9e2"),a("d401")},"3b49":function(t,e,a){"use strict";var i=a("bb55"),o=a.n(i);o.a},5522:function(t,e,a){var i=a("2e72");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var o=a("4f06").default;o("624655f7",i,!0,{sourceMap:!1,shadowMode:!1})},6005:function(t,e,a){"use strict";a("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){if(Array.isArray(t))return(0,i.default)(t)};var i=function(t){return t&&t.__esModule?t:{default:t}}(a("6b75"))},6103:function(t,e,a){"use strict";a.r(e);var i=a("1335"),o=a("123c");for(var n in o)["default"].indexOf(n)<0&&function(t){a.d(e,t,(function(){return o[t]}))}(n);a("3b49");var r=a("f0c5"),s=Object(r["a"])(o["default"],i["b"],i["c"],!1,null,"2920cc37",null,!1,i["a"],void 0);e["default"]=s.exports},"64fe":function(t,e,a){"use strict";a("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default=[{id:2,name:"精选卖场"},{id:1,name:"好券商品"},{id:10,name:"9.9包邮"},{id:15,name:"京东配送"},{id:22,name:"实时热销榜"},{id:23,name:"为你推荐"},{id:24,name:"数码家电"},{id:25,name:"超市"},{id:26,name:"母婴玩具"},{id:27,name:"家具日用"},{id:28,name:"美妆穿搭"},{id:30,name:"图书文具"},{id:31,name:"今日必推"},{id:32,name:"京东好物"},{id:33,name:"京东秒杀"},{id:34,name:"拼购商品"},{id:40,name:"高收益榜"},{id:41,name:"自营热卖榜"},{id:108,name:"秒杀进行中"},{id:109,name:"新品首发"},{id:110,name:"自营"},{id:112,name:"京东爆品"},{id:125,name:"首购商品"},{id:129,name:"高佣榜单"},{id:130,name:"视频商品"},{id:153,name:"历史最低价商品榜"},{id:210,name:"极速版商品"},{id:238,name:"新人价商品"},{id:247,name:"京喜9.9"},{id:249,name:"京喜秒杀"},{id:315,name:"秒杀未开始"},{id:340,name:"时尚趋势品"},{id:341,name:"3C新品"},{id:342,name:"智能新品"},{id:343,name:"3C长尾商品"},{id:345,name:"时尚新品"},{id:346,name:"时尚爆品"},{id:426,name:"京喜自营"}]},"69e8":function(t,e,a){"use strict";a.d(e,"b",(function(){return o})),a.d(e,"c",(function(){return n})),a.d(e,"a",(function(){return i}));var i={uLazyLoad:a("1955").default},o=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"goods-item-wrap",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onClickGoodsItem(t.goodInfo)}}},[a("v-uni-view",{staticClass:"lt-wrap"},[a("u-lazy-load",{staticClass:"goods-item-img",attrs:{image:t.goodInfo.img,"img-mode":"widthFix","border-radius":"10"}})],1),a("v-uni-view",{staticClass:"rt-wrap"},[a("v-uni-view",{staticClass:"title"},[0==t.goodInfo.shop_type?a("v-uni-image",{staticClass:"shop-icon",attrs:{src:"/static/imgs/icon-tb.png"}}):1==t.goodInfo.shop_type?a("v-uni-image",{staticClass:"shop-icon",attrs:{src:"/static/imgs/icon-tmall.png"}}):4==t.goodInfo.shop_type?a("v-uni-image",{staticClass:"shop-icon",attrs:{src:"/static/imgs/jd-icon.png"}}):t._e(),a("v-uni-text",[t._v(t._s(t.goodInfo.title))])],1),a("v-uni-view",{staticClass:"shop-wrap flex-center-between"},[a("v-uni-view",{staticClass:"flex-center"},[a("v-uni-image",{staticClass:"shop-icon",attrs:{src:"/static/imgs/shop.png"}}),a("v-uni-view",{staticClass:"shop-name",style:t.goodInfo.volume>100?"max-width: 260rpx":""},[t._v(t._s(t.goodInfo.shop_title))])],1),t.goodInfo.volume>100?a("v-uni-view",{staticClass:"salesVolume"},[t._v("月销:"+t._s(t.$NumberHandle({value:t.goodInfo.volume,comma:!0}))+"+")]):t._e()],1),a("v-uni-view",{staticClass:"price-wrap"},[a("v-uni-text",{staticClass:"price"},[t._v(t._s(t.goodInfo.discount_price))]),a("v-uni-text",{staticClass:"start-price"},[t._v("¥"+t._s(t.goodInfo.price))])],1),a("v-uni-view",{staticClass:"btm-wrap"},[t.goodInfo.coupon_price>0?a("v-uni-view",{staticClass:"coupon-wrap"},[a("v-uni-text",{staticClass:"label"},[t._v("券")]),a("v-uni-text",{staticClass:"value"},[t._v("¥"+t._s(t.goodInfo.coupon_price))])],1):t._e(),t.user_level>1&&t.goodInfo.commission_price>0?a("v-uni-view",{staticClass:"coupon-wrap commission-wrap"},[a("v-uni-text",{staticClass:"label"},[t._v("返")]),a("v-uni-text",{staticClass:"value"},[t._v("¥"+t._s(t.goodInfo.commission_price))])],1):t._e()],1)],1)],1)},n=[]},"73ba":function(t,e,a){"use strict";a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return o})),a.d(e,"a",(function(){}));var i=function(){var t=this.$createElement,e=this._self._c||t;return e("v-uni-view",{staticClass:"icp-container"},[e("v-uni-view",[this._v("Copyright © 2015-2025 猎豆优选")]),e("v-uni-view",[this._v("杭州猎豆信息技术有限公司 All rights reserved")]),e("v-uni-view",[this._v("浙ICP备16001297号-1")])],1)},o=[]},9827:function(t,e,a){"use strict";a.r(e);var i=a("69e8"),o=a("f6eb");for(var n in o)["default"].indexOf(n)<0&&function(t){a.d(e,t,(function(){return o[t]}))}(n);a("ba95");var r=a("f0c5"),s=Object(r["a"])(o["default"],i["b"],i["c"],!1,null,"0b832e99",null,!1,i["a"],void 0);e["default"]=s.exports},"9d57":function(t,e,a){var i=a("24fb"),o=a("1de5"),n=a("2252"),r=a("2b15"),s=a("6e7b");e=i(!1);var c=o(n),l=o(r),d=o(s);e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.salesVolume[data-v-0b832e99]{background:url('+c+") no-repeat;background-size:100%;width:%?160?%;line-height:%?28?%;color:#ff4040;font-size:%?20?%;line-height:%?42?%;text-align:center;padding-left:%?10?%}.flex-center[data-v-0b832e99]{display:flex;align-items:center}.flex-center-between[data-v-0b832e99]{display:flex;align-items:center;justify-content:space-between}.goods-item-wrap[data-v-0b832e99]{padding:%?28?%;display:flex;align-items:center;background-color:#fff}.goods-item-wrap .lt-wrap[data-v-0b832e99]{width:%?220?%;height:%?220?%;border-radius:%?10?%;overflow:hidden}.goods-item-wrap .lt-wrap .goods-item-img[data-v-0b832e99]{width:100%;height:100%;vertical-align:middle}.goods-item-wrap .rt-wrap[data-v-0b832e99]{margin-left:%?20?%;flex:1}.goods-item-wrap .rt-wrap .title[data-v-0b832e99]{font-size:%?30?%;color:#1a1a1a;line-height:%?42?%;word-break:break-all;overflow:hidden;-webkit-line-clamp:2;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;font-weight:700}.goods-item-wrap .rt-wrap .title .shop-icon[data-v-0b832e99]{width:%?30?%;height:%?30?%;border-radius:%?6?%;display:inline-block;margin-right:%?6?%;margin-top:%?-7?%;vertical-align:middle}.goods-item-wrap .rt-wrap .shop-wrap[data-v-0b832e99]{margin-top:%?8?%;display:flex;align-items:center}.goods-item-wrap .rt-wrap .shop-wrap .shop-icon[data-v-0b832e99]{width:%?26?%;height:%?26?%;vertical-align:middle}.goods-item-wrap .rt-wrap .shop-wrap .shop-name[data-v-0b832e99]{margin-left:%?6?%;font-size:%?24?%;line-height:%?34?%;color:#aaa;flex:1;max-width:%?400?%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.goods-item-wrap .rt-wrap .price-wrap[data-v-0b832e99]{margin-top:%?10?%;display:flex;align-items:center}.goods-item-wrap .rt-wrap .price-wrap .price[data-v-0b832e99]{font-size:%?36?%;line-height:%?50?%;color:#ff4040;font-weight:700}.goods-item-wrap .rt-wrap .price-wrap .start-price[data-v-0b832e99]{margin-left:%?10?%;font-size:%?24?%;color:#999;line-height:%?34?%;text-decoration:line-through}.goods-item-wrap .rt-wrap .btm-wrap[data-v-0b832e99]{display:flex;align-items:center;margin-top:%?10?%}.goods-item-wrap .rt-wrap .btm-wrap .coupon-wrap[data-v-0b832e99]{display:flex;align-items:center;width:%?144?%;height:%?36?%;background-image:url("+l+");background-repeat:no-repeat;background-size:100% 100%;color:#ff4040;font-size:%?25?%;line-height:%?36?%}.goods-item-wrap .rt-wrap .btm-wrap .coupon-wrap .label[data-v-0b832e99]{width:%?46?%;text-align:center}.goods-item-wrap .rt-wrap .btm-wrap .coupon-wrap .value[data-v-0b832e99]{flex:1;text-align:center}.goods-item-wrap .rt-wrap .btm-wrap .commission-wrap[data-v-0b832e99]{background-image:url("+d+");color:#ae4300;margin-left:%?12?%}",""]),t.exports=e},b60a:function(t,e,a){"use strict";a("7a82");var i=a("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,a("4de4"),a("d3b7"),a("99af"),a("ac1f");var o=i(a("5530")),n=i(a("2909")),r=i(a("c7eb")),s=i(a("1da1")),c=i(a("9827")),l=i(a("fa63")),d=i(a("64fe")),p=getApp(),u={components:{horizontalGood:c.default,verticalGood:l.default},data:function(){return{newNavbarBackground:{background:"url(https://ld.726p.com/tbk/upload/c579f015a49a3f9e066f0ab00ab56f7.png) #ffffff no-repeat",backgroundSize:"100% 370rpx"},statusBarHeight:p.globalData.statusBarHeight,navigationBarHeight:p.globalData.navigationBarHeight,currentTabInfo:{back_img:"http://imgs.726p.com/tbk/upload/groupImg2019-01-23/182712/kx-5c484180f2cb9.png",curIdx:13},swiperList:[],currentSwiperInfo:{photo_bg:"",curIdx:0},menu:[],goodsList:[],filter:{loading:!1,hasNext:!0,page:1,category_id:13,sort:1,is_has_coupon:0},user_level:uni.getStorageSync("userInfo")?uni.getStorageSync("userInfo").user_level:"",triggered:!1,platfromList:[{id:1,name:"淘宝",note:"今日推荐"},{id:2,name:"京东",note:"品质优选"}],platfrom:1,jd:{elite_index:0,elite_name:"",elite_id:"",loading:!1,hasNext:!0,page:1,page_size:40,goodsList:[]},scroll:{scrollTop:0,platfromSticky:0,platfromStickyTop:p.globalData.statusBarHeight+p.globalData.navigationBarHeight-7}}},watch:{user_level:function(){}},onLoad:function(){var t=this;return(0,s.default)((0,r.default)().mark((function e(){return(0,r.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,p.channelGetVersion();case 2:t.jd.elite_id=d.default[t.jd.elite_index].id,t.jd.elite_name=d.default[t.jd.elite_index].name,t.init();case 5:case"end":return e.stop()}}),e)})))()},onShow:function(){this.user_level=p.handleGetUserLevel()},methods:{init:function(){var t=this;return(0,s.default)((0,r.default)().mark((function e(){return(0,r.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(t.handleGetSwiperList(),t.handleGetMenuList(),1!=t.platfrom){e.next=7;break}return t.filter.page=1,t.goodsList=[],e.next=7,t.handleGetGoodsList();case 7:if(2!=t.platfrom){e.next=11;break}return t.jd.page=1,e.next=11,t.getJdGoodsList();case 11:uni.stopPullDownRefresh();case 12:case"end":return e.stop()}}),e)})))()},handleGetGoodsList:function(){var t=this;return(0,s.default)((0,r.default)().mark((function e(){var a,i,o,s,c,l,d,p,u;return(0,r.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(t.filter.category_id=t.currentTabInfo.id,a=t.filter,i=a.hasNext,o=a.page,s=a.category_id,i){e.next=4;break}return e.abrupt("return",!1);case 4:if(!t.filter.loading){e.next=6;break}return e.abrupt("return",!1);case 6:return e.prev=6,uni.showLoading({title:"加载中...",mask:!0}),t.filter.loading=!0,c=t.$api.home_goodsAndStockList,l={page:o,category_id:s},e.next=13,t.$postJSON(c,l);case 13:d=e.sent,p=d.data,u=void 0===p?{}:p,t.filter.loading=!1,u&&0==u.errno&&Array.isArray(u.rst)?u.rst.length?(t.filter.hasNext=!0,t.filter.page++,t.goodsList=[].concat((0,n.default)(t.goodsList),(0,n.default)(u.rst))):t.filter.hasNext=!1:uni.showToast({title:u.err||"操作失败",icon:"none"}),e.next=22;break;case 20:e.prev=20,e.t0=e["catch"](6);case 22:return e.prev=22,uni.hideLoading(),e.finish(22);case 25:case"end":return e.stop()}}),e,null,[[6,20,22,25]])})))()},handleGetMenuList:function(){var t=this;return(0,s.default)((0,r.default)().mark((function e(){var a,i,o,n,s;return(0,r.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,uni.showLoading({title:"加载中...",mask:!0}),a=t.$api.home_groupRoundNew,i={},e.next=6,t.$postJSON(a,i);case 6:o=e.sent,n=o.data,s=void 0===n?{}:n,s&&0==s.errno&&Array.isArray(s.rst.data)?t.menu=s.rst.data.filter((function(t){return 2==t.show_type})):(uni.showToast({title:s.err||"操作失败",icon:"none"}),t.menu=[]),e.next=15;break;case 12:e.prev=12,e.t0=e["catch"](0),t.menu=[];case 15:return e.prev=15,uni.hideLoading(),e.finish(15);case 18:case"end":return e.stop()}}),e,null,[[0,12,15,18]])})))()},handleGetSwiperList:function(){var t=this;return(0,s.default)((0,r.default)().mark((function e(){var a,i,s,c,l;return(0,r.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,uni.showLoading({title:"加载中...",mask:!0}),a=t.$api.home_bannerlist,i={},e.next=6,t.$get(a,i);case 6:s=e.sent,c=s.data,l=void 0===c?{}:c,l&&0==l.errno&&Array.isArray(l.rst.data)?(t.swiperList=(0,n.default)(l.rst.data),t.currentSwiperInfo=l.rst.data[0]?(0,o.default)({},l.rst.data[0]):{}):(uni.showToast({title:l.err||"操作失败",icon:"none"}),t.swiperList=[]),e.next=15;break;case 12:e.prev=12,e.t0=e["catch"](0),t.swiperList=[];case 15:return e.prev=15,uni.hideLoading(),e.finish(15);case 18:case"end":return e.stop()}}),e,null,[[0,12,15,18]])})))()},onClickSwiper:function(t){this.currentSwiperInfo=(0,o.default)((0,o.default)({},this.swiperList[t]),{},{curIdx:t})},onChangeSwiper:function(t){this.currentSwiperInfo=(0,o.default)((0,o.default)({},this.swiperList[t]),{},{curIdx:t})},onClickMenu:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.id,a=t.name,i=t.show_type,o=t.url;2==i?uni.navigateTo({url:"/pages/subPackages/home/subjectList?id=".concat(e,"&title=").concat(encodeURIComponent(a),"&url=").concat(encodeURIComponent(o),"&path=AdvFourListGoodsAction")}):6==i?uni.navigateTo({url:"/pages/subPackages/home/jdSubjectList?id=".concat(e,"&title=").concat(encodeURIComponent(a),"&url=").concat(encodeURIComponent(o),"&path=AdvFourListGoodsAction")}):uni.showToast({title:"敬请期待",icon:"none"})},onClickGoodsItem:function(t){try{p.categoryNew_countBuy({type:0,path:"HomeGoodsType2"})}catch(y){}var e=t.img,a=void 0===e?"":e,i=t.goods_id,o=void 0===i?"":i,n=t.coupon_price,r=void 0===n?"":n,s=t.discount_price,c=void 0===s?"":s,l=t.price,d=void 0===l?"":l,u=t.is_coupon,f=void 0===u?"":u,g=t.commission_rate,v=void 0===g?"":g,w=t.is_high_commission,m=void 0===w?"":w,b=t.coupon_end_time,h=void 0===b?"":b,_=t.coupon_start_time,x=void 0===_?"":_;uni.navigateTo({url:"/pages/subPackages/home/goodsDetail?img=".concat(encodeURIComponent(a),"&goods_id=").concat(encodeURIComponent(o),"&coupon_price=").concat(encodeURIComponent(r),"&discount_price=").concat(encodeURIComponent(c),"&price=").concat(encodeURIComponent(d),"&is_coupon=").concat(encodeURIComponent(f),"&commission_rate=").concat(encodeURIComponent(v),"&is_high_commission=").concat(encodeURIComponent(m),"&coupon_end_time=").concat(encodeURIComponent(h),"&coupon_start_time=").concat(encodeURIComponent(x))})},onClickSearch:function(){uni.navigateTo({url:"/pages/subPackages/home/search"})},onClickMore:function(t){var e=t.id,a=t.name;e?uni.navigateTo({url:"/pages/subPackages/home/subjectList?id=".concat(e,"&title=").concat(encodeURIComponent(a),"$path=ListAction")}):uni.showToast({title:"敬请期待",icon:"none"})},onClickPlatfrom:function(t){var e=this;this.platfrom!=t&&(this.platfrom=t,2==this.platfrom&&(this.jd.goodsList.length<=0||!Array.isArray(this.jd.goodsList))&&(this.jd.page=1,this.getJdGoodsList()),console.log(this.scroll.platfromSticky,"this.scroll.platfromSticky"),this.isplatfromSticky().then((function(t){t&&uni.pageScrollTo({scrollTop:e.scroll.platfromSticky,duration:100})})))},getJdGoodsList:function(){var t=this;return(0,s.default)((0,r.default)().mark((function e(){var a,i,o,n,s;return(0,r.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(t.jd.hasNext){e.next=2;break}return e.abrupt("return",!1);case 2:if(!t.jd.loading){e.next=4;break}return e.abrupt("return",!1);case 4:return e.prev=4,uni.showLoading({title:"加载中...",mask:!0}),t.jd.loading=!0,a=t.$api_jd.jd_goodsListByEliteId,i={elite_id:t.jd.elite_id,page:t.jd.page,page_size:t.jd.page_size},e.next=11,t.$postJSON(a,i);case 11:o=e.sent,n=o.data,s=void 0===n?{}:n,t.jd.loading=!1,s&&0==s.errno&&Array.isArray(s.rst.data)?(t.jd.pages=s.rst.pageInfo.pages,0==t.jd.elite_index?t.jd.goodsList=s.rst.data:t.jd.goodsList=t.jd.goodsList.concat(s.rst.data),t.jd.elite_index++,t.jd.elite_id=d.default[t.jd.elite_index].id,t.jd.elite_name=d.default[t.jd.elite_index].name,d.default.length<=t.jd.elite_index?t.jd.hasNext=!1:t.jd.hasNext=!0):uni.showToast({title:s.err||"操作失败",icon:"none"}),e.next=20;break;case 18:e.prev=18,e.t0=e["catch"](4);case 20:return e.prev=20,uni.hideLoading(),e.finish(20);case 23:case"end":return e.stop()}}),e,null,[[4,18,20,23]])})))()},isplatfromSticky:function(){var t=this,e=this;return new Promise((function(a){var i=uni.createSelectorQuery().in(t);i.select("#platform-wrap").boundingClientRect((function(t){t.top<=e.scroll.platfromStickyTop?a(!0):a(!1)})).exec()}))}},onPageScroll:function(t){this.scroll.scrollTop=t.scrollTop;var e=this;this.isplatfromSticky().then((function(a){a&&0==e.scroll.platfromSticky&&(e.scroll.platfromSticky=t.scrollTop)}))},onReachBottom:function(){1==this.platfrom&&this.handleGetGoodsList(),2==this.platfrom&&this.getJdGoodsList()},onPullDownRefresh:function(){this.init()}};e.default=u},b9f0:function(t,e,a){"use strict";a.r(e);var i=a("73ba"),o=a("c220");for(var n in o)["default"].indexOf(n)<0&&function(t){a.d(e,t,(function(){return o[t]}))}(n);a("fe73");var r=a("f0c5"),s=Object(r["a"])(o["default"],i["b"],i["c"],!1,null,"77b45f12",null,!1,i["a"],void 0);e["default"]=s.exports},ba95:function(t,e,a){"use strict";var i=a("dd88"),o=a.n(i);o.a},bb55:function(t,e,a){var i=a("1624");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var o=a("4f06").default;o("768dc6c5",i,!0,{sourceMap:!1,shadowMode:!1})},bf94:function(t,e,a){"use strict";a.d(e,"b",(function(){return o})),a.d(e,"c",(function(){return n})),a.d(e,"a",(function(){return i}));var i={uNavbar:a("6103").default,uSwiper:a("b3a4").default,uBackTop:a("3554").default,icp:a("b9f0").default},o=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"page-wrap",style:{background:""+t.newNavbarBackground.background,"background-size":""+t.newNavbarBackground.backgroundSize}},[t.is_clipbpard?a("clipboard",{on:{close:function(e){arguments[0]=e=t.$handleEvent(e),t.clipbpardClose.apply(void 0,arguments)}}}):t._e(),a("u-navbar",{staticClass:"navbar-wrap",attrs:{title:" ",background:t.newNavbarBackground,"title-size":36,"is-back":!1,"title-bold":!1}},[a("v-uni-view",{staticClass:"search-wrap",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onClickSearch.apply(void 0,arguments)}}},[a("v-uni-image",{staticClass:"icon",attrs:{src:"/static/imgs/icon-search.png"}}),a("v-uni-text",{staticClass:"pl-text"},[t._v("输入商品名或粘贴标题")]),a("v-uni-view",{staticClass:"search-btn"},[t._v("搜索")])],1)],1),a("v-uni-view",{staticClass:"scroll-view-wrap"},[[a("v-uni-view",{staticClass:"swiper-wrap"},[a("u-swiper",{attrs:{"border-radius":16,list:t.swiperList,name:"photo",mode:"round","bg-color":"transparent"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onClickSwiper.apply(void 0,arguments)},change:function(e){arguments[0]=e=t.$handleEvent(e),t.onChangeSwiper.apply(void 0,arguments)}}})],1),a("v-uni-view",{staticClass:"menu-wrap"},t._l(t.menu,(function(e){return a("v-uni-view",{key:e.id,staticClass:"menu-item",on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.onClickMenu(e)}}},[a("v-uni-image",{staticClass:"item-icon",attrs:{src:e.img}}),a("v-uni-text",{staticClass:"item-label"},[t._v(t._s(e.name))])],1)})),1),a("v-uni-view",{staticClass:"platform-wrap",style:{top:t.statusBarHeight+t.navigationBarHeight-7+"px"},attrs:{id:"platform-wrap"}},t._l(t.platfromList,(function(e){return a("v-uni-view",{key:e.id,staticClass:"platform-tab",on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.onClickPlatfrom(e.id)}}},[a("v-uni-text",{staticClass:"platfrom-tab-title"},[t._v(t._s(e.name))]),a("v-uni-view",{class:["platfrom-tab-info",t.platfrom==e.id?"platfrom-tab-active":""]},[a("v-uni-text",{staticClass:"note"},[t._v(t._s(e.note))])],1)],1)})),1),1==t.platfrom?[t._l(t.goodsList,(function(e,i){return[1==e.type&&e.goods?a("v-uni-view",{key:i+"_0",staticClass:"goods-list-wrap"},[a("horizontalGood",{attrs:{goodInfo:e.goods,path:"HomeGoodsType2"}})],1):2==e.type?a("v-uni-view",{staticClass:"goods-group-wrap",style:{"background-image":"url("+e.adv_background_img+")"}},[a("v-uni-scroll-view",{staticClass:"scroll-view-group",attrs:{"scroll-x":"true"}},[t._l(e.goodsList,(function(e){return a("v-uni-view",{key:e.goods_id,staticClass:"goods-item-vertical",on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.onClickGoodsItem(e)}}},[t.user_level>1&&e.commission_price>0?a("v-uni-view",{staticClass:"commission-wrap"},[a("v-uni-text",[t._v("赚¥"+t._s(e.commission_price))])],1):t._e(),a("v-uni-image",{staticClass:"goods-item-img",attrs:{src:e.img}}),a("v-uni-view",{staticClass:"title"},[t._v(t._s(e.title))]),a("v-uni-view",{staticClass:"bm-wrap"},[a("v-uni-text",{staticClass:"price"},[t._v("¥"+t._s(e.discount_price))]),e.coupon_price>0?a("v-uni-view",{staticClass:"coupon-wrap"},[a("v-uni-text",{staticClass:"label"},[t._v("券")]),a("v-uni-text",{staticClass:"value"},[t._v(t._s(e.coupon_price)+"元")])],1):t._e()],1)],1)})),a("v-uni-view",{staticClass:"goods-item-vertical more-wrap",on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.onClickMore({id:e.id,name:e.name})}}},[a("v-uni-view",{staticClass:"more-btn"},[a("v-uni-image",{attrs:{src:"/static/imgs/home-more.png"}}),a("v-uni-text",[t._v("更多")])],1)],1)],2)],1):t._e()]}))]:t._e(),a("v-uni-view",{staticClass:"bg-f5"},[2==t.platfrom?a("v-uni-view",{staticClass:"goods-list-double-wrap"},[t._l(t.jd.goodsList,(function(e,i){return[e.goods?a("verticalGood",{key:e.goods.goods_id,staticClass:"verticalGoodItem",attrs:{goodsItem:e.goods}}):t._e()]}))],2):t._e()],1)]],2),a("u-back-top",{attrs:{"scroll-top":t.scroll.scrollTop}}),a("icp")],1)},n=[]},c220:function(t,e,a){"use strict";a.r(e);var i=a("d501"),o=a.n(i);for(var n in i)["default"].indexOf(n)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(n);e["default"]=o.a},c23d:function(t,e,a){var i=a("24fb");e=i(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.page-wrap[data-v-b5c2c940]{position:relative;background-attachment:fixed}.page-wrap .search-wrap[data-v-b5c2c940]{display:flex;align-items:center;background-color:#fff;padding:%?10?% %?10?% %?10?% %?20?%;border-radius:%?40?%;width:%?480?%;margin-left:%?20?%;box-sizing:border-box}.page-wrap .search-wrap .icon[data-v-b5c2c940]{margin-right:%?20?%;width:%?27?%;height:%?27?%}.page-wrap .search-wrap .pl-text[data-v-b5c2c940]{font-size:%?28?%;color:#8a8a8a;flex:1}.page-wrap .search-wrap .search-btn[data-v-b5c2c940]{width:%?100?%;height:%?50?%;background:linear-gradient(90deg,#ff9048,#fb3f3c);border-radius:%?40?%;color:#fff;font-size:%?24?%;text-align:center;line-height:%?50?%}.page-wrap .tabs-wrap[data-v-b5c2c940] .u-tab-bar{bottom:%?6?%}.page-wrap .scroll-view-wrap .swiper-wrap[data-v-b5c2c940]{margin:%?20?% %?10?% 0;padding:0 %?12?%}.page-wrap .scroll-view-wrap .menu-wrap[data-v-b5c2c940]{margin-top:%?12?%;background-color:#fff;padding:%?30?% 0 %?10?%;display:flex;justify-content:flex-start;flex-wrap:wrap}.page-wrap .scroll-view-wrap .menu-wrap .menu-item[data-v-b5c2c940]{display:flex;flex-direction:column;align-items:center;margin-bottom:%?30?%;margin-right:%?20?%;width:calc((100% - %?80?%) / 5)}.page-wrap .scroll-view-wrap .menu-wrap .menu-item[data-v-b5c2c940]:nth-of-type(5n + 0){margin-right:0}.page-wrap .scroll-view-wrap .menu-wrap .menu-item .item-icon[data-v-b5c2c940]{width:%?70?%;height:%?70?%}.page-wrap .scroll-view-wrap .menu-wrap .menu-item .item-label[data-v-b5c2c940]{margin-top:%?10?%;font-size:%?26?%;color:#666}.page-wrap .scroll-view-wrap .goods-list-wrap[data-v-b5c2c940]{background-color:#f5f5f5;padding-bottom:%?10?%}.page-wrap .scroll-view-wrap .goods-group-wrap[data-v-b5c2c940]{background-repeat:no-repeat;background-size:100% 100%;padding:%?71?% %?28?% %?10?%;margin-bottom:%?10?%;width:%?750?%;height:%?448?%}.page-wrap .scroll-view-wrap .goods-group-wrap .scroll-view-group[data-v-b5c2c940]{margin-top:%?6?%;white-space:nowrap}.page-wrap .scroll-view-wrap .goods-group-wrap .scroll-view-group .goods-item-vertical[data-v-b5c2c940]{position:relative;padding-bottom:%?10?%;display:inline-block;margin-right:%?20?%;width:%?260?%;height:%?350?%;border-radius:%?10?% %?10?% 0 0;overflow:hidden;background-color:#fff}.page-wrap .scroll-view-wrap .goods-group-wrap .scroll-view-group .goods-item-vertical.more-wrap[data-v-b5c2c940]{position:relative}.page-wrap .scroll-view-wrap .goods-group-wrap .scroll-view-group .goods-item-vertical.more-wrap .more-btn[data-v-b5c2c940]{position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center}.page-wrap .scroll-view-wrap .goods-group-wrap .scroll-view-group .goods-item-vertical.more-wrap .more-btn uni-image[data-v-b5c2c940]{width:%?150?%;height:%?150?%}.page-wrap .scroll-view-wrap .goods-group-wrap .scroll-view-group .goods-item-vertical.more-wrap .more-btn uni-text[data-v-b5c2c940]{margin-top:%?30?%;font-size:%?28?%;color:#333}.page-wrap .scroll-view-wrap .goods-group-wrap .scroll-view-group .goods-item-vertical .commission-wrap[data-v-b5c2c940]{position:absolute;right:0;top:%?200?%;padding:%?2?% %?20?%;background-image:url(/static/imgs/bg-commission.png);background-repeat:no-repeat;background-size:100% 100%;color:#fff;font-size:%?20?%;z-index:4}.page-wrap .scroll-view-wrap .goods-group-wrap .scroll-view-group .goods-item-vertical .goods-item-img[data-v-b5c2c940]{width:%?260?%;height:%?260?%;vertical-align:middle}.page-wrap .scroll-view-wrap .goods-group-wrap .scroll-view-group .goods-item-vertical .title[data-v-b5c2c940]{padding:0 %?4?%;margin-top:%?10?%;width:100%;font-size:%?26?%;color:#333;overflow:hidden;word-wrap:normal;white-space:nowrap;text-overflow:ellipsis}.page-wrap .scroll-view-wrap .goods-group-wrap .scroll-view-group .goods-item-vertical .bm-wrap[data-v-b5c2c940]{display:flex;align-items:center;justify-content:space-between;padding:%?4?%}.page-wrap .scroll-view-wrap .goods-group-wrap .scroll-view-group .goods-item-vertical .bm-wrap .price[data-v-b5c2c940]{font-size:%?24?%;color:#f51400}.page-wrap .scroll-view-wrap .goods-group-wrap .scroll-view-group .goods-item-vertical .bm-wrap .coupon-wrap[data-v-b5c2c940]{display:flex;align-items:center;width:%?150?%;height:%?30?%;background-image:url(/static/imgs/bg-quan-small.png);background-repeat:no-repeat;background-size:100% 100%;color:#f51400;font-size:%?20?%}.page-wrap .scroll-view-wrap .goods-group-wrap .scroll-view-group .goods-item-vertical .bm-wrap .coupon-wrap .label[data-v-b5c2c940]{width:%?50?%;text-align:center}.page-wrap .scroll-view-wrap .goods-group-wrap .scroll-view-group .goods-item-vertical .bm-wrap .coupon-wrap .value[data-v-b5c2c940]{flex:1;text-align:center}.page-wrap .scroll-view-wrap .category-wrap[data-v-b5c2c940]{margin:%?10?% auto %?22?%;padding:%?30?% 0 %?10?%;display:flex;justify-content:flex-start;flex-wrap:wrap;background-color:#fff;border-radius:%?10?%}.page-wrap .scroll-view-wrap .category-wrap .category-item[data-v-b5c2c940]{display:flex;flex-direction:column;align-items:center;margin-bottom:%?30?%;margin-right:%?20?%;width:calc((100% - %?60?%) / 4)}.page-wrap .scroll-view-wrap .category-wrap .category-item[data-v-b5c2c940]:nth-of-type(4n + 0){margin-right:0}.page-wrap .scroll-view-wrap .category-wrap .category-item .item-icon[data-v-b5c2c940]{width:%?70?%;height:%?70?%}.page-wrap .scroll-view-wrap .category-wrap .category-item .item-label[data-v-b5c2c940]{margin-top:%?10?%;font-size:%?26?%;color:#999}.page-wrap .scroll-view-wrap .sort-wrap[data-v-b5c2c940]{display:flex;align-items:center;justify-content:space-around;margin:%?10?% auto 0;padding:%?20?% %?10?%;border-radius:%?10?%;font-size:%?30?%;color:#333;background-color:#fff}.page-wrap .scroll-view-wrap .sort-wrap.fixed[data-v-b5c2c940]{position:fixed;left:0;right:0;z-index:9999}.page-wrap .scroll-view-wrap .sort-wrap .sort-item[data-v-b5c2c940]{display:flex;align-items:center}.page-wrap .scroll-view-wrap .sort-wrap .sort-item.price-wrap[data-v-b5c2c940]{position:relative}.page-wrap .scroll-view-wrap .sort-wrap .sort-item.price-wrap .btn[data-v-b5c2c940]{position:absolute;font-size:%?16?%;color:#ccc}.page-wrap .scroll-view-wrap .sort-wrap .sort-item.price-wrap .btn.up[data-v-b5c2c940]{top:%?4?%;right:%?-24?%}.page-wrap .scroll-view-wrap .sort-wrap .sort-item.price-wrap .btn.down[data-v-b5c2c940]{bottom:%?4?%;right:%?-24?%}.page-wrap .scroll-view-wrap .sort-wrap .sort-item.price-wrap .btn.highlight[data-v-b5c2c940]{color:#ff4040}.page-wrap .scroll-view-wrap .sort-wrap .sort-item .sort-img[data-v-b5c2c940]{margin-left:%?10?%;width:%?28?%;height:%?28?%}.page-wrap .scroll-view-wrap .sort-wrap .on[data-v-b5c2c940]{color:#ff4040;font-weight:700}.page-wrap .scroll-view-wrap .goods-list-double-wrap[data-v-b5c2c940]{display:flex;justify-content:space-between;flex-wrap:wrap;margin:auto}.page-wrap .scroll-view-wrap .goods-list-double-wrap .verticalGoodItem[data-v-b5c2c940]{margin-bottom:%?22?%}.goods-list-double-wrap[data-v-b5c2c940], .sort-wrap[data-v-b5c2c940], .category-wrap[data-v-b5c2c940]{width:%?700?%}.bg-f5[data-v-b5c2c940]{background-color:#f5f5f5}.platform-wrap[data-v-b5c2c940]{background-color:#f5f5f5;display:flex;padding:%?28?% %?20?% %?16?%;position:-webkit-sticky;position:sticky;z-index:9}.platform-wrap .platform-tab[data-v-b5c2c940]{text-align:center;margin-right:%?40?%}.platform-wrap .platform-tab .platfrom-tab-title[data-v-b5c2c940]{color:#1a1a1a;font-size:%?36?%;line-height:%?50?%;font-weight:700}.platform-wrap .platform-tab .platfrom-tab-info[data-v-b5c2c940]{color:#999;font-size:%?24?%;line-height:%?34?%;margin-top:%?6?%;padding:0 %?10?%}.platform-wrap .platform-tab .platfrom-tab-active[data-v-b5c2c940]{background:#ffd9d9;border-radius:%?10?%;position:relative}.platform-wrap .platform-tab .platfrom-tab-active[data-v-b5c2c940]::after{content:"";position:absolute;bottom:%?-26?%;left:0;right:0;margin:auto;width:0;height:0;border:%?16?% solid transparent;border-top:%?16?% solid #ffd9d9}.platform-wrap .platform-tab .platfrom-tab-active .note[data-v-b5c2c940]{background-image:linear-gradient(90deg,#ff9048,#fb3f3c);-webkit-background-clip:text;background-clip:text;color:transparent}',""]),t.exports=e},c5c1:function(t,e,a){"use strict";a.r(e);var i=a("b60a"),o=a.n(i);for(var n in i)["default"].indexOf(n)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(n);e["default"]=o.a},c5e3:function(t,e,a){var i=a("c23d");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var o=a("4f06").default;o("79e221d8",i,!0,{sourceMap:!1,shadowMode:!1})},c6b3:function(t,e,a){"use strict";a("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,a("99af");var i=getApp(),o={name:"horizontalGood",props:{goodInfo:{type:Object},path:{type:String,default:""}},data:function(){return{user_level:uni.getStorageSync("userInfo")?uni.getStorageSync("userInfo").user_level:""}},methods:{onClickGoodsItem:function(t){try{i.categoryNew_countBuy({shop_type:t.shop_type,type:0,path:this.path})}catch(C){}if(4==t.shop_type){console.log("goodsItem => ",t);var e=t.goods_id,a=void 0===e?"":e;uni.navigateTo({url:"/pages/subPackages/home/jdGoodsDetail?goods_id=".concat(encodeURIComponent(a))})}else{var o=t.img,n=void 0===o?"":o,r=t.goods_id,s=void 0===r?"":r,c=t.coupon_price,l=void 0===c?"":c,d=t.discount_price,p=void 0===d?"":d,u=t.price,f=void 0===u?"":u,g=t.is_coupon,v=void 0===g?"":g,w=t.commission_rate,m=void 0===w?"":w,b=t.is_high_commission,h=void 0===b?"":b,_=t.coupon_end_time,x=void 0===_?"":_,y=t.coupon_start_time,k=void 0===y?"":y;uni.navigateTo({url:"/pages/subPackages/home/goodsDetail?img=".concat(encodeURIComponent(n),"&goods_id=").concat(encodeURIComponent(s),"&coupon_price=").concat(encodeURIComponent(l),"&discount_price=").concat(encodeURIComponent(p),"&price=").concat(encodeURIComponent(f),"&is_coupon=").concat(encodeURIComponent(v),"&commission_rate=").concat(encodeURIComponent(m),"&is_high_commission=").concat(encodeURIComponent(h),"&coupon_end_time=").concat(encodeURIComponent(x),"&coupon_start_time=").concat(encodeURIComponent(k))})}}}};e.default=o},d501:function(t,e,a){"use strict";a("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={name:"icp",data:function(){return{}}}},db90:function(t,e,a){"use strict";a("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){if("undefined"!==typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)},a("a4d3"),a("e01a"),a("d3b7"),a("d28b"),a("3ca3"),a("ddb0"),a("a630")},dd88:function(t,e,a){var i=a("9d57");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var o=a("4f06").default;o("5df24133",i,!0,{sourceMap:!1,shadowMode:!1})},deba:function(t,e,a){"use strict";a.r(e);var i=a("bf94"),o=a("c5c1");for(var n in o)["default"].indexOf(n)<0&&function(t){a.d(e,t,(function(){return o[t]}))}(n);a("057d");var r=a("f0c5"),s=Object(r["a"])(o["default"],i["b"],i["c"],!1,null,"b5c2c940",null,!1,i["a"],void 0);e["default"]=s.exports},eff7:function(t,e,a){"use strict";a("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,a("a9e3");var i=uni.getSystemInfoSync(),o={},n={name:"u-navbar",props:{height:{type:[String,Number],default:""},backIconColor:{type:String,default:"#606266"},backIconName:{type:String,default:"nav-back"},backIconSize:{type:[String,Number],default:"44"},backText:{type:String,default:""},backTextStyle:{type:Object,default:function(){return{color:"#606266"}}},title:{type:String,default:""},titleWidth:{type:[String,Number],default:"250"},titleColor:{type:String,default:"#606266"},titleBold:{type:Boolean,default:!1},titleSize:{type:[String,Number],default:32},isBack:{type:[Boolean,String],default:!0},background:{type:Object,default:function(){return{background:"#ffffff"}}},isFixed:{type:Boolean,default:!0},immersive:{type:Boolean,default:!1},borderBottom:{type:Boolean,default:!0},zIndex:{type:[String,Number],default:""},customBack:{type:Function,default:null}},data:function(){return{menuButtonInfo:o,statusBarHeight:i.statusBarHeight}},computed:{navbarInnerStyle:function(){var t={};return t.height=this.navbarHeight+"px",t},navbarStyle:function(){var t={};return t.zIndex=this.zIndex?this.zIndex:this.$u.zIndex.navbar,Object.assign(t,this.background),t},titleStyle:function(){var t={};return t.left=(i.windowWidth-uni.upx2px(this.titleWidth))/2+"px",t.right=(i.windowWidth-uni.upx2px(this.titleWidth))/2+"px",t.width=uni.upx2px(this.titleWidth)+"px",t},navbarHeight:function(){return this.height?this.height:44}},created:function(){},methods:{goBack:function(){"function"===typeof this.customBack?this.customBack.bind(this.$u.$parent.call(this))():uni.navigateBack()}}};e.default=n},f6eb:function(t,e,a){"use strict";a.r(e);var i=a("c6b3"),o=a.n(i);for(var n in i)["default"].indexOf(n)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(n);e["default"]=o.a},fe73:function(t,e,a){"use strict";var i=a("5522"),o=a.n(i);o.a}}]);
|