pages-activities-detail-detail.00d3f478.js 19 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-activities-detail-detail"],{2320:function(t,i,e){var a=e("24fb");i=a(!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/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */uni-page-body[data-v-931b3514]{background-color:#f7f7f7}.app[data-v-931b3514]{padding:%?38?% %?32?%}.scan-card[data-v-931b3514]{background-color:#fff;padding:%?48?% %?52?%;margin-bottom:%?40?%;border-radius:%?20?%}.form[data-v-931b3514]{background-color:#fff;padding:%?48?% %?16?%;border-radius:%?20?%}.form .form-item[data-v-931b3514]{position:relative;display:flex;flex-direction:column;box-sizing:border-box;border-bottom:%?2?% solid #999;padding:0;align-items:center;margin-bottom:%?38?%}.form .form-item .label[data-v-931b3514]{color:#666;font-size:%?28?%;font-family:PingFangSC-Medium,PingFang SC}.form .form-item .intput-area[data-v-931b3514]{display:flex;justify-content:space-between;font-size:%?26?%;line-height:%?106?%}.form .form-item .intput-area uni-input[data-v-931b3514]{text-align:center;height:%?106?%;flex:1;font-size:%?54?%;font-family:DINAlternate-Bold,DINAlternate}.form .form-item .intput-area .uni-input-placeholder[data-v-931b3514]{font-size:%?28?%}.form .ctrls[data-v-931b3514]{padding:0 %?36?%}body.?%PAGE?%[data-v-931b3514]{background-color:#f7f7f7}',""]),t.exports=i},"40e7":function(t,i,e){"use strict";var a=e("4206"),o=e.n(a);o.a},4206:function(t,i,e){var a=e("2320");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var o=e("4f06").default;o("4e4d5201",a,!0,{sourceMap:!1,shadowMode:!1})},"60aa":function(t,i,e){"use strict";var a=e("cf96"),o=e.n(a);o.a},"69f8":function(t,i,e){"use strict";var a;e.d(i,"b",(function(){return o})),e.d(i,"c",(function(){return n})),e.d(i,"a",(function(){return a}));var o=function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("v-uni-view",{staticClass:"app"},[e("v-uni-view",{staticClass:"scan-card"},[e("v-uni-view",{staticClass:"button big",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.scanQrCode.apply(void 0,arguments)}}},[t._v("扫描二维码核销")])],1),e("v-uni-view",{staticClass:"form"},[e("v-uni-view",{staticClass:"form-item"},[e("v-uni-text",{staticClass:"label"},[t._v("输入手机号或核销码")]),e("v-uni-view",{staticClass:"intput-area"},[e("v-uni-input",{attrs:{type:"text",placeholder:"请输入手机号或核销码"},model:{value:t.code,callback:function(i){t.code=i},expression:"code"}})],1)],1),e("v-uni-view",{staticClass:"ctrls"},[e("v-uni-view",{staticClass:"button big",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.loadInfo.apply(void 0,arguments)}}},[t._v("搜索核销")])],1)],1)],1)},n=[]},"9f34":function(t,i,e){var a=e("24fb"),o=e("1de5"),n=e("48fc"),r=e("c806"),d=e("1fe1"),s=e("08b7"),c=e("2c9d"),l=e("de39"),b=e("9f57"),f=e("8761"),p=e("7d78"),u=e("9d0c"),g=e("23c6"),v=e("cbd1"),h=e("ec23"),m=e("89af"),w=e("335a"),k=e("ac10"),y=e("fdfa"),x=e("9621"),z=e("b7e5"),C=e("e12a"),j=e("df4d"),_=e("334e");i=a(!1);var T=o(n),I=o(r),S=o(d),A=o(s),F=o(c),P=o(l),E=o(b),R=o(f),B=o(p),M=o(u),q=o(g),G=o(v),Q=o(h),L=o(m),U=o(w),W=o(k),$=o(y),D=o(x),J=o(z),N=o(C),O=o(j),H=o(_);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/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */uni-page-head[data-v-931b3514]{display:none}uni-page-body[data-v-931b3514]{color:#111;font-size:%?28?%;font-family:PingFangSC-Regular,PingFang SC}[data-v-931b3514]::-webkit-scrollbar{display:none}.button[data-v-931b3514]{background-color:#00ae75;border-radius:%?32?%;font-size:%?32?%;line-height:%?64?%;color:#fff;padding:0 %?30?%;text-align:center;position:relative}.button.border[data-v-931b3514]{border:%?2?% solid #cecece;background-color:#fff;color:#333}.button.border-g[data-v-931b3514]{border:%?2?% solid #00ae75;background-color:initial;color:#00ae75}.button.gray[data-v-931b3514]{border:%?2?% solid #eee;background-color:#fff;color:#888}.button.mini[data-v-931b3514]{display:inline-block;padding:0 %?16?%;font-size:%?26?%;line-height:%?48?%}.button.big[data-v-931b3514]{line-height:%?80?%;border-radius:%?80?%}.button uni-button[data-v-931b3514]{opacity:0;position:absolute;width:100%;height:100%;left:0;top:0}.addr[data-v-931b3514]{display:flex;align-items:center}.addr[data-v-931b3514]:before{content:"";background:url('+T+') no-repeat 50%;background-size:contain;display:inline-block;width:%?18?%;height:%?26?%;margin-right:%?8?%;flex-shrink:0}.price[data-v-931b3514]{font-family:PingFangSC-Semibold,PingFang SC;display:flex;font-size:%?30?%}.price[data-v-931b3514]:before{content:"¥";margin-right:%?10?%}.icon-eye[data-v-931b3514]{background:url('+I+") no-repeat 50%;background-size:%?38?% %?28?%;display:inline-block;width:%?44?%;height:%?44?%}.icon-checkbox[data-v-931b3514]{display:inline-block;width:%?30?%;height:%?30?%;border:%?2?% solid #979797;border-radius:50%}.icon-checkbox.checked[data-v-931b3514]{background:url("+S+") no-repeat;background-size:%?34?% %?34?%;border:0;width:%?34?%;height:%?34?%}.icon-arrow-down[data-v-931b3514]{background:url("+A+") no-repeat 50%;background-size:%?24?% %?18?%;display:inline-block;width:%?44?%;height:%?44?%}.icon-arrow-right[data-v-931b3514]{flex-shrink:0;width:%?10?%;height:%?18?%;background:url("+F+") no-repeat;background-size:contain;margin-left:%?12?%}.icon-person[data-v-931b3514]{background:url("+P+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-auth[data-v-931b3514]{background:url("+E+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-addr1[data-v-931b3514]{background:url("+R+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-coupon[data-v-931b3514]{background:url("+B+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-card1[data-v-931b3514]{background:url("+M+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-help[data-v-931b3514]{background:url("+q+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-about[data-v-931b3514]{background:url("+G+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-customer[data-v-931b3514]{background:url("+Q+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-setting[data-v-931b3514]{background:url("+L+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-edit[data-v-931b3514]{background:url("+U+") no-repeat 50%;background-size:contain;display:inline-block;width:%?40?%;height:%?40?%}.icon-minus[data-v-931b3514]{background:url("+W+") no-repeat 50%;background-size:contain;display:inline-block;width:%?40?%;height:%?40?%}.icon-add[data-v-931b3514]{background:url("+$+") no-repeat 50%;background-size:contain;display:inline-block;width:%?40?%;height:%?40?%}.icon-address[data-v-931b3514]{background:url("+D+") no-repeat 50%;background-size:auto %?28?%;display:inline-block;width:%?24?%;height:%?28?%}.icon-address-b[data-v-931b3514]{background:url("+T+") no-repeat 50%;background-size:auto %?28?%;display:inline-block;width:%?24?%;height:%?28?%}.icon-right[data-v-931b3514]{background:url("+F+") no-repeat 50%;background-size:contain;display:inline-block;width:%?10?%;height:%?18?%}.tags[data-v-931b3514]{margin-top:%?12?%;display:flex}.tag[data-v-931b3514]{border:%?1?% solid #00ab78;line-height:%?28?%;font-size:%?20?%;padding:0 %?8?%;border-radius:%?4?%;margin-right:%?8?%;color:#00ab78}.tag.orange[data-v-931b3514]{border-color:#ff5000;color:#ff5000}.tag.light[data-v-931b3514]{border-color:#1fb588;color:#1fb588;opacity:.5}.tag.disabled[data-v-931b3514]{border-color:#f6f6f6;background-color:#f6f6f6;color:#777}.tag.border[data-v-931b3514]{border-color:#999;color:#333}.btn-page-back[data-v-931b3514], .btn-page-home[data-v-931b3514]{position:fixed;background:url("+J+") no-repeat 50% rgba(0,0,0,.3);background-size:%?44?%;width:%?44?%;height:%?44?%;z-index:999;left:0}.btn-page-home[data-v-931b3514]{background-image:url("+N+')}.btns-buygroup[data-v-931b3514]{display:flex;align-items:center}.btns-buygroup uni-text[data-v-931b3514]{margin:0 %?15?%}.topinfo[data-v-931b3514]{position:relative;display:flex;background-color:#fff;flex-direction:column;padding:%?32?% %?32?% %?22?%;z-index:3}.topinfo.flex1[data-v-931b3514]{flex:1}.topinfo .address[data-v-931b3514]{display:flex;justify-content:space-between;align-items:center}.topinfo .address > uni-view[data-v-931b3514]:first-child{width:%?500?%}.topinfo .address .adr-shop[data-v-931b3514]{display:flex;align-items:center}.topinfo .address .adr-shop .sp-name[data-v-931b3514]{margin:0 %?16?%;color:#333;font-size:%?28?%;line-height:%?40?%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.topinfo .address .adr-shop .icon-address[data-v-931b3514]{flex-shrink:0}.topinfo .address .range[data-v-931b3514]{font-size:%?22?%;line-height:%?32?%;color:#666;margin-top:%?12?%;display:inline-block}.topinfo .address .switch[data-v-931b3514]{background-color:#00ab78;border-radius:%?30?%;padding:%?6?%;display:flex;align-items:center;flex-shrink:0}.topinfo .address .switch uni-text[data-v-931b3514]{font-size:%?24?%;color:#fff;padding:0 %?18?%;border-radius:%?30?%;line-height:%?38?%;display:inline-block}.topinfo .address .switch uni-text.active[data-v-931b3514]{background-color:#fff;color:#00ab78}.topinfo .msg[data-v-931b3514]{margin-top:%?12?%;display:flex;font-size:%?22?%;line-height:%?32?%;justify-content:space-between;align-items:center}.topinfo .msg > uni-text[data-v-931b3514]:first-child{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;height:%?36?%}.topinfo .msg .more[data-v-931b3514]{font-size:%?20?%;line-height:%?28?%;color:#999;display:flex;align-items:center;flex-shrink:0}.topinfo .msg .more[data-v-931b3514]:after{content:"";background:url('+O+') no-repeat 50%;background-size:contain;display:inline-block;width:%?10?%;height:%?6?%;margin-left:%?8?%}.topinfo .msg.showmore > uni-text[data-v-931b3514]:first-child{opacity:0}.topinfo .msg.showmore .more[data-v-931b3514]:after{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.topinfo .shop-desc-box[data-v-931b3514]{position:relative;width:100%}.topinfo .shop-desc-layer[data-v-931b3514]{position:absolute;left:%?-32?%;right:%?-32?%;background-color:#fff;top:0;padding:%?32?%}.topinfo .shop-desc-layer .desc[data-v-931b3514]{margin-top:%?32?%;color:#666;font-size:%?22?%}.topinfo .shop-desc-layer uni-navigator[data-v-931b3514]{margin-top:%?32?%}.topinfo .shop-desc-layer .h3[data-v-931b3514]{display:block;font-size:%?26?%;color:#00ab78}.topinfo .shop-desc-layer .section[data-v-931b3514]{display:flex;flex-direction:column;margin-top:%?32?%;font-size:%?22?%;color:#666;line-height:%?34?%}.topinfo .shop-desc-layer .section .h3[data-v-931b3514]{margin-bottom:%?8?%}.nav-item[data-v-931b3514]{display:flex;justify-content:space-between;align-items:center;padding:%?20?% 0;font-size:%?28?%;color:#111}.nav-item .icon[data-v-931b3514]{width:%?36?%;height:%?36?%;min-width:auto;margin-right:%?16?%}.nav-item > uni-text[data-v-931b3514]{min-width:%?104?%;flex-shrink:0}.nav-item > uni-view[data-v-931b3514]{display:flex;align-items:baseline;color:#333;flex:1;margin-left:%?12?%;justify-content:flex-end;text-align:right}.nav-item > uni-view[data-v-931b3514]:after{flex-shrink:0;content:"";width:%?10?%;height:%?18?%;background:url('+F+') no-repeat;background-size:contain;margin-left:%?12?%}.nav-item > uni-view .tip[data-v-931b3514]{color:#999;font-size:%?24?%}.nav-item > uni-view .gray[data-v-931b3514]{color:#999}.nav-item[data-v-931b3514]:last-child{margin-bottom:0}.nav-item.noright > uni-view[data-v-931b3514]:after{display:none}.nav-item.help[data-v-931b3514]{padding:%?31?% 0;font-size:%?30?%}.nav-item.help > uni-text[data-v-931b3514]{flex-shrink:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.goods-item[data-v-931b3514]{display:flex;margin-bottom:%?40?%;align-items:center}.goods-item uni-image[data-v-931b3514]{width:%?174?%;height:%?174?%;border-radius:%?10?%;margin-right:%?16?%;flex-shrink:0}.goods-item > uni-view[data-v-931b3514]{flex:1;display:flex;flex-direction:column;justify-content:space-between;box-sizing:border-box}.goods-item .title[data-v-931b3514]{font-size:%?28?%;line-height:%?40?%;text-align:justify}.goods-item .tips[data-v-931b3514]{font-size:%?22?%;color:#999;display:flex;justify-content:space-between}.goods-item .ctrls[data-v-931b3514]{display:flex;justify-content:space-between;margin-top:%?14?%}.goods-item.mini uni-image[data-v-931b3514], .goods-item.inorder uni-image[data-v-931b3514]{width:%?124?%;height:%?124?%}.goods-item.inorder .title[data-v-931b3514]{display:flex;justify-content:space-between;margin-right:0}.goods-item.inorder .title .price[data-v-931b3514]{align-items:flex-end}.goods-item.inorder > uni-view[data-v-931b3514]{flex:1;display:flex;flex-direction:column;justify-content:space-between;height:%?124?%}.swiper-cont[data-v-931b3514]{position:relative}.swiper-cont .swiper[data-v-931b3514]{width:100%;height:%?494?%}.swiper-cont .swiper .videoposter[data-v-931b3514], .swiper-cont .swiper uni-image[data-v-931b3514]{width:100%;height:100%}.swiper-cont .swiper .videoposter[data-v-931b3514]:after{content:"";position:absolute;background-color:rgba(0,0,0,.3);top:0;left:0;right:0;bottom:0}.swiper-cont .swiper .videoposter .btn-play[data-v-931b3514]{background:url('+H+") no-repeat;background-size:contain;width:%?100?%;height:%?100?%;position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);z-index:1}.swiper-cont .swiper .videoposter uni-video[data-v-931b3514]{display:none}.swiper-cont .swiper .videoposter.playing uni-image[data-v-931b3514], .swiper-cont .swiper .videoposter.playing[data-v-931b3514]:after, .swiper-cont .swiper .videoposter.playing .btn-play[data-v-931b3514]{display:none}.swiper-cont .swiper .videoposter.playing uni-video[data-v-931b3514]{display:block}.swiper-cont .dots[data-v-931b3514]{position:absolute;display:flex;justify-content:center;width:100%;left:0;bottom:%?24?%}.swiper-cont .dots uni-text[data-v-931b3514]{width:%?8?%;height:%?8?%;background-color:#aeaeae;margin:0 %?6?%;border-radius:%?5?%}.swiper-cont .dots uni-text.active[data-v-931b3514]{background-color:#fff;width:%?36?%}.form[data-v-931b3514]{display:flex;flex-direction:column;padding:0 %?36?%;box-sizing:border-box}.form .form-item[data-v-931b3514]{display:flex;align-items:center;padding:%?32?% 0;border-bottom:%?1?% solid #eee}.form .form-item[data-v-931b3514]:last-child{border-bottom:0}.form .form-item .label[data-v-931b3514]{font-size:%?30?%;min-width:%?176?%;flex-shrink:0;white-space:nowrap}.form .form-item .content[data-v-931b3514]{flex:1;display:flex;align-items:center;font-size:%?30?%;justify-content:space-between}.form .form-item .content uni-input[data-v-931b3514]{flex:1}.form .form-item .content .disabled[data-v-931b3514]{color:#999}.form .form-item .link[data-v-931b3514]{color:#00ab78}.form .form-item .checkboxgroup[data-v-931b3514]{display:flex}.form .form-item .checkboxgroup > uni-view[data-v-931b3514]{display:flex;align-items:center;margin-right:%?60?%}.form .form-item .checkboxgroup > uni-view .icon-checkbox[data-v-931b3514]{display:inline-block;margin-right:%?8?%}.form.mini .label[data-v-931b3514], .form.mini .content[data-v-931b3514]{font-size:%?24?%}.form.mini .form-item[data-v-931b3514]{padding-bottom:%?8?%}",""]),t.exports=i},c1b3:function(t,i,e){"use strict";e("99af"),Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var a={data:function(){return{code:"",active_id:"",debug:!1}},methods:{scanQrCode:function(){var t=this;jWeixin.scanQRCode({needResult:1,scanType:["qrCode","barCode"],success:function(i){console.log(i),setTimeout((function(){var e=i.resultStr;t.reqByuser({url:"learn/active/?l=off.getInfo",method:"GET",data:{code:e,active_id:t.active_id},success:function(i){1==i.data.status?uni.redirectTo({url:"/pages/activities/info/info?id=".concat(t.active_id,"&code=").concat(e)}):uni.showToast({icon:"error",title:i.data.msg})}})}),500)}})},loadInfo:function(){var t=this;this.code?this.reqByuser({url:"learn/active/?l=off.getInfo",method:"GET",data:{code:this.code,active_id:this.active_id},success:function(i){if(1==i.data.status){i.data.data;uni.redirectTo({url:"/pages/activities/info/info?id=".concat(t.active_id,"&code=").concat(t.code)})}else uni.showToast({icon:"error",title:i.data.msg})}}):uni.showToast({icon:"error",title:"请填写手机号或核销码"})},globalLoginedCallback:function(){this.loadInfo()}},onLoad:function(t){var i=this;this.active_id=t.id,this.debug=t.debug,this.reqByuser({url:"package/wechat_service/?l=auth.sign&project=3",method:"GET",data:{url:encodeURIComponent(location.href)},success:function(t){if(1==t.data.status){var e=t.data.data;jWeixin.config({debug:i.debug,appId:e.appId,timestamp:e.timestamp,nonceStr:e.nonceStr,signature:e.signature,jsApiList:["scanQRCode"]}),jWeixin.ready((function(){}))}else uni.showToast({icon:"error",title:t.data.msg})}})}};i.default=a},cf96:function(t,i,e){var a=e("9f34");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var o=e("4f06").default;o("349e0d40",a,!0,{sourceMap:!1,shadowMode:!1})},df61:function(t,i,e){"use strict";e.r(i);var a=e("c1b3"),o=e.n(a);for(var n in a)"default"!==n&&function(t){e.d(i,t,(function(){return a[t]}))}(n);i["default"]=o.a},e168:function(t,i,e){"use strict";e.r(i);var a=e("69f8"),o=e("df61");for(var n in o)"default"!==n&&function(t){e.d(i,t,(function(){return o[t]}))}(n);e("60aa"),e("40e7");var r,d=e("f0c5"),s=Object(d["a"])(o["default"],a["b"],a["c"],!1,null,"931b3514",null,!1,a["a"],r);i["default"]=s.exports}}]);