| | |
| | | 免费升级 阶梯成长 权益倍增
|
| | | </div>
|
| | | </div>
|
| | | <div>
|
| | | <div class="levelClass_bg_1">
|
| | | <div style="height: 0.17rem;"></div>
|
| | | <div class="levelClass_1">
|
| | | <div class="" style="display: flex; justify-content: space-between;">
|
| | | <div class="div_upgradeprogress_set" style="margin-left: 0.62rem;">
|
| | | 返利订单:
|
| | | <div class="div_upgradeprogress_set" style="margin-left: 0.37rem;">
|
| | | 我的订单:<span style="font-size: 0.16rem;">(返利订单+分享订单)</span>
|
| | | </div>
|
| | | <div class="div_upgradeprogress_set" style="margin-right: 0.62rem;">
|
| | | {{progress.finishFanliOrder}}笔/{{progress.totalFanliOrder}}笔
|
| | | <div class="div_upgradeprogress_set" style="margin-right: 0.44rem;">
|
| | | {{progress.limitOrder}}笔
|
| | | </div>
|
| | | </div>
|
| | | <div class="div_upgradeprogress_small_bg">
|
| | | <div class="div_upgradeprogress_small" :style="{'width':finishFanliOrderProgress}">
|
| | | <div class="div_upgradeprogress_small" :style="{'width':finishMyOrderProgress}">
|
| | | </div>
|
| | | </div>
|
| | | <div class="levelClass_title_1">
|
| | | 升级方式一
|
| | | </div>
|
| | | </div>
|
| | | </div>
|
| | | <div class="levelClass_bg_2">
|
| | | <div style="height: 0.17rem;"></div>
|
| | | <div class="levelClass_2">
|
| | | <div>
|
| | | <div class="" style="display: flex; justify-content: space-between;">
|
| | | <div class="div_upgradeprogress_set" style="margin-left: 0.37rem;">
|
| | | 直接粉丝:
|
| | | </div>
|
| | | <div class="div_upgradeprogress_set" style="margin-right: 0.44rem;">
|
| | | {{progress.limitFirst}}人
|
| | | </div>
|
| | | </div>
|
| | | <div class="div_upgradeprogress_small_bg">
|
| | | <div class="div_upgradeprogress_small" :style="{'width':finishFirstFansProgress}">
|
| | | </div>
|
| | | </div>
|
| | | </div>
|
| | | <div>
|
| | | <div class="" style="display: flex; justify-content: space-between;">
|
| | | <div class="div_upgradeprogress_set" style="margin-left: 0.62rem;">
|
| | | 分享订单:
|
| | | <div class="div_upgradeprogress_set" style="margin-left: 0.37rem;">
|
| | | 间接粉丝
|
| | | </div>
|
| | | <div class="div_upgradeprogress_set" style="margin-right: 0.62rem;">
|
| | | {{progress.finishShareOrder}}笔/{{progress.totalShareOrder}}笔
|
| | | <div class="div_upgradeprogress_set" style="margin-right: 0.44rem;">
|
| | | {{progress.limitSecond}}人
|
| | | </div>
|
| | | </div>
|
| | | <div class="div_upgradeprogress_small_bg">
|
| | | <div class="div_upgradeprogress_small" :style="{'width':finishShareOrderProgress}">
|
| | | <div class="div_upgradeprogress_small" :style="{'width':finishSecondFansProgress}">
|
| | | </div>
|
| | | </div>
|
| | | <div class="levelClass_title_1">
|
| | | 升级方式二
|
| | | </div>
|
| | | <div>
|
| | | <div class="" style="display: flex; justify-content: space-between;">
|
| | | <div class="div_upgradeprogress_set" style="margin-left: 0.62rem;">
|
| | | 有效直接+间接粉丝:
|
| | | </div>
|
| | | <div class="div_upgradeprogress_set" style="margin-right: 0.62rem;">
|
| | | {{progress.finishDirectFans}}+{{progress.finishInDirectFans}}人/{{progress.totalDirectFans}}+{{progress.totalInDirectFans}}人
|
| | | </div>
|
| | | </div>
|
| | | <div class="div_upgradeprogress_small_bg">
|
| | | <div class="div_upgradeprogress_small" :style="{'width':finishFansProgress}">
|
| | | </div>
|
| | | </div>
|
| | | </div>
|
| | |
| | | </div>
|
| | | <div class="progress_condition_desc">
|
| | | 1.统计时间:返利/分享订单、直接/间接粉丝都是以注册板栗快省之日起开始计算;<br>
|
| | | 2.订单:实付款≥1元且已到账的订单 <br>
|
| | | 3.有效粉丝:产生过一笔实付款≥1元且已确认收货的订单的粉丝
|
| | | 2.有效订单:实付款≥1元的订单已到账后为有效订单;<br>
|
| | | 3.有效粉丝:粉丝至少产生一笔实付款≥1元的订单已收货后为有效粉丝。
|
| | | </div>
|
| | | <div style="height: 0.3rem;"></div>
|
| | | </div>
|
| | | <div style="height: 0.40rem;"></div>
|
| | | </div>
|
| | | <!-- 会员权益 -->
|
| | | <div class="div_quanyi_headerbg">
|
| | |
| | | <div class="div_quanyi_title">
|
| | | <div class="div_quanyi_actived" @click="changeVipInfo(1)" :style="bgColor.styleactived">
|
| | | 快省达人
|
| | | </div>
|
| | | <div class="div_quanyi_vipPre1" @click="changeVipInfo(2)" :style="bgColor.stylevipPre1">
|
| | | 普通会员
|
| | | </div>
|
| | | <div class="div_quanyi_vipPre2" @click="changeVipInfo(3)" :style="bgColor.stylevipPre2">
|
| | | 高级会员
|
| | |
| | | <div>自购返利</div>
|
| | | </div>
|
| | | <div class="makesave_contrast_desc">
|
| | | <div class="makesave_contrast_desc1">
|
| | | ¥100+¥52.5
|
| | | <div class="makesave_contrast_desc1_content1">
|
| | | ¥100+¥45
|
| | | </div>
|
| | | <div class="makesave_contrast_desc2">
|
| | | 佣金+平台补贴
|
| | | </div>
|
| | | </div>
|
| | | <div class="makesave_contrast_desc">
|
| | | <div class="makesave_contrast_desc1">
|
| | | ¥100+¥115
|
| | | <div class="makesave_contrast_desc1_body">
|
| | | ¥100+¥110
|
| | | </div>
|
| | | <div class="makesave_contrast_desc2">
|
| | | <div class="makesave_contrast_desc2_body">
|
| | | 佣金+平台补贴
|
| | | </div>
|
| | | </div>
|
| | | </div>
|
| | |
|
| | | <div class="makesave_contrast_body_bg">
|
| | | <div class="makesave_contrast_body_bg_2">
|
| | | <div class="makesave_contrast_body_title">
|
| | | <img src="img/icon_jiangjin.png">
|
| | | <div>分享奖金</div>
|
| | | </div>
|
| | | <div class="makesave_contrast_desc">
|
| | | <div class="makesave_contrast_desc1">
|
| | | ¥100+¥52.5
|
| | | ¥100+¥45
|
| | | </div>
|
| | | <div class="makesave_contrast_desc2">
|
| | | 佣金+平台补贴
|
| | | </div>
|
| | | </div>
|
| | | <div class="makesave_contrast_desc">
|
| | | <div class="makesave_contrast_desc1">
|
| | | ¥100+¥115
|
| | | <div class="makesave_contrast_desc1_body">
|
| | | ¥100+¥110
|
| | | </div>
|
| | | <div class="makesave_contrast_desc2">
|
| | | <div class="makesave_contrast_desc2_body">
|
| | | 佣金+平台补贴
|
| | | </div>
|
| | | </div>
|
| | | </div>
|
| | |
|
| | | <div class="makesave_contrast_body_bg">
|
| | | <div class="makesave_contrast_body_title">
|
| | | <img src="img/icon_teambouns.png">
|
| | | <div>团队奖金</div>
|
| | | </div>
|
| | | <div class="makesave_contrast_butie_desc2">
|
| | | 直接粉丝+¥7.5<br />
|
| | | 间接粉丝+¥2.5
|
| | | </div>
|
| | | <div class="makesave_contrast_butie_desc2">
|
| | | 同快省达人
|
| | | </div>
|
| | | </div>
|
| | |
|
| | | <div class="makesave_contrast_body_bg">
|
| | | <div class="makesave_contrast_body_title">
|
| | | <img src="img/icon_butie.png">
|
| | | <div>团队补贴</div>
|
| | | </div>
|
| | | <div class="makesave_contrast_butie_desc2">
|
| | | 直接粉丝+¥15<br />
|
| | | 间接粉丝+¥2.5
|
| | | </div>
|
| | | <div class="makesave_contrast_butie_desc2">
|
| | | 直接粉丝+¥30<br />
|
| | | 间接粉丝+¥10
|
| | | </div>
|
| | | </div>
|
| | |
|
| | | <div class="makesave_contrast_body_bg">
|
| | | <div class="makesave_contrast_body_title">
|
| | | <img src="img/icon_teamfenhong.png">
|
| | | <div>团队分红</div>
|
| | | </div>
|
| | | <div class="makesave_contrast_butie_desc1">
|
| | | ---
|
| | | </div>
|
| | | <div class="makesave_contrast_butie_desc2">
|
| | | 无限代分红
|
| | | </div>
|
| | | </div>
|
| | | </div>
|
| | |
| | | A:全网稍微对比研究一下就知道咯~
|
| | | </div>
|
| | | <div class="div_common_problem_normol">
|
| | | Q:奖励券怎么用?<br />
|
| | | A:奖励券是邀请利器哦,助力你邀请好友
|
| | | </div>
|
| | | <div class="div_common_problem_selct">
|
| | | Q:快省达人也有团队补贴吗?<br />
|
| | | A:是的,团队补贴会随着会员阶段提升而升高。
|
| | | </div>
|
| | | <div class="div_common_problem_normol">
|
| | | Q:成为超级会员三个条件都要满足吗?<br />
|
| | | Q:成为会员两个条件都需满足吗?<br />
|
| | | A:不是,仅需满足其中一个条件即可。
|
| | | </div>
|
| | | <div class="div_common_problem_selct">
|
| | | Q:达到普通、高级会员阶段会自动升级吗?<br />
|
| | | A:是的。且能自动获得对应权益。
|
| | | Q:满足高级会员条件后会自动升级吗?<br />
|
| | | A:会,无需手动申请。
|
| | | </div>
|
| | | <div class="div_common_problem_normol">
|
| | | Q:满足超级会员条件后会自动升级吗?<br />
|
| | |
| | | nextlevel: ''
|
| | | },
|
| | | progress: {
|
| | | finishFanliOrder: '',
|
| | | totalFanliOrder: '',
|
| | | finishShareOrder: '',
|
| | | totalShareOrder: '',
|
| | | finishDirectFans: '',
|
| | | finishInDirectFans: '',
|
| | | totalDirectFans: '',
|
| | | totalInDirectFans: '',
|
| | | doneOrder: '',
|
| | | limitOrder: '',
|
| | | limitFirst: '',
|
| | | limitSecond: '',
|
| | | doneFirst: '',
|
| | | doneSecond: '',
|
| | | nextLevelProgress: ''
|
| | | },
|
| | | master: {
|
| | | platformSubsidy: '',
|
| | | school: '',
|
| | | teamSubsidy: '',
|
| | | teamReward: ''
|
| | | daRen: {
|
| | | enjoyRate: '',
|
| | | teamRate: '',
|
| | | teamIncome: ''
|
| | | },
|
| | | vip1: {
|
| | | platformSubsidy: '',
|
| | | school: '',
|
| | | teamSubsidy: '',
|
| | | teamReward: ''
|
| | | highVIP: {
|
| | | enjoyRate: '',
|
| | | teamRate: '',
|
| | | teamIncome: ''
|
| | | },
|
| | | vip2: {
|
| | | platformSubsidy: '',
|
| | | school: '',
|
| | | teamSubsidy: '',
|
| | | teamReward: ''
|
| | | },
|
| | | vip3: {
|
| | | platformSubsidy: '',
|
| | | school: '',
|
| | | teamSubsidy: '',
|
| | | teamReward: ''
|
| | | superVIP: {
|
| | | enjoyRate: '',
|
| | | teamRate: '',
|
| | | teamIncome: ''
|
| | | },
|
| | | quanYiList: [{
|
| | | img: 'img/qy_mfcoupon.png',
|
| | |
| | | subTitle: '可享佣金的225%',
|
| | | }, {
|
| | | img: 'img/qy_teambonus.png',
|
| | | title: '直接粉丝',
|
| | | subTitle: '最高佣金的的225%',
|
| | | }, {
|
| | | img: 'img/qy_teambonus.png',
|
| | | title: '间接粉丝',
|
| | | title: '团队奖金',
|
| | | subTitle: '最高佣金的的225%',
|
| | | }, {
|
| | | img: 'img/qy_tixian.png',
|
| | |
| | | title: '新人免单',
|
| | | subTitle: '好货精选0元购买',
|
| | | }, {
|
| | | img: 'img/qy_jinbi_normol.png',
|
| | | title: '赠送金币',
|
| | | subTitle: '系统赠送1000枚',
|
| | | }, {
|
| | | img: 'img/qy_fanlicoupon_normol.png',
|
| | | title: '返利奖励券',
|
| | | subTitle: '系系统赠送3张',
|
| | | }, {
|
| | | img: 'img/qy_fenhong_normol.png',
|
| | | title: '团队分红',
|
| | | img: 'img/qy_shouyi_normol.png',
|
| | | title: '团队收益',
|
| | | subTitle: '无限代分红80%',
|
| | | }, {
|
| | | img: 'img/qy_miandan_normol.png',
|
| | | title: '赠送免单券',
|
| | | subTitle: '系统赠送2张',
|
| | | }],
|
| | |
|
| | | bgColor: {
|
| | |
| | | },
|
| | | upgrademember: function() {
|
| | | if (this.level == 'actived') {
|
| | | yesApp.toast('暂未满足升级条件')
|
| | |
|
| | | } else if (this.level == 'normalVIP') {
|
| | | yesApp.toast('暂未满足升级条件')
|
| | |
|
| | | } else if (this.level == 'highVIP') {
|
| | |
| | | if (type == 1) { |
| | | app.clickactived() |
| | | |
| | | } else if (type == 2) { |
| | | if (app.level == 'noActive' || app.level == 'actived') { |
| | | |
| | | } else { |
| | | app.clickvipPre1() |
| | | } |
| | | |
| | | } else if (type == 3) { |
| | | if (app.level == 'noActive' || app.level == 'actived' || app.level == 'normalVIP') { |
| | | if (app.level == 'noActive' || app.level == 'actived') {
|
| | | |
| | | } else { |
| | | app.clickvipPre2() |
| | | } |
| | | |
| | | } else if (type == 4) { |
| | | if (app.level == 'noActive' || app.level == 'actived' || app.level == 'normalVIP' || app.level == 'highVIP' |
| | | || app.level == 'vipApply') { |
| | | if (app.level == 'noActive' || app.level == 'actived' || app.level == 'highVIP' ||
|
| | | app.level == 'vipApply') {
|
| | | |
| | | } else { |
| | | app.clickvip() |
| | |
| | | bgColor.stylevipPre2.backgroundColor = '#151313';
|
| | | bgColor.stylevip.backgroundColor = '#151313';
|
| | |
|
| | | qylist[8].img = 'img/qy_jinbi_normol.png';
|
| | | qylist[9].img = 'img/qy_fanlicoupon_normol.png';
|
| | | qylist[10].img = 'img/qy_fenhong_normol.png';
|
| | | qylist[11].img = 'img/qy_miandan_normol.png';
|
| | | qylist[7].img = 'img/qy_shouyi_normol.png';
|
| | |
|
| | | qylist[1].subTitle = this.master.shareRate;
|
| | | qylist[2].subTitle = this.master.fansRate;
|
| | | qylist[3].subTitle = this.master.fansIndirect;
|
| | | qylist[8].subTitle = '普通会员专属';
|
| | | qylist[9].subTitle = '高级会员专属';
|
| | | qylist[11].subTitle = '超级会员专属';
|
| | | qylist[10].subTitle = this.master.teamBonus;
|
| | |
|
| | | app.bgColor = bgColor;
|
| | | app.quanYiList = qylist
|
| | | }, |
| | | // 点击普通会员
|
| | | clickvipPre1: function() {
|
| | | var bgColor = app.bgColor;
|
| | | var qylist = app.quanYiList;
|
| | |
|
| | | bgColor.styleactived.backgroundColor = '#151313';
|
| | | bgColor.stylevipPre1.backgroundColor = '#333333';
|
| | | bgColor.stylevipPre2.backgroundColor = '#151313';
|
| | | bgColor.stylevip.backgroundColor = '#151313';
|
| | |
|
| | | qylist[8].img = 'img/qy_jinbi_select.png';
|
| | | qylist[9].img = 'img/qy_fanlicoupon_normol.png';
|
| | | qylist[10].img = 'img/qy_fenhong_normol.png';
|
| | | qylist[11].img = 'img/qy_miandan_normol.png';
|
| | |
|
| | | qylist[1].subTitle = this.vip1.shareRate;
|
| | | qylist[2].subTitle = this.vip1.fansRate;
|
| | | qylist[3].subTitle = this.vip1.fansIndirect;
|
| | | qylist[8].subTitle = '系统赠送1000枚';
|
| | | qylist[9].subTitle = '高级会员专属';
|
| | | qylist[11].subTitle = '超级会员专属';
|
| | | qylist[10].subTitle = this.vip1.teamBonus;
|
| | | qylist[1].subTitle = app.daRen.enjoyRate;
|
| | | qylist[2].subTitle = app.daRen.teamRate;
|
| | | qylist[7].subTitle = app.daRen.teamIncome;
|
| | |
|
| | | app.bgColor = bgColor;
|
| | | app.quanYiList = qylist
|
| | |
| | | bgColor.stylevipPre2.backgroundColor = '#333333';
|
| | | bgColor.stylevip.backgroundColor = '#151313';
|
| | |
|
| | | qylist[8].img = 'img/qy_jinbi_select.png';
|
| | | qylist[9].img = 'img/qy_fanlicoupon_select.png';
|
| | | qylist[10].img = 'img/qy_fenhong_select.png';
|
| | | qylist[11].img = 'img/qy_miandan_normol.png';
|
| | | qylist[7].img = 'img/qy_shouyi_select.png';
|
| | |
|
| | | qylist[1].subTitle = this.vip2.shareRate;
|
| | | qylist[2].subTitle = this.vip2.fansRate;
|
| | | qylist[3].subTitle = this.vip2.fansIndirect;
|
| | | qylist[8].subTitle = '系统赠送1000枚';
|
| | | qylist[9].subTitle = '系统赠送3张';
|
| | | qylist[11].subTitle = '超级会员专属';
|
| | | qylist[10].subTitle = this.vip2.teamBonus;
|
| | | qylist[1].subTitle = app.highVIP.enjoyRate;
|
| | | qylist[2].subTitle = app.highVIP.teamRate;
|
| | | qylist[7].subTitle = app.highVIP.teamIncome;
|
| | |
|
| | | app.bgColor = bgColor;
|
| | | app.quanYiList = qylist
|
| | |
| | | bgColor.stylevipPre2.backgroundColor = '#151313';
|
| | | bgColor.stylevip.backgroundColor = '#333333';
|
| | |
|
| | | qylist[8].img = 'img/qy_jinbi_select.png';
|
| | | qylist[9].img = 'img/qy_fanlicoupon_select.png';
|
| | | qylist[10].img = 'img/qy_fenhong_select.png';
|
| | | qylist[11].img = 'img/qy_miandan_select.png';
|
| | | qylist[7].img = 'img/qy_shouyi_select.png';
|
| | |
|
| | | qylist[1].subTitle = this.vip3.shareRate;
|
| | | qylist[2].subTitle = this.vip3.fansRate;
|
| | | qylist[3].subTitle = this.vip3.fansIndirect;
|
| | | qylist[10].subTitle = this.vip3.teamBonus;
|
| | | qylist[8].subTitle = '系统赠送1000枚';
|
| | | qylist[9].subTitle = '系统赠送3张';
|
| | | qylist[11].subTitle = '系统赠送2张';
|
| | | qylist[1].subTitle = app.superVIP.enjoyRate;
|
| | | qylist[2].subTitle = app.superVIP.teamRate;
|
| | | qylist[7].subTitle = app.superVIP.teamIncome;
|
| | |
|
| | | app.bgColor = bgColor;
|
| | | app.quanYiList = qylist
|
| | | },
|
| | | },
|
| | | computed: {
|
| | | finishFanliOrderProgress: function() {
|
| | | var tempFinishFanliOrder = null;
|
| | | if (parseInt(this.progress.finishFanliOrder) > parseInt(this.progress.totalFanliOrder)) {
|
| | | tempFinishFanliOrder = this.progress.totalFanliOrder;
|
| | | finishMyOrderProgress: function() {
|
| | | var tempFinishMyOrder = null;
|
| | | if (parseInt(this.progress.doneOrder) > parseInt(this.progress.limitOrder)) {
|
| | | tempFinishMyOrder = this.progress.limitOrder;
|
| | |
|
| | | } else {
|
| | | tempFinishFanliOrder = this.progress.finishFanliOrder;
|
| | | tempFinishMyOrder = this.progress.doneOrder;
|
| | | }
|
| | | if (((576 / this.progress.totalFanliOrder) * tempFinishFanliOrder * 0.01) <= 0.24) {
|
| | | if (tempFinishFanliOrder == 0) {
|
| | | if (((576 / this.progress.limitOrder) * tempFinishMyOrder * 0.01) <= 0.24) {
|
| | | if (tempFinishMyOrder == 0) {
|
| | | return 0;
|
| | | }
|
| | | return '0.24rem'
|
| | |
|
| | | } else {
|
| | | return (576 / this.progress.totalFanliOrder) * tempFinishFanliOrder * 0.01 + 'rem'
|
| | | return (576 / this.progress.limitOrder) * tempFinishMyOrder * 0.01 + 'rem'
|
| | | }
|
| | | },
|
| | |
|
| | | finishShareOrderProgress: function() {
|
| | | var tempFinishShareOrder = null;
|
| | | if (parseInt(this.progress.finishShareOrder) > parseInt(this.progress.totalShareOrder)) {
|
| | | tempFinishShareOrder = this.progress.totalShareOrder;
|
| | | finishFirstFansProgress: function() {
|
| | | var tempFirstFansOrder = null;
|
| | | if (parseInt(this.progress.doneFirst) > parseInt(this.progress.limitFirst)) {
|
| | | tempFirstFansOrder = this.progress.limitFirst;
|
| | |
|
| | | } else {
|
| | | tempFinishShareOrder = this.progress.finishShareOrder;
|
| | | tempFirstFansOrder = this.progress.doneFirst;
|
| | | }
|
| | | if (((576 / this.progress.totalShareOrder) * tempFinishShareOrder * 0.01) <= 0.24) {
|
| | | if (tempFinishShareOrder == 0) {
|
| | | if (((576 / this.progress.limitFirst) * tempFirstFansOrder * 0.01) <= 0.24) {
|
| | | if (tempFirstFansOrder == 0) {
|
| | | return 0;
|
| | | }
|
| | | return '0.24rem'
|
| | |
|
| | | } else {
|
| | | return (576 / this.progress.totalShareOrder) * tempFinishShareOrder * 0.01 + 'rem'
|
| | | return (576 / this.progress.limitFirst) * tempFirstFansOrder * 0.01 + 'rem'
|
| | | }
|
| | | },
|
| | |
|
| | | finishFansProgress: function() {
|
| | | var tempFinishDirectFans = null;
|
| | | var tempFinishInDirectFans = null;
|
| | |
|
| | | if (parseInt(this.progress.finishDirectFans) > parseInt(this.progress.totalDirectFans)) {
|
| | | tempFinishDirectFans = this.progress.totalDirectFans;
|
| | | finishSecondFansProgress: function() {
|
| | | var tempSecondFansOrder = null;
|
| | | if (parseInt(this.progress.doneSecond) > parseInt(this.progress.limitSecond)) {
|
| | | tempSecondFansOrder = this.progress.limitSecond;
|
| | |
|
| | | } else {
|
| | | tempFinishDirectFans = this.progress.finishDirectFans;
|
| | | tempSecondFansOrder = this.progress.doneSecond;
|
| | | }
|
| | | if (parseInt(this.progress.finishInDirectFans) > parseInt(this.progress.totalInDirectFans)) {
|
| | | tempFinishInDirectFans = this.progress.totalInDirectFans;
|
| | |
|
| | | } else {
|
| | | tempFinishInDirectFans = this.progress.finishInDirectFans;
|
| | | }
|
| | | if ((((576 / 2 / this.progress.totalDirectFans * tempFinishDirectFans) + (576 / 2 / this.progress.totalInDirectFans *
|
| | | tempFinishInDirectFans)) * 0.01) <= 0.24) {
|
| | | if (tempFinishDirectFans == 0 && tempFinishInDirectFans == 0) {
|
| | | if (((576 / this.progress.limitSecond) * tempSecondFansOrder * 0.01) <= 0.24) {
|
| | | if (tempSecondFansOrder == 0) {
|
| | | return 0;
|
| | | }
|
| | | return '0.24rem'
|
| | |
|
| | | } else {
|
| | | return ((576 / 2 / this.progress.totalDirectFans * tempFinishDirectFans) + (576 / 2 / this.progress.totalInDirectFans *
|
| | | tempFinishInDirectFans)) * 0.01 + 'rem'
|
| | | return (576 / this.progress.limitSecond) * tempSecondFansOrder * 0.01 + 'rem'
|
| | | }
|
| | | }
|
| | | }
|
| | |
| | | var nextlevel = null;
|
| | | var nextLevelProgress = null;
|
| | | var supVip = false;
|
| | | var shareRate = null;
|
| | | var fansRate = null;
|
| | | var fansIndirect = null;
|
| | | var teamBonus = null;
|
| | | var jinbi = null;
|
| | | var couponFanli = null;
|
| | | var couponMianDan = null;
|
| | | var master = null;
|
| | | var vip1 = null;
|
| | | var vip2 = null;
|
| | | var vip3 = null;
|
| | |
|
| | | var enjoyRate = null;
|
| | | var teamRate = null;
|
| | | var teamIncome = null;
|
| | |
|
| | | var daRen = null;
|
| | | var highVIP = null;
|
| | | var superVIP = null;
|
| | |
|
| | | try {
|
| | | $.ajax({
|
| | | type: "GET",
|
| | |
| | | if (result.code == 0) {
|
| | | level = result.data.level;
|
| | |
|
| | | daRen = result.data.daRen;
|
| | | highVIP = result.data.highVIP;
|
| | | superVIP = result.data.superVIP;
|
| | |
|
| | | var qylist = app.quanYiList;
|
| | |
|
| | | if (level === 'actived') {
|
| | | viplogos = 'img/icon_actived.png';
|
| | | nextlevel = '升级普通会员';
|
| | | nextLevelProgress = '以上三种条件任意一种满足即可自动升级为普通会员';
|
| | | nextlevel = '升级高级会员';
|
| | | nextLevelProgress = '以上两种方式任意一种满足即可自动升级为高级会员';
|
| | | supVip = false;
|
| | |
|
| | | app.bgColor.styleactived.backgroundColor = '#333333';
|
| | |
|
| | | shareRate = result.data.master.shareRate;
|
| | | fansRate = result.data.master.fansRate;
|
| | | fansIndirect = result.data.master.fansIndirect;
|
| | | teamBonus = result.data.master.teamBonus;
|
| | | jinbi = '普通会员专属';
|
| | | couponFanli = '高级会员专属';
|
| | | couponMianDan = '超级会员专属';
|
| | |
|
| | | } else if (level === 'normalVIP') {
|
| | |
|
| | | viplogos = 'img/icon_vipPre1.png';
|
| | | nextlevel = '升级高级会员';
|
| | | nextLevelProgress = '以上三种条件任意一种满足即可自动升级为高级会员';
|
| | | supVip = false;
|
| | | app.bgColor.stylevipPre1.backgroundColor = '#333333';
|
| | |
|
| | | shareRate = result.data.vip1.shareRate;
|
| | | fansRate = result.data.vip1.fansRate;
|
| | | fansIndirect = result.data.vip1.fansIndirect;
|
| | | teamBonus = result.data.vip1.teamBonus;
|
| | | jinbi = '系统赠送1000枚';
|
| | | couponFanli = '高级会员专属';
|
| | | couponMianDan = '超级会员专属';
|
| | |
|
| | | qylist[8].img = 'img/qy_jinbi_select.png';
|
| | | enjoyRate = result.data.daRen.enjoyRate;
|
| | | teamRate = result.data.daRen.teamRate;
|
| | | teamIncome = result.data.daRen.teamIncome;
|
| | |
|
| | | } else if (level === 'highVIP') {
|
| | |
|
| | | viplogos = 'img/icon_vipPre2.png';
|
| | | nextlevel = '升级超级会员';
|
| | | nextLevelProgress = '以上三种条件任意一种满足即可手动申请升级为超级会员';
|
| | | nextLevelProgress = '以上两种方式任意一种满足即可手动申请升级为超级会员';
|
| | | supVip = false;
|
| | |
|
| | | app.bgColor.stylevipPre2.backgroundColor = '#333333';
|
| | |
|
| | | shareRate = result.data.vip2.shareRate;
|
| | | fansRate = result.data.vip2.fansRate;
|
| | | fansIndirect = result.data.vip2.fansIndirect;
|
| | | teamBonus = result.data.vip2.teamBonus;
|
| | | jinbi = '系统赠送1000枚';
|
| | | couponFanli = '系统赠送3张';
|
| | | couponMianDan = '超级会员专属';
|
| | | enjoyRate = result.data.highVIP.enjoyRate;
|
| | | teamRate = result.data.highVIP.teamRate;
|
| | | teamIncome = result.data.highVIP.teamIncome;
|
| | |
|
| | | qylist[8].img = 'img/qy_jinbi_select.png';
|
| | | qylist[9].img = 'img/qy_fanlicoupon_select.png';
|
| | | qylist[10].img = 'img/qy_fenhong_select.png';
|
| | | qylist[7].img = 'img/qy_shouyi_select.png';
|
| | |
|
| | | } else if (level === 'vipApply') {
|
| | | viplogos = 'img/icon_vip_invalid.png';
|
| | | nextlevel = '审核将在48小时内完成';
|
| | | nextLevelProgress = '以上三种条件任意一种满足即可手动申请升级为超级会员';
|
| | | nextLevelProgress = '以上两种方式任意一种满足即可手动申请升级为超级会员';
|
| | | supVip = false;
|
| | |
|
| | | app.bgColor.stylevipPre2.backgroundColor = '#333333';
|
| | |
|
| | | shareRate = result.data.vip2.shareRate;
|
| | | fansRate = result.data.vip2.fansRate;
|
| | | fansIndirect = result.data.vip2.fansIndirect;
|
| | | teamBonus = result.data.vip2.teamBonus;
|
| | | jinbi = '系统赠送1000枚';
|
| | | couponFanli = '系统赠送3张';
|
| | | couponMianDan = '超级会员专属';
|
| | | enjoyRate = result.data.highVIP.enjoyRate;
|
| | | teamRate = result.data.highVIP.teamRate;
|
| | | teamIncome = result.data.highVIP.teamIncome;
|
| | |
|
| | | qylist[8].img = 'img/qy_jinbi_select.png';
|
| | | qylist[9].img = 'img/qy_fanlicoupon_select.png';
|
| | | qylist[10].img = 'img/qy_fenhong_select.png';
|
| | | qylist[7].img = 'img/qy_shouyi_select.png';
|
| | |
|
| | | } else if (level === 'vip' || level === 'tearcherApply' || level === 'tearcher') {
|
| | |
|
| | |
| | |
|
| | | app.bgColor.stylevip.backgroundColor = '#333333';
|
| | |
|
| | | shareRate = result.data.vip3.shareRate;
|
| | | fansRate = result.data.vip3.fansRate;
|
| | | fansIndirect = result.data.vip3.fansIndirect;
|
| | | teamBonus = result.data.vip3.teamBonus;
|
| | | jinbi = '系统赠送1000枚';
|
| | | couponFanli = '系统赠送3张';
|
| | | couponMianDan = '系统赠送2张';
|
| | | enjoyRate = result.data.superVIP.enjoyRate;
|
| | | teamRate = result.data.superVIP.teamRate;
|
| | | teamIncome = result.data.superVIP.teamIncome;
|
| | |
|
| | | qylist[8].img = 'img/qy_jinbi_select.png';
|
| | | qylist[9].img = 'img/qy_fanlicoupon_select.png';
|
| | | qylist[10].img = 'img/qy_fenhong_select.png';
|
| | | qylist[11].img = 'img/qy_miandan_select.png';
|
| | | qylist[7].img = 'img/qy_shouyi_select.png';
|
| | | }
|
| | | app.vip = supVip;
|
| | |
|
| | | qylist[1].subTitle = shareRate;
|
| | | qylist[2].subTitle = fansRate;
|
| | | qylist[3].subTitle = fansIndirect;
|
| | | qylist[8].subTitle = jinbi;
|
| | | qylist[9].subTitle = couponFanli;
|
| | | qylist[10].subTitle = teamBonus;
|
| | | qylist[11].subTitle = couponMianDan;
|
| | | qylist[1].subTitle = enjoyRate;
|
| | | qylist[2].subTitle = teamRate;
|
| | | qylist[7].subTitle = teamIncome;
|
| | |
|
| | | var user = {
|
| | | nickName: result.data.nickName,
|
| | |
| | | app.user = user;
|
| | |
|
| | | var progress = {
|
| | | finishFanliOrder: parseInt(result.data.doneZiGou),
|
| | | totalFanliOrder: parseInt(result.data.limitZiGou),
|
| | | finishShareOrder: parseInt(result.data.doneShare),
|
| | | totalShareOrder: parseInt(result.data.limitShare),
|
| | | finishDirectFans: parseInt(result.data.doneFirst),
|
| | | finishInDirectFans: parseInt(result.data.doneSecond),
|
| | | totalDirectFans: parseInt(result.data.limitFirst),
|
| | | totalInDirectFans: parseInt(result.data.limitSecond),
|
| | | nextLevelProgress: nextLevelProgress
|
| | | limitOrder: parseInt(result.data.limitOrder),
|
| | | doneOrder: parseInt(result.data.doneOrder),
|
| | | limitFirst: parseInt(result.data.limitFirst),
|
| | | limitSecond: parseInt(result.data.limitSecond),
|
| | | doneFirst: parseInt(result.data.doneFirst),
|
| | | doneSecond: parseInt(result.data.doneSecond),
|
| | |
|
| | | nextLevelProgress: nextLevelProgress,
|
| | | };
|
| | | app.progress = progress;
|
| | |
|
| | |
| | | app.tearcherWX = result.data.tearcherTip;
|
| | | app.newerGongLue = result.data.newerGongLue;
|
| | |
|
| | | app.master = result.data.master;
|
| | | app.vip1 = result.data.vip1;
|
| | | app.vip2 = result.data.vip2;
|
| | | app.vip3 = result.data.vip3;
|
| | | app.daRen = daRen;
|
| | | app.highVIP = highVIP;
|
| | | app.superVIP = superVIP;
|
| | |
|
| | | } else {
|
| | | yesApp.toast(result.msg);
|