|
|
@@ -1,5 +1,5 @@
|
|
|
<template>
|
|
|
- <div class="wrapper">
|
|
|
+ <div class="wrapper" v-if="vipList.length>0">
|
|
|
<div class="title">企业会员</div>
|
|
|
<div class="subtitle">新人技术人力解决方案</div>
|
|
|
<div class="content">
|
|
|
@@ -36,33 +36,33 @@
|
|
|
<img src="@/assets/img/vip/newly_avatar.png" alt="">
|
|
|
</div>
|
|
|
<div class="newly-content">
|
|
|
- <p>100次/天</p>
|
|
|
- <p>每月送199元券2张<br/>每月送299元券1张</p>
|
|
|
- <p>50人次/天</p>
|
|
|
+ <p>{{this.vipList[0]['hire_times']}}次/天</p>
|
|
|
+ <p>敬请期待</p>
|
|
|
+ <p>{{this.vipList[0]['chat_times']}}人次/天</p>
|
|
|
<p>整包服务减免<span>2%</span><br/>云端服务减免<span>2%</span></p>
|
|
|
<p>免费</p>
|
|
|
<p>无</p>
|
|
|
<p>无</p>
|
|
|
</div>
|
|
|
<div class="newly-price"><span>¥599</span>/月</div>
|
|
|
- <div class="newly-btn" @click="clickPay('com')">立即开通</div>
|
|
|
+ <div class="newly-btn" @click="clickPay('com')">{{vipDetail.user_info && vipDetail.user_info.vip_type===2?'立即续费':'立即开通'}}</div>
|
|
|
</div>
|
|
|
<div class="enterprise">
|
|
|
<div class="enterprise-title">企业版</div>
|
|
|
<div class="enterprise-avatar">
|
|
|
<img src="@/assets/img/vip/enterprise_avatar.png" alt="">
|
|
|
</div>
|
|
|
- <div class="enterprise-content">
|
|
|
- <p>100次/天</p>
|
|
|
- <p>每月送99元券3张<br/>每月送199元券2张<br/>每月送299元券1张</p>
|
|
|
+ <div class="newly-content">
|
|
|
+ <p>{{this.vipList[2]['hire_times']}}次/天</p>
|
|
|
+ <p>敬请期待</p>
|
|
|
<p>不限次</p>
|
|
|
<p>整包服务减免<span>2%</span><br/>云端服务减免<span>2%</span></p>
|
|
|
<p>免费</p>
|
|
|
- <p>1人次/月</p>
|
|
|
- <p>1人次/月</p>
|
|
|
+ <p>敬请期待</p>
|
|
|
+ <p>敬请期待</p>
|
|
|
</div>
|
|
|
<div class="enterprise-price"><span>¥1599</span>/月</div>
|
|
|
- <div class="enterprise-btn" @click="clickPay('pre')">立即开通</div>
|
|
|
+ <div class="enterprise-btn" @click="clickPay('pre')">{{vipDetail.user_info && vipDetail.user_info.vip_type===3?'立即续费':'立即开通'}}</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="tips">
|
|
|
@@ -120,7 +120,6 @@
|
|
|
async getVipDetail() {
|
|
|
let res = await this.$axios.$post("/api/vip/getVipUserDetail");
|
|
|
this.vipDetail = res && res.data ? res.data : {};
|
|
|
-
|
|
|
},
|
|
|
clickPay(type) {
|
|
|
switch (type) {
|