猎豆优选小程序

pages-subPackages-home-goodsDetail.284effad.js 40KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-subPackages-home-goodsDetail"],{2763:function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){return a}));var a={uMask:n("a4db").default},o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("u-mask",{attrs:{show:t.show}},[n("v-uni-view",{staticClass:"container"},[n("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()}}}),n("v-uni-image",{staticClass:"loginReindIcon",attrs:{src:"/static/imgs/loginReindIcon.png",mode:"widthFix"}}),n("v-uni-view",{staticClass:"title"},[t._v("登录提醒")]),n("v-uni-view",{staticClass:"hint"},[t._v("登录小程序购买还可赚取商品佣金")]),n("v-uni-view",{staticClass:"button loginButton",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.goLogin.apply(void 0,arguments)}}},[t._v("立即登录")]),n("v-uni-view",{staticClass:"button",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onClickcCallback("ZJGM")}}},[t._v("直接购买")]),n("v-uni-view",{staticClass:"neverNotify",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.checkboxChange.apply(void 0,arguments)}}},[n("v-uni-view",{class:["itemCheckbox",t.checkValue?"itemCheckboxActive":""]}),n("v-uni-text",[t._v("不再提醒")])],1)],1)],1)},i=[]},2909:function(t,e,n){"use strict";n("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return(0,a.default)(t)||(0,o.default)(t)||(0,i.default)(t)||(0,r.default)()};var a=s(n("6005")),o=s(n("db90")),i=s(n("06c5")),r=s(n("3427"));function s(t){return t&&t.__esModule?t:{default:t}}},"2e72":function(t,e,n){var a=n("24fb");e=a(!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,n){"use strict";n("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.")},n("d9e2"),n("d401")},"4d8f":function(t,e,n){"use strict";n.r(e);var a=n("c65f"),o=n.n(a);for(var i in a)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(i);e["default"]=o.a},"53c2":function(t,e,n){"use strict";var a=n("7f37"),o=n.n(a);o.a},"54f0":function(t,e,n){var a=n("24fb"),o=n("1de5"),i=n("2252"),r=n("9306"),s=n("6d31");e=a(!1);var c=o(i),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-13addcb5]{min-height:100vh;background-color:#f5f5f5;padding-bottom:%?200?%}.page-wrap .back-btn[data-v-13addcb5]{position:fixed;left:%?38?%;top:%?80?%;width:%?52?%;height:%?52?%;z-index:9}.page-wrap .swiper-wrap[data-v-13addcb5]{width:100vw;height:100vw}.page-wrap .con-block[data-v-13addcb5]{margin:%?24?%;border-radius:%?30?%;padding:%?24?%;background-color:#fff}.page-wrap .salesVolume[data-v-13addcb5]{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-13addcb5]{display:flex;align-items:center;justify-content:space-between}.page-wrap .info-wrap .tp-wrap .lt-wrap[data-v-13addcb5]{display:flex;align-items:baseline}.page-wrap .info-wrap .tp-wrap .lt-wrap .price-title[data-v-13addcb5]{color:#ff4040;font-size:%?28?%;line-height:%?40?%}.page-wrap .info-wrap .tp-wrap .lt-wrap .price[data-v-13addcb5]{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-13addcb5]{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-13addcb5]{display:flex;align-items:center}.page-wrap .info-wrap .tp-wrap .rt-wrap .btn-wrap[data-v-13addcb5]{display:flex;align-items:center}.page-wrap .info-wrap .tp-wrap .rt-wrap .btn-wrap .btn-img[data-v-13addcb5]{width:%?32?%;height:%?32?%}.page-wrap .info-wrap .tp-wrap .rt-wrap .btn-wrap .btn-text[data-v-13addcb5]{font-size:%?25?%;color:#999}.page-wrap .info-wrap .bm-wrap[data-v-13addcb5]{margin-top:%?20?%;font-size:%?34?%;font-weight:700;line-height:%?48?%;color:#333}.page-wrap .info-wrap .bm-wrap .shop-icon[data-v-13addcb5]{margin-right:%?6?%;width:%?32?%;height:%?32?%;margin-top:%?-10?%;border-radius:%?10?%;vertical-align:middle}.page-wrap .info-wrap .quan-block[data-v-13addcb5]{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-13addcb5]{width:%?213?%;color:#fff;font-size:%?36?%;line-height:%?50?%;text-align:center}.page-wrap .info-wrap .quan-block .quan-info[data-v-13addcb5]{flex:1;padding-left:%?20?%}.page-wrap .info-wrap .quan-block .quan-info .quan-info-1[data-v-13addcb5]{color:#fff;font-size:%?24?%;line-height:%?34?%}.page-wrap .info-wrap .quan-block .quan-info .quan-info-1 .quan-price[data-v-13addcb5]{color:#fff;font-size:%?56?%;line-height:%?70?%}.page-wrap .info-wrap .quan-block .quan-info .quan-time[data-v-13addcb5]{color:#fff;font-size:%?22?%;line-height:%?32?%}.page-wrap .info-wrap .btm-wrap[data-v-13addcb5]{margin-top:%?10?%;display:flex;align-items:center;justify-content:space-between}.page-wrap .info-wrap .btm-wrap .commission-wrap[data-v-13addcb5]{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-13addcb5]{font-size:%?32?%}.page-wrap .info-wrap .btm-wrap .commission-wrap .tips[data-v-13addcb5]{margin-top:%?6?%;font-size:%?22?%}.page-wrap .info-wrap .btm-wrap .coupon-wrap[data-v-13addcb5]{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-13addcb5]{font-size:%?32?%}.page-wrap .info-wrap .btm-wrap .coupon-wrap .tips[data-v-13addcb5]{margin-top:%?6?%;font-size:%?22?%}.page-wrap .shop-wrap[data-v-13addcb5]{background-color:#fff;margin-top:%?10?%;display:flex;align-items:center}.page-wrap .shop-wrap .lt-wrap[data-v-13addcb5]{display:flex;align-items:center;justify-content:center}.page-wrap .shop-wrap .lt-wrap .shop-img[data-v-13addcb5]{border-radius:%?10?%;width:%?90?%;height:%?90?%}.page-wrap .shop-wrap .rt-wrap[data-v-13addcb5]{flex:1;margin-left:%?20?%;padding-right:%?40?%}.page-wrap .shop-wrap .rt-wrap .tp-wrap[data-v-13addcb5]{display:flex;align-items:center;justify-content:space-between}.page-wrap .shop-wrap .rt-wrap .tp-wrap .shop-name[data-v-13addcb5]{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-13addcb5]{display:flex;align-items:center;font-size:%?24?%;color:#333}.page-wrap .shop-wrap .rt-wrap .tp-wrap .enter-wrap .enter-img[data-v-13addcb5]{width:%?10?%;height:%?20?%;margin-left:%?6?%}.page-wrap .shop-wrap .rt-wrap .point-wrap[data-v-13addcb5]{margin-top:%?20?%;display:flex;justify-content:space-between;color:#999;font-size:%?24?%;line-height:%?30?%}.page-wrap .recommend-wrap[data-v-13addcb5]{margin-top:%?10?%;padding-top:%?22?%;background-color:#fff}.page-wrap .recommend-wrap .goods-list-wrap[data-v-13addcb5]{padding:%?20?% %?6?% %?10?%;display:flex;justify-content:space-between}.page-wrap .recommend-wrap .goods-list-wrap .goods-item-wrap[data-v-13addcb5]{width:%?200?%}.page-wrap .recommend-wrap .goods-list-wrap .goods-item-wrap .goods-img[data-v-13addcb5]{width:%?200?%;height:%?200?%;border-radius:%?10?%;vertical-align:middle}.page-wrap .recommend-wrap .goods-list-wrap .goods-item-wrap .goods-commission[data-v-13addcb5]{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-13addcb5]{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-13addcb5]{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-13addcb5]{font-size:%?26?%;color:#f51400}.page-wrap .recommend-wrap .goods-list-wrap .goods-item-wrap .goods-price .price-old[data-v-13addcb5]{margin-right:%?4?%;font-size:%?20?%;color:#999;text-decoration:line-through}.page-wrap .detail-wrap[data-v-13addcb5]{margin-top:%?10?%;padding-top:%?10?%;background-color:#fff;padding-top:%?20?%}.page-wrap .detail-wrap .content .price-img[data-v-13addcb5]{width:100%;height:%?368?%}.page-wrap .guess-wrap[data-v-13addcb5]{padding-top:%?10?%;background-color:initial;padding:0}.page-wrap .guess-wrap .goods-list-double-wrap[data-v-13addcb5]{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-13addcb5]{margin-bottom:%?22?%}.page-wrap .footer-wrap[data-v-13addcb5]{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-13addcb5]{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-13addcb5]{height:100%;flex:1;display:flex;justify-content:center;align-items:center}.page-wrap .footer-wrap .btn-wrap .btn-item .btn-icon[data-v-13addcb5]{margin-right:%?10?%}.page-wrap .footer-wrap .btn-wrap .btn-item .btn-text[data-v-13addcb5]{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-13addcb5]{width:%?42?%;height:%?38?%}.page-wrap .footer-wrap .btn-wrap .btn-item.rt-btn[data-v-13addcb5]{background:linear-gradient(90deg,#ff9048,#fb3f3c);border-radius:%?42?%}.page-wrap .footer-wrap .btn-wrap .btn-item.rt-btn .btn-icon[data-v-13addcb5]{width:%?42?%;height:%?44?%}.btn-collect-wrap[data-v-13addcb5]{display:flex;flex-direction:column;align-items:center;margin-right:%?28?%}.btn-collect-wrap .btn-collect-img[data-v-13addcb5]{width:%?42?%;height:%?42?%}.btn-collect-wrap .btn-collect-text[data-v-13addcb5]{color:#666;font-size:%?20?%;line-height:%?28?%}.block-title[data-v-13addcb5]{line-height:%?60?%;font-size:%?34?%;padding:0;font-weight:700;text-align:center}.sales2[data-v-13addcb5]{color:#999;font-size:%?24?%;margin-left:%?4?%;text-decoration:line-through}.commission-price-view[data-v-13addcb5]{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?%}",""]),t.exports=e},5522:function(t,e,n){var a=n("2e72");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var o=n("4f06").default;o("624655f7",a,!0,{sourceMap:!1,shadowMode:!1})},"560e":function(t,e,n){"use strict";var a=n("79c0"),o=n.n(a);o.a},6005:function(t,e,n){"use strict";n("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){if(Array.isArray(t))return(0,a.default)(t)};var a=function(t){return t&&t.__esModule?t:{default:t}}(n("6b75"))},"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=="},"73ba":function(t,e,n){"use strict";n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){}));var a=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=[]},7497:function(t,e,n){var a=n("24fb"),o=n("1de5"),i=n("19e2");e=a(!1);var r=o(i);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},"79c0":function(t,e,n){var a=n("7497");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var o=n("4f06").default;o("17de8c01",a,!0,{sourceMap:!1,shadowMode:!1})},"7f37":function(t,e,n){var a=n("54f0");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var o=n("4f06").default;o("610d3de8",a,!0,{sourceMap:!1,shadowMode:!1})},"899f":function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){return a}));var a={uSwiper:n("b3a4").default,uBackTop:n("3554").default,loginRemind:n("c631").default,icp:n("b9f0").default},o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{staticClass:"page-wrap"},[n("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)}}}),n("v-uni-view",{staticClass:"swiper-wrap"},[n("u-swiper",{attrs:{list:t.swiperList,height:"750",mode:"round","bg-color":"transparent"}})],1),t.user_level>1&&t.goodsItem.commission_price>0?n("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_price)+"元")]):t._e(),n("v-uni-view",{staticClass:"info-wrap con-block"},[n("v-uni-view",{staticClass:"tp-wrap"},[n("v-uni-view",{staticClass:"lt-wrap"},[n("v-uni-text",{staticClass:"price-title"},[t._v(t._s(1==t.goodsItem.is_coupon&&t.goodsItem.coupon_price>0?"券后价":"")+" ¥")]),n("v-uni-text",{staticClass:"price"},[t._v(t._s(t.goodsItem.discount_price))]),n("v-uni-text",{staticClass:"price-old"},[t._v("¥"+t._s(t.goodsItem.price))])],1),n("v-uni-view",{staticClass:"rt-wrap"},[t.goodsItem.volume>100?n("v-uni-view",{staticClass:"salesVolume"},[t._v("月销:"+t._s(t.$NumberHandle({value:t.goodsItem.volume,comma:!0}))+"+")]):t._e()],1)],1),n("v-uni-view",{staticClass:"bm-wrap"},[0==t.goodsItem.shop_type?n("v-uni-image",{staticClass:"shop-icon",attrs:{src:"/static/imgs/icon-tb.png"}}):1==t.goodsItem.shop_type?n("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?n("v-uni-view",{staticClass:"quan-block",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onClickCoupon.apply(void 0,arguments)}}},[n("v-uni-view",{staticClass:"quan-info"},[n("v-uni-view",{staticClass:"quan-info-1"},[t._v("优惠券 ¥"),n("v-uni-text",{staticClass:"quan-price"},[t._v(t._s(t.goodsItem.coupon_price))])],1),n("v-uni-view",{staticClass:"quan-time"},[t._v(t._s(t.goodsItem.coupon_start_time&&t.goodsItem.coupon_start_time.slice(0,16))+" ~ "+t._s(t.goodsItem.coupon_end_time&&t.goodsItem.coupon_end_time.slice(0,16)))])],1),n("v-uni-view",{staticClass:"quan-button"},[t._v("复制淘口令")])],1):t._e()],1),n("v-uni-view",{staticClass:"shop-wrap con-block"},[n("v-uni-view",{staticClass:"lt-wrap"},[n("v-uni-image",{staticClass:"shop-img",attrs:{src:t.goodsItem.shop.pic_path}})],1),n("v-uni-view",{staticClass:"rt-wrap"},[n("v-uni-view",{staticClass:"tp-wrap"},[n("v-uni-text",{staticClass:"shop-name"},[t._v(t._s(t.goodsItem.shop.title))]),n("v-uni-view",{staticClass:"enter-wrap"})],1),n("v-uni-view",{staticClass:"point-wrap"},[n("v-uni-text",[t._v("宝贝描述 "+t._s(t.goodsItem.shop.item_score))]),n("v-uni-text",[t._v("服务态度 "+t._s(t.goodsItem.shop.service_score))]),n("v-uni-text",[t._v("发货速度 "+t._s(t.goodsItem.shop.delivery_score))])],1)],1)],1),n("v-uni-view",{staticClass:"recommend-wrap con-block"},[n("v-uni-view",{staticClass:"block-title"},[t._v("相关推荐")]),n("v-uni-view",{staticClass:"goods-list-wrap"},t._l(t.recommendList,(function(e){return n("v-uni-view",{key:e.goods_id,staticClass:"goods-item-wrap",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.onClickGoodsItem(e)}}},[n("v-uni-image",{staticClass:"goods-img",attrs:{src:e.img}}),t.user_level>1&&e.commission_price>0?n("v-uni-view",{staticClass:"goods-commission"},[t._v("预估佣金 ¥"+t._s(e.commission_price))]):t._e(),n("v-uni-view",{staticClass:"goods-title"},[t._v(t._s(e.title))]),n("v-uni-view",{staticClass:"goods-price"},[n("v-uni-text",{staticClass:"price"},[t._v("¥"+t._s(e.discount_price))]),n("v-uni-text",{staticClass:"price-old"},[t._v("¥"+t._s(e.price))])],1)],1)})),1)],1),n("v-uni-view",{staticClass:"detail-wrap con-block"},[n("v-uni-view",{staticClass:"block-title"},[t._v("宝贝详情")]),n("v-uni-view",{staticClass:"content"},[n("v-uni-image",{staticClass:"price-img",attrs:{src:"https://gw.alicdn.com/tfs/TB1k9XsQpXXXXXLXpXXXXXXXXXX-750-368.png",mode:"widthFix"}})],1)],1),n("v-uni-view",{staticClass:"guess-wrap con-block"},[n("v-uni-view",{staticClass:"block-title"},[t._v("猜你喜欢")]),n("v-uni-view",{staticClass:"goods-list-double-wrap"},[t._l(t.guessList,(function(e){return[e?n("verticalGood",{key:e.goods_id,staticClass:"verticalGoodItem",attrs:{goodsItem:e,path:"goodsItemRecommendAction"}}):t._e()]}))],2)],1),n("v-uni-view",{staticClass:"footer-wrap",style:{"padding-bottom":t.isIphoneX?"66rpx":"22rpx"}},[1==t.goodsItem.is_favorites?n("v-uni-view",{staticClass:"btn-collect-wrap",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onClickSetFavorites.apply(void 0,arguments)}}},[n("v-uni-image",{staticClass:"btn-collect-img",attrs:{src:"/static/imgs/icon-collect-on.png"}}),n("v-uni-text",{staticClass:"btn-collect-text"},[t._v("已收藏")])],1):n("v-uni-view",{staticClass:"btn-collect-wrap",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onClickSetFavorites.apply(void 0,arguments)}}},[n("v-uni-image",{staticClass:"btn-collect-img",attrs:{src:"/static/imgs/icon-collect.png"}}),n("v-uni-text",{staticClass:"btn-collect-text"},[t._v("收藏")])],1),t.isLogin?n("v-uni-view",{staticClass:"btn-wrap"},[n("v-uni-view",{staticClass:"btn-item lt-btn",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onClickFXZQ.apply(void 0,arguments)}}},[n("v-uni-text",{staticClass:"btn-text"},[t._v(t._s(1==t.user_level?"分享":"分享赚钱"))])],1),n("v-uni-view",{staticClass:"btn-item rt-btn",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onClickGWSQ.apply(void 0,arguments)}}},[n("v-uni-text",{staticClass:"btn-text"},[t._v("购物省钱")])],1)],1):n("v-uni-view",{staticClass:"btn-wrap"},[n("v-uni-view",{staticClass:"btn-item lt-btn",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onClickZJGM.apply(void 0,arguments)}}},[n("v-uni-text",{staticClass:"btn-text"},[t._v("直接购买")])],1),n("v-uni-view",{staticClass:"btn-item rt-btn",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onClickFYJGM.apply(void 0,arguments)}}},[n("v-uni-text",{staticClass:"btn-text"},[t._v("返佣金购买")])],1)],1)],1),t.isShowTbAuth?n("tbAuthorize",{attrs:{tb_show:t.isShowTbAuth},on:{closeTask:function(e){arguments[0]=e=t.$handleEvent(e),t.isShowTbAuth=!1}}}):t._e(),n("u-back-top",{attrs:{"scroll-top":t.scrollTop}}),n("loginRemind",{attrs:{show:t.loginRemindShow},on:{callback:function(e){arguments[0]=e=t.$handleEvent(e),t.loginRemindCallback.apply(void 0,arguments)}}}),n("icp")],1)},i=[]},9041:function(t,e,n){"use strict";n.r(e);var a=n("899f"),o=n("caca");for(var i in o)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(i);n("53c2");var r=n("f0c5"),s=Object(r["a"])(o["default"],a["b"],a["c"],!1,null,"13addcb5",null,!1,a["a"],void 0);e["default"]=s.exports},9306:function(t,e,n){t.exports=n.p+"static/img/quan-bg.150d53c8.png"},b9f0:function(t,e,n){"use strict";n.r(e);var a=n("73ba"),o=n("c220");for(var i in o)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(i);n("fe73");var r=n("f0c5"),s=Object(r["a"])(o["default"],a["b"],a["c"],!1,null,"77b45f12",null,!1,a["a"],void 0);e["default"]=s.exports},c220:function(t,e,n){"use strict";n.r(e);var a=n("d501"),o=n.n(a);for(var i in a)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(i);e["default"]=o.a},c631:function(t,e,n){"use strict";n.r(e);var a=n("2763"),o=n("4d8f");for(var i in o)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(i);n("560e");var r=n("f0c5"),s=Object(r["a"])(o["default"],a["b"],a["c"],!1,null,"80d9c260",null,!1,a["a"],void 0);e["default"]=s.exports},c65f:function(t,e,n){"use strict";n("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a={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=a},caca:function(t,e,n){"use strict";n.r(e);var a=n("d58e"),o=n.n(a);for(var i in a)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(i);e["default"]=o.a},d501:function(t,e,n){"use strict";n("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={name:"icp",data:function(){return{}}}},d58e:function(t,e,n){"use strict";n("7a82");var a=n("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n("99af"),n("d81d"),n("d3b7"),n("159b"),n("b64b"),n("14d9");var o=a(n("5530")),i=a(n("2909")),r=a(n("c7eb")),s=a(n("1da1")),c=a(n("6b43")),d=a(n("fa63")),p=getApp(),l=p.globalData.$router,u={components:{tbAuthorize:c.default,verticalGood:d.default},data:function(){return{isIphoneX:p.globalData.isIphoneX,statusBarHeight:p.globalData.statusBarHeight,swiperList:[],recommendList:[],guessList:[],guessListPage:1,guessListHasNext:!0,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:"",previous_page_options:{},scrollTop:0,loginRemindShow:!1}},onPageScroll:function(t){this.scrollTop=t.scrollTop},onLoad:function(t){console.log("goodsItem onLoad => options ",t),this.previous_page_options=t;var e=t.goods_id,n=void 0===e?"":e,a=t.coupon_price,o=void 0===a?"":a,i=t.discount_price,r=void 0===i?"":i,s=t.price,c=void 0===s?"":s,d=t.is_coupon,p=void 0===d?"":d,l=t.commission_rate,u=void 0===l?"":l,g=t.is_high_commission,f=void 0===g?"":g,v=t.coupon_end_time,m=void 0===v?"":v,h=t.coupon_start_time,w=void 0===h?"":h;this.goods_id=decodeURIComponent(n),this.goodsParams={goods_id:decodeURIComponent(n),coupon_price:decodeURIComponent(o),discount_price:decodeURIComponent(r),price:decodeURIComponent(c),is_coupon:decodeURIComponent(p),commission_rate:decodeURIComponent(u),is_high_commission:decodeURIComponent(f),coupon_end_time:decodeURIComponent(m),coupon_start_time:decodeURIComponent(w)},this.handleGetgoodsItem(),this.handleGetRecommendList(),this.handleGetGuessList(),this.handleGetUserIsLogin(),this.handleUserReport()},onReachBottom:function(){console.log("onReachBottom => "),this.handleGetGuessList()},methods:{handleUserReport:function(){var t=this;return(0,s.default)((0,r.default)().mark((function e(){var n,a,o,i,s,c,d,p,l,u,g;return(0,r.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 n=t.goodsParams,a=n.goods_id,o=n.is_coupon,i=n.coupon_price,s=n.price,c=n.discount_price,d=n.commission_rate,p=n.coupon_end_time,l=n.coupon_start_time,e.prev=3,u=t.$api.goodsItem_record,g={goods_id:a,is_coupon:o,coupon_price:i,price:s,discount_price:c,commission_rate:d,coupon_end_time:p,coupon_start_time:l,shop_type:t.goodsItem.shop_type},e.next=8,t.$postJSON(u,g);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)},handleGetGuessList:function(){var t=this;return(0,s.default)((0,r.default)().mark((function e(){var n,a,o,s,c,d,p,l;return(0,r.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(console.log("handleGetGuessList => "),n=t.guessListPage,a=t.guessListHasNext,o=t.goods_id,a){e.next=4;break}return e.abrupt("return",!1);case 4:return e.prev=4,uni.showLoading({title:"加载中...",mask:!0}),s=t.$api.goods_recommendlist,c={page:n,goods_id:o},e.next=10,t.$postJSON(s,c);case 10:d=e.sent,p=d.data,l=void 0===p?{}:p,console.log("res => ",l),l&&0==l.errno&&Array.isArray(l.rst.data)?(t.guessListHasNext=l.rst.pageInfo.hasNext,t.guessListHasNext&&t.guessListPage++,t.guessList=[].concat((0,i.default)(t.guessList),(0,i.default)(l.rst.data))):uni.showToast({title:l.err||"操作失败",icon:"none"}),e.next=20;break;case 17:e.prev=17,e.t0=e["catch"](4),console.log("error => ",e.t0);case 20:return e.prev=20,uni.hideLoading(),e.finish(20);case 23:case"end":return e.stop()}}),e,null,[[4,17,20,23]])})))()},handleGetRecommendList:function(){var t=this;return(0,s.default)((0,r.default)().mark((function e(){var n,a,o,s,c;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}),n=t.$api.goods_recommendtop,a={goods_id:t.goods_id},e.next=6,t.$postJSON(n,a);case 6:o=e.sent,s=o.data,c=void 0===s?{}:s,c&&0==c.errno&&Array.isArray(c.rst.data)?t.recommendList=(0,i.default)(c.rst.data):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]])})))()},handleGetgoodsItem:function(){var t=this;return(0,s.default)((0,r.default)().mark((function e(){var n,a,i,s,c,d,p,l,u,g,f,v;return(0,r.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return console.log("handleGetgoodsItem => "),n=t.goodsParams,a=n.goods_id,i=n.coupon_price,s=n.discount_price,c=n.price,d=n.is_coupon,p=n.commission_rate,e.prev=2,uni.showLoading({title:"加载中...",mask:!0}),l=t.$api.goods_detail,u={goods_id:a,coupon_price:i,discount_price:s,price:c,is_coupon:d,commission_rate:p},e.next=8,t.$postJSON(l,u);case 8:g=e.sent,f=g.data,v=void 0===f?{}:f,v&&0==v.errno&&v.rst.data?(t.goodsItem=(0,o.default)({},v.rst.data),t.swiperList=v.rst.data.small_img.map((function(t){return{image:t}}))):uni.showToast({title:v.err||"操作失败",icon:"none"}),e.next=17;break;case 14:e.prev=14,e.t0=e["catch"](2),console.log("error => ",e.t0);case 17:return e.prev=17,uni.hideLoading(),e.finish(17);case 20:case"end":return e.stop()}}),e,null,[[2,14,17,20]])})))()},onClickToBack:function(){var t=getCurrentPages();t.length<=1?uni.reLaunch({url:"/pages/home/home"}):uni.navigateBack()},onClickGoodsItem:function(t){try{p.categoryNew_countBuy({type:0,path:"goodsItemTopRecommendAction"})}catch(y){}var e=t.img,n=void 0===e?"":e,a=t.goods_id,o=void 0===a?"":a,i=t.coupon_price,r=void 0===i?"":i,s=t.discount_price,c=void 0===s?"":s,d=t.price,l=void 0===d?"":d,u=t.is_coupon,g=void 0===u?"":u,f=t.commission_rate,v=void 0===f?"":f,m=t.is_high_commission,h=void 0===m?"":m,w=t.coupon_end_time,b=void 0===w?"":w,_=t.coupon_start_time,k=void 0===_?"":_,C=getCurrentPages(),x=C.length;x<10?uni.navigateTo({url:"/pages/subPackages/home/goodsDetail?img=".concat(encodeURIComponent(n),"&goods_id=").concat(encodeURIComponent(o),"&coupon_price=").concat(encodeURIComponent(r),"&discount_price=").concat(encodeURIComponent(c),"&price=").concat(encodeURIComponent(l),"&is_coupon=").concat(encodeURIComponent(g),"&commission_rate=").concat(encodeURIComponent(v),"&is_high_commission=").concat(encodeURIComponent(h),"&coupon_end_time=").concat(encodeURIComponent(b),"&coupon_start_time=").concat(encodeURIComponent(k))}):uni.redirectTo({url:"/pages/subPackages/home/goodsDetail?img=".concat(encodeURIComponent(n),"&goods_id=").concat(encodeURIComponent(o),"&coupon_price=").concat(encodeURIComponent(r),"&discount_price=").concat(encodeURIComponent(c),"&price=").concat(encodeURIComponent(l),"&is_coupon=").concat(encodeURIComponent(g),"&commission_rate=").concat(encodeURIComponent(v),"&is_high_commission=").concat(encodeURIComponent(h),"&coupon_end_time=").concat(encodeURIComponent(b),"&coupon_start_time=").concat(encodeURIComponent(k))})},onClickSetFavorites:function(){this.isLogin?this.handleSetFavorites():l.navigateTo({url:"/pages/subPackages/login/loginPhone"})},handleSetFavorites:function(){var t=this;return(0,s.default)((0,r.default)().mark((function e(){var n,a,o,i,s,c,d,p,l,u,g,f,v;return(0,r.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n=t.goodsParams,a=n.goods_id,o=n.is_coupon,i=n.discount_price,s=n.price,c=n.coupon_price,d=n.commission_rate,p=n.coupon_end_time,l=n.coupon_start_time,e.prev=1,uni.showLoading({title:"加载中...",mask:!0}),u=t.$api.goodsItem_addFavorites,g={goods_id:a,is_coupon:o,discount_price:i,price:s,coupon_price:c,commission_rate:d,coupon_end_time:p,coupon_start_time:l},e.next=7,t.$postJSON(u,g);case 7:f=e.sent,v=f.data,v&&0==v.errno?t.handleGetgoodsItem():uni.showToast({title:v.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,s.default)((0,r.default)().mark((function e(){var n,a,o;return(0,r.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return console.log("onClickFXZQ => "),e.prev=1,e.next=4,t.handleGetIsAuthOrNo();case 4:n=e.sent,1==n?(a=[],Object.keys(t.previous_page_options).forEach((function(e){a.push([e,t.previous_page_options[e]].join("="))})),o=a.join("&"),uni.navigateTo({url:"/pages/subPackages/home/shareDetail?".concat(o)})):0==n&&(t.isShowTbAuth=!0),e.next=11;break;case 8:e.prev=8,e.t0=e["catch"](1),console.log("error => ",e.t0);case 11:case"end":return e.stop()}}),e,null,[[1,8]])})))()},onClickGWSQ:function(){var t=this;return(0,s.default)((0,r.default)().mark((function e(){var n,a;return(0,r.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return console.log("onClickGWSQ => "),e.prev=1,e.next=4,t.handleGetIsAuthOrNo();case 4:if(n=e.sent,1!=n){e.next=12;break}return e.next=8,t.handleGetGoodsTKL();case 8:a=e.sent,uni.setClipboardData({data:a,success:function(){t.$u.toast("淘口令复制成功!请打开手机淘宝领券下单~")}}),e.next=13;break;case 12:0==n&&(t.isShowTbAuth=!0);case 13:e.next=18;break;case 15:e.prev=15,e.t0=e["catch"](1),console.log("error => ",e.t0);case 18:case"end":return e.stop()}}),e,null,[[1,15]])})))()},onClickZJGM: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:console.log("onClickZJGM => ");try{uni.getStorageSync("loginRemindMask")&&""!=uni.getStorageSync("loginRemindMask")?t.eventXJGM():t.loginRemindShow=!0}catch(n){console.log("error => ",n)}case 2:case"end":return e.stop()}}),e)})))()},eventXJGM:function(){var t=this;return(0,s.default)((0,r.default)().mark((function e(){var n;return(0,r.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,t.handleGetGoodsTKL();case 2:n=e.sent,uni.setClipboardData({data:n,success:function(){t.$u.toast("淘口令复制成功!请打开手机淘宝领券下单~")}});case 4:case"end":return e.stop()}}),e)})))()},onClickFYJGM:function(){console.log("onClickFYJGM => "),l.navigateTo({url:"/pages/subPackages/login/loginPhone"})},handleGetGoodsTKL:function(){var t=this;return(0,s.default)((0,r.default)().mark((function e(){var n,a,o,i,s,c,d;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}),n=t.goodsParams,a=n.goods_id,o=n.is_coupon,i=t.$api.goodsItem_getTKL,s={goods_id:a,is_coupon:o},e.next=7,t.$postJSON(i,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]])})))()},handleGetIsAuthOrNo:function(){var t=this;return(0,s.default)((0,r.default)().mark((function e(){var n,a,o,i;return(0,r.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,n=t.$api.relationAuth_isAuthOrNo,a={},uni.showLoading({title:"加载中...",mask:!0}),e.next=6,t.$postJSON(n,a);case 6:if(o=e.sent,i=o.data,uni.hideLoading(),!i||0!=i.errno){e.next=13;break}return e.abrupt("return",Promise.resolve(i.rst.flag));case 13:return uni.showToast({title:i.err||"操作失败",icon:"none"}),e.abrupt("return",Promise.reject("获取失败"));case 15:e.next=21;break;case 17:return e.prev=17,e.t0=e["catch"](0),console.log("error => ",e.t0),e.abrupt("return",Promise.reject(e.t0));case 21:case"end":return e.stop()}}),e,null,[[0,17]])})))()},onClickCoupon:function(){this.isLogin?this.onClickGWSQ():this.onClickZJGM()},onClickCommission:function(){l.navigateTo({url:"/pages/subPackages/my/tqjs"})},loginRemindCallback:function(t){this.loginRemindShow=!1,"ZJGM"==t&&this.eventXJGM()}}};e.default=u},db90:function(t,e,n){"use strict";n("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)},n("a4d3"),n("e01a"),n("d3b7"),n("d28b"),n("3ca3"),n("ddb0"),n("a630")},fe73:function(t,e,n){"use strict";var a=n("5522"),o=n.n(a);o.a}}]);