1 line
35 KiB
JavaScript
1 line
35 KiB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-newActivity-invitation-invitation"],{"03a0":function(t,i,e){"use strict";e.r(i);var n=e("6705"),o=e("4c32");for(var a in o)["default"].indexOf(a)<0&&function(t){e.d(i,t,(function(){return o[t]}))}(a);e("1b59");var c=e("f0c5"),u=Object(c["a"])(o["default"],n["b"],n["c"],!1,null,"15afdd1a",null,!1,n["a"],void 0);i["default"]=u.exports},1219:function(t,i,e){var n=e("ba25");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var o=e("4f06").default;o("3be07f42",n,!0,{sourceMap:!1,shadowMode:!1})},"1b59":function(t,i,e){"use strict";var n=e("cf4b"),o=e.n(n);o.a},2286:function(t,i,e){"use strict";e("7a82"),Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0,e("a9e3");var n={props:{name:{type:String,default:uni.$u.props.icon.name},color:{type:String,default:uni.$u.props.icon.color},size:{type:[String,Number],default:uni.$u.props.icon.size},bold:{type:Boolean,default:uni.$u.props.icon.bold},index:{type:[String,Number],default:uni.$u.props.icon.index},hoverClass:{type:String,default:uni.$u.props.icon.hoverClass},customPrefix:{type:String,default:uni.$u.props.icon.customPrefix},label:{type:[String,Number],default:uni.$u.props.icon.label},labelPos:{type:String,default:uni.$u.props.icon.labelPos},labelSize:{type:[String,Number],default:uni.$u.props.icon.labelSize},labelColor:{type:String,default:uni.$u.props.icon.labelColor},space:{type:[String,Number],default:uni.$u.props.icon.space},imgMode:{type:String,default:uni.$u.props.icon.imgMode},width:{type:[String,Number],default:uni.$u.props.icon.width},height:{type:[String,Number],default:uni.$u.props.icon.height},top:{type:[String,Number],default:uni.$u.props.icon.top},stop:{type:Boolean,default:uni.$u.props.icon.stop}}};i.default=n},"4c32":function(t,i,e){"use strict";e.r(i);var n=e("779a"),o=e.n(n);for(var a in n)["default"].indexOf(a)<0&&function(t){e.d(i,t,(function(){return n[t]}))}(a);i["default"]=o.a},5610:function(t,i,e){var n=e("24fb");i=n(!1),i.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */uni-page-body[data-v-15afdd1a]{background-color:#ff864d}body.?%PAGE?%[data-v-15afdd1a]{background-color:#ff864d}.bg[data-v-15afdd1a]{position:relative;height:auto}.bg .bg_img[data-v-15afdd1a]{width:%?750?%;position:absolute;top:0;left:0}.bg .bg_back[data-v-15afdd1a]{height:%?34?%;width:%?20?%;position:absolute;top:calc(0px + %?30?%);left:%?30?%}.bg .bg_body[data-v-15afdd1a]{position:absolute;top:%?414?%;left:0}.bg .bg_body .b_qr[data-v-15afdd1a]{width:%?710?%;height:%?750?%;margin:0 %?20?%;background:#fff6eb;border-radius:%?50?%;padding:%?20?%}.bg .bg_body .b_qr .qr_body[data-v-15afdd1a]{width:100%;height:100%;border:%?5?% solid #ffd588;border-radius:%?50?%;text-align:center;display:flex;justify-content:space-evenly;flex-direction:column}.bg .bg_body .b_qr .qr_body .qr_code[data-v-15afdd1a]{width:%?510?%;height:%?510?%;margin:0 auto}.bg .bg_body .b_qr .qr_body .qr_code uni-image[data-v-15afdd1a]{width:100%;height:100%}.bg .bg_body .b_qr .qr_body .qr_text[data-v-15afdd1a]{font-size:%?36?%;color:#c44100;font-weight:500}.bg .bg_body .b_qr .qr_body .qr_tips[data-v-15afdd1a]{font-size:%?26?%;color:#c44100}.bg .bg_body .b_user[data-v-15afdd1a]{margin-top:%?30?%}.bg .bg_body .b_user .users[data-v-15afdd1a]{display:flex;justify-content:center}.bg .bg_body .b_user .users .avatar[data-v-15afdd1a]{height:%?100?%;width:%?100?%;border-radius:50%;margin:%?15?%}.bg .bg_body .b_user .users .avatar_no[data-v-15afdd1a]{height:%?100?%;width:%?100?%;font-weight:200;border-radius:50%;border:%?2?% dashed #fff;margin:%?15?%;background-color:hsla(0,0%,100%,.3);display:flex;justify-content:center;align-items:center}.bg .bg_body .b_user .u_tips[data-v-15afdd1a]{color:#ffe5b3;font-size:%?26?%;text-align:center}.bg .bg_body .b_user .u_btn[data-v-15afdd1a]{margin-top:%?30?%;margin-bottom:%?20?%;display:flex;justify-content:center}.bg .bg_body .b_user .u_btn .btn_image[data-v-15afdd1a]{width:%?403?%;height:%?113?%}.bg .bg_body .b_user .red_packet[data-v-15afdd1a]{display:flex;flex-direction:column;align-items:center}.bg .bg_body .b_user .red_packet .packet_img[data-v-15afdd1a]{width:%?750?%;position:relative}.bg .bg_body .b_user .red_packet .packet_img .img[data-v-15afdd1a]{width:100%}.bg .bg_body .b_user .red_packet .packet_img .p_text[data-v-15afdd1a]{position:absolute;bottom:%?120?%;width:100%;text-align:center;color:#fff}.bg .bg_body .b_user .red_packet .packet_img .p_text .big[data-v-15afdd1a]{font-size:%?38?%;font-weight:500;margin-bottom:%?30?%}.bg .bg_body .b_user .red_packet .packet_img .p_text .smoll[data-v-15afdd1a]{font-size:%?28?%;margin-bottom:%?20?%}.bg .bg_body .b_user .red_packet .packet_img .p_text .big2[data-v-15afdd1a]{font-size:%?32?%;font-weight:500;margin-bottom:%?30?%}.bg .bg_body .b_user .red_packet .packet_img .p_text .btn_img[data-v-15afdd1a]{width:%?310?%}.bg .bg_body .b_user .red_packet .packet_img .p_text .red_count[data-v-15afdd1a]{margin-top:%?80?%;margin-bottom:%?40?%}.bg .bg_body .b_user .red_packet .packet_img .p_text .red_count .count[data-v-15afdd1a]{font-size:%?80?%}.bg .bg_body .b_user .red_packet .close_img[data-v-15afdd1a]{width:%?60?%;height:%?60?%}.bg .bg_body .b_in_list[data-v-15afdd1a]{width:%?710?%;margin:0 %?20?%;height:auto;background-color:#fff;border-radius:%?50?%;padding:%?20?%;margin-bottom:%?30?%;display:flex;flex-direction:column;align-content:center}.bg .bg_body .b_in_list .body_head_img[data-v-15afdd1a]{width:%?253?%;margin:0 auto}.bg .bg_body .b_in_list .b_head[data-v-15afdd1a]{background-color:#fff2ed;border-radius:%?20?%;color:#854116;display:flex;margin-top:%?28?%;text-align:center}.bg .bg_body .b_in_list .b_head .head_title[data-v-15afdd1a]{width:%?150?%;padding:%?20?% 0;font-size:%?28?%}.bg .bg_body .b_in_list .b_content .mall[data-v-15afdd1a]{font-size:%?26?%}.bg .bg_body .b_in_list .b_content .content_list[data-v-15afdd1a]{background-color:#fff6e9;border-radius:%?20?%;color:#c44100;padding-top:%?20?%;margin-top:%?20?%;font-size:%?28?%;display:flex;align-items:center;padding-bottom:%?20?%;text-align:center}.bg .bg_body .b_in_list .b_content .content_list .content_item[data-v-15afdd1a]{overflow:hidden}.bg .bg_body .b_in_list .b_content .content_list .avatar[data-v-15afdd1a]{width:%?100?%;height:%?100?%;border-radius:50%;margin-left:%?16?%}.bg .bg_body .b_in_list .b_content .none[data-v-15afdd1a]{text-align:center;padding:%?20?%}',""]),t.exports=i},"582a":function(t,i,e){"use strict";e("7a82"),Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;i.default={"uicon-level":"","uicon-column-line":"","uicon-checkbox-mark":"","uicon-folder":"","uicon-movie":"","uicon-star-fill":"","uicon-star":"","uicon-phone-fill":"","uicon-phone":"","uicon-apple-fill":"","uicon-chrome-circle-fill":"","uicon-backspace":"","uicon-attach":"","uicon-cut":"","uicon-empty-car":"","uicon-empty-coupon":"","uicon-empty-address":"","uicon-empty-favor":"","uicon-empty-permission":"","uicon-empty-news":"","uicon-empty-search":"","uicon-github-circle-fill":"","uicon-rmb":"","uicon-person-delete-fill":"","uicon-reload":"","uicon-order":"","uicon-server-man":"","uicon-search":"","uicon-fingerprint":"","uicon-more-dot-fill":"","uicon-scan":"","uicon-share-square":"","uicon-map":"","uicon-map-fill":"","uicon-tags":"","uicon-tags-fill":"","uicon-bookmark-fill":"","uicon-bookmark":"","uicon-eye":"","uicon-eye-fill":"","uicon-mic":"","uicon-mic-off":"","uicon-calendar":"","uicon-calendar-fill":"","uicon-trash":"","uicon-trash-fill":"","uicon-play-left":"","uicon-play-right":"","uicon-minus":"","uicon-plus":"","uicon-info":"","uicon-info-circle":"","uicon-info-circle-fill":"","uicon-question":"","uicon-error":"","uicon-close":"","uicon-checkmark":"","uicon-android-circle-fill":"","uicon-android-fill":"","uicon-ie":"","uicon-IE-circle-fill":"","uicon-google":"","uicon-google-circle-fill":"","uicon-setting-fill":"","uicon-setting":"","uicon-minus-square-fill":"","uicon-plus-square-fill":"","uicon-heart":"","uicon-heart-fill":"","uicon-camera":"","uicon-camera-fill":"","uicon-more-circle":"","uicon-more-circle-fill":"","uicon-chat":"","uicon-chat-fill":"","uicon-bag-fill":"","uicon-bag":"","uicon-error-circle-fill":"","uicon-error-circle":"","uicon-close-circle":"","uicon-close-circle-fill":"","uicon-checkmark-circle":"","uicon-checkmark-circle-fill":"","uicon-question-circle-fill":"","uicon-question-circle":"","uicon-share":"","uicon-share-fill":"","uicon-shopping-cart":"","uicon-shopping-cart-fill":"","uicon-bell":"","uicon-bell-fill":"","uicon-list":"","uicon-list-dot":"","uicon-zhihu":"","uicon-zhihu-circle-fill":"","uicon-zhifubao":"","uicon-zhifubao-circle-fill":"","uicon-weixin-circle-fill":"","uicon-weixin-fill":"","uicon-twitter-circle-fill":"","uicon-twitter":"","uicon-taobao-circle-fill":"","uicon-taobao":"","uicon-weibo-circle-fill":"","uicon-weibo":"","uicon-qq-fill":"","uicon-qq-circle-fill":"","uicon-moments-circel-fill":"","uicon-moments":"","uicon-qzone":"","uicon-qzone-circle-fill":"","uicon-baidu-circle-fill":"","uicon-baidu":"","uicon-facebook-circle-fill":"","uicon-facebook":"","uicon-car":"","uicon-car-fill":"","uicon-warning-fill":"","uicon-warning":"","uicon-clock-fill":"","uicon-clock":"","uicon-edit-pen":"","uicon-edit-pen-fill":"","uicon-email":"","uicon-email-fill":"","uicon-minus-circle":"","uicon-minus-circle-fill":"","uicon-plus-circle":"","uicon-plus-circle-fill":"","uicon-file-text":"","uicon-file-text-fill":"","uicon-pushpin":"","uicon-pushpin-fill":"","uicon-grid":"","uicon-grid-fill":"","uicon-play-circle":"","uicon-play-circle-fill":"","uicon-pause-circle-fill":"","uicon-pause":"","uicon-pause-circle":"","uicon-eye-off":"","uicon-eye-off-outline":"","uicon-gift-fill":"","uicon-gift":"","uicon-rmb-circle-fill":"","uicon-rmb-circle":"","uicon-kefu-ermai":"","uicon-server-fill":"","uicon-coupon-fill":"","uicon-coupon":"","uicon-integral":"","uicon-integral-fill":"","uicon-home-fill":"","uicon-home":"","uicon-hourglass-half-fill":"","uicon-hourglass":"","uicon-account":"","uicon-plus-people-fill":"","uicon-minus-people-fill":"","uicon-account-fill":"","uicon-thumb-down-fill":"","uicon-thumb-down":"","uicon-thumb-up":"","uicon-thumb-up-fill":"","uicon-lock-fill":"","uicon-lock-open":"","uicon-lock-opened-fill":"","uicon-lock":"","uicon-red-packet-fill":"","uicon-photo-fill":"","uicon-photo":"","uicon-volume-off-fill":"","uicon-volume-off":"","uicon-volume-fill":"","uicon-volume":"","uicon-red-packet":"","uicon-download":"","uicon-arrow-up-fill":"","uicon-arrow-down-fill":"","uicon-play-left-fill":"","uicon-play-right-fill":"","uicon-rewind-left-fill":"","uicon-rewind-right-fill":"","uicon-arrow-downward":"","uicon-arrow-leftward":"","uicon-arrow-rightward":"","uicon-arrow-upward":"","uicon-arrow-down":"","uicon-arrow-right":"","uicon-arrow-left":"","uicon-arrow-up":"","uicon-skip-back-left":"","uicon-skip-forward-right":"","uicon-rewind-right":"","uicon-rewind-left":"","uicon-arrow-right-double":"","uicon-arrow-left-double":"","uicon-wifi-off":"","uicon-wifi":"","uicon-empty-data":"","uicon-empty-history":"","uicon-empty-list":"","uicon-empty-page":"","uicon-empty-order":"","uicon-man":"","uicon-woman":"","uicon-man-add":"","uicon-man-add-fill":"","uicon-man-delete":"","uicon-man-delete-fill":"","uicon-zh":"","uicon-en":""}},6705:function(t,i,e){"use strict";e.d(i,"b",(function(){return o})),e.d(i,"c",(function(){return a})),e.d(i,"a",(function(){return n}));var n={uIcon:e("f8c8").default,uniPopup:e("523b").default},o=function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("v-uni-view",[e("v-uni-view",{staticClass:"bg"},[e("v-uni-image",{staticClass:"bg_img",attrs:{mode:"widthFix",src:"https://lihai001.oss-cn-chengdu.aliyuncs.com/public/uploads/new_activity/invitation.webp"}}),e("v-uni-image",{staticClass:"bg_back",attrs:{src:"https://lihai001.oss-cn-chengdu.aliyuncs.com/public/uploads/new_activity/back.png"},on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.back.apply(void 0,arguments)}}}),e("v-uni-view",{staticClass:"bg_body"},[e("v-uni-view",{staticClass:"b_qr"},[e("v-uni-view",{staticClass:"qr_body"},[e("v-uni-view",{staticClass:"qr_code"},[e("v-uni-image",{attrs:{src:t.qr_img}})],1),e("v-uni-view",{staticClass:"qr_text"},[t._v("扫一扫,补贴正在路上")]),e("v-uni-view",{staticClass:"qr_tips"},[t._v("温馨提示:邀请新用户才有机会获得补贴哦")])],1)],1),e("v-uni-view",{staticClass:"b_user"},[e("v-uni-view",{staticClass:"users"},[t._l(t.info.user_info,(function(t,i){return e("v-uni-image",{key:t.uid,staticClass:"avatar",attrs:{src:t.avatar||"/static/images/f.png"}})})),t.info.user_info.length<4?t._l(4-t.info.user_info.length,(function(t){return e("v-uni-view",{key:t+"n",staticClass:"avatar_no"},[e("u-icon",{attrs:{name:"plus",color:"#fff",size:"40rpx"}})],1)})):t._e()],2),e("v-uni-view",{staticClass:"u_tips"},[t._v("邀请新用户消费达目标金额,有机会领取补贴哦~")]),e("v-uni-view",{staticClass:"u_btn"},[0==t.status?e("v-uni-image",{staticClass:"btn_image",attrs:{mode:"widthFix",src:"https://lihai001.oss-cn-chengdu.aliyuncs.com/public/uploads/new_activity/ibtn1.webp"},on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.open.apply(void 0,arguments)}}}):t._e(),1==t.status?e("v-uni-image",{staticClass:"btn_image",attrs:{mode:"widthFix",src:"https://lihai001.oss-cn-chengdu.aliyuncs.com/public/uploads/new_activity/ibtn2.webp"},on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.open.apply(void 0,arguments)}}}):t._e(),2==t.status?e("v-uni-image",{staticClass:"btn_image",attrs:{mode:"widthFix",src:"https://lihai001.oss-cn-chengdu.aliyuncs.com/public/uploads/new_activity/ibtn3.webp"},on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.opened.apply(void 0,arguments)}}}):t._e()],1),e("uni-popup",{ref:"redPacket"},[e("v-uni-view",{staticClass:"red_packet"},[0==t.status?[e("v-uni-view",{staticClass:"packet_img"},[e("v-uni-image",{staticClass:"img",attrs:{mode:"widthFix",src:"https://lihai001.oss-cn-chengdu.aliyuncs.com/public/uploads/new_activity/red_packet1.webp"}}),e("v-uni-view",{staticClass:"p_text"},[e("v-uni-view",{staticClass:"big"},[t._v("抱歉!")]),e("v-uni-view",{staticClass:"smoll"},[t._v("有好友消费未达目标金额")]),e("v-uni-view",{staticClass:"smoll"},[t._v("无法领补贴哦~")])],1)],1),e("v-uni-image",{staticClass:"close_img",attrs:{mode:"widthFix",src:"https://lihai001.oss-cn-chengdu.aliyuncs.com/public/uploads/new_activity/close.png"},on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.close()}}})]:t._e(),1==t.status?[e("v-uni-view",{staticClass:"packet_img",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.openRedPacket()}}},[e("v-uni-image",{staticClass:"img",attrs:{mode:"widthFix",src:"https://lihai001.oss-cn-chengdu.aliyuncs.com/public/uploads/new_activity/red_packet2.webp"}}),e("v-uni-view",{staticClass:"p_text"},[e("v-uni-view",{staticClass:"big"},[t._v("恭喜!")]),e("v-uni-view",{staticClass:"smoll"},[t._v("成功获得实物通用补贴")]),e("v-uni-view",{staticClass:"smoll"},[t._v("赶快打开吧~")])],1)],1),e("v-uni-image",{staticClass:"close_img",attrs:{mode:"widthFix",src:"https://lihai001.oss-cn-chengdu.aliyuncs.com/public/uploads/new_activity/close.png"},on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.close()}}})]:t._e(),2==t.status?[e("v-uni-view",{staticClass:"packet_img"},[e("v-uni-image",{staticClass:"img",attrs:{mode:"widthFix",src:"https://lihai001.oss-cn-chengdu.aliyuncs.com/public/uploads/new_activity/red_packet3.webp"}}),e("v-uni-view",{staticClass:"p_text",staticStyle:{bottom:"60rpx"}},[e("v-uni-view",{staticClass:"smoll"},[t._v("恭喜你!成功获得")]),e("v-uni-view",{staticClass:"smoll red_count"},[e("v-uni-text",{staticClass:"count"},[t._v(t._s(t.red_packet.amount))]),t._v("元")],1),e("v-uni-view",{staticClass:"big2"},[t._v("购买指定商品可直接抵扣使用")]),e("v-uni-view",{staticClass:"smoll"},[t._v(t._s(t.red_packet.end_time)+"过期")]),e("v-uni-image",{staticClass:"btn_img",attrs:{mode:"widthFix",src:"https://lihai001.oss-cn-chengdu.aliyuncs.com/public/uploads/new_activity/put.webp"},on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.close()}}})],1)],1),e("v-uni-image",{staticClass:"close_img",attrs:{mode:"widthFix",src:"https://lihai001.oss-cn-chengdu.aliyuncs.com/public/uploads/new_activity/close.png"},on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.close()}}})]:t._e()],2)],1)],1),e("v-uni-view",{staticClass:"b_in_list"},[e("v-uni-image",{staticClass:"body_head_img",attrs:{mode:"widthFix",src:"https://lihai001.oss-cn-chengdu.aliyuncs.com/public/uploads/new_activity/irecoed.webp"}}),e("v-uni-view",{staticClass:"b_head"},[e("v-uni-view",{staticStyle:{width:"120rpx"}}),e("v-uni-view",{staticClass:"head_title",staticStyle:{width:"200rpx"}},[t._v("名称")]),e("v-uni-view",{staticClass:"head_title",staticStyle:{width:"130rpx"}},[t._v("ID")]),e("v-uni-view",{staticClass:"head_title",staticStyle:{width:"120rpx"}},[t._v("目标金额")]),e("v-uni-view",{staticClass:"head_title",staticStyle:{width:"120rpx"}},[t._v("状态")])],1),e("v-uni-view",{staticClass:"b_content"},t._l(t.info.user_info,(function(i,n){return e("v-uni-view",{key:i.uid,staticClass:"content_list"},[e("v-uni-image",{staticClass:"avatar",attrs:{src:i.avatar||"/static/images/f.png"}}),e("v-uni-view",{staticClass:"content_item",staticStyle:{width:"180rpx",margin:"0 10rpx"}},[t._v(t._s(i.nickname))]),e("v-uni-view",{staticClass:"content_item",staticStyle:{width:"130rpx"}},[t._v(t._s(i.uid))]),e("v-uni-view",{staticClass:"content_item",staticStyle:{width:"120rpx"}},[t._v(t._s(i.target_amount)),e("v-uni-text",{staticClass:"mall"},[t._v("元")])],1),e("v-uni-view",{staticClass:"content_item",staticStyle:{width:"120rpx"}},[i.is_finish?e("v-uni-text",{staticStyle:{color:"#18CE61"}},[t._v("已完成")]):e("v-uni-text",{staticStyle:{color:"#FA5A29"}},[t._v("未完成")])],1)],1)})),1)],1)],1)],1)],1)},a=[]},"779a":function(t,i,e){"use strict";e("7a82");var n=e("4ea4").default;Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var o=n(e("c7eb")),a=n(e("1da1")),c=e("95ca"),u=e("f89e"),r=(e("33b4"),{data:function(){return{info:{user_info:[]},red_packet:{amount:"0.00",end_time:""},status:0,qr_img:""}},onLoad:function(){},onShow:function(){this.storeActivityQrcode(),this.loadInfo()},methods:{back:function(){uni.navigateBack()},loadInfo:function(){var t=this;(0,c.storeActivityStatus)().then((function(i){t.info=i.data,i.data.allow_receive&&(t.status=1)}))},opened:function(){(0,u.Toast)("已经领取过啦!")},open:function(){this.$refs.redPacket.open()},close:function(){this.$refs.redPacket.close()},storeActivityQrcode:function(){var t=this;(0,c.storeActivityQrcode)().then((function(i){t.qr_img=i.data.url}))},openRedPacket:function(){var t=this;return(0,a.default)((0,o.default)().mark((function i(){var e,n;return(0,o.default)().wrap((function(i){while(1)switch(i.prev=i.next){case 0:return t.$refs.redPacket.close(),i.prev=1,i.next=4,(0,c.storeActivityReceive)();case 4:e=i.sent,n=e.data,t.$nextTick((function(){t.red_packet=n,t.$u.sleep(800).then((function(){t.status=2,t.$u.sleep(100).then((function(){t.open()}))}))})),i.next=12;break;case 9:i.prev=9,i.t0=i["catch"](1),(0,u.Toast)(i.t0);case 12:case"end":return i.stop()}}),i,null,[[1,9]])})))()}},onPullDownRefresh:function(){uni.stopPullDownRefresh()}});i.default=r},"8cf8":function(t,i,e){"use strict";e.d(i,"b",(function(){return n})),e.d(i,"c",(function(){return o})),e.d(i,"a",(function(){}));var n=function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("v-uni-view",{staticClass:"u-icon",class:["u-icon--"+t.labelPos],on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.clickHandler.apply(void 0,arguments)}}},[t.isImg?e("v-uni-image",{staticClass:"u-icon__img",style:[t.imgStyle,t.$u.addStyle(t.customStyle)],attrs:{src:t.name,mode:t.imgMode}}):e("v-uni-text",{staticClass:"u-icon__icon",class:t.uClasses,style:[t.iconStyle,t.$u.addStyle(t.customStyle)],attrs:{"hover-class":t.hoverClass}},[t._v(t._s(t.icon))]),""!==t.label?e("v-uni-text",{staticClass:"u-icon__label",style:{color:t.labelColor,fontSize:t.$u.addUnit(t.labelSize),marginLeft:"right"==t.labelPos?t.$u.addUnit(t.space):0,marginTop:"bottom"==t.labelPos?t.$u.addUnit(t.space):0,marginRight:"left"==t.labelPos?t.$u.addUnit(t.space):0,marginBottom:"top"==t.labelPos?t.$u.addUnit(t.space):0}},[t._v(t._s(t.label))]):t._e()],1)},o=[]},"8f39":function(t,i,e){"use strict";e("7a82");var n=e("4ea4").default;Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0,e("14d9"),e("caad"),e("2532"),e("c975");var o=n(e("582a")),a=n(e("2286")),c={name:"u-icon",data:function(){return{}},mixins:[uni.$u.mpMixin,uni.$u.mixin,a.default],computed:{uClasses:function(){var t=[];return t.push(this.customPrefix+"-"+this.name),this.color&&uni.$u.config.type.includes(this.color)&&t.push("u-icon__icon--"+this.color),t},iconStyle:function(){var t={};return t={fontSize:uni.$u.addUnit(this.size),lineHeight:uni.$u.addUnit(this.size),fontWeight:this.bold?"bold":"normal",top:uni.$u.addUnit(this.top)},this.color&&!uni.$u.config.type.includes(this.color)&&(t.color=this.color),t},isImg:function(){return-1!==this.name.indexOf("/")},imgStyle:function(){var t={};return t.width=this.width?uni.$u.addUnit(this.width):uni.$u.addUnit(this.size),t.height=this.height?uni.$u.addUnit(this.height):uni.$u.addUnit(this.size),t},icon:function(){return o.default["uicon-"+this.name]||this.name}},methods:{clickHandler:function(t){this.$emit("click",this.index),this.stop&&this.preventEvent(t)}}};i.default=c},"95ca":function(t,i,e){"use strict";e("7a82");var n=e("4ea4").default;Object.defineProperty(i,"__esModule",{value:!0}),i.assistHelpList=function(t,i){return o.default.get("store/product/assist/user/"+t,i)},i.assistUserData=function(){return o.default.get("store/product/assist/count",{},{noAuth:!0})},i.chooseConsumption=function(t){return o.default.post("storeActivity/choose",t)},i.consumption=function(t){return o.default.get("storeActivity/consumption",t,{noAuth:!0})},i.getActivitycategory=function(t){return o.default.get("product/spu/active/category/"+t,{},{noAuth:!0})},i.getAssistDetail=function(t){return o.default.get("store/product/assist/detail/"+t)},i.getAssistList=function(t){return o.default.get("store/product/assist/lst",t,{noAuth:!0})},i.getAssistUser=function(t){return o.default.get("store/product/assist/share/"+t)},i.getBargainUserCancel=function(t){return o.default.post("store/product/assist/set/delete/"+t)},i.getBargainUserList=function(t){return o.default.get("store/product/assist/set/lst",t)},i.getCombinationDetail=function(t){return o.default.get("store/product/group/detail/"+t,{},{noAuth:!0})},i.getCombinationList=function(t){return o.default.get("store/product/group/lst",t,{noAuth:!0})},i.getCombinationPink=function(t){return o.default.get("store/product/group/get/"+t)},i.getCombinationPoster=function(t){return o.default.post("combination/poster",t)},i.getCombinationUser=function(t){return o.default.get("store/product/group/count",t,{noAuth:!0})},i.getCouponLst=function(t){return o.default.get("coupon/getlst",t,{noAuth:!0})},i.getMerchantServiceLst=function(t){return o.default.get("store/merchant/local",t,{noAuth:!0})},i.getNewPeopleCouponLst=function(t){return o.default.get("coupon/new_people",t,{noAuth:!0})},i.getPresellList=function(t){return o.default.get("store/product/presell/lst",t,{noAuth:!0})},i.getSeckillDetail=function(t){return o.default.get("store/product/seckill/detail/"+t,{},{noAuth:!0})},i.getSeckillIndexTime=function(){return o.default.get("store/product/seckill/select",{},{noAuth:!0})},i.getSeckillList=function(t){return o.default.get("store/product/seckill/lst",t,{noAuth:!0})},i.getTopicDetail=function(t){return o.default.get("activity/info/".concat(t),{},{noAuth:!0})},i.getTopicList=function(t,i){return o.default.get("activity/lst/".concat(t),i,{noAuth:!0})},i.getTopicProLst=function(t){return o.default.get("product/spu/labels",t,{noAuth:!0})},i.hotRankingApi=function(t){return o.default.get("product/spu/get_hot_ranking",t,{noAuth:!0})},i.initiateAssistApi=function(t){return o.default.post("store/product/assist/create/"+t)},i.mer_services_agree=function(){return o.default.get("agreement/mer_services_agree")},i.merchantRecord=function(t){return o.default.get("merchantRecord",t)},i.postAssistHelp=function(t){return o.default.post("store/product/assist/set/"+t)},i.postCombinationRemove=function(t){return o.default.post("store/product/group/cancel",t)},i.presellAgreement=function(){return o.default.get("store/product/presell/agree")},i.qrcode=function(t){return o.default.get("qrcode",t)},i.scombinationCode=function(t){return o.default.get("combination/code/"+t)},i.seckillCode=function(t,i){return o.default.get("seckill/code/"+t,i)},i.spuTop=function(t){return o.default.get("store/product/category/hotranking",{},{noAuth:!0})},i.spuTopList=function(t){return o.default.get("product/spu/get_hot_ranking",t,{noAuth:!0})},i.storeActivityDistrict=function(t){return o.default.get("storeActivity/district",t)},i.storeActivityProduct=function(t){return o.default.get("storeActivity/product",t,{noAuth:!0})},i.storeActivityReceive=function(t){return o.default.post("storeActivity/receive",t)},i.storeActivityRecord=function(t){return o.default.get("storeActivity/record",t)},i.storeActivityStatus=function(t){return o.default.get("storeActivity/status",t)},i.storeActivityTotal=function(t){return o.default.get("storeActivity/total",t)};var o=n(e("6860"))},ac6a:function(t,i,e){"use strict";e.r(i);var n=e("8f39"),o=e.n(n);for(var a in n)["default"].indexOf(a)<0&&function(t){e.d(i,t,(function(){return n[t]}))}(a);i["default"]=o.a},ba25:function(t,i,e){var n=e("24fb");i=n(!1),i.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */uni-view[data-v-59765974], uni-scroll-view[data-v-59765974], uni-swiper-item[data-v-59765974]{display:flex;flex-direction:column;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}@font-face{font-family:uicon-iconfont;src:url(https://at.alicdn.com/t/font_2225171_8kdcwk4po24.ttf) format("truetype")}.u-icon[data-v-59765974]{display:flex;align-items:center}.u-icon--left[data-v-59765974]{flex-direction:row-reverse;align-items:center}.u-icon--right[data-v-59765974]{flex-direction:row;align-items:center}.u-icon--top[data-v-59765974]{flex-direction:column-reverse;justify-content:center}.u-icon--bottom[data-v-59765974]{flex-direction:column;justify-content:center}.u-icon__icon[data-v-59765974]{font-family:uicon-iconfont;position:relative;display:flex;flex-direction:row;align-items:center}.u-icon__icon--primary[data-v-59765974]{color:#3c9cff}.u-icon__icon--success[data-v-59765974]{color:#5ac725}.u-icon__icon--error[data-v-59765974]{color:#f56c6c}.u-icon__icon--warning[data-v-59765974]{color:#f9ae3d}.u-icon__icon--info[data-v-59765974]{color:#909399}.u-icon__img[data-v-59765974]{height:auto;will-change:transform}.u-icon__label[data-v-59765974]{line-height:1}',""]),t.exports=i},cf4b:function(t,i,e){var n=e("5610");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var o=e("4f06").default;o("150dbb88",n,!0,{sourceMap:!1,shadowMode:!1})},eefa:function(t,i,e){"use strict";var n=e("1219"),o=e.n(n);o.a},f89e:function(t,i,e){"use strict";e("7a82");var n=e("4ea4").default;Object.defineProperty(i,"__esModule",{value:!0}),i.ActionSheet=function(t){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"#000000";return new Promise((function(e,n){uni.showActionSheet({itemList:t,itemColor:i,success:function(t){e(t.tapIndex)},fail:function(t){n(t.errMsg)}})}))},i.Authorize=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"scope.userInfo";return new Promise((function(i,e){uni.authorize({scope:t,success:function(t){i(t)},fail:function(t){e(t)}})}))},i.GetUserInfo=function(){return new Promise((function(t,i){uni.getUserInfo({success:function(i){t(i)},fail:function(t){i(t)}})}))},i.Loading=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"正在加载...",i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};uni.showLoading((0,a.default)({title:t,mask:!0},i))},i.Modal=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"提示",i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"这是一个模态弹窗!",e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{showCancel:!0,cancelText:"取消",confirmText:"确定"};return new Promise((function(n,o){uni.showModal((0,a.default)((0,a.default)({},e),{},{title:t,content:i,success:function(t){t.confirm&&n(),t.cancel&&o()}}))}))},i.ScrollTo=function(t){uni.pageScrollTo({scrollTop:t,duration:300})},i.Toast=function(t){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"none",e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:800,o=(0,a.default)({title:t,duration:n,position:"center",mask:!0,icon:i||"none"},e);uni.showToast(o)},i.chooseImage=function(t){return new Promise((function(i,e){uni.chooseImage({count:t,sizeType:["original","compressed"],sourceType:["album","camera"],success:function(t){i(t)},fail:function(t){e(t)}})}))},i.clearStorage=function(){try{uni.clearStorageSync()}catch(t){throw new Error("处理失败")}},i.convertObj=c,i.formatDate=u,i.getQuarterStartDate=function(){var t=new Date(l,function(){var t=0;s<3&&(t=0);2<s&&s<6&&(t=3);5<s&&s<9&&(t=6);s>8&&(t=9);return t}(),1);return u(t,"yyyy-MM-dd")},i.getStorage=function(t){var i=uni.getStorageSync(t);try{"number"!=typeof JSON.parse(i)&&(i=JSON.parse(i))}catch(e){}return i},i.hideLoading=function(){try{uni.hideLoading()}catch(t){throw new Error("处理失败")}},i.navigateBack=function(t){uni.navigateBack({delta:t})},i.navigateTo=function(t,i,e){var n=i,o="navigateTo";switch(n=e?n+"?"+c(e):n,t){case 1:o="navigateTo";break;case 2:o="redirectTo";break;case 3:o="reLaunch";break;case 4:o="switchTab";break;default:o="navigateTo";break}uni[o]({url:n,animationType:"slide-in-right",animationDuration:200})},i.pathToBase64=function(t){return new Promise((function(i,e){if("object"===("undefined"===typeof window?"undefined":(0,o.default)(window))&&"document"in window){if("function"===typeof FileReader){var n=new XMLHttpRequest;return n.open("GET",t,!0),n.responseType="blob",n.onload=function(){if(200===this.status){var t=new FileReader;t.onload=function(t){i(t.target.result)},t.onerror=e,t.readAsDataURL(this.response)}},n.onerror=e,void n.send()}var a=document.createElement("canvas"),c=a.getContext("2d"),u=new Image;return u.onload=function(){a.width=u.width,a.height=u.height,c.drawImage(u,0,0),i(a.toDataURL()),a.height=a.width=0},u.onerror=e,void(u.src=t)}"object"!==("undefined"===typeof plus?"undefined":(0,o.default)(plus))?"object"===("undefined"===typeof wx?"undefined":(0,o.default)(wx))&&wx.canIUse("getFileSystemManager")?wx.getFileSystemManager().readFile({filePath:t,encoding:"base64",success:function(t){i("data:image/png;base64,"+t.data)},fail:function(t){e(t)}}):e(new Error("not support")):plus.io.resolveLocalFileSystemURL(getLocalFilePath(t),(function(t){t.file((function(t){var n=new plus.io.FileReader;n.onload=function(t){i(t.target.result)},n.onerror=function(t){e(t)},n.readAsDataURL(t)}),(function(t){e(t)}))}),(function(t){e(t)}))}))},i.removeStorage=function(t){t&&uni.removeStorageSync(t)},i.serialize=function(t){if(null!=t&&""!=t)try{return JSON.parse(JSON.stringify(t))}catch(i){return t instanceof Array?[]:{}}return t},i.setStorage=function(t,i){if("string"==typeof i)return uni.setStorageSync(t,i),i;uni.setStorageSync(t,JSON.stringify(i))},i.showMonthFirstDay=function(){var t=(new Date).setDate(1);return u(new Date(t).getTime(),"yyyy-MM-dd")},i.showWeekFirstDay=function(){var t=new Date,i=t.getDay()||7;return t.setDate(t.getDate()-i+1),u(t,"yyyy-MM-dd")},i.throttle=function(t,i){var e,n;i=i||200;return function(){for(var o=this,a=arguments.length,c=new Array(a),u=0;u<a;u++)c[u]=arguments[u];e=c,n||(n=setTimeout((function(){n=null,t.apply(o,e)}),i))}},i.unique=function(t){t=t||[];for(var i={},e=0;e<t.length;e++){var n=JSON.stringify(t[e]);"undefined"==typeof n&&(i[n]=1)}for(var e in t.length=0,i)t[t.length]=e;return t};var o=n(e("53ca")),a=n(e("5530"));function c(t){var i,e=[];return Object.keys(t).forEach((function(i){e.push("".concat(i,"=").concat(t[i]))})),i=e.join("&"),i}function u(t,i){return t?(i=i||"yyyy-MM-dd hh:mm:ss",new Date(t).format(i)):""}e("e9c4"),e("d9e2"),e("d401"),e("d3b7"),e("159b"),e("b64b"),e("14d9"),e("99af"),e("ac1f"),e("00b4"),e("5319"),e("4d63"),e("c607"),e("2c3e"),e("25f0"),Date.prototype.format=function(t){var i={"M+":this.getMonth()+1,"d+":this.getDate(),"h+":this.getHours(),"m+":this.getMinutes(),"s+":this.getSeconds(),"q+":Math.floor((this.getMonth()+3)/3),S:this.getMilliseconds()};for(var e in/(y+)/.test(t)&&(t=t.replace(RegExp.$1,String(this.getFullYear()).substr(4-RegExp.$1.length))),i)new RegExp("("+e+")").test(t)&&(t=t.replace(RegExp.$1,1==RegExp.$1.length?i[e]:("00"+i[e]).substr(String(i[e]).length)));return t};var r=new Date,s=r.getMonth(),l=r.getYear();l+=l<2e3?1900:0},f8c8:function(t,i,e){"use strict";e.r(i);var n=e("8cf8"),o=e("ac6a");for(var a in o)["default"].indexOf(a)<0&&function(t){e.d(i,t,(function(){return o[t]}))}(a);e("eefa");var c=e("f0c5"),u=Object(c["a"])(o["default"],n["b"],n["c"],!1,null,"59765974",null,!1,n["a"],void 0);i["default"]=u.exports}}]); |