1 line
13 KiB
JavaScript
1 line
13 KiB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-member_application-index"],{"1de5":function(e,t,i){"use strict";e.exports=function(e,t){return t||(t={}),e=e&&e.__esModule?e.default:e,"string"!==typeof e?e:(/^['"].*['"]$/.test(e)&&(e=e.slice(1,-1)),t.hash&&(e+=t.hash),/["'() \t\n]/.test(e)||t.needQuotes?'"'.concat(e.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):e)}},"3cd5":function(e,t,i){e.exports=i.p+"static/img/vip1.4a702faf.png"},6133:function(e,t,i){var a=i("24fb"),n=i("1de5"),r=i("c47d");t=a(!1);var o=n(r);t.push([e.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/* crmeb颜色变量 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.box[data-v-479cf8ea]{position:relative;padding:%?207?% %?40?% 0 %?40?%;min-height:100vh;background:url('+o+');background-size:cover;background-repeat:no-repeat;background-attachment:fixed;overflow:hidden}.box .u-nav-slot[data-v-479cf8ea] .u-popup__content{padding-bottom:20%!important}.box .phone-money[data-v-479cf8ea]{width:%?604?%;height:%?140?%;position:absolute;top:2%;left:15%}.box .box-member[data-v-479cf8ea]{box-shadow:0 0 15px -5px #000;width:100%;box-sizing:border-box;border:1px solid transparent;background-image:linear-gradient(#ffd55d,#fd752f),linear-gradient(180deg,#ffd55d,#fdcb3b);background-origin:border-box;background-clip:content-box,border-box;border-radius:20px;position:relative}.box .box-member .box-title[data-v-479cf8ea]{position:absolute;top:%?-37?%;left:%?-203?%;margin-left:50%}.box .box-member .box-title uni-image[data-v-479cf8ea]{width:%?406?%;height:%?88?%;position:relative;display:flex;align-items:center;justify-content:center}.box .box-member .box-title uni-image[data-v-479cf8ea]::before{content:"会员详情介绍";position:absolute;font-size:%?34?%;font-family:Adobe Heiti Std;font-weight:400;color:#ff4b47;text-shadow:1px 5px 5px rgba(255,195,30,.78)}.box .box-member .member-list[data-v-479cf8ea]{margin:%?53?% %?30?% %?20?% %?30?%;position:relative}.box .box-member .member-list .member-item[data-v-479cf8ea]{padding:%?30?% %?20?% %?27?% %?20?%;display:flex;justify-content:space-between;background:#fff;margin-bottom:%?20?%;border-radius:%?20?%}.box .box-member .member-list .member-item .member-image[data-v-479cf8ea]{width:%?100?%;height:%?100?%;border-radius:%?35?%;background:linear-gradient(#ffebb2,#fdcb3b);padding:%?6?% %?13?%}.box .box-member .member-list .member-item .member-image uni-image[data-v-479cf8ea]{width:100%;height:100%}.box .box-member .member-list .member-item .member-text[data-v-479cf8ea]{display:flex;flex-direction:column;justify-content:space-between;flex:.9}.box .box-member .member-list .member-item .member-text .text-title[data-v-479cf8ea]{margin-top:%?-14?%;font-size:%?32?%;font-weight:bolder;-webkit-transform:skew(-6deg,0);transform:skew(-6deg,0);display:flex;justify-content:space-between}.box .box-member .member-list .member-item .member-text .text-title uni-text uni-text[data-v-479cf8ea]{color:#c80d00}.box .box-member .member-list .member-item .member-text .text-title uni-view[data-v-479cf8ea]{width:%?18?%;height:%?6?%;background:#feac49;border-radius:%?3?%}.box .box-member .member-list .member-item .member-text .text-content[data-v-479cf8ea]{font-size:%?24?%;color:#747474}.box .box-member .member-list .member-active[data-v-479cf8ea]{transition:.3s;background:linear-gradient(#ff995f,#da0e00)}.box .box-member .member-list .member-active .member-image[data-v-479cf8ea]{background:linear-gradient(#ff995f,#da0e00)}.box .box-member .member-list .member-active .member-text .text-title uni-text[data-v-479cf8ea]{color:#fff}.box .box-member .member-list .member-active .member-text .text-title uni-text uni-text[data-v-479cf8ea]{color:#dfd02a}.box .box-member .member-list .member-active .member-text .text-title uni-view[data-v-479cf8ea]{background:#fff}.box .box-member .member-list .member-active .member-text .text-content[data-v-479cf8ea]{color:#fff}.box .box-member .member-list .member-disbled[data-v-479cf8ea]{transition:.3s;background:linear-gradient(#efefef,#bcbcbc)}.box .box-member .member-list .member-disbled .member-image[data-v-479cf8ea]{background:linear-gradient(#efefef,#aaa)}.box .box-member .member-list .member-disbled .member-text .text-title uni-text[data-v-479cf8ea]{color:#868585}.box .box-member .member-list .member-disbled .member-text .text-title uni-text uni-text[data-v-479cf8ea]{color:#868585}.box .box-member .member-list .member-disbled .member-text .text-title uni-view[data-v-479cf8ea]{background:#fff}.box .box-member .member-list .member-disbled .member-text .text-content[data-v-479cf8ea]{color:#5c5c5c}.box .box-privilege[data-v-479cf8ea]{box-shadow:0 0 15px -5px #000;border-radius:%?36?%;width:100%;margin-top:9%;border-radius:20px;box-sizing:border-box;border:1px solid transparent;background-image:linear-gradient(#ffd55d,#fd752f),linear-gradient(180deg,#ffebb2,#fdcb3b);background-origin:border-box;background-clip:content-box,border-box;border-radius:20px;display:flex;flex:1;position:relative}.box .box-privilege .box-title[data-v-479cf8ea]{position:absolute;top:%?-37?%;left:%?-203?%;margin-left:50%}.box .box-privilege .box-title uni-image[data-v-479cf8ea]{width:%?406?%;height:%?88?%;position:relative;display:flex;align-items:center;justify-content:center}.box .box-privilege .box-title uni-image[data-v-479cf8ea]::before{content:"特权详情";position:absolute;font-size:%?34?%;font-family:Adobe Heiti Std;font-weight:400;color:#ff4b47;text-shadow:1px 5px 5px rgba(255,195,30,.78)}.box .box-privilege .privilege-list[data-v-479cf8ea]{margin:%?54?% %?10?% %?10?% %?10?%;display:flex;justify-content:space-between}.box .box-privilege .privilege-list .privilege-item[data-v-479cf8ea]{display:flex;flex-direction:column;align-items:center;justify-content:space-between;background:#fff;padding:%?6?% %?16?%;border-radius:%?20?%;margin:0 %?10?%}.box .box-privilege .privilege-list .privilege-item uni-image[data-v-479cf8ea]{width:%?96?%;height:%?96?%;border-radius:50%;margin-bottom:%?15?%}.box .box-privilege .privilege-list .privilege-item .privilege-text[data-v-479cf8ea]{color:#000;line-height:%?36?%;text-align:center;font-size:%?26?%}.box .box-others[data-v-479cf8ea]{width:46%;background:linear-gradient(#ff6672,#d60338);display:flex;justify-content:center;align-items:center;height:%?87?%;border-radius:%?44?%;color:#fff;font-size:%?32?%}.box .box-submit[data-v-479cf8ea]{width:46%;background:linear-gradient(#ffc82b,#fd7a32);display:flex;justify-content:center;align-items:center;height:%?87?%;border-radius:%?44?%;color:#fff;font-size:%?32?%}',""]),e.exports=t},"67af":function(e,t,i){var a=i("6133");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var n=i("4f06").default;n("69126ff9",a,!0,{sourceMap:!1,shadowMode:!1})},"71d3":function(e,t,i){"use strict";i.r(t);var a=i("aa56"),n=i("a868");for(var r in n)["default"].indexOf(r)<0&&function(e){i.d(t,e,(function(){return n[e]}))}(r);i("9204");var o=i("f0c5"),s=Object(o["a"])(n["default"],a["b"],a["c"],!1,null,"479cf8ea",null,!1,a["a"],void 0);t["default"]=s.exports},"7f0a":function(e,t,i){e.exports=i.p+"static/img/phoneMoney.00b97281.png"},9204:function(e,t,i){"use strict";var a=i("67af"),n=i.n(a);n.a},a868:function(e,t,i){"use strict";i.r(t);var a=i("ceca"),n=i.n(a);for(var r in a)["default"].indexOf(r)<0&&function(e){i.d(t,e,(function(){return a[e]}))}(r);t["default"]=n.a},aa56:function(e,t,i){"use strict";i.d(t,"b",(function(){return a})),i.d(t,"c",(function(){return n})),i.d(t,"a",(function(){}));var a=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("v-uni-view",{staticClass:"box"},[a("v-uni-image",{staticClass:"phone-money",attrs:{src:i("7f0a")}}),a("v-uni-view",{staticClass:"box-member"},[a("v-uni-view",{staticClass:"box-title"},[a("v-uni-image",{attrs:{src:i("d0b7")}})],1),a("v-uni-view",{staticClass:"member-list"},e._l(e.memberData,(function(t,n){return a("v-uni-view",{key:n,class:[e.activeIndex.includes(n)&&"member-active",!!parseInt(t.isExist)&&"member-disbled","member-item"],on:{click:function(i){arguments[0]=i=e.$handleEvent(i),e.handleMember(t,n)}}},[a("v-uni-view",{staticClass:"member-image"},[a("v-uni-image",{directives:[{name:"show",rawName:"v-show",value:!parseInt(t.isExist),expression:"!!!parseInt(item.isExist)"}],attrs:{src:i("8ec9")}}),a("v-uni-image",{directives:[{name:"show",rawName:"v-show",value:!!parseInt(t.isExist),expression:"!!parseInt(item.isExist)"}],attrs:{src:i("5bd2")}})],1),a("v-uni-view",{staticClass:"member-text"},[a("v-uni-view",{staticClass:"text-title"},[a("v-uni-text",[e._v(e._s(t.name.split("得")[0])+"得"),a("v-uni-text",[e._v(e._s(t.name.split("得")[1]))])],1),a("v-uni-view")],1),a("v-uni-text",{staticClass:"text-content"},[e._v(e._s(t.gearRemarks))])],1)],1)})),1)],1),a("v-uni-view",{staticClass:"box-privilege"},[a("v-uni-view",{staticClass:"box-title"},[a("v-uni-image",{attrs:{src:i("d0b7")}})],1),a("v-uni-view",{staticClass:"privilege-list"},e._l(4,(function(t,n){return a("v-uni-view",{key:n,staticClass:"privilege-item"},[a("v-uni-image",{attrs:{src:i("3cd5")}}),a("v-uni-text",{staticClass:"privilege-text"},[e._v("开通立享大额话费返送。")])],1)})),1)],1),a("paymentMember",{attrs:{payMode:e.payMode,pay_close:e.pay_close,payInfo:e.payInfo},on:{onChangeFun:function(t){arguments[0]=t=e.$handleEvent(t),e.onChangeFun.apply(void 0,arguments)}}}),a("v-uni-view",{staticStyle:{display:"flex","justify-content":"space-between","margin-top":"4%"}},[a("v-uni-button",{staticClass:"box-submit",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.goPay.apply(void 0,arguments)}}},[e._v("立即充值")]),a("v-uni-button",{staticClass:"box-others",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.handleOther.apply(void 0,arguments)}}},[e._v("代他人充值")])],1)],1)},n=[]},ceca:function(e,t,i){"use strict";i("7a82");var a=i("4ea4").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,i("d3b7"),i("e25e"),i("caad"),i("2532"),i("4de4"),i("14d9"),i("d81d");var n=a(i("ade3")),r=a(i("5530")),o=a(i("c7eb")),s=a(i("1da1")),b=i("43cd"),m=a(i("ae4b")),d=a(i("821a")),c={name:"member_application",components:{paymentMember:m.default},data:function(){return{memberData:[],payInfo:{userPhone:"",confirmPhone:"",orderInfos:[]},payMode:[{name:"微信支付",icon:"icon-weixinzhifu",value:"WXPAY",title:"微信快捷支付"},{name:"支付宝",icon:"icon-zhifubao",value:"ALIPAY",title:"支付宝快捷支付"}],pay_close:!1,activeIndex:[],form:{phone:""},show:!0,ref:null}},onShow:function(){var e=this;return(0,s.default)((0,o.default)().mark((function t(){var i;return(0,o.default)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,uni.showLoading({title:"加载中",mask:!0}),t.next=4,(0,b.memberGradeInfo)();case 4:i=t.sent,i.data.some((function(e){return!!parseInt(e.isExist)}))?(uni.setTabBarItem({index:2,pagePath:"/pages/member_equity/index"}),uni.switchTab({url:"/pages/member_equity/index"})):uni.setTabBarItem({index:2,pagePath:"/pages/member_application/index"}),e.memberData=i.data;case 7:return t.prev=7,uni.hideLoading(),t.finish(7);case 10:case"end":return t.stop()}}),t,null,[[0,,7,10]])})))()},methods:(0,n.default)({handleOther:function(){uni.navigateTo({url:"/pages/member_others/index"})},handleSelect:function(e){switch(e.name){case"购买记录":uni.navigateTo({url:"/pages/member_record/index"});break;case"代他人充值":uni.navigateTo({url:"/pages/member_others/index"});break;default:break}},handleMember:function(e,t){parseInt(e.isExist)||(this.activeIndex.includes(t)?this.activeIndex=this.activeIndex.filter((function(e){return e!==t})):this.activeIndex.push(t))},goPay:function(){var e=this;if(this.activeIndex.length){this.$set(this,"pay_close",!0);var t=this.activeIndex.map((function(t){return(0,r.default)((0,r.default)({},e.memberData[t]),{},{gearId:e.memberData[t].id})}));this.payInfo={userPhone:d.default.state.app.userInfo.mobile,orderInfos:t}}else this.$util.Tips({title:"请选择档次套餐"})},onChangeFun:function(e){var t=e,i=t.action||null,a=void 0!=t.value?t.value:null;i&&this[i]&&this[i](a)},payClose:function(){this.pay_close=!1},pay_complete:function(){this.status=!1,this.page=1,this.$set(this,"bargain",[]),this.$set(this,"pay_close",!1),this.getBargainUserList()},pay_fail:function(){this.pay_close=!1}},"onChangeFun",(function(e){var t=e,i=t.action||null,a=void 0!=t.value?t.value:null;i&&this[i]&&this[i](a)}))};t.default=c}}]); |