1 line
20 KiB
JavaScript
1 line
20 KiB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-member_others-index"],{"18c6":function(e,t,r){var i=r("6389");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var a=r("4f06").default;a("ee357a6a",i,!0,{sourceMap:!1,shadowMode:!1})},"192b":function(e,t,r){"use strict";r.d(t,"b",(function(){return a})),r.d(t,"c",(function(){return n})),r.d(t,"a",(function(){return i}));var i={uStatusBar:r("1b68").default,uIcon:r("032e").default},a=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("v-uni-view",{staticClass:"u-navbar"},[e.fixed&&e.placeholder?r("v-uni-view",{staticClass:"u-navbar__placeholder",style:{height:e.$u.addUnit(e.$u.getPx(e.height)+e.$u.sys().statusBarHeight,"px")}}):e._e(),r("v-uni-view",{class:[e.fixed&&"u-navbar--fixed"]},[e.safeAreaInsetTop?r("u-status-bar",{attrs:{bgColor:e.bgColor}}):e._e(),r("v-uni-view",{staticClass:"u-navbar__content",class:[e.border&&"u-border-bottom"],style:{height:e.$u.addUnit(e.height),backgroundColor:e.bgColor}},[r("v-uni-view",{staticClass:"u-navbar__content__left",attrs:{"hover-class":"u-navbar__content__left--hover","hover-start-time":"150"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.leftClick.apply(void 0,arguments)}}},[e._t("left",[e.leftIcon?r("u-icon",{attrs:{name:e.leftIcon,size:e.leftIconSize,color:e.leftIconColor}}):e._e(),e.leftText?r("v-uni-text",{staticClass:"u-navbar__content__left__text",style:{color:e.leftIconColor}},[e._v(e._s(e.leftText))]):e._e()])],2),e._t("center",[r("v-uni-text",{staticClass:"u-line-1 u-navbar__content__title",style:[{width:e.$u.addUnit(e.titleWidth)},e.$u.addStyle(e.titleStyle)]},[e._v(e._s(e.title))])]),e.$slots.right||e.rightIcon||e.rightText?r("v-uni-view",{staticClass:"u-navbar__content__right",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.rightClick.apply(void 0,arguments)}}},[e._t("right",[e.rightIcon?r("u-icon",{attrs:{name:e.rightIcon,size:"20"}}):e._e(),e.rightText?r("v-uni-text",{staticClass:"u-navbar__content__right__text"},[e._v(e._s(e.rightText))]):e._e()])],2):e._e()],2)],1)],1)},n=[]},"1d47":function(e,t,r){"use strict";r("7a82"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r("a9e3");var i={props:{safeAreaInsetTop:{type:Boolean,default:uni.$u.props.navbar.safeAreaInsetTop},placeholder:{type:Boolean,default:uni.$u.props.navbar.placeholder},fixed:{type:Boolean,default:uni.$u.props.navbar.fixed},border:{type:Boolean,default:uni.$u.props.navbar.border},leftIcon:{type:String,default:uni.$u.props.navbar.leftIcon},leftText:{type:String,default:uni.$u.props.navbar.leftText},rightText:{type:String,default:uni.$u.props.navbar.rightText},rightIcon:{type:String,default:uni.$u.props.navbar.rightIcon},title:{type:[String,Number],default:uni.$u.props.navbar.title},bgColor:{type:String,default:uni.$u.props.navbar.bgColor},titleWidth:{type:[String,Number],default:uni.$u.props.navbar.titleWidth},height:{type:[String,Number],default:uni.$u.props.navbar.height},leftIconSize:{type:[String,Number],default:uni.$u.props.navbar.leftIconSize},leftIconColor:{type:String,default:uni.$u.props.navbar.leftIconColor},autoBack:{type:Boolean,default:uni.$u.props.navbar.autoBack},titleStyle:{type:[String,Object],default:uni.$u.props.navbar.titleStyle}}};t.default=i},"32bf":function(e,t,r){"use strict";var i=r("18c6"),a=r.n(i);a.a},"3ae8":function(e,t,r){"use strict";r.r(t);var i=r("82fa"),a=r.n(i);for(var n in i)["default"].indexOf(n)<0&&function(e){r.d(t,e,(function(){return i[e]}))}(n);t["default"]=a.a},"4e69":function(e,t,r){"use strict";r.r(t);var i=r("b32b"),a=r("3ae8");for(var n in a)["default"].indexOf(n)<0&&function(e){r.d(t,e,(function(){return a[e]}))}(n);r("32bf");var o=r("f0c5"),s=Object(o["a"])(a["default"],i["b"],i["c"],!1,null,"4f314802",null,!1,i["a"],void 0);t["default"]=s.exports},5167:function(e,t,r){var i=r("8693");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var a=r("4f06").default;a("6d534a14",i,!0,{sourceMap:!1,shadowMode:!1})},"5f82":function(e,t,r){"use strict";r("7a82");var i=r("4ea4").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=i(r("1d47")),n={name:"u-navbar",mixins:[uni.$u.mpMixin,uni.$u.mixin,a.default],data:function(){return{}},methods:{leftClick:function(){this.$emit("leftClick"),this.autoBack&&uni.navigateBack()},rightClick:function(){this.$emit("rightClick")}}};t.default=n},6389:function(e,t,r){var i=r("24fb"),a=r("1de5"),n=r("c47d");t=i(!1);var o=a(n);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-4f314802]{margin-top:10%;position:relative;padding:8% %?40?% %?30?% %?40?%;min-height:100vh;background:url('+o+');background-size:cover;background-repeat:no-repeat;background-attachment:fixed}.box .box-phone .u-form-item[data-v-4f314802]{margin-bottom:%?32?%}.box .box-phone[data-v-4f314802] .u-form-item__body{height:%?100?%;border-radius:%?20?%;padding:0 %?30?%;background:#fff}.box[data-v-4f314802] .u-form-item__body__right__message{margin-top:%?10?%;color:#fff;font-size:%?26?%}.box .phone-money[data-v-4f314802]{width:%?604?%;height:%?140?%;position:absolute;top:2%;left:15%}.box .box-member[data-v-4f314802]{margin-top:10%;box-shadow:0 0 15px -5px #000;width:100%;border-radius:20px;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-4f314802]{position:absolute;top:%?-37?%;left:%?-203?%;margin-left:50%}.box .box-member .box-title uni-image[data-v-4f314802]{width:%?406?%;height:%?88?%;position:relative;display:flex;align-items:center;justify-content:center}.box .box-member .box-title uni-image[data-v-4f314802]::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-4f314802]{margin:%?53?% %?30?% %?20?% %?30?%;position:relative}.box .box-member .member-list .member-item[data-v-4f314802]{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-4f314802]{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-4f314802]{width:100%;height:100%}.box .box-member .member-list .member-item .member-text[data-v-4f314802]{display:flex;flex-direction:column;justify-content:space-between;flex:.9}.box .box-member .member-list .member-item .member-text .text-title[data-v-4f314802]{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-4f314802]{color:#c80d00}.box .box-member .member-list .member-item .member-text .text-title uni-view[data-v-4f314802]{width:%?18?%;height:%?6?%;background:#feac49;border-radius:%?3?%}.box .box-member .member-list .member-item .member-text .text-content[data-v-4f314802]{font-size:%?24?%;color:#747474}.box .box-member .member-list .member-active[data-v-4f314802]{transition:.3s;background:linear-gradient(#ff995f,#da0e00)}.box .box-member .member-list .member-active .member-image[data-v-4f314802]{background:linear-gradient(#ff995f,#da0e00)}.box .box-member .member-list .member-active .member-text .text-title uni-text[data-v-4f314802]{color:#fff}.box .box-member .member-list .member-active .member-text .text-title uni-text uni-text[data-v-4f314802]{color:#dfd02a}.box .box-member .member-list .member-active .member-text .text-title uni-view[data-v-4f314802]{background:#fff}.box .box-member .member-list .member-active .member-text .text-content[data-v-4f314802]{color:#fff}.box .box-member .member-list .member-disbled[data-v-4f314802]{transition:.3s;background:linear-gradient(#efefef,#bcbcbc)}.box .box-member .member-list .member-disbled .member-image[data-v-4f314802]{background:linear-gradient(#efefef,#aaa)}.box .box-member .member-list .member-disbled .member-text .text-title uni-text[data-v-4f314802]{color:#868585}.box .box-member .member-list .member-disbled .member-text .text-title uni-text uni-text[data-v-4f314802]{color:#868585}.box .box-member .member-list .member-disbled .member-text .text-title uni-view[data-v-4f314802]{background:#fff}.box .box-member .member-list .member-disbled .member-text .text-content[data-v-4f314802]{color:#5c5c5c}.box .box-member .member-list .member-prompt[data-v-4f314802]{display:flex;justify-content:center;font-size:%?24?%;color:#fff}.box .box-privilege[data-v-4f314802]{box-shadow:0 0 15px -5px #000;border-radius:%?36?%;width:100%;margin-top:12%;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-4f314802]{position:absolute;top:-9%;left:%?-203?%;margin-left:50%}.box .box-privilege .box-title uni-image[data-v-4f314802]{width:%?406?%;height:%?87?%;position:relative;display:flex;align-items:center;justify-content:center}.box .box-privilege .box-title uni-image[data-v-4f314802]::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-4f314802]{margin:%?84?% %?10?% %?40?% %?10?%;display:flex;justify-content:space-between}.box .box-privilege .privilege-list .privilege-item[data-v-4f314802]{display:flex;flex-direction:column;align-items:center;justify-content:space-between;background:#fff;padding:%?16?% %?16?%;border-radius:%?20?%;margin:0 %?10?%}.box .box-privilege .privilege-list .privilege-item uni-image[data-v-4f314802]{width:%?96?%;height:%?96?%;border-radius:50%;margin-bottom:%?15?%}.box .box-privilege .privilege-list .privilege-item .privilege-text[data-v-4f314802]{color:#000;line-height:%?36?%;text-align:center;font-size:%?26?%}.box .box-submit[data-v-4f314802]{background:linear-gradient(#ffc82b,#fd7a32);margin-top:9%;display:flex;justify-content:center;align-items:center;height:%?87?%;border-radius:%?44?%;color:#fff;font-size:%?32?%}',""]),e.exports=t},"82fa":function(e,t,r){"use strict";r("7a82");var i=r("4ea4").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r("e25e"),r("caad"),r("2532"),r("4de4"),r("d3b7"),r("14d9"),r("d81d");var a=i(r("ade3")),n=i(r("5530")),o=i(r("c7eb")),s=i(r("1da1")),l=r("43cd"),u=i(r("ae4b")),f=(i(r("821a")),{name:"member_application",components:{paymentMember:u.default},data:function(){var e=this;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:{userPhone:"",confirmPhone:""},rules:{userName:[{required:!0,message:"姓名不能为空",trigger:["blur"]}],userPhone:[{required:!0,message:"手机号不能为空",trigger:["blur"]},{pattern:/^(13[0-9]|14[01456879]|15[0-35-9]|16[2567]|17[0-8]|18[0-9]|19[1-25-9])\d{8}$/g,transform:function(e){return String(e)},message:"手机号不正确(190.193号段不可充值)",trigger:["blur"]}],confirmPhone:[{required:!0,message:"手机号确认不能为空",trigger:["blur"]},{validator:function(t,r,i){return e.form.userPhone==e.form.confirmPhone},message:"手机号不一致",trigger:["blur"]}]}}},onLoad:function(){var e=this;return(0,s.default)((0,o.default)().mark((function t(){var r;return(0,o.default)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return uni.showLoading({title:"加载中",mask:!0}),t.prev=1,t.next=4,(0,l.memberByHomeGradeInfo)();case 4:r=t.sent,e.memberData=r.data;case 6:return t.prev=6,uni.hideLoading(),t.finish(6);case 9:case"end":return t.stop()}}),t,null,[[1,,6,9]])})))()},watch:{"form.userPhone":function(e){this.verify(e)},"form.confirmPhone":function(e){this.verify(e)}},methods:(0,a.default)({verify:function(e){var t=this;return(0,s.default)((0,o.default)().mark((function r(){var i;return(0,o.default)().wrap((function(r){while(1)switch(r.prev=r.next){case 0:if(t.form.userPhone!=t.form.confirmPhone){r.next=5;break}return r.next=3,(0,l.memberByHomeGradeInfo)(e);case 3:i=r.sent,t.memberData=i.data;case 5:case"end":return r.stop()}}),r)})))()},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;this.$refs.uForm.validate().then((function(t){if(e.activeIndex.length){e.$set(e,"pay_close",!0);var r=e.activeIndex.map((function(t){return(0,n.default)((0,n.default)({},e.memberData[t]),{},{gearId:e.memberData[t].id})}));e.payInfo={userName:e.form.userName,userPhone:e.form.userPhone,confirmPhone:e.form.confirmPhone,orderInfos:r}}else e.$util.Tips({title:"请选择档次套餐"})})).catch((function(e){}))},onChangeFun:function(e){var t=e,r=t.action||null,i=void 0!=t.value?t.value:null;r&&this[r]&&this[r](i)},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,r=t.action||null,i=void 0!=t.value?t.value:null;r&&this[r]&&this[r](i)}))});t.default=f},8693:function(e,t,r){var i=r("24fb");t=i(!1),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/* 文章场景相关 */uni-view[data-v-5302c461], uni-scroll-view[data-v-5302c461], uni-swiper-item[data-v-5302c461]{display:flex;flex-direction:column;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}.u-navbar--fixed[data-v-5302c461]{position:fixed;left:0;right:0;top:0;z-index:11}.u-navbar__content[data-v-5302c461]{display:flex;flex-direction:row;align-items:center;height:44px;background-color:#9acafc;position:relative;justify-content:center}.u-navbar__content__left[data-v-5302c461], .u-navbar__content__right[data-v-5302c461]{padding:0 13px;position:absolute;top:0;bottom:0;display:flex;flex-direction:row;align-items:center}.u-navbar__content__left[data-v-5302c461]{left:0}.u-navbar__content__left--hover[data-v-5302c461]{opacity:.7}.u-navbar__content__left__text[data-v-5302c461]{font-size:15px;margin-left:3px}.u-navbar__content__title[data-v-5302c461]{text-align:center;font-size:16px;color:#303133}.u-navbar__content__right[data-v-5302c461]{right:0}.u-navbar__content__right__text[data-v-5302c461]{font-size:15px;margin-left:3px}',""]),e.exports=t},"9b53":function(e,t,r){"use strict";r.r(t);var i=r("192b"),a=r("e43b");for(var n in a)["default"].indexOf(n)<0&&function(e){r.d(t,e,(function(){return a[e]}))}(n);r("a2aa");var o=r("f0c5"),s=Object(o["a"])(a["default"],i["b"],i["c"],!1,null,"5302c461",null,!1,i["a"],void 0);t["default"]=s.exports},a2aa:function(e,t,r){"use strict";var i=r("5167"),a=r.n(i);a.a},b32b:function(e,t,r){"use strict";r.d(t,"b",(function(){return a})),r.d(t,"c",(function(){return n})),r.d(t,"a",(function(){return i}));var i={"u-Form":r("1f60").default,uFormItem:r("c431").default,"u-Input":r("f193").default,uNavbar:r("9b53").default},a=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("v-uni-view",{staticClass:"box"},[i("v-uni-view",{staticClass:"box-phone"},[i("u--form",{ref:"uForm",attrs:{model:e.form,rules:e.rules,labelWidth:"100",errorType:"toast"}},[i("u-form-item",{attrs:{label:"姓名",prop:"userName"}},[i("u--input",{attrs:{maxlength:"11",placeholder:"请输入您的姓名"},model:{value:e.form.userName,callback:function(t){e.$set(e.form,"userName",t)},expression:"form.userName"}})],1),i("u-form-item",{attrs:{label:"手机号",prop:"userPhone"}},[i("u--input",{attrs:{maxlength:"11",placeholder:"请输入您的手机号"},model:{value:e.form.userPhone,callback:function(t){e.$set(e.form,"userPhone",t)},expression:"form.userPhone"}})],1),i("u-form-item",{attrs:{label:"手机号",prop:"confirmPhone"}},[i("u--input",{attrs:{maxlength:"11",placeholder:"请再次确认您的手机号"},model:{value:e.form.confirmPhone,callback:function(t){e.$set(e.form,"confirmPhone",t)},expression:"form.confirmPhone"}})],1)],1)],1),i("v-uni-view",{staticClass:"box-member"},[i("v-uni-view",{staticClass:"box-title"},[i("v-uni-image",{attrs:{src:r("d0b7")}})],1),i("v-uni-view",{staticClass:"member-list"},[e._l(e.memberData,(function(t,a){return i("v-uni-view",{key:a,class:[e.activeIndex.includes(a)&&"member-active",!!parseInt(t.isExist)&&"member-disbled","member-item"],on:{click:function(r){arguments[0]=r=e.$handleEvent(r),e.handleMember(t,a)}}},[i("v-uni-view",{staticClass:"member-image"},[i("v-uni-image",{directives:[{name:"show",rawName:"v-show",value:!parseInt(t.isExist),expression:"!!!parseInt(item.isExist)"}],attrs:{src:r("8ec9")}}),i("v-uni-image",{directives:[{name:"show",rawName:"v-show",value:!!parseInt(t.isExist),expression:"!!parseInt(item.isExist)"}],attrs:{src:r("5bd2")}})],1),i("v-uni-view",{staticClass:"member-text"},[i("v-uni-view",{staticClass:"text-title"},[i("v-uni-text",[e._v(e._s(t.name.split("得")[0])+"得"),i("v-uni-text",[e._v(e._s(t.name.split("得")[1]))])],1),i("v-uni-view")],1),i("v-uni-text",{staticClass:"text-content"},[e._v(e._s(t.gearRemarks))])],1)],1)})),i("v-uni-view",{staticClass:"member-prompt"},[e._v("* 办理三个项目即可升级会员2,会员2享XX权益。")])],2)],1),i("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)}}}),i("v-uni-button",{staticClass:"box-submit",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.goPay.apply(void 0,arguments)}}},[e._v("立即充值")]),i("u-navbar",{attrs:{autoBack:!0,title:"代他人充值"}})],1)},n=[]},e43b:function(e,t,r){"use strict";r.r(t);var i=r("5f82"),a=r.n(i);for(var n in i)["default"].indexOf(n)<0&&function(e){r.d(t,e,(function(){return i[e]}))}(n);t["default"]=a.a}}]); |