Files
ZangShiQi/public/h5/separate/static/js/pages_promotion-jielong-jielong.aaeb7408.js
2026-04-05 10:48:38 +08:00

1 line
50 KiB
JavaScript
Executable File
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages_promotion-jielong-jielong"],{"00b4":function(t,e,o){var n=o("c86c");e=n(!1),e.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n * 建议使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App\r\n */.body[data-v-630a5e36]{background:#f8f8f8;padding-bottom:%?200?%}*[data-v-630a5e36]{font-family:PingFang-SC-Bold}.topHead[data-v-630a5e36]{width:100%;min-height:%?200?%;background-repeat:no-repeat;background-size:100% %?240?%;padding:0 %?30?%;box-sizing:border-box}.jielong-head[data-v-630a5e36]{border-radius:0 0 %?50?% %?40?%;width:100%;margin-bottom:%?30?%}.jielong-head .countdown[data-v-630a5e36]{display:flex;align-items:center;justify-content:center;padding-top:%?30?%;color:#fff}.jielong-head uni-text[data-v-630a5e36]{padding:%?6?%;margin:%?15?%;border-radius:%?6?%;background:#fff;color:#ff4544}.move-info[data-v-630a5e36]{background:#fff;margin:0 auto;padding:%?20?%;box-sizing:border-box;border-radius:%?15?%;width:100%}.move-info .move-title[data-v-630a5e36]{font-size:%?30?%;font-weight:600}.move-info .move-detail[data-v-630a5e36]{font-size:%?26?%;color:#b3b3b3;display:-webkit-box;-webkit-line-clamp:3;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical}.marketimg-box-con[data-v-630a5e36]{background:#fff;margin:%?30?% %?30?% 0 %?30?%;border-radius:%?15?%}.wrap[data-v-630a5e36]{display:flex;align-items:center;justify-content:space-between;border-bottom:%?1?% solid #eee;padding:%?20?%;box-sizing:border-box}.wrap .img-box[data-v-630a5e36]{width:%?190?%;height:%?190?%;flex-shrink:0;margin-right:%?18?%;border-radius:%?10?%;overflow:hidden}.wrap .img-box uni-image[data-v-630a5e36]{width:100%;height:100%}.wrap .content[data-v-630a5e36]{height:100%;display:flex;flex-direction:column;justify-content:space-between;min-height:%?190?%;width:%?420?%;position:relative}.wrap .content .title[data-v-630a5e36]{font-size:%?28?%;font-weight:700;text-overflow:-o-ellipsis-lastline;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical}.wrap .content .title-text[data-v-630a5e36]{color:#b3b3b3;font-size:%?24?%;display:-webkit-box;-webkit-line-clamp:1;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;margin-bottom:%?8?%}.wrap .content .content-num[data-v-630a5e36]{display:flex;align-items:center;font-size:%?20?%}.wrap .content .content-num .content-num-image[data-v-630a5e36]{max-width:%?140?%;height:%?48?%;margin-right:%?30?%;position:relative}.wrap .content .content-num .content-num-image uni-image[data-v-630a5e36]{width:%?48?%;height:%?48?%;border-radius:50%}.wrap .content .content-num .content-num-image uni-image[data-v-630a5e36]:nth-child(2){position:absolute;left:%?26?%}.wrap .content .content-num .content-num-image uni-image[data-v-630a5e36]:nth-child(3){position:absolute;left:%?52?%}.wrap .content .content-num .text-left[data-v-630a5e36]{margin-left:%?20?%}.wrap .content .content-num .text-leftThree[data-v-630a5e36]{margin-left:%?40?%;color:#b3b3b3}.wrap .content .content-num .content-num-image[data-v-630a5e36]:after{overflow:hidden;height:0;content:"";display:block;clear:both}.wrap .content .content-num uni-text[data-v-630a5e36]{color:#b3b3b3}.wrap .content .content-die[data-v-630a5e36]{max-width:%?260?%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:%?20?%}.wrap .content .content-die uni-text[data-v-630a5e36]:nth-child(1){font-size:%?24?%;color:red;margin-right:%?10?%;font-weight:700}.wrap .content .content-die uni-text[data-v-630a5e36]:nth-child(2){font-size:%?20?%;color:#b3b3b3;text-decoration:line-through}.wrap .content .content-button[data-v-630a5e36]{height:%?50?%;position:absolute;bottom:0;right:0;display:flex;align-items:center;justify-content:space-around}.wrap .content .content-button .content-button-sum[data-v-630a5e36]{font-size:%?50?%}.wrap .content .content-button .content-button-right[data-v-630a5e36]{color:#ff4544}.wrap .content .content-button .content-button-left[data-v-630a5e36]{color:#ff4544}.wrap .content .content-button .content-button-center[data-v-630a5e36]{margin:0 %?16?%}.wrap .content .content-button .color-base-bg[data-v-630a5e36]{width:%?160?%;height:%?50?%;border-radius:%?10?%;color:#fff;text-align:center;line-height:%?50?%;position:relative}.wrap .content .content-button .color-base-bg .color-base-bg-num[data-v-630a5e36]{width:%?30?%;height:%?30?%;background:#ff4544;color:#fff;text-align:center;line-height:%?30?%;position:absolute;border-radius:50%;border:%?1?% solid #fff;top:%?-15?%;right:%?-15?%;font-size:%?24?%}.wrap .content .content-button .color-base-bgHover[data-v-630a5e36]{background:#b3b3b3!important}.wrap .content .content-button .content-button-body[data-v-630a5e36]{display:flex;align-items:center}.old-buy[data-v-630a5e36]{background:#fff;margin:%?30?% %?30?% 0 %?30?%;border-radius:%?15?%;padding:%?20?%;box-sizing:border-box}.old-buy .head[data-v-630a5e36]{text-align:center;color:#ff4544;font-size:%?32?%;font-weight:600;margin-bottom:%?20?%}.old-buy .head .old-buy-head-text[data-v-630a5e36]{padding-top:%?4?%}.old-buy .see-more[data-v-630a5e36]{text-align:center;color:#ff4544}.old-buy .content[data-v-630a5e36]{color:#b3b3b3}.old-buy .content uni-image[data-v-630a5e36]{width:%?70?%;height:%?70?%}.old-buy .content .nickname[data-v-630a5e36]{text-align:left;font-weight:600}.old-buy .content .buy-goods[data-v-630a5e36]{font-size:%?20?%;color:#b3b3b3;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.cart-bottom[data-v-630a5e36]{position:fixed;bottom:0;left:0;width:100%;height:%?120?%;display:flex;align-items:center;justify-content:space-between;padding:0 %?30?%;box-sizing:border-box;background:#fff;z-index:455445;box-shadow:0 0 %?30?% rgba(0,0,0,.2)}.cart-bottom .cart-bottom-gouwu[data-v-630a5e36]{width:%?100?%;height:%?100?%;background:#fff;position:relative;padding:%?10?%;border-radius:50%;box-sizing:border-box}.cart-bottom .cart-bottom-gouwu .cart-bottom-gouwu-content[data-v-630a5e36]{width:80%;height:80%;background:#c5c5c5;border-radius:50%;position:absolute;left:50%;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);line-height:3;text-align:center;color:#fff}.cart-bottom .cart-bottom-gouwu .cart-bottom-gouwu-content.iconhover[data-v-630a5e36]{line-height:0}.cart-bottom .cart-bottom-gouwu .cart-bottom-gouwu-content .cart-bottom-gouwu-content-sum[data-v-630a5e36]{position:relative;width:%?40?%;height:%?40?%;top:%?-10?%;right:%?-54?%;background:#ff4544;margin:0;border-radius:50%;border:%?1?% solid #fff;color:#fff;text-align:center;font-size:%?24?%;line-height:%?40?%}.cart-bottom .cart-bottom-gouwu .cart-bottom-gouwu-content uni-text[data-v-630a5e36]{position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);font-size:%?38?%;color:#fff}.cart-bottom .cart-bottom-text[data-v-630a5e36]{width:%?170?%;font-size:%?26?%;margin-left:%?24?%;text-align:left}.cart-bottom .cart-bottom-textTow[data-v-630a5e36]{font-size:%?34?%;margin-right:%?232?%;color:red;font-weight:700;margin-left:%?24?%}.cart-bottom .cart-bottom-textTow uni-text[data-v-630a5e36]{font-size:%?26?%}.cart-bottom .cart-gouwu-tijiao[data-v-630a5e36]{font-size:%?26?%;color:#fff;width:%?200?%;height:%?60?%;text-align:center;line-height:%?60?%;background:#ff4544;border-radius:%?60?%;padding:%?5?% 0}.cart-bottom .cart-gouwu-tijiaohover[data-v-630a5e36]{background:#b3b3b3}[data-v-630a5e36] .uni-countdown__number{color:#ff4544!important;background:#fff!important;border:none}[data-v-630a5e36] .uni-countdown__splitor{color:#fff!important}.popup-shop[data-v-630a5e36]{width:100%;padding:0 %?30?%;box-sizing:border-box}.popup-shop .cart-shop-title[data-v-630a5e36]{width:100%;height:%?80?%;display:flex;align-items:center;justify-content:space-between;font-size:%?30?%}.popup-shop .cart-shop-title .cart-shop-title-left uni-text[data-v-630a5e36]{color:#c5c5c5}.popup-shop .cart-shop-title .cart-shop-title-right[data-v-630a5e36]{display:flex;align-items:center}.popup-shop .cart-shop-title .cart-shop-title-right uni-text[data-v-630a5e36]{color:#c5c5c5;margin-left:%?10?%}.popup-shop .cart-shop-title .cart-shop-title-right .iconfont[data-v-630a5e36]{font-size:%?26?%}.popup-shop .cart-contentOne[data-v-630a5e36]{width:100%;height:%?400?%;color:#c5c5c5;font-size:%?50?%;text-align:center;line-height:%?400?%}.popup-shop .cart-contentOne uni-image[data-v-630a5e36]{width:%?420?%;height:%?260?%;margin:%?50?% auto}.popupContent[data-v-630a5e36]{width:%?600?%;min-height:%?900?%;background:none;border-radius:%?20?%;overflow:hidden}.popupContent .popupContent-top[data-v-630a5e36]{width:100%;height:60vh;background:#fff;border-radius:%?12?%}.popupContent .popupContent-top .popupContent-top-title[data-v-630a5e36]{width:100%;height:%?180?%;border-bottom:%?1?% solid #c5c5c5;display:flex;padding:%?30?%;box-sizing:border-box}.popupContent .popupContent-top .popupContent-top-title .popupContent-top-title-left[data-v-630a5e36]{width:%?120?%;height:%?120?%;border:%?1?% solid #c5c5c5;margin-right:%?20?%;border-radius:%?8?%;overflow:hidden}.popupContent .popupContent-top .popupContent-top-title .popupContent-top-title-left uni-image[data-v-630a5e36]{width:100%;height:100%}.popupContent .popupContent-top .popupContent-top-title .popupContent-top-title-right[data-v-630a5e36]{width:70%;font-size:%?28?%;color:#303133}.popupContent .popupContent-top .popupContent-top-title .popupContent-top-title-right .popupContent-top-title-right-textBottom[data-v-630a5e36]{font-size:%?24?%;color:#c5c5c5;margin-top:%?20?%}.popupContent .popupContent-top .popupContent-top-title .popupContent-top-title-right .popupContent-top-title-right-textTop[data-v-630a5e36]{font-size:%?28?%;color:#333;display:-webkit-box;-webkit-line-clamp:1;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical}.popupContent .popupContent-top .popupContent-top-center[data-v-630a5e36]{width:100%;height:%?440?%;border-bottom:%?1?% solid #c5c5c5;padding:0 %?30?%;box-sizing:border-box;overflow:scroll}.popupContent .popupContent-top .popupContent-top-center .popupContent-top-center-content .popupContent-top-center-content-text[data-v-630a5e36]{font-weight:400;padding:10px 0;color:#b3b3b3;font-size:%?24?%}.popupContent .popupContent-top .popupContent-top-center .popupContent-top-center-content .popupContent-top-center-content-small[data-v-630a5e36]{margin-bottom:%?10?%}.popupContent .popupContent-top .popupContent-top-center .popupContent-top-center-content .popupContent-top-center-content-small .small-content[data-v-630a5e36]{text-align:center;position:relative;display:inline-block;border:1px solid #eee;padding:0 10px;margin:0 5px 10px 0;background-color:#fff!important;border-radius:15px;font-size:%?24?%}.popupContent .popupContent-top .popupContent-top-center .popupContent-top-center-content .popupContent-top-center-content-small .small-content-hover[data-v-630a5e36]{border:%?2?% solid #ff4544;color:#ff4544;box-sizing:border-box}.popupContent .popupContent-top .popupContent-top-bottom[data-v-630a5e36]{width:100%;height:%?230?%;padding:%?30?%;box-sizing:border-box;font-size:%?24?%}.popupContent .popupContent-top .popupContent-top-bottom uni-text[data-v-630a5e36]{font-size:%?24?%;color:#c5c5c5}.popupContent .popupContent-top .popupContent-top-bottom uni-text[data-v-630a5e36]:nth-child(2){margin:0 %?10?%}.popupContent .popupContent-top .popupContent-top-bottom .popupContent-top-bottom-content[data-v-630a5e36]{display:flex;align-items:center;justify-content:space-between;margin-top:%?20?%}.popupContent .popupContent-top .popupContent-top-bottom .popupContent-top-bottom-content .popupContent-top-bottom-content-left[data-v-630a5e36]{padding-top:%?10?%}.popupContent .popupContent-top .popupContent-top-bottom .popupContent-top-bottom-content .popupContent-top-bottom-content-left uni-text[data-v-630a5e36]{color:#ff4544;font-size:%?32?%;word-wrap:break-word}.popupContent .popupContent-top .popupContent-top-bottom .popupContent-top-bottom-content .popupContent-top-bottom-content-sum[data-v-630a5e36]{display:flex;align-items:center;justify-content:space-between;width:%?200?%;height:%?60?%;margin:0}.popupContent .popupContent-top .popupContent-top-bottom .popupContent-top-bottom-content .popupContent-top-bottom-content-sum .content-button-left[data-v-630a5e36]{font-size:%?50?%;color:#ff4544}.popupContent .popupContent-top .popupContent-top-bottom .popupContent-top-bottom-content .popupContent-top-bottom-content-sum .content-button-right[data-v-630a5e36]{font-size:%?50?%;color:#ff4544}.popupContent .popupContent-top .popupContent-top-bottom .popupContent-top-bottom-content .popupContent-top-bottom-content-right[data-v-630a5e36]{width:%?200?%;height:%?60?%;border-radius:%?60?%;line-height:%?60?%;text-align:center}.popupContent .popupContent-bottom[data-v-630a5e36]{display:flex;align-items:center;justify-content:center}.popupContent .popupContent-bottom .iconfont-delete[data-v-630a5e36]{font-size:%?60?%;margin-top:%?20?%;color:#fff}[data-v-630a5e36] .uni-popup__wrapper.uni-custom .uni-popup__wrapper-box{background:none}.popupContent .popupContent-top[data-v-630a5e36]{height:auto}[data-v-630a5e36] .uni-popup{z-index:55455454}[data-v-630a5e36] .bottom.safe-area{border-top-left-radius:%?20?%;border-top-right-radius:%?20?%}[data-v-630a5e36] .uni-popup__wrapper.uni-bottom,\r\n.uni-popup__wrapper.uni-top[data-v-630a5e36]{border-top-left-radius:%?20?%!important;border-top-right-radius:%?20?%!important}[data-v-630a5e36] .uni-countdown__splitor{color:#fff}.erWeiPopup.uni-popup[data-v-630a5e36]{z-index:999}.zIndex[data-v-630a5e36]{z-index:99}.shoping-fixed[data-v-630a5e36]{position:fixed;width:%?90?%;height:%?230?%;right:%?30?%;bottom:%?264?%}.shoping-fixed .shoping-fixed-content[data-v-630a5e36]{width:%?90?%;height:%?90?%;border-radius:50%;box-shadow:0 0 %?30?% rgba(0,0,0,.2);background:#fff;margin-bottom:%?20?%;display:flex;flex-direction:column;justify-content:space-around;align-items:center}.shoping-fixed .shoping-fixed-content .iconfont[data-v-630a5e36]{font-size:%?50?%;color:#ff4544;line-height:%?28?%}.shoping-fixed .shoping-fixed-content .shoping-fixed-content-text[data-v-630a5e36]{font-size:%?20?%;text-align:center;line-height:%?20?%}.share-image[data-v-630a5e36]{width:%?600?%;height:%?960?%}.share-image uni-image[data-v-630a5e36]{width:100%;height:100%}.old-buy-top[data-v-630a5e36]{display:flex;align-items:center;justify-content:space-between}.old-buy-content[data-v-630a5e36]{display:flex;align-items:center;justify-content:space-between;width:100%;margin-bottom:%?20?%}.old-buy-content .old-buy-content-right[data-v-630a5e36]{min-width:84%;max-width:84%;padding:0 10px;box-sizing:border-box;height:100%;display:flex;flex-direction:column;justify-content:space-between}.old-buy-content .old-buy-content-image[data-v-630a5e36]{width:%?80?%!important;height:%?80?%!important;border-radius:50%}.old-buy-head-content[data-v-630a5e36]{overflow:hidden}.old-buy-one .content[data-v-630a5e36]{width:%?420?%;height:%?260?%;margin:%?20?% auto}.old-buy-one .content uni-image[data-v-630a5e36]{width:100%;height:100%}.old-buy-one .old-buy-die[data-v-630a5e36]{font-size:%?30?%;color:#b3b3b3;text-align:center}.head[data-v-630a5e36]{display:flex;align-items:center;justify-content:space-evenly}.head uni-image[data-v-630a5e36]{width:%?200?%;height:%?40?%}.iconhover[data-v-630a5e36]{background:#ff4544!important}[data-v-630a5e36] .uni-countdown__number{width:%?32?%;text-align:center}.fixed-left[data-v-630a5e36]{position:fixed;top:%?120?%;right:10%;max-width:%?650?%;height:%?60?%;background:rgba(0,0,0,.4);color:#fff;border-radius:%?60?%;padding:0 %?30?%;box-sizing:border-box;overflow:hidden;-webkit-animation:mymove-data-v-630a5e36 10s infinite;animation:mymove-data-v-630a5e36 10s infinite}.fixed-left-content[data-v-630a5e36]{display:flex;align-items:center;height:%?60?%;line-height:%?60?%;border-radius:%?30?% 0 0 %?30?%}.fixed-left-content uni-image[data-v-630a5e36]{width:%?50?%;height:%?50?%;border-radius:50%}.fixed-left-content .fixed-left-content-text[data-v-630a5e36]{max-width:%?360?%;font-size:%?24?%;color:#fff;display:-webkit-box;-webkit-line-clamp:1;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;margin-left:%?6?%}@-webkit-keyframes mymove-data-v-630a5e36{0%{opacity:0}10%{opacity:0}50%{opacity:1}80%{opacity:1}100%{opacity:0}}@keyframes mymove-data-v-630a5e36{0%{opacity:0}10%{opacity:0}50%{opacity:1}80%{opacity:1}100%{opacity:0}}.popup-content-shop[data-v-630a5e36]{max-height:%?600?%;overflow:auto;padding-bottom:%?60?%}.cart-bottom-content[data-v-630a5e36]{display:flex;align-items:center}.share-img .uni-popup__mask[data-v-630a5e36]{z-index:1500!important}',""]),t.exports=e},"00ba":function(t,e,o){"use strict";o.d(e,"b",(function(){return n})),o.d(e,"c",(function(){return i})),o.d(e,"a",(function(){}));var n=function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("v-uni-view",{staticClass:"uni-countdown"},[t.showDay&&t.d>0?o("v-uni-view",{staticClass:"uni-countdown__number ",class:[t.backgroundColorClass,t.colorClass,t.borderColorClass],style:{borderColor:t.borderColor,color:t.color,background:t.backgroundColor}},[t._v(t._s(t.d))]):t._e(),t.showDay&&t.d>0?o("v-uni-view",{staticClass:"uni-countdown__splitor day",class:t.splitorColorClass,style:{color:t.splitorColor}},[t._v(t._s((t.showColon,"天")))]):t._e(),o("v-uni-view",{staticClass:"uni-countdown__number ",class:[t.backgroundColorClass,t.colorClass,t.borderColorClass],style:{borderColor:t.borderColor,color:t.color,background:t.backgroundColor}},[t._v(t._s(t.h))]),o("v-uni-view",{staticClass:"uni-countdown__splitor",class:t.splitorColorClass,style:{color:t.splitorColor}},[t._v(t._s(t.showColon?":":"时"))]),o("v-uni-view",{staticClass:"uni-countdown__number ",class:[t.backgroundColorClass,t.colorClass,t.borderColorClass],style:{borderColor:t.borderColor,color:t.color,background:t.backgroundColor}},[t._v(t._s(t.i))]),o("v-uni-view",{staticClass:"uni-countdown__splitor",class:t.splitorColorClass,style:{color:t.splitorColor}},[t._v(t._s(t.showColon?":":"分"))]),o("v-uni-view",{staticClass:"uni-countdown__number ",class:[t.backgroundColorClass,t.colorClass,t.borderColorClass],style:{borderColor:t.borderColor,color:t.color,background:t.backgroundColor}},[t._v(t._s(t.s))]),t.showColon?t._e():o("v-uni-view",{staticClass:"uni-countdown__splitor",class:t.splitorColorClass,style:{color:t.splitorColor}},[t._v("秒")])],1)},i=[]},"0f49":function(t,e,o){"use strict";o("6a54");var n=o("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(o("d745")),a=n(o("a962")),s={components:{uniPopup:i.default},mixins:[a.default]};e.default=s},"11ac":function(t,e,o){"use strict";var n=o("9c4f"),i=o.n(n);i.a},"51c6":function(t,e,o){"use strict";o.d(e,"b",(function(){return i})),o.d(e,"c",(function(){return a})),o.d(e,"a",(function(){return n}));var n={pageMeta:o("7854").default,uniCountDown:o("e12a").default,uniPopup:o("d745").default,nsLogin:o("2910").default,loadingCover:o("c003").default},i=function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("v-uni-view",[o("page-meta",{attrs:{"page-style":t.themeColor}}),o("v-uni-view",{staticClass:"body"},[o("v-uni-view",{staticClass:"topHead",style:{backgroundImage:"url("+t.$util.img("public/uniapp/jielong/banyuan.png")+")"}},[o("v-uni-view",{staticClass:"jielong-head"},[0==t.status?o("v-uni-view",{staticClass:"countdown"},[t._v("距活动开始仅剩:"),o("uni-count-down",{attrs:{day:t.time.d,hour:t.time.h,minute:t.time.i,second:t.time.s,color:"#fff",splitorColor:"#FF4644",backgroundColor:"#FF4644"}})],1):1==t.status?o("v-uni-view",{staticClass:"countdown"},[t._v("距活动结束仅剩:"),o("uni-count-down",{attrs:{day:t.time.d,hour:t.time.h,minute:t.time.i,second:t.time.s,color:"#fff",splitorColor:"#FF4644",backgroundColor:"#FF4644"}})],1):2==t.status?o("v-uni-view",{staticClass:"countdown"},[t._v("活动已结束")]):3==t.status?o("v-uni-view",{staticClass:"countdown"},[t._v("活动已关闭")]):t._e()],1),o("v-uni-view",{staticClass:"move-info"},[o("v-uni-view",{staticClass:"move-title"},[t._v(t._s(t.jielong_info.jielong_name))]),o("v-uni-view",{staticClass:"move-detail"},[t._v(t._s(t.jielong_info.desc))]),o("v-uni-view",{staticClass:"move-detail"},[t._v("提货方式:到店自提")]),o("v-uni-view",{staticClass:"move-detail"},[t._v("提货时间:"+t._s(t.$util.timeStampTurnTime(t.jielong_info.take_start_time,"Y/m/d"))+" ~ "+t._s(t.$util.timeStampTurnTime(t.jielong_info.take_end_time,"Y/m/d")))]),o("v-uni-view",{staticClass:"move-detail"},[t._v("活动时间:"+t._s(t.$util.timeStampTurnTime(t.jielong_info.start_time,"Y/m/d H:i"))+" ~ "+t._s(t.$util.timeStampTurnTime(t.jielong_info.end_time,"Y/m/d H:i")))])],1)],1),o("v-uni-view",{staticClass:"marketimg-box-con"},t._l(t.jielong_list,(function(e,n){return o("v-uni-view",{key:n,staticClass:"wrap"},[o("v-uni-view",{staticClass:"img-box"},[o("v-uni-image",{attrs:{src:t.goodsImg(e.goods_image)}})],1),o("v-uni-view",{staticClass:"content"},[o("v-uni-view",{staticClass:"title"},[t._v(t._s(e.goods_name))]),e.introduction?o("v-uni-view",{staticClass:"title-text"},[t._v(t._s(e.introduction))]):o("v-uni-view",{staticClass:"title-text"},[t._v("精品好物,购物多多,等你来抢")]),e.member_headimg.length>0?o("v-uni-view",{staticClass:"content-num"},[o("v-uni-view",{staticClass:"content-num-image"},t._l(e.member_headimg.slice(0,3),(function(e,n){return o("v-uni-image",{key:n,attrs:{src:t.$util.img(e)?t.$util.img(e):t.$util.getDefaultImage().head}})})),1),e.member_num<3?o("v-uni-text",{class:2==e.member_num?"text-left":""},[t._v(t._s(e.member_num)+"人已买")]):o("v-uni-text",{staticClass:"text-leftThree"},[t._v("...等"+t._s(e.member_num)+"人已买")])],1):t._e(),o("v-uni-view",{staticClass:"content-die"},[o("v-uni-text",[t._v("¥"+t._s(e.discount_price))]),o("v-uni-text",[t._v("¥"+t._s(e.market_price))])],1),o("v-uni-view",{staticClass:"content-button"},[e.goods_spec_format&&2!=t.status?o("v-uni-view",{staticClass:"color-base-bg",on:{click:function(o){arguments[0]=o=t.$handleEvent(o),t.codeView(e.sku_id)}}},[t._v("选规格"),e.cart_num&&""!=t.storeToken?o("v-uni-view",{staticClass:"color-base-bg-num"},[t._v(t._s(e.cart_num))]):t._e()],1):e.goods_spec_format&&2==t.status?o("v-uni-view",{staticClass:"color-base-bg color-base-bgHover"},[t._v("选规格")]):[t._l(t.shoplist,(function(n,i){return n.sku_id==e.sku_id?o("v-uni-view",{key:i,staticClass:"content-button-body"},[o("v-uni-view",{staticClass:"content-button-sum iconfont icon-jianshao content-button-left",on:{click:function(o){arguments[0]=o=t.$handleEvent(o),t.singleSkuReduce(e)}}}),o("v-uni-view",{staticClass:"content-button-center"},[t._v(t._s(n.num))])],1):t._e()})),2!=t.status?o("v-uni-view",{staticClass:"content-button-sum iconfont icon-add-fill content-button-right",on:{click:function(o){arguments[0]=o=t.$handleEvent(o),t.singleSkuPlus(e)}}}):o("v-uni-view",{staticClass:"content-button-sum iconfont icon-add-fill content-button-right content-button-rightNew"})]],2)],1)],1)})),1),0==t.jielong_buy_page.count?o("v-uni-view",{staticClass:"old-buy old-buy-one"},[o("v-uni-view",{staticClass:"head"},[o("v-uni-image",{attrs:{src:t.$util.img("public/uniapp/jielong/left.png"),mode:""}}),o("v-uni-text",{staticClass:"old-buy-head-text"},[t._v("他们都在买")]),o("v-uni-image",{attrs:{src:t.$util.img("public/uniapp/jielong/right.png"),mode:""}})],1),o("v-uni-view",{staticClass:"content"},[o("v-uni-image",{attrs:{src:t.$util.img("public/uniapp/jielong/wuren.png"),mode:""}})],1),o("v-uni-view",{staticClass:"old-buy-die"},[t._v("暂无购买记录")])],1):o("v-uni-view",{staticClass:"old-buy"},[o("v-uni-view",{staticClass:"head"},[o("v-uni-image",{attrs:{src:t.$util.img("public/uniapp/jielong/left.png"),mode:""}}),o("v-uni-text",{staticClass:"old-buy-head-text"},[t._v("他们都在买")]),o("v-uni-image",{attrs:{src:t.$util.img("public/uniapp/jielong/right.png"),mode:""}})],1),o("v-uni-view",{class:t.seeMores?"old-buy-head-content":""},t._l((t.jielong_buy_page.list||"").slice(0,t.cutting),(function(e,n){return o("v-uni-view",{key:n,staticClass:"content"},[o("v-uni-view",{staticStyle:{display:"flex"}},[o("v-uni-view",{staticClass:"old-buy-content"},[o("v-uni-image",{staticClass:"old-buy-content-image",attrs:{src:""==e.headimg?t.$util.getDefaultImage().head:t.$util.img(e.headimg)}}),o("v-uni-view",{staticClass:"old-buy-content-right"},[o("v-uni-view",{staticClass:"old-buy-top"},[o("v-uni-view",{staticClass:"nickname"},[t._v(t._s(e.nickname))]),o("v-uni-view",{staticClass:"buy-goods"},[t._v(t._s(t.$util.timeStampTurnTime(e.pay_time)))])],1),o("v-uni-view",{staticClass:"buy-goods"},[t._v("购买了"+t._s(e.order_name))])],1)],1)],1)],1)})),1),t.seeMores&&t.jielong_buy_page.count>5?o("v-uni-view",{staticClass:"see-more",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.seeMore.apply(void 0,arguments)}}},[t._v("查看更多")]):t.jielong_buy_page.count>5?o("v-uni-view",{staticClass:"see-more",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.seeMore.apply(void 0,arguments)}}},[t._v("收起更多")]):t._e()],1),o("v-uni-view",{class:t.zIndex?"cart-bottom zIndex":"cart-bottom"},[o("v-uni-view",{staticClass:"cart-bottom-content"},[o("v-uni-view",{staticClass:"cart-bottom-gouwu",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.CartPopup.apply(void 0,arguments)}}},[o("v-uni-view",{class:1==t.status&&t.shoplist.length>0?"cart-bottom-gouwu-content iconhover":"cart-bottom-gouwu-content"},[1==t.status&&t.shoplist.length>0?o("v-uni-view",{staticClass:"cart-bottom-gouwu-content-sum"},[t._v(t._s(t.num))]):t._e(),o("v-uni-text",{staticClass:"iconfont icon-ziyuan1 "})],1)],1),0==t.shoplist.length?o("v-uni-view",{staticClass:"cart-bottom-text"},[t._v("暂未选购商品")]):o("v-uni-view",{staticClass:"cart-bottom-textTow"},[o("v-uni-text",[t._v("¥")]),t._v(t._s(t.money))],1)],1),0==t.status?o("v-uni-view",{staticClass:"cart-gouwu-tijiao cart-gouwu-tijiaohover"},[t._v("活动未开始")]):t._e(),1==t.status?o("v-uni-view",{class:1==t.status&&t.shoplist.length>0?"cart-gouwu-tijiao ":"cart-gouwu-tijiao cart-gouwu-tijiaohover",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.settlement.apply(void 0,arguments)}}},[t._v("接龙购买")]):t._e(),2==t.status?o("v-uni-view",{staticClass:"cart-gouwu-tijiao cart-gouwu-tijiaohover"},[t._v("活动已结束")]):t._e(),3==t.status?o("v-uni-view",{staticClass:"cart-gouwu-tijiao cart-gouwu-tijiaohover"},[t._v("活动已关闭")]):t._e()],1),o("v-uni-view",{staticClass:"shoping-fixed"},[o("v-uni-view",{staticClass:"shoping-fixed-content",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.$util.redirectTo("/pages/index/index")}}},[o("v-uni-text",{staticClass:"iconfont icon-shouye1"}),o("v-uni-view",{staticClass:"shoping-fixed-content-text"},[t._v("首页")])],1),o("v-uni-view",{staticClass:"shoping-fixed-content",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.share.apply(void 0,arguments)}}},[o("v-uni-text",{staticClass:"iconfont icon-fenxiang4"}),o("v-uni-view",{staticClass:"shoping-fixed-content-text"},[t._v("分享")])],1),o("v-uni-view",{staticClass:"shoping-fixed-content",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.order.apply(void 0,arguments)}}},[o("v-uni-text",{staticClass:"iconfont icon-dingdan2"}),o("v-uni-view",{staticClass:"shoping-fixed-content-text"},[t._v("订单")])],1)],1),o("uni-popup",{ref:"cartPopup",staticClass:"cart-popup",staticStyle:{"margin-bottom":"118rpx"},attrs:{type:"bottom"}},[o("v-uni-view",{staticClass:"popup-shop"},[o("v-uni-view",{staticClass:"cart-shop-title"},[o("v-uni-view",{staticClass:"cart-shop-title-left"},[t._v("已选商品"),o("v-uni-text",[t._v("(共"+t._s(t.num)+"件)")])],1),o("v-uni-view",{staticClass:"cart-shop-title-right"},[o("v-uni-text",{staticClass:"iconfont icon-icon7"}),o("v-uni-text",{on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.clear.apply(void 0,arguments)}}},[t._v("清空")])],1)],1),0==t.returnShoping.length?o("v-uni-view",{staticClass:"cart-contentOne"},[o("v-uni-image",{attrs:{src:t.$util.img("public/uniapp/jielong/wurenOne.png"),mode:""}})],1):o("v-uni-view",{staticClass:"popup-content-shop"},t._l(t.returnShoping,(function(e,n){return o("v-uni-view",{key:n,staticClass:"wrap"},[o("v-uni-view",{staticClass:"img-box"},[o("v-uni-image",{attrs:{src:t.bottomImage(e.sku_image)?e.sku_image:t.$util.img(e.sku_image)}})],1),o("v-uni-view",{staticClass:"content"},[o("v-uni-view",{staticClass:"title"},[t._v(t._s(e.goods_name))]),o("v-uni-view",{staticClass:"title-text"},[t._v("规格:"+t._s(e.sku_name))]),o("v-uni-view",{staticClass:"content-die"},[o("v-uni-text",[t._v(t._s(e.discount_price))]),o("v-uni-text",[t._v("¥"+t._s(e.market_price))])],1),o("v-uni-view",{staticClass:"content-button"},[t._l(t.shoplist,(function(n,i){return n.sku_id==e.sku_id?o("v-uni-view",{key:i,staticClass:"content-button-body"},[o("v-uni-view",{staticClass:"content-button-sum iconfont icon-jianshao content-button-left",on:{click:function(o){arguments[0]=o=t.$handleEvent(o),t.singleSkuReduce(e)}}}),o("v-uni-view",{staticClass:"content-button-center"},[t._v(t._s(n.num))])],1):t._e()})),o("v-uni-view",{staticClass:"content-button-sum iconfont icon-add-fill content-button-right",on:{click:function(o){arguments[0]=o=t.$handleEvent(o),t.singleSkuPlus(e)}}})],2)],1)],1)})),1)],1)],1),o("uni-popup",{ref:"erWeiPopup",staticClass:"erWeiPopup",attrs:{type:"center","is-mask-click":!1}},[o("v-uni-view",{staticClass:"popupContent"},[o("v-uni-view",{staticClass:"popupContent-top"},[o("v-uni-view",{staticClass:"popupContent-top-title"},[o("v-uni-view",{staticClass:"popupContent-top-title-left"},[o("v-uni-image",{attrs:{src:t.switchImage?t.specifications.sku_image:t.$util.img(t.specifications.sku_image),mode:""}})],1),o("v-uni-view",{staticClass:"popupContent-top-title-right"},[o("v-uni-view",{staticClass:"popupContent-top-title-right-textTop"},[t._v(t._s(t.specifications.sku_name))]),t.specifications.stock_show?o("v-uni-view",{staticClass:"popupContent-top-title-right-textBottom"},[t._v("库存"+t._s(t.specifications.stock)+"件")]):t._e()],1)],1),o("v-uni-view",{staticClass:"popupContent-top-center"},t._l(t.specificationsItem,(function(e,n){return o("v-uni-view",{key:n,staticClass:"popupContent-top-center-content"},[o("v-uni-view",{staticClass:"popupContent-top-center-content-text"},[t._v(t._s(e.spec_name))]),o("v-uni-view",{staticClass:"popupContent-top-center-content-small"},t._l(e.value,(function(e,n){return o("v-uni-view",{key:n,class:t.specifications.sku_id==e.sku_id?"small-content small-content-hover":"small-content",on:{click:function(o){arguments[0]=o=t.$handleEvent(o),t.switchs(e.sku_id)}}},[t._v(t._s(e.spec_value_name))])})),1)],1)})),1),o("v-uni-view",{staticClass:"popupContent-top-bottom"},[t._v("已选择:"),o("v-uni-text",[t._v(t._s(t.specifications.title))]),o("v-uni-view",{staticClass:"popupContent-top-bottom-content"},[o("v-uni-view",{staticClass:"popupContent-top-bottom-content-left"},[o("v-uni-text",[t._v("¥")]),o("v-uni-text",[t._v(t._s(t.specifications.discount_price))])],1),t.display?o("v-uni-view",{staticClass:"popupContent-top-bottom-content-sum"},[o("v-uni-view",{staticClass:"content-button-sum iconfont icon-jianshao content-button-left",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.singleSkuReduce(t.specifications)}}}),t._l(t.shoplist,(function(e,n){return e.sku_id==t.specifications.sku_id?o("v-uni-view",{key:n,staticClass:"content-button-center"},[t._v(t._s(e.num))]):t._e()})),o("v-uni-view",{staticClass:"content-button-sum iconfont icon-add-fill content-button-right",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.singleSkuPlus(t.specifications)}}})],2):o("v-uni-view",[t.specifications.stock&&0!=t.specifications.stock?o("v-uni-button",{staticClass:"popupContent-top-bottom-content-right",attrs:{type:"primary"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.shoppingCart(t.specifications)}}},[t._v("加入购物车")]):o("v-uni-button",{staticClass:"popupContent-top-bottom-content-right",attrs:{type:"primary",disabled:"true"}},[t._v("确定")])],1)],1)],1)],1),o("v-uni-view",{staticClass:"popupContent-bottom"},[o("v-uni-text",{staticClass:"iconfont iconfont-delete icon-close-guanbi",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.close.apply(void 0,arguments)}}})],1)],1)],1),o("uni-popup",{ref:"share",staticClass:"share-img",attrs:{type:"center"}},[o("v-uni-view",{staticClass:"share-image"},[o("v-uni-image",{attrs:{src:t.$util.img(t.shareImage),"show-menu-by-longpress":!0}})],1)],1),o("ns-login",{ref:"login"}),t.horseRace?o("v-uni-view",{staticClass:"fixed-left"},[o("v-uni-view",{staticClass:"fixed-left-content"},[o("v-uni-image",{attrs:{src:""==t.lantern.headimg?t.$util.getDefaultImage().head:t.$util.img(t.lantern.headimg)}}),o("v-uni-view",{staticClass:"fixed-left-content-text"},[t._v(t._s(t.lantern.content)+"刚刚下单成功")])],1)],1):t._e(),o("loading-cover",{ref:"loadingCover"})],1)],1)},a=[]},7854:function(t,e,o){"use strict";o.r(e);var n=o("8ba8"),i=o("f48d");for(var a in i)["default"].indexOf(a)<0&&function(t){o.d(e,t,(function(){return i[t]}))}(a);var s=o("828b"),r=Object(s["a"])(i["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],void 0);e["default"]=r.exports},"8ba8":function(t,e,o){"use strict";o.d(e,"b",(function(){return n})),o.d(e,"c",(function(){return i})),o.d(e,"a",(function(){}));var n=function(){var t=this.$createElement,e=this._self._c||t;return e("v-uni-view",{staticStyle:{display:"none"}},[this._t("default")],2)},i=[]},"9c4f":function(t,e,o){var n=o("bb37");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var i=o("967d").default;i("1a51f0e1",n,!0,{sourceMap:!1,shadowMode:!1})},a962:function(t,e,o){"use strict";o("6a54");var n=o("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(o("2634")),a=n(o("2fdc"));o("bf0f"),o("2797"),o("5ef2"),o("aa9c"),o("c9b5"),o("ab80"),o("e966"),o("e838"),o("4626"),o("5ac7"),o("d4b5"),o("f7a5");var s={data:function(){return{jielong_id:"",jielong_info:{},jielong_list:[{goods_image:"",member_headimg:[]}],jielong_buy_page:{},time:"",timer:"",num:"",money:0,specifications:{},specificationsItem:[{spec_name:"",spec_value_name:"",value:[{sku_id:"",spec_value_name:""}]}],index:0,zIndex:!0,shoplist:[],display:!1,returnShoping:[],shareImage:"",switchImage:!1,seeMores:!0,status:"",cutting:5,horseRace:!0,lantern:{},shareImg:""}},onLoad:function(t){var e=this;if(this.jielong_id=t.jielong_id,t.scene){var o=decodeURIComponent(t.scene);o=o.split("&"),o.length&&o.forEach((function(t){-1!=t.indexOf("jielong_id")&&(e.jielong_id=t.split("-")[1])}))}if(t.source_member&&uni.setStorageSync("source_member",t.source_member),t.scene){o=decodeURIComponent(t.scene);o=o.split("&"),o.length&&o.forEach((function(t){-1!=t.indexOf("sku_id")&&(e.skuId=t.split("-")[1]),-1!=t.indexOf("m")&&uni.setStorageSync("source_member",t.split("-")[1]),-1!=t.indexOf("is_test")&&uni.setStorageSync("is_test",1)}))}this.getJielongDetail(),this.getJielongBuyPage(),this.getShopList(),this.openCartPopup()},onshow:function(){this.storeToken&&uni.getStorageSync("source_member")&&this.$util.onSourceMember(uni.getStorageSync("source_member"))},onShareAppMessage:function(t){var e=this.jielong_info.jielong_name,o=this.$util.getCurrentShareRoute(this.memberInfo?this.memberInfo.member_id:0),n=o.path;return{title:e,path:n,imageUrl:"",success:function(t){},fail:function(t){}}},onShareTimeline:function(){var t=this.$util.getCurrentShareRoute(this.memberInfo?this.memberInfo.member_id:0),e=t.query;return{title:this.jielong_info.jielong_name,query:e,imageUrl:""}},methods:{toLogin:function(){!this.storeToken&&this.$refs.login&&this.$refs.login.open("/pages_promotion/jielong/jielong?jielong_id="+this.jielong_id)},getJielongDetail:function(){var t=this;this.$api.sendRequest({url:"/jielong/api/Goods/jielongDetail",data:{jielong_id:this.jielong_id},success:function(e){0==e.code&&e.data&&e.data.info?(t.status=e.data.info.status,t.jielong_info=e.data.info,t.jielong_list=e.data.list,t.timer=e.timestamp,t.jielong_info.start_time>t.timer?t.time=t.$util.countDown(t.jielong_info.start_time-t.timer):t.jielong_info.start_time<t.timer&&t.jielong_info.end_time>t.timer&&(t.time=t.$util.countDown(t.jielong_info.end_time-t.timer)),t.$refs.loadingCover&&t.$refs.loadingCover.hide()):(t.$util.showToast({title:"未获取到活动信息"}),setTimeout((function(){t.$util.redirectTo("/pages/index/index")}),1e3))}})},getJielongBuyPage:function(){var t=this;this.$api.sendRequest({url:"/jielong/api/Goods/jielongBuyPage",data:{jielong_id:this.jielong_id},success:function(e){0==e.code&&e.data&&(t.jielong_buy_page=e.data,t.jielong_buy_page.list.length>0?(t.horseRace=!0,t.running()):t.horseRace=!1)}})},goodsImg:function(t){var e=t.split(",");return e[0]?this.$util.img(e[0],{size:"mid"}):this.$util.getDefaultImage().goods},getGoodsSkuDetail:function(t){var e=this;return(0,a.default)((0,i.default)().mark((function o(){var n,a;return(0,i.default)().wrap((function(o){while(1)switch(o.prev=o.next){case 0:if(e.storeToken){o.next=3;break}return e.$refs.login.open(e.currentRoute),o.abrupt("return");case 3:return o.next=5,e.$api.sendRequest({url:"/api/goodssku/getInfoForCategory",async:!1,data:{sku_id:t}});case 5:n=o.sent,a=n.data,a?(e.goodsSkuDetail=a,0==e.skuId&&(e.skuId=e.goodsSkuDetail.sku_id),e.goodsSkuDetail.unit=e.goodsSkuDetail.unit||"件",e.goodsSkuDetail.show_price=e.goodsSkuDetail.discount_price,e.goodsSkuDetail.sku_spec_format&&(e.goodsSkuDetail.sku_spec_format=JSON.parse(e.goodsSkuDetail.sku_spec_format)),e.goodsSkuDetail.goods_spec_format&&(e.goodsSkuDetail.goods_spec_format=JSON.parse(e.goodsSkuDetail.goods_spec_format))):e.$util.redirectTo("/pages/index/index");case 8:case"end":return o.stop()}}),o)})))()},settlement:function(){var t=this,e=[];if(0==this.shoplist.length)return!1;this.shoplist.forEach((function(t){e.push(t.cart_id)})),e=e.toString(),uni.setStorage({key:"orderCreateData",data:{cart_ids:e,jielong_id:this.jielong_id},success:function(){t.$util.redirectTo("/pages/order/payment")}})},CartPopup:function(){this.toLogin()?this.toLogin():(this.$refs.cartPopup.open(),this.openCartPopup())},openCartPopup:function(){var t=this;this.$api.sendRequest({url:"/jielong/api/cart/goodsLists",data:{jielong_id:this.jielong_id},success:function(e){t.num=0,t.money=0;var o=e.data;o.length>0&&o.forEach((function(e){t.num=parseInt(e.num)+t.num,t.money=parseFloat(parseFloat(e.price)*parseInt(e.num)+parseFloat(t.money)).toFixed(2)})),t.returnShoping=o}})},closeCartPopup:function(){this.$refs.cartPopup.close()},singleSkuReduce:function(t){var e=this,o=t.sku_id;this.shoplist.forEach((function(n){var i=t.min_buy>0?t.min_buy:1;if(o==n.sku_id)if(n.num>i){var a=--n.num;e.edit(n.cart_id,a)}else(n.num===i||n.num<i)&&e.deleteItem(n.cart_id)})),this.getJielongDetail()},singleSkuPlus:function(t){if(!this.storeToken)return this.toLogin(),!1;if(0==this.status)return uni.showToast({title:"活动未开始",icon:"none"}),!1;var e=t.sku_id,o=!0,n=t.min_buy>0?t.min_buy:1,i=t.goods_stock;if(t.max_buy>0&&t.max_buy<t.goods_stock&&(i=t.max_buy),0==this.shoplist.length){if(t.is_limit&&2===t.limit_type){if(t.purchased_num+n>i)return uni.showToast({title:"您选择的商品,已超过最大限购量",icon:"none"}),!1}else if(n>i)return uni.showToast({title:"您选择的商品,已超过最大限购量",icon:"none"}),!1;this.addShop(e,n)}else{var a=null,s=null;if(this.shoplist.forEach((function(t){e===t.sku_id&&(a=t.num+1,s=t.cart_id,o=!1)})),o){if(t.is_limit&&2===t.limit_type){if(t.purchased_num+n>i)return uni.showToast({title:"您选择的商品,已超过最大限购量",icon:"none"}),!1}else if(n>i)return uni.showToast({title:"您选择的商品,已超过最大限购量",icon:"none"}),!1;this.addShop(e,n)}else{if(t.is_limit&&2===t.limit_type){if(t.purchased_num+a>i)return uni.showToast({title:"您选择的商品,已超过最大限购量",icon:"none"}),!1}else if(a>i)return uni.showToast({title:"您选择的商品,已超过最大限购量",icon:"none"}),!1;this.edit(s,a)}}this.getJielongDetail()},clear:function(){var t=this;if(!this.storeToken)return this.toLogin(),!1;this.$api.sendRequest({url:"/jielong/api/cart/clear",data:{jielong_id:this.jielong_id},success:function(e){t.getShopList(),t.openCartPopup(),t.getJielongDetail()}})},codeView:function(t){var e=this;return this.storeToken?0==this.status?(uni.showToast({title:"活动未开始",icon:"none"}),!1):(this.switchs(t),this.$refs.erWeiPopup.open(),this.zIndex=!1,this.display=!1,void(0==this.shoplist.length?this.display=!1:this.shoplist.forEach((function(o){t==o.sku_id&&(e.display=!0)})))):(this.toLogin(),!1)},close:function(){this.$refs.erWeiPopup.close(),this.zIndex=!0},switchs:function(t){var e=this;this.title="",this.getShopList(),this.openCartPopup(),this.$api.sendRequest({url:"/api/goodssku/getInfoForCategory",data:{sku_id:t},success:function(o){e.specifications=o.data,e.specificationsItem=JSON.parse(e.specifications.goods_spec_format),e.specificationsItem.forEach((function(o){o.value.forEach((function(o){o.sku_id==t&&(e.title=e.title+o.spec_value_name+"/")}))})),e.specifications.title=e.title,e.switchImage=e.specifications.sku_image.includes("http")}}),this.display=!1,this.shoplist.forEach((function(o){t==o.sku_id&&(e.display=!0)}))},getShopList:function(){var t=this;this.toLogin(),this.$api.sendRequest({url:"/jielong/api/cart/lists",data:{jielong_id:this.jielong_id},success:function(e){t.shoplist=e.data}})},addShop:function(t){var e=this,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;this.$api.sendRequest({url:"/jielong/api/cart/add",data:{jielong_id:this.jielong_id,num:o,sku_id:t},success:function(t){e.getShopList(),e.openCartPopup(),e.getJielongDetail(),-1==t.code&&e.$util.showToast({title:t.message})}})},edit:function(t,e){var o=this;this.$api.sendRequest({url:"/jielong/api/cart/edit",data:{jielong_id:this.jielong_id,num:e,cart_id:t},success:function(t){o.getShopList(),o.openCartPopup(),o.getJielongDetail(),-1==t.code&&o.$util.showToast({title:t.message})}})},deleteItem:function(t){var e=this;this.$api.sendRequest({url:"/jielong/api/cart/delete",data:{num:0,cart_id:t},success:function(t){e.getShopList(),e.openCartPopup(),e.getJielongDetail()}}),this.display=!1},shoppingCart:function(t){this.display=!0;var e=t.sku_id;this.addShop(e),this.openCartPopup(),this.getJielongDetail()},share:function(){var t=this;if(!this.storeToken)return this.toLogin(),!1;this.shareImage="",uni.showLoading({title:"加载中"}),this.$refs.share.open();var e=JSON.stringify({jielong_id:this.jielong_id});this.$api.sendRequest({url:"/jielong/api/goods/poster",data:{page:"/pages_promotion/jielong/jielong",qrcode_param:e},success:function(e){uni.hideLoading(),t.shareImage=e.data.poster_path}})},order:function(){this.$util.redirectTo("/pages/order/list")},bottomImage:function(t){return!!t.includes("http")},seeMore:function(){this.seeMores=!this.seeMores,this.seeMores?this.cutting=5:this.cutting=this.jielong_buy_page.count},running:function(){var t=this,e=JSON.parse(JSON.stringify(this.jielong_buy_page.list)),o=1,n=e[0].nickname;n=n.slice(0,1),e[0].content=n+"**",this.lantern=e[0],setInterval((function(){o<e.length?(n=e[o].nickname,n=n.slice(0,1),e[o].content=n+"**",t.lantern=e[o],o++):o=0}),1e4)}}};e.default=s},b40c:function(t,e,o){var n=o("00b4");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var i=o("967d").default;i("f6adc9b8",n,!0,{sourceMap:!1,shadowMode:!1})},bb37:function(t,e,o){var n=o("c86c");e=n(!1),e.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n * 建议使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App\r\n */.uni-countdown[data-v-45a7f114]{padding:%?2?% 0;display:inline-flex;flex-wrap:nowrap;justify-content:center}.uni-countdown__splitor[data-v-45a7f114]{justify-content:center;line-height:%?44?%;padding:0 %?5?%;font-size:%?24?%}.uni-countdown__splitor.day[data-v-45a7f114]{line-height:%?50?%}.uni-countdown__number[data-v-45a7f114]{line-height:%?44?%;justify-content:center;height:%?44?%;border-radius:%?6?%;margin:0 %?5?%;border:%?2?% solid #000;font-size:%?24?%;padding:0 %?10?%}',""]),t.exports=e},cc1b:function(t,e,o){"use strict";o("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,o("5ef2"),o("64aa"),o("5c47"),o("a1c1"),o("e838");var n={type:"scrolldone",target:{id:"",offsetLeft:0,offsetTop:0,dataset:{}},currentTarget:{id:"",offsetLeft:0,offsetTop:0,dataset:{}},detail:{}},i={props:{backgroundTextStyle:{type:String,default:"dark",validator:function(t){return-1!==["dark","light"].indexOf(t)}},backgroundColor:{type:String,default:"#ffffff"},backgroundColorTop:{type:String,default:"#ffffff"},backgroundColorBottom:{type:String,default:"#ffffff"},scrollTop:{type:String,default:""},scrollDuration:{type:Number,default:300},pageStyle:{type:String,default:""},enablePullDownRefresh:{type:[Boolean,String],default:!1},rootFontSize:{type:String,default:""}},created:function(){var t=this,e=getCurrentPages()[0];this.$pageVm=e.$vm||e,uni.onWindowResize((function(e){t.$emit("resize",e)})),this.$pageVm.$on("hook:onPageScroll",(function(e){t.$emit("scroll",e)})),this.$watch("backgroundTextStyle",(function(){t.setBackgroundTextStyle()})),this.$watch((function(){return[t.rootFontSize,t.pageStyle]}),(function(){t.setPageMeta()})),this.$watch((function(){return[t.backgroundColor,t.backgroundColorTop,t.backgroundColorBottom]}),(function(){t.setBackgroundColor()})),this.$watch((function(){return[t.scrollTop,t.scrollDuration]}),(function(){t.pageScrollTo()}))},beforeMount:function(){this.setBackgroundColor(),(this.rootFontSize||this.pageStyle)&&this.setPageMeta(),this.backgroundTextStyle&&this.setBackgroundTextStyle()},mounted:function(){this.scrollTop&&this.pageScrollTo()},methods:{setPullDownRefresh:function(t,e){t.setStyle({pullToRefresh:{support:e,style:"Android"===plus.os.name?"circle":"default"}})},setPageMeta:function(){uni.setPageMeta({pageStyle:this.pageStyle,rootFontSize:this.rootFontSize})},setBackgroundTextStyle:function(){},setBackgroundColor:function(){},pageScrollTo:function(){var t=this,e=String(this.scrollTop);if(-1!==e.indexOf("rpx")&&(e=uni.upx2px(e.replace("rpx",""))),e=parseFloat(e),!isNaN(e)){var o=function o(i){i.scrollTop===e&&(t.$pageVm.$off("hook:onPageScroll",o),t.$emit("scrolldone",n))};uni.pageScrollTo({scrollTop:e,duration:this.scrollDuration,success:function(){t.$pageVm.$on("hook:onPageScroll",o)}})}}}};e.default=i},d8e4:function(t,e,o){"use strict";o.r(e);var n=o("51c6"),i=o("f00c");for(var a in i)["default"].indexOf(a)<0&&function(t){o.d(e,t,(function(){return i[t]}))}(a);o("f669");var s=o("828b"),r=Object(s["a"])(i["default"],n["b"],n["c"],!1,null,"630a5e36",null,!1,n["a"],void 0);e["default"]=r.exports},e12a:function(t,e,o){"use strict";o.r(e);var n=o("00ba"),i=o("ea5a");for(var a in i)["default"].indexOf(a)<0&&function(t){o.d(e,t,(function(){return i[t]}))}(a);o("11ac");var s=o("828b"),r=Object(s["a"])(i["default"],n["b"],n["c"],!1,null,"45a7f114",null,!1,n["a"],void 0);e["default"]=r.exports},ea5a:function(t,e,o){"use strict";o.r(e);var n=o("f9fd"),i=o.n(n);for(var a in n)["default"].indexOf(a)<0&&function(t){o.d(e,t,(function(){return n[t]}))}(a);e["default"]=i.a},f00c:function(t,e,o){"use strict";o.r(e);var n=o("0f49"),i=o.n(n);for(var a in n)["default"].indexOf(a)<0&&function(t){o.d(e,t,(function(){return n[t]}))}(a);e["default"]=i.a},f48d:function(t,e,o){"use strict";o.r(e);var n=o("cc1b"),i=o.n(n);for(var a in n)["default"].indexOf(a)<0&&function(t){o.d(e,t,(function(){return n[t]}))}(a);e["default"]=i.a},f669:function(t,e,o){"use strict";var n=o("b40c"),i=o.n(n);i.a},f9fd:function(t,e,o){"use strict";o("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,o("64aa");var n={name:"UniCountDown",props:{showDay:{type:Boolean,default:!0},showColon:{type:Boolean,default:!0},backgroundColor:{type:String,default:"#FFFFFF"},backgroundColorClass:{type:String,default:""},borderColor:{type:String,default:"#000000"},borderColorClass:{type:String,default:""},color:{type:String,default:"#000000"},colorClass:{type:String,default:""},splitorColor:{type:String,default:"#000000"},splitorColorClass:{type:String,default:""},day:{type:[Number,String],default:0},hour:{type:[Number,String],default:0},minute:{type:[Number,String],default:0},second:{type:[Number,String],default:0}},data:function(){return{timer:null,d:"00",h:"00",i:"00",s:"00",leftTime:0,seconds:0}},mounted:function(t){var e=this;this.seconds=this.toSeconds(this.day,this.hour,this.minute,this.second),this.countDown(),this.timer=setInterval((function(){e.seconds--,e.seconds<0?e.timeUp():e.countDown()}),1e3)},watch:{day:function(t){var e=this;this.timeUp(),this.seconds=this.toSeconds(this.day,this.hour,this.minute,this.second),this.countDown(),this.timer=setInterval((function(){e.seconds--,e.seconds<0?e.timeUp():e.countDown()}),1e3)},hour:function(t){var e=this;this.timeUp(),this.seconds=this.toSeconds(this.day,this.hour,this.minute,this.second),this.countDown(),this.timer=setInterval((function(){e.seconds--,e.seconds<0?e.timeUp():e.countDown()}),1e3)},minute:function(t){var e=this;this.timeUp(),this.seconds=this.toSeconds(this.day,this.hour,this.minute,this.second),this.countDown(),this.timer=setInterval((function(){e.seconds--,e.seconds<0?e.timeUp():e.countDown()}),1e3)},second:function(t){var e=this;this.timeUp(),this.seconds=this.toSeconds(this.day,this.hour,this.minute,this.second),this.countDown(),this.timer=setInterval((function(){e.seconds--,e.seconds<0?e.timeUp():e.countDown()}),1e3)}},beforeDestroy:function(){clearInterval(this.timer)},methods:{toSeconds:function(t,e,o,n){return t=Number(t),e=Number(e),o=Number(o),n=Number(n),60*t*60*24+60*e*60+60*o+n},timeUp:function(){clearInterval(this.timer),this.$emit("timeup")},countDown:function(){var t=this.seconds,e=0,o=0,n=0,i=0;t>0?(e=Math.floor(t/86400),o=Math.floor(t/3600)-24*e,n=Math.floor(t/60)-24*e*60-60*o,i=Math.floor(t)-24*e*60*60-60*o*60-60*n):this.timeUp(),e<10&&(e="0"+e),o<10&&(o="0"+o),n<10&&(n="0"+n),i<10&&(i="0"+i),this.d=e,this.h=o,this.i=n,this.s=i}}};e.default=n}}]);