1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-subPackages-home-jdGoodsDetail"],{"05f2":function(t,e,a){"use strict";a.r(e);var i=a("e3da"),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},2763: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={uMask:a("a4db").default},o=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("u-mask",{attrs:{show:t.show}},[a("v-uni-view",{staticClass:"container"},[a("v-uni-image",{staticClass:"close",attrs:{src:"/static/imgs/close.png",mode:"widthFix"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onClickcCallback()}}}),a("v-uni-image",{staticClass:"loginReindIcon",attrs:{src:"/static/imgs/loginReindIcon.png",mode:"widthFix"}}),a("v-uni-view",{staticClass:"title"},[t._v("登录提醒")]),a("v-uni-view",{staticClass:"hint"},[t._v("登录小程序购买还可赚取商品佣金")]),a("v-uni-view",{staticClass:"button loginButton",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.goLogin.apply(void 0,arguments)}}},[t._v("立即登录")]),a("v-uni-view",{staticClass:"button",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onClickcCallback("ZJGM")}}},[t._v("直接购买")]),a("v-uni-view",{staticClass:"neverNotify",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.checkboxChange.apply(void 0,arguments)}}},[a("v-uni-view",{class:["itemCheckbox",t.checkValue?"itemCheckboxActive":""]}),a("v-uni-text",[t._v("不再提醒")])],1)],1)],1)},n=[]},"4abf":function(t,e,a){"use strict";a.r(e);var i=a("b8a0"),o=a("05f2");for(var n in o)["default"].indexOf(n)<0&&function(t){a.d(e,t,(function(){return o[t]}))}(n);a("7710");var r=a("f0c5"),s=Object(r["a"])(o["default"],i["b"],i["c"],!1,null,"88f6d892",null,!1,i["a"],void 0);e["default"]=s.exports},"4d8f":function(t,e,a){"use strict";a.r(e);var i=a("c65f"),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},"560e":function(t,e,a){"use strict";var i=a("79c0"),o=a.n(i);o.a},"6d31":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAVoAAABsCAMAAAAc24pAAAAAWlBMVEUAAAD/////6en/6ur/6ur/6ur/6ur/6ur/7+//6ur/6ur/6ur/6ur/7Oz/7Oz/7u7/6+v/6en/6ur/6ur/6+v/6+v/7Oz/6ur/6ur/6ur/8fH/6+v/6ur/6enh1lP4AAAAHXRSTlMAB/hukd/y0hfn/K2BMCghUuvBnVxHPsq6eRGMZLYTd44AAAHxSURBVHja7d1pbuJQEEXh6zg2dvDEPKX2v82mWykJEeAHfk/qks63hCPLg/A1QmZNeazqD8xVV+vToBvF5cOQytemkRsXhpSq3k8GlSGtetA/R0Nqi0JXkyG9UldrQ3qVpObLkEEv7Qw5fEvfhhw6qTTk8EnaH6SNg7SOtHGQ1pE2DtI60sZBWkfaOEjrSBsHaR1p4yCtI20cpHWkjYO0jrRxkNaRNg7SOtLGQVpH2jhI60gbB2ldjrTbineXk6urxUl/jSVLkXTqzXTWjX5pSKHuzro31YbZDqMeGFnmzbYs9NDAcTvT8UlZxjhztWc9xbVslq2e6w3vW+gV1vszdHqlM7yt1ytbw9sKvbI3vGsl0mbSihNCLgWXsVwGbr5yOemFwTDrkYEH3Uwm7g9yqQo9MbaGWZa6w0fqktnokR3HbALrRvfGDT+ZJ7EqC91otkvCJtNedj91p8XKkNZXe1iXvJj0C+98/e9I60gbB2kdaeMgrSNtHKR1pI2DtI60cZDWkTYO0jrSxkFaR9o4SOtIGwdpHWnjIK0jbRykdaSNg7SOtHGQ1pE2jk/+7DWXjq+i5FJKjSGHvaSDIb1WV5PBpR7srg0u8fCxYTGWWt37oJydY1qrvdyZQV5Ky1E3hu7AfCyFenHp9VuB2W5y/gHD27Tm/CJBNwAAAABJRU5ErkJggg=="},7497:function(t,e,a){var i=a("24fb"),o=a("1de5"),n=a("19e2");e=i(!1);var r=o(n);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/* 文章场景相关 */.container[data-v-80d9c260]{width:%?650?%;height:%?720?%;background:url('+r+') #fff no-repeat;background-size:100%;border-radius:%?82?% %?82?% %?36?% %?36?%;position:absolute;top:0;bottom:0;left:0;right:0;margin:auto}.loginReindIcon[data-v-80d9c260]{width:%?300?%;position:absolute;top:%?-80?%;left:0;right:0;margin:auto}.title[data-v-80d9c260]{color:#333;font-size:%?44?%;line-height:%?60?%;font-weight:700;text-align:center;margin-top:%?152?%}.hint[data-v-80d9c260]{color:#333;font-size:%?32?%;line-height:%?44?%;margin-top:%?58?%;margin-bottom:%?50?%;text-align:center}.button[data-v-80d9c260]{width:%?492?%;height:%?108?%;border-radius:%?54?%;border:%?2?% solid #c1c1c1;color:#9e9e9e;font-size:%?36?%;line-height:%?108?%;text-align:center;margin:auto}.loginButton[data-v-80d9c260]{background:linear-gradient(90deg,#ff9048,#fb3f3c);color:#fff;border:none;margin-bottom:%?28?%}.neverNotify[data-v-80d9c260]{text-align:center;font-size:%?28?%;margin-top:%?30?%;display:flex;align-items:center;justify-content:center}.neverNotify uni-text[data-v-80d9c260]{color:#636262;font-size:%?28?%}.itemCheckbox[data-v-80d9c260]{width:%?30?%;height:%?30?%;border:%?2?% solid #d3d4d6;border-radius:50%;background:#fff;cursor:pointer;margin-right:%?10?%}.itemCheckboxActive[data-v-80d9c260]{border-color:#fb3f3c;background-color:#fb3f3c;position:relative;border-radius:50%;margin-right:%?10?%}.itemCheckboxActive[data-v-80d9c260]::after{box-sizing:initial;content:"";border:%?2?% solid #fff;border-left:0;border-top:0;position:absolute;top:%?1?%;width:%?4?%;-webkit-transform:rotate(45deg) scaleY(1);transform:rotate(45deg) scaleY(1);height:%?16?%;left:%?10?%}.close[data-v-80d9c260]{position:absolute;bottom:%?-100?%;left:0;right:0;margin:auto;width:%?60?%;height:%?60?%}',""]),t.exports=e},7710:function(t,e,a){"use strict";var i=a("e565"),o=a.n(i);o.a},"79c0":function(t,e,a){var i=a("7497");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var o=a("4f06").default;o("17de8c01",i,!0,{sourceMap:!1,shadowMode:!1})},8954:function(t,e,a){var i=a("24fb"),o=a("1de5"),n=a("2252"),r=a("9306"),s=a("6d31");e=i(!1);var c=o(n),d=o(r),p=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/* 文章场景相关 */.page-wrap[data-v-88f6d892]{min-height:100vh;background-color:#f5f5f5;padding-bottom:%?200?%}.page-wrap .back-btn[data-v-88f6d892]{position:fixed;left:%?38?%;top:%?80?%;width:%?52?%;height:%?52?%;z-index:9}.page-wrap .swiper-wrap[data-v-88f6d892]{width:100vw;height:100vw}.page-wrap .con-block[data-v-88f6d892]{margin:%?24?%;border-radius:%?30?%;padding:%?24?%;background-color:#fff}.page-wrap .salesVolume[data-v-88f6d892]{background:url('+c+") no-repeat;background-size:100%;width:%?200?%;line-height:%?28?%;color:#ff4040;font-size:%?24?%;line-height:%?54?%;text-align:center;padding-left:%?16?%}.page-wrap .info-wrap .tp-wrap[data-v-88f6d892]{display:flex;align-items:center;justify-content:space-between}.page-wrap .info-wrap .tp-wrap .lt-wrap[data-v-88f6d892]{display:flex;align-items:baseline}.page-wrap .info-wrap .tp-wrap .lt-wrap .price-title[data-v-88f6d892]{color:#ff4040;font-size:%?28?%;line-height:%?40?%}.page-wrap .info-wrap .tp-wrap .lt-wrap .price[data-v-88f6d892]{font-size:%?48?%;color:#ff4040;font-weight:700;line-height:%?66?%;margin-left:%?12?%}.page-wrap .info-wrap .tp-wrap .lt-wrap .price-old[data-v-88f6d892]{margin-left:%?16?%;font-size:%?24?%;line-height:%?34?%;text-decoration:line-through;color:#999}.page-wrap .info-wrap .tp-wrap .rt-wrap[data-v-88f6d892]{display:flex;align-items:center}.page-wrap .info-wrap .tp-wrap .rt-wrap .btn-wrap[data-v-88f6d892]{display:flex;align-items:center}.page-wrap .info-wrap .tp-wrap .rt-wrap .btn-wrap .btn-img[data-v-88f6d892]{width:%?32?%;height:%?32?%}.page-wrap .info-wrap .tp-wrap .rt-wrap .btn-wrap .btn-text[data-v-88f6d892]{font-size:%?25?%;color:#999}.page-wrap .info-wrap .bm-wrap[data-v-88f6d892]{margin-top:%?20?%;font-size:%?34?%;font-weight:700;line-height:%?48?%;color:#333}.page-wrap .info-wrap .bm-wrap .shop-icon[data-v-88f6d892]{margin-right:%?6?%;width:%?32?%;height:%?32?%;margin-top:%?-10?%;border-radius:%?10?%;vertical-align:middle}.page-wrap .info-wrap .quan-block[data-v-88f6d892]{width:100%;height:%?132?%;background:url("+d+") no-repeat;background-size:100%;margin-top:%?44?%;display:flex;align-items:center;justify-content:space-between}.page-wrap .info-wrap .quan-block .quan-button[data-v-88f6d892]{width:%?213?%;color:#fff;font-size:%?36?%;line-height:%?50?%;text-align:center}.page-wrap .info-wrap .quan-block .quan-info[data-v-88f6d892]{flex:1;padding-left:%?20?%}.page-wrap .info-wrap .quan-block .quan-info .quan-info-1[data-v-88f6d892]{color:#fff;font-size:%?24?%;line-height:%?34?%}.page-wrap .info-wrap .quan-block .quan-info .quan-info-1 .quan-price[data-v-88f6d892]{color:#fff;font-size:%?56?%;line-height:%?70?%}.page-wrap .info-wrap .quan-block .quan-info .quan-time[data-v-88f6d892]{color:#fff;font-size:%?22?%;line-height:%?32?%}.page-wrap .info-wrap .btm-wrap[data-v-88f6d892]{margin-top:%?10?%;display:flex;align-items:center;justify-content:space-between}.page-wrap .info-wrap .btm-wrap .commission-wrap[data-v-88f6d892]{display:flex;flex-direction:column;justify-content:center;width:%?346?%;height:%?108?%;padding-left:%?20?%;color:#9f5c0a;background-color:#fef5e3;border-radius:%?4?%}.page-wrap .info-wrap .btm-wrap .commission-wrap .price[data-v-88f6d892]{font-size:%?32?%}.page-wrap .info-wrap .btm-wrap .commission-wrap .tips[data-v-88f6d892]{margin-top:%?6?%;font-size:%?22?%}.page-wrap .info-wrap .btm-wrap .coupon-wrap[data-v-88f6d892]{display:flex;flex-direction:column;justify-content:center;width:%?346?%;height:%?108?%;padding-left:%?20?%;background-image:url("+p+");background-repeat:no-repeat;background-size:100% 100%;color:#f23d45}.page-wrap .info-wrap .btm-wrap .coupon-wrap .price[data-v-88f6d892]{font-size:%?32?%}.page-wrap .info-wrap .btm-wrap .coupon-wrap .tips[data-v-88f6d892]{margin-top:%?6?%;font-size:%?22?%}.page-wrap .shop-wrap[data-v-88f6d892]{background-color:#fff;margin-top:%?10?%;display:flex;align-items:center}.page-wrap .shop-wrap .lt-wrap[data-v-88f6d892]{display:flex;align-items:center;justify-content:center}.page-wrap .shop-wrap .lt-wrap .shop-img[data-v-88f6d892]{border-radius:%?10?%;width:%?90?%;height:%?90?%}.page-wrap .shop-wrap .rt-wrap[data-v-88f6d892]{flex:1;margin-left:%?20?%;padding-right:%?40?%}.page-wrap .shop-wrap .rt-wrap .tp-wrap[data-v-88f6d892]{display:flex;align-items:center;justify-content:space-between}.page-wrap .shop-wrap .rt-wrap .tp-wrap .shop-name[data-v-88f6d892]{width:%?430?%;font-size:%?34?%;line-height:%?40?%;color:#333;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;-o-text-overflow:ellipsis}.page-wrap .shop-wrap .rt-wrap .tp-wrap .enter-wrap[data-v-88f6d892]{display:flex;align-items:center;font-size:%?24?%;color:#333}.page-wrap .shop-wrap .rt-wrap .tp-wrap .enter-wrap .enter-img[data-v-88f6d892]{width:%?10?%;height:%?20?%;margin-left:%?6?%}.page-wrap .shop-wrap .rt-wrap .point-wrap[data-v-88f6d892]{margin-top:%?20?%;display:flex;justify-content:space-between;color:#999;font-size:%?24?%;line-height:%?30?%}.page-wrap .recommend-wrap[data-v-88f6d892]{margin-top:%?10?%;padding-top:%?22?%;background-color:#fff}.page-wrap .recommend-wrap .goods-list-wrap[data-v-88f6d892]{padding:%?20?% %?6?% %?10?%;display:flex;justify-content:space-between}.page-wrap .recommend-wrap .goods-list-wrap .goods-item-wrap[data-v-88f6d892]{width:%?200?%}.page-wrap .recommend-wrap .goods-list-wrap .goods-item-wrap .goods-img[data-v-88f6d892]{width:%?200?%;height:%?200?%;border-radius:%?10?%;vertical-align:middle}.page-wrap .recommend-wrap .goods-list-wrap .goods-item-wrap .goods-commission[data-v-88f6d892]{padding:%?4?% 0;text-align:center;background:linear-gradient(45deg,#f57b2a,#f13840);color:#fff;font-size:%?20?%}.page-wrap .recommend-wrap .goods-list-wrap .goods-item-wrap .goods-title[data-v-88f6d892]{margin-top:%?4?%;padding-right:%?4?%;font-size:%?26?%;line-height:%?40?%;color:#333;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;-o-text-overflow:ellipsis}.page-wrap .recommend-wrap .goods-list-wrap .goods-item-wrap .goods-price[data-v-88f6d892]{display:flex;align-items:center;justify-content:space-between;margin-top:%?4?%}.page-wrap .recommend-wrap .goods-list-wrap .goods-item-wrap .goods-price .price[data-v-88f6d892]{font-size:%?26?%;color:#f51400}.page-wrap .recommend-wrap .goods-list-wrap .goods-item-wrap .goods-price .price-old[data-v-88f6d892]{margin-right:%?4?%;font-size:%?20?%;color:#999;text-decoration:line-through}.page-wrap .detail-wrap[data-v-88f6d892]{margin-top:%?10?%;padding-top:%?10?%;background-color:#fff;padding-top:%?20?%}.page-wrap .detail-wrap .content .price-img[data-v-88f6d892]{width:100%;height:%?368?%}.page-wrap .guess-wrap[data-v-88f6d892]{padding-top:%?10?%;background-color:initial;padding:0}.page-wrap .guess-wrap .goods-list-double-wrap[data-v-88f6d892]{display:flex;justify-content:space-between;flex-wrap:wrap;background:#f5f5f5;margin:auto;margin-top:%?22?%}.page-wrap .guess-wrap .goods-list-double-wrap .verticalGoodItem[data-v-88f6d892]{margin-bottom:%?22?%}.page-wrap .footer-wrap[data-v-88f6d892]{position:fixed;bottom:0;left:0;right:0;background-color:#fff;display:flex;align-items:center;justify-content:center;width:100%;height:%?150?%;padding:%?25?%;border-top:%?1?% solid #eee}.page-wrap .footer-wrap .btn-wrap[data-v-88f6d892]{background-color:#ffbb93;display:flex;align-items:center;width:%?600?%;height:%?84?%;border-radius:%?84?%;overflow:hidden}.page-wrap .footer-wrap .btn-wrap .btn-item[data-v-88f6d892]{height:100%;flex:1;display:flex;justify-content:center;align-items:center}.page-wrap .footer-wrap .btn-wrap .btn-item .btn-icon[data-v-88f6d892]{margin-right:%?10?%}.page-wrap .footer-wrap .btn-wrap .btn-item .btn-text[data-v-88f6d892]{color:#fff;font-size:%?36?%;font-weight:700;line-height:%?84?%}.page-wrap .footer-wrap .btn-wrap .btn-item.lt-btn .btn-icon[data-v-88f6d892]{width:%?42?%;height:%?38?%}.page-wrap .footer-wrap .btn-wrap .btn-item.rt-btn[data-v-88f6d892]{background:linear-gradient(90deg,#ff9048,#fb3f3c);border-radius:%?42?%}.page-wrap .footer-wrap .btn-wrap .btn-item.rt-btn .btn-icon[data-v-88f6d892]{width:%?42?%;height:%?44?%}.btn-collect-wrap[data-v-88f6d892]{display:flex;flex-direction:column;align-items:center;margin-right:%?28?%}.btn-collect-wrap .btn-collect-img[data-v-88f6d892]{width:%?42?%;height:%?42?%}.btn-collect-wrap .btn-collect-text[data-v-88f6d892]{color:#666;font-size:%?20?%;line-height:%?28?%}.block-title[data-v-88f6d892]{line-height:%?60?%;font-size:%?34?%;padding:0;font-weight:700;text-align:center}.sales2[data-v-88f6d892]{color:#999;font-size:%?24?%;margin-left:%?4?%;text-decoration:line-through}.commission-price-view[data-v-88f6d892]{width:100%;line-height:%?72?%;background:linear-gradient(90deg,#ff9048,#fb3f3c);border-radius:%?20?% %?20?% 0 0;color:#fff;font-size:%?32?%;padding:0 %?44?%;position:relative;margin-top:%?-30?%}.detail-pic[data-v-88f6d892]{vertical-align:middle;width:100%}",""]),t.exports=e},9306:function(t,e,a){t.exports=a.p+"static/img/quan-bg.150d53c8.png"},b8a0: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={uSwiper:a("b3a4").default,uLazyLoad:a("1955").default,uBackTop:a("3554").default,loginRemind:a("c631").default},o=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"page-wrap"},[a("v-uni-image",{staticClass:"back-btn",style:{top:t.statusBarHeight+"px"},attrs:{src:"/static/imgs/btn-back.png"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onClickToBack.apply(void 0,arguments)}}}),a("v-uni-view",{staticClass:"swiper-wrap"},[a("u-swiper",{attrs:{list:t.swiperList,height:"750",mode:"round","bg-color":"transparent"}})],1),t.user_level>1&&t.goodsItem.commission>0?a("v-uni-view",{staticClass:"commission-price-view",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onClickCommission.apply(void 0,arguments)}}},[t._v("猎豆优选专享,下单或分享可获"+t._s(t.goodsItem.commission)+"元")]):t._e(),a("v-uni-view",{staticClass:"info-wrap con-block"},[a("v-uni-view",{staticClass:"tp-wrap"},[a("v-uni-view",{staticClass:"lt-wrap"},[a("v-uni-text",{staticClass:"price-title"},[t._v(t._s(1==t.goodsItem.is_coupon&&t.goodsItem.coupon_price>0?"券后价":"")+" ¥")]),a("v-uni-text",{staticClass:"price"},[t._v(t._s(t.goodsItem.discount_price))]),a("v-uni-text",{staticClass:"price-old"},[t._v("¥"+t._s(t.goodsItem.price))])],1),a("v-uni-view",{staticClass:"rt-wrap"},[t.goodsItem.volume>100?a("v-uni-view",{staticClass:"salesVolume"},[t._v("月销:"+t._s(t.$NumberHandle({value:t.goodsItem.volume,comma:!0}))+"+")]):t._e()],1)],1),a("v-uni-view",{staticClass:"bm-wrap"},[4==t.goodsItem.shop_type?a("v-uni-image",{staticClass:"shop-icon",attrs:{src:"/static/imgs/jd-icon.png"}}):0==t.goodsItem.shop_type?a("v-uni-image",{staticClass:"shop-icon",attrs:{src:"/static/imgs/icon-tb.png"}}):1==t.goodsItem.shop_type?a("v-uni-image",{staticClass:"shop-icon",attrs:{src:"/static/imgs/icon-tmall.png"}}):t._e(),t._v(t._s(t.goodsItem.title))],1),1==t.goodsItem.is_coupon&&t.goodsItem.coupon_price>0?a("v-uni-view",{staticClass:"quan-block",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onClickFXZQ.apply(void 0,arguments)}}},[a("v-uni-view",{staticClass:"quan-info"},[a("v-uni-view",{staticClass:"quan-info-1"},[t._v("优惠券 ¥"),a("v-uni-text",{staticClass:"quan-price"},[t._v(t._s(t.goodsItem.coupon_price))])],1),a("v-uni-view",{staticClass:"quan-time"},[t._v(t._s(t.goodsItem.coupon_start_time&&decodeURIComponent(t.goodsItem.coupon_start_time).slice(0,16))+" ~ "+t._s(t.goodsItem.coupon_end_time&&decodeURIComponent(t.goodsItem.coupon_end_time).slice(0,16)))])],1),a("v-uni-view",{staticClass:"quan-button"},[t._v("分享赚钱")])],1):t._e()],1),a("v-uni-view",{staticClass:"shop-wrap con-block"},[a("v-uni-view",{staticClass:"lt-wrap"},[a("v-uni-image",{staticClass:"shop-img",attrs:{src:t.goodsItem.shop&&t.goodsItem.shop.pic_path||"/static/imgs/jd-icon.png"}})],1),a("v-uni-view",{staticClass:"rt-wrap"},[a("v-uni-view",{staticClass:"tp-wrap"},[a("v-uni-text",{staticClass:"shop-name"},[t._v(t._s(t.goodsItem.shop_title))]),a("v-uni-view",{staticClass:"enter-wrap"})],1),a("v-uni-view",{staticClass:"point-wrap"},[a("v-uni-text",[t._v("宝贝描述 "+t._s(t.goodsItem.item_score||"-"))]),a("v-uni-text",[t._v("服务态度 "+t._s(t.goodsItem.service_score||"-"))]),a("v-uni-text",[t._v("发货速度 "+t._s(t.goodsItem.delivery_score||"-"))])],1)],1)],1),a("v-uni-view",{staticClass:"recommend-wrap con-block"},[a("v-uni-view",{staticClass:"block-title"},[t._v("相关推荐")]),a("v-uni-view",{staticClass:"goods-list-wrap"},t._l(t.recommendList,(function(e){return a("v-uni-view",{key:e.goods_id,staticClass:"goods-item-wrap",on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.onClickGoodsItem(e)}}},[a("v-uni-image",{staticClass:"goods-img",attrs:{src:e.img}}),t.user_level>1&&e.commission_price>0?a("v-uni-view",{staticClass:"goods-commission"},[t._v("预估佣金 ¥"+t._s(e.commission_price))]):t._e(),a("v-uni-view",{staticClass:"goods-title"},[t._v(t._s(e.title))]),a("v-uni-view",{staticClass:"goods-price"},[a("v-uni-text",{staticClass:"price"},[t._v("¥"+t._s(e.discount_price))]),a("v-uni-text",{staticClass:"price-old"},[t._v("¥"+t._s(e.price))])],1)],1)})),1)],1),t.goodsItem.detail_pic&&t.goodsItem.detail_pic.length?[a("v-uni-view",{staticClass:"detail-wrap con-block"},[a("v-uni-view",{staticClass:"block-title"},[t._v("宝贝详情")]),a("v-uni-view",{staticClass:"content"},t._l(t.goodsItem.detail_pic,(function(t,e){return a("u-lazy-load",{key:e,staticClass:"detail-pic",attrs:{image:t,"img-mode":"widthFix"}})})),1)],1)]:t._e(),a("v-uni-view",{staticClass:"footer-wrap",style:{"padding-bottom":t.isIphoneX?"66rpx":"22rpx"}},[1==t.goodsItem.is_favorites?a("v-uni-view",{staticClass:"btn-collect-wrap",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onClickSetFavorites.apply(void 0,arguments)}}},[a("v-uni-image",{staticClass:"btn-collect-img",attrs:{src:"/static/imgs/icon-collect-on.png"}}),a("v-uni-text",{staticClass:"btn-collect-text"},[t._v("已收藏")])],1):a("v-uni-view",{staticClass:"btn-collect-wrap",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onClickSetFavorites.apply(void 0,arguments)}}},[a("v-uni-image",{staticClass:"btn-collect-img",attrs:{src:"/static/imgs/icon-collect.png"}}),a("v-uni-text",{staticClass:"btn-collect-text"},[t._v("收藏")])],1),a("v-uni-view",{staticClass:"btn-wrap"},[a("v-uni-view",{staticClass:"btn-item rt-btn",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onClickFXZQ.apply(void 0,arguments)}}},[a("v-uni-text",{staticClass:"btn-text"},[t._v("分享赚钱")])],1)],1)],1),t.isShowTbAuth?a("tbAuthorize",{attrs:{tb_show:t.isShowTbAuth},on:{closeTask:function(e){arguments[0]=e=t.$handleEvent(e),t.isShowTbAuth=!1}}}):t._e(),a("u-back-top",{attrs:{"scroll-top":t.scrollTop}}),a("loginRemind",{attrs:{show:t.loginRemindShow},on:{callback:function(e){arguments[0]=e=t.$handleEvent(e),t.loginRemindCallback.apply(void 0,arguments)}}})],2)},n=[]},c631:function(t,e,a){"use strict";a.r(e);var i=a("2763"),o=a("4d8f");for(var n in o)["default"].indexOf(n)<0&&function(t){a.d(e,t,(function(){return o[t]}))}(n);a("560e");var r=a("f0c5"),s=Object(r["a"])(o["default"],i["b"],i["c"],!1,null,"80d9c260",null,!1,i["a"],void 0);e["default"]=s.exports},c65f:function(t,e,a){"use strict";a("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={props:{show:{type:Boolean,default:!1}},name:"loginRemind",data:function(){return{neverNotify:!1,checkValue:!1}},mounted:function(){},methods:{checkboxChange:function(){this.checkValue=!this.checkValue,this.checkValue?uni.setStorageSync("loginRemindMask",!0):uni.setStorageSync("loginRemindMask",!1)},onClickcCallback:function(t){this.$emit("callback",t)},goLogin:function(){this.$emit("callback"),uni.navigateTo({url:"/pages/subPackages/login/loginPhone"})}}};e.default=i},e3da:function(t,e,a){"use strict";a("7a82");var i=a("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,a("a434"),a("d81d"),a("99af"),a("d3b7");var o=i(a("5530")),n=i(a("c7eb")),r=i(a("1da1")),s=i(a("6b43")),c=i(a("fa63")),d=getApp(),p=d.globalData.$router,l={components:{tbAuthorize:s.default,verticalGood:c.default},data:function(){return{isIphoneX:d.globalData.isIphoneX,statusBarHeight:d.globalData.statusBarHeight,swiperList:[],recommendList:[],goods_id:"",goodsParams:{},goodsItem:{discount_price:"",price:"",volume:"",title:"",coupon_price:"",shop:{pic_path:"",title:"",delivery_score:"",item_score:"",service_score:""}},isLogin:!1,isShowTbAuth:!1,canvasImg:"",qrcodeVal:"",qrcodeImg:"",posterInfo:{},user_level:uni.getStorageSync("userInfo")?uni.getStorageSync("userInfo").user_level:"",scrollTop:0,loginRemindShow:!1}},onPageScroll:function(t){this.scrollTop=t.scrollTop},onLoad:function(t){console.log("goodsItem onLoad => options ",t);var e=t.goods_id,a=void 0===e?"":e;this.goods_id=decodeURIComponent(a),this.goodsParams={goods_id:decodeURIComponent(a)},this.handleGetUserIsLogin(),this.handleGetgoodsItem(),this.handleUserReport()},methods:{handleUserReport:function(){var t=this;return(0,r.default)((0,n.default)().mark((function e(){var a,i,o,r,s,c,d,p,l,u,g,f;return(0,n.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(t.isLogin){e.next=2;break}return e.abrupt("return",!1);case 2:return a=t.goodsItem,i=a.goods_id,o=a.is_coupon,r=a.coupon_price,s=a.price,c=a.discount_price,d=a.commission_rate,p=a.coupon_end_time,l=a.coupon_start_time,u=a.shop_type,e.prev=3,g=t.$api.goodsItem_record,f={goods_id:i,is_coupon:o,coupon_price:r,price:s,discount_price:c,commission_rate:d,coupon_end_time:p,coupon_start_time:l,shop_type:u},e.next=8,t.$postJSON(g,f);case 8:e.next=13;break;case 10:e.prev=10,e.t0=e["catch"](3),console.log("error => ",e.t0);case 13:case"end":return e.stop()}}),e,null,[[3,10]])})))()},handleGetUserIsLogin:function(){var t=uni.getStorageSync("userInfo")||"",e=uni.getStorageSync("user_id")||"";this.isLogin=!(!t||!e)},handleGetRecommendList:function(){var t=this;return(0,r.default)((0,n.default)().mark((function e(){var a,i,o,r,s;return(0,n.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_jd.goodsRecommend,i={cid3:t.goodsItem.cid3},e.next=6,t.$get(a,i);case 6:o=e.sent,r=o.data,s=void 0===r?{}:r,s&&0==s.errno&&Array.isArray(s.rst.data)?t.recommendList=s.rst.data.splice(0,3):uni.showToast({title:s.err||"操作失败",icon:"none"}),e.next=15;break;case 12:e.prev=12,e.t0=e["catch"](0),console.log("error => ",e.t0);case 15:return e.prev=15,uni.hideLoading(),e.finish(15);case 18:case"end":return e.stop()}}),e,null,[[0,12,15,18]])})))()},handleGetgoodsItem:function(){var t=this;return(0,r.default)((0,n.default)().mark((function e(){var a,i,r,s,c;return(0,n.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_jd.goods_detail,i={goods_id:t.goods_id},e.next=6,t.$postJSON(a,i);case 6:r=e.sent,s=r.data,c=void 0===s?{}:s,c&&0==c.errno&&c.rst.data?(t.goodsItem=(0,o.default)({},c.rst.data),t.swiperList=c.rst.data.img_list.map((function(t){return{image:t.url}})),t.handleGetRecommendList()):uni.showToast({title:c.err||"操作失败",icon:"none"}),e.next=15;break;case 12:e.prev=12,e.t0=e["catch"](0),console.log("error => ",e.t0);case 15:return e.prev=15,uni.hideLoading(),e.finish(15);case 18:case"end":return e.stop()}}),e,null,[[0,12,15,18]])})))()},onClickToBack:function(){var t=getCurrentPages();t.length<=1?uni.reLaunch({url:"/pages/home/home"}):uni.navigateBack()},onClickGoodsItem:function(t){try{d.categoryNew_countBuy({type:0,path:"goodsItemTopRecommendAction"})}catch(n){}var e=t.goods_id,a=void 0===e?"":e,i=getCurrentPages(),o=i.length;o<10?uni.navigateTo({url:"/pages/subPackages/home/jdGoodsDetail?goods_id=".concat(encodeURIComponent(a))}):uni.redirectTo({url:"/pages/subPackages/home/jdGoodsDetail?goods_id=".concat(encodeURIComponent(a))})},onClickSetFavorites:function(){this.isLogin?this.handleSetFavorites():p.navigateTo({url:"/pages/subPackages/login/loginPhone"})},handleSetFavorites:function(){var t=this;return(0,r.default)((0,n.default)().mark((function e(){var a,i,o,r,s,c,d,p,l,u,g,f,v,w;return(0,n.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return a=t.goodsItem,i=a.goods_id,o=a.is_coupon,r=a.discount_price,s=a.price,c=a.coupon_price,d=a.commission_rate,p=a.coupon_end_time,l=a.coupon_start_time,u=a.shop_type,e.prev=1,uni.showLoading({title:"加载中...",mask:!0}),g=t.$api.goodsItem_addFavorites,f={goods_id:i,is_coupon:o,discount_price:r,price:s,coupon_price:c,commission_rate:d,coupon_end_time:p,coupon_start_time:l,shop_type:u},e.next=7,t.$postJSON(g,f);case 7:v=e.sent,w=v.data,w&&0==w.errno?t.handleGetgoodsItem():uni.showToast({title:w.err||"操作失败",icon:"none"}),e.next=15;break;case 12:e.prev=12,e.t0=e["catch"](1),console.log("error => ",e.t0);case 15:return e.prev=15,uni.hideLoading(),e.finish(15);case 18:case"end":return e.stop()}}),e,null,[[1,12,15,18]])})))()},onClickFXZQ:function(){var t=this;return(0,r.default)((0,n.default)().mark((function e(){return(0,n.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:console.log("onClickFXZQ => "),p.navigateTo({url:"/pages/subPackages/home/shareDetail?shop_type=".concat(t.goodsItem.shop_type,"&goods_id=").concat(encodeURIComponent(t.goodsItem.goods_id))});case 2:case"end":return e.stop()}}),e)})))()},onClickGWSQ:function(){var t=this;return(0,r.default)((0,n.default)().mark((function e(){var a;return(0,n.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,t.handleGetGoodsTKL();case 2:a=e.sent,uni.setClipboardData({data:a,success:function(){t.$u.toast("口令复制成功!请打开手机京东领券下单~")}});case 4:case"end":return e.stop()}}),e)})))()},onClickZJGM:function(){var t=this;return(0,r.default)((0,n.default)().mark((function e(){return(0,n.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:console.log("onClickZJGM => ");try{uni.getStorageSync("loginRemindMask")&&""!=uni.getStorageSync("loginRemindMask")?t.eventXJGM():t.loginRemindShow=!0}catch(a){console.log("error => ",a)}case 2:case"end":return e.stop()}}),e)})))()},eventXJGM:function(){var t=this;return(0,r.default)((0,n.default)().mark((function e(){var a;return(0,n.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,t.handleGetGoodsTKL();case 2:a=e.sent,uni.setClipboardData({data:a,success:function(){t.$u.toast("口令复制成功!请打开手机京东领券下单~")}});case 4:case"end":return e.stop()}}),e)})))()},onClickFYJGM:function(){p.navigateTo({url:"/pages/subPackages/login/loginPhone"})},handleGetGoodsTKL:function(){var t=this;return(0,r.default)((0,n.default)().mark((function e(){var a,i,o,r,s,c,d;return(0,n.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,uni.showLoading({title:"加载中...",mask:!0}),a=t.goodsParams,i=a.goods_id,o=a.is_coupon,r=t.$api.goodsItem_getTKL,s={goods_id:i,is_coupon:o},e.next=7,t.$postJSON(r,s);case 7:if(c=e.sent,d=c.data,uni.hideLoading(),0!=d.errno){e.next=14;break}return e.abrupt("return",Promise.resolve(d.rst.data));case 14:return uni.showToast({title:d.err||"操作失败",icon:"none"}),e.abrupt("return",Promise.reject("获取失败"));case 16:e.next=22;break;case 18:return e.prev=18,e.t0=e["catch"](0),console.log("error => ",e.t0),e.abrupt("return",Promise.reject(e.t0));case 22:case"end":return e.stop()}}),e,null,[[0,18]])})))()},onClickCoupon:function(){this.isLogin?this.onClickGWSQ():this.onClickZJGM()},onClickCommission:function(){p.navigateTo({url:"/pages/subPackages/my/tqjs"})},loginRemindCallback:function(t){this.loginRemindShow=!1,"ZJGM"==t&&this.eventXJGM()}}};e.default=l},e565:function(t,e,a){var i=a("8954");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var o=a("4f06").default;o("ca740c1c",i,!0,{sourceMap:!1,shadowMode:!1})}}]);
|