bztang-admin/addons/yun_shop/static/app/js/chunk-400a762a.d01ea2fc.js

1 line
11 KiB
JavaScript

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-400a762a"],{"11dbd":function(e,t,i){var a=i("24fb");t=a(!1),t.push([e.i,'.page[data-v-6d8ccbb8]{background:#fff;min-height:100vh}.icon[data-v-6d8ccbb8]{padding-top:1.906rem;padding-bottom:1.094rem}.icon img[data-v-6d8ccbb8]{width:9.438rem;height:9.438rem}.sutext[data-v-6d8ccbb8]{margin-bottom:2rem;font-size:1.125rem;letter-spacing:.113rem;color:#202020;font-weight:700}.payItems[data-v-6d8ccbb8]{padding:.625rem .9rem 0}.payItems .payItem[data-v-6d8ccbb8]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;font-size:1rem;margin-bottom:1rem}.payItems .payItem .text[data-v-6d8ccbb8]{letter-spacing:.1rem;color:#666}.payItems .payItem .price[data-v-6d8ccbb8]{color:#f14e4e}.payItems .payItem .order[data-v-6d8ccbb8]{color:#202020}.banner img[data-v-6d8ccbb8]{width:100%}.popupWrapper .close[data-v-6d8ccbb8]{height:4rem;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:end;-webkit-align-items:flex-end;-ms-flex-align:end;align-items:flex-end;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center}.popupWrapper .close .icon-adsystem_icon_cancle[data-v-6d8ccbb8]{font-size:3rem;color:#fff;width:3rem;height:3rem}.explainWrapper[data-v-6d8ccbb8]{width:18.25rem;max-height:24rem;background-color:#fff;border-radius:1.531rem;padding-bottom:1rem;-webkit-transition:.3s;transition:.3s;padding-top:.5rem}.explainWrapper .header[data-v-6d8ccbb8]{height:1.5rem;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:end;-webkit-justify-content:flex-end;-ms-flex-pack:end;justify-content:flex-end;padding-right:1.25rem}.explainWrapper .header .icon-guanbi[data-v-6d8ccbb8]{color:#000}.explainWrapper .img[data-v-6d8ccbb8]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;width:100%;height:12rem}.explainWrapper .img img[data-v-6d8ccbb8]{width:12rem;height:12rem}.withdWrapper[data-v-6d8ccbb8]{position:relative;width:23.406rem;height:26.656rem;border-radius:.5rem;background:url(https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/pearl_img2.png);background-position:50%;background-size:cover}.withdWrapper .withdWrapper-text[data-v-6d8ccbb8]{position:absolute;left:0;top:8rem;width:100%;text-align:center;font-size:28px;color:#fccf93;font-weight:700}.withdWrapper .btn[data-v-6d8ccbb8]{position:absolute;left:50%;bottom:2rem;-webkit-transform:translateX(-50%);transform:translateX(-50%);display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;width:12rem;height:2rem;color:#db0f0f;background:#fccf93;border-radius:1rem}.singleWrapper[data-v-6d8ccbb8]{width:20.813rem;height:22.469rem;border-radius:.5rem;background:url(https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/consumer_reward_pay_success_img2.png);background-position:50%;background-size:cover}.singleWrapper .name[data-v-6d8ccbb8]{padding-top:1.081rem;font-size:1.25rem;color:#fff}.singleWrapper .container[data-v-6d8ccbb8]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;width:15rem;height:5.281rem;margin:.9rem auto;background:#fff;border-radius:.3rem;position:relative}.singleWrapper .container .price[data-v-6d8ccbb8]{-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;word-break:break-all;padding-left:.5rem;padding-right:1rem;width:7rem;font-size:1.56rem;color:#f14e4e}.singleWrapper .container .price[data-v-6d8ccbb8],.singleWrapper .container .text[data-v-6d8ccbb8]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.singleWrapper .container .text[data-v-6d8ccbb8]{font-size:1.125rem;font-weight:700;color:#333}.singleWrapper .container[data-v-6d8ccbb8]:before{top:-5px}.singleWrapper .container[data-v-6d8ccbb8]:after,.singleWrapper .container[data-v-6d8ccbb8]:before{position:absolute;left:6rem;content:"";display:block;width:10px;height:10px;border-radius:50%;background:#ff4e18}.singleWrapper .container[data-v-6d8ccbb8]:after{bottom:-5px}.singleWrapper .btn[data-v-6d8ccbb8]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;font-size:1rem;color:#333;width:15.188rem;height:3.281rem;line-height:250%;margin:0 auto;margin-top:2rem;background:url(https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/consumer_reward_pay_success_img3.png);background-size:cover}',""]),e.exports=t},"2b1a8":function(e,t,i){"use strict";i.r(t);var a=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"page"},[i("c-title",{attrs:{hide:!1,text:"支付成功"}}),e._m(0),i("div",{staticClass:"sutext"},[e._v("订单支付成功")]),e._l(e.order,(function(t,a){return i("div",{key:a,staticClass:"payItems"},[i("div",{staticClass:"payItem"},[i("div",{staticClass:"text"},[e._v("支付金额")]),i("div",{staticClass:"price"},[e._v("¥"+e._s(t.price))])]),i("div",{staticClass:"payItem"},[i("div",{staticClass:"text"},[e._v("订单号")]),i("div",{staticClass:"order"},[e._v(e._s(t.order_sn))])])])})),i("div",{staticClass:"banner"},[i("a",{attrs:{href:e.detail.link}},[i("img",{attrs:{src:e.detail.pic,alt:""}})])]),i("van-overlay",{attrs:{show:e.popup},on:{click:function(t){e.popup=!1}}},[i("div",{staticStyle:{display:"flex","align-items":"center","justify-content":"center",height:"100%"}},[i("transition",{attrs:{name:"van-fade"}},[i("div",{directives:[{name:"show",rawName:"v-show",value:e.popup,expression:"popup"}],staticClass:"popupWrapper",on:{click:function(e){e.stopPropagation()}}},[i("div",{staticClass:"singleWrapper"},[i("div",{staticClass:"name"},[e._v(e._s(e.detail.plugin_name))]),i("div",{staticClass:"container"},[i("div",{staticClass:"price"},[e._v(e._s(e.detail.cash))]),i("div",{staticClass:"text"},[e._v("现金红包")])]),i("div",{staticClass:"container"},[i("div",{staticClass:"price"},[e._v(e._s(e.detail.point))]),i("div",{staticClass:"text"},[e._v(e._s(e.detail.point_name))])]),i("div",{staticClass:"btn",on:{click:e.receive}},[e._v(" 领取 ")])]),i("div",{staticClass:"close"},[i("i",{staticClass:"iconfont icon-adsystem_icon_cancle",on:{click:function(t){e.popup=!1}}})])])])],1)]),i("van-overlay",{attrs:{show:e.withdrawal},on:{click:function(t){e.withdrawal=!1}}},[i("div",{staticStyle:{display:"flex","align-items":"center","justify-content":"center",height:"100%"}},[i("transition",{attrs:{name:"van-fade"}},[i("div",{directives:[{name:"show",rawName:"v-show",value:e.withdrawal,expression:"withdrawal"}],staticClass:"popupWrapper",on:{click:function(e){e.stopPropagation()}}},[i("div",{staticClass:"withdWrapper"},[i("div",{staticClass:"withdWrapper-text"},[e._v("微信红包")]),i("div",{staticClass:"btn",on:{click:e.handWithBtn}},[e._v("去提现")])])])])],1)]),i("van-popup",{staticStyle:{"max-height":"70%"},attrs:{round:"",position:"bottom",closeable:""},model:{value:e.profitShow,callback:function(t){e.profitShow=t},expression:"profitShow"}},[i("div",{staticClass:"profitWrapper"},[i("div",{staticClass:"title"},[e._v("填写资料")]),i("div",{staticClass:"profitForm"},[e.networkLoading?[e.profitShow?i("c-dyPopup",{attrs:{datas:e.dfData,form_data_id:e.form_data_id,form_id:e.form_id,status:!0},on:{submitsave:e.dfsave}}):e._e()]:e._e()],2)])]),i("van-overlay",{attrs:{show:e.qrcodeShow}},[i("div",{staticStyle:{display:"flex","align-items":"center","justify-content":"center",height:"100%"}},[i("transition",{attrs:{name:"van-slide-up"}},[i("div",{directives:[{name:"show",rawName:"v-show",value:e.qrcodeShow,expression:"qrcodeShow"}],staticClass:"explainWrapper",on:{click:function(e){e.stopPropagation()}}},[i("div",{staticClass:"header"},[i("i",{staticClass:"iconfont icon-guanbi",on:{click:function(t){e.qrcodeShow=!1}}})]),i("div",{staticClass:"img"},[i("img",{attrs:{src:e.qrcodeImg,alt:""}})]),i("div",{staticClass:"kf_guide"},[e._v(" 请在微信端打开并授权登录 ")])])])],1)])],2)},r=[function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"icon"},[i("img",{attrs:{src:"https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/consumer_reward_pay_success_img1.png",alt:""}})])}],s=(i("e7e5"),i("d399")),n=(i("14d9"),i("ef32")),o=i("d055"),c=i.n(o),d={components:{cDyPopup:n["a"]},data:function(){return{detail:{},order:[],popup:!1,withdrawal:!1,qrcodeShow:!1,qrcodeImg:"",is_form:0,dfData:{fields:{}},form_id:0,form_data_id:0,profitShow:!1,networkLoading:!1,cash:0,dividend_id:0}},created:function(){this.getData(),this.generate(),1==this.$route.query.is_scan&&this.receive()},methods:{getData:function(){var e=this;$http.get("plugin.consumer-reward.frontend.controllers.payment-jump.index",{pay_id:this.$route.query.pay_id},"").then((function(t){""!=t.msg&&Object(s["a"])(t.msg),1==t.result&&(e.detail=t.data,e.order=t.data.order,1==e.detail.popup&&(e.popup=!0))}))},receive:function(){var e=this;$http.get("plugin.consumer-reward.frontend.controllers.reward.receive-reward",{pay_id:this.$route.query.pay_id},"").then((function(t){Object(s["a"])(t.msg),1==t.result&&setTimeout((function(){e.popup=!1,1==e.detail.is_withdraw?1==e.detail.is_bind?(e.withdrawal=!0,e.dfData.fields=t.data.fields,e.form_id=t.data.form_id,e.networkLoading=!0,e.is_form=t.data.is_form,e.cash=t.data.cash,e.dividend_id=t.data.dividend_id):e.qrcodeShow=!0:e.$router.push(e.fun.getUrl("member",{}))}),1e3)}))},handWithBtn:function(){this.dfsave()},dfsave:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.form_data_id=t,$http.get("plugin.consumer-reward.frontend.controllers.withdraw.withdraw",{form_id:this.form_id,form_data_id:t,dividend_id:this.dividend_id,cash:this.cash},"").then((function(i){Object(s["a"])(i.msg),1==i.result&&(e.withdrawal=!1,0!=t&&(e.profitShow=!1))}))},generate:function(){var e=this,t=window.location.href+"&is_scan=1";c.a.toDataURL(t).then((function(t){e.qrcodeImg=t}))}}},p=d,l=p,m=(i("2db3"),i("2877")),b=Object(m["a"])(l,a,r,!1,null,"6d8ccbb8",null);t["default"]=b.exports},"2db3":function(e,t,i){"use strict";i("4658")},4658:function(e,t,i){var a=i("11dbd");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var r=i("499e").default;r("2ee3a094",a,!0,{sourceMap:!1,shadowMode:!1})}}]);