|
|
@@ -51,24 +51,25 @@ export default Vue.extend({
|
|
|
try {
|
|
|
basePacket = this.user.app_list[0].ver_key.replace(/_STARTER|_PRO|_MONTH|_YEAR/gi, '')
|
|
|
FullBasePacket = this.user.app_list[0].ver_key.replace(/_MONTH|_YEAR/gi, '')
|
|
|
+ console.log(basePacket, FullBasePacket)
|
|
|
} catch (e) {
|
|
|
}
|
|
|
if (this.type === 'expoReg') {
|
|
|
if (basePacket === 'EXPOREG_INVITATION') {
|
|
|
if (this.cycle === 'month') {
|
|
|
- this.renderInfo.STARTER.price = this.getPacketByPKey('EXPOREG_STARTER_MONTH').price
|
|
|
+ this.renderInfo.STARTER.price = this.getPacketByPKey('EXPOREG_STARTER_MONTH_PACKAGE').price
|
|
|
this.renderInfo.STARTER.button = FullBasePacket !== 'EXPOREG_STARTER' ? '升级权益' : '续费'
|
|
|
- this.renderInfo.STARTER.url = this.payCenterUrl + '/packet/info?app_code=EXPOREG&key=&packet_key=EXPOREG_STARTER_MONTH&type=2'
|
|
|
- this.renderInfo.PRO.price = this.getPacketByPKey('EXPOREG_PRO_MONTH').price
|
|
|
+ this.renderInfo.STARTER.url = this.payCenterUrl + '/packet/info?app_code=EXPOREG&key=&packet_key=EXPOREG_STARTER_MONTH_PACKAGE&type=2'
|
|
|
+ this.renderInfo.PRO.price = this.getPacketByPKey('EXPOREG_PRO_MONTH_PACKAGE').price
|
|
|
this.renderInfo.PRO.button = FullBasePacket !== 'EXPOREG_PRO' ? '升级权益' : '续费'
|
|
|
- this.renderInfo.PRO.url = this.payCenterUrl + '/packet/info?app_code=EXPOREG&key=&packet_key=EXPOREG_PRO_MONTH&type=2'
|
|
|
+ this.renderInfo.PRO.url = this.payCenterUrl + '/packet/info?app_code=EXPOREG&key=&packet_key=EXPOREG_PRO_MONTH_PACKAGE&type=2'
|
|
|
} else {
|
|
|
- this.renderInfo.STARTER.price = this.getPacketByPKey('EXPOREG_STARTER_YEAR').price
|
|
|
+ this.renderInfo.STARTER.price = this.getPacketByPKey('EXPOREG_STARTER_YEAR_PACKAGE').price
|
|
|
this.renderInfo.STARTER.button = FullBasePacket !== 'EXPOREG_STARTER' ? '升级权益' : '续费'
|
|
|
- this.renderInfo.STARTER.url = this.payCenterUrl + '/packet/info?app_code=EXPOREG&key=&packet_key=EXPOREG_STARTER_YEAR&type=2'
|
|
|
- this.renderInfo.PRO.price = this.getPacketByPKey('EXPOREG_PRO_YEAR').price
|
|
|
+ this.renderInfo.STARTER.url = this.payCenterUrl + '/packet/info?app_code=EXPOREG&key=&packet_key=EXPOREG_STARTER_YEAR_PACKAGE&type=2'
|
|
|
+ this.renderInfo.PRO.price = this.getPacketByPKey('EXPOREG_PRO_YEAR_PACKAGE').price
|
|
|
this.renderInfo.PRO.button = FullBasePacket !== 'EXPOREG_PRO' ? '升级权益' : '续费'
|
|
|
- this.renderInfo.PRO.url = this.payCenterUrl + '/packet/info?app_code=EXPOREG&key=&packet_key=EXPOREG_PRO_YEAR&type=2'
|
|
|
+ this.renderInfo.PRO.url = this.payCenterUrl + '/packet/info?app_code=EXPOREG&key=&packet_key=EXPOREG_PRO_YEAR_PACKAGE&type=2'
|
|
|
}
|
|
|
} else {
|
|
|
if (this.cycle === 'month') {
|
|
|
@@ -90,35 +91,35 @@ export default Vue.extend({
|
|
|
} else {
|
|
|
if (basePacket === 'EXPOREG_INVITATION') {
|
|
|
if (this.cycle === 'month') {
|
|
|
- this.renderInfo.STARTER.price = this.getPacketByPKey('EXPOREG_INVITATION_STARTER_MONTH').price
|
|
|
+ this.renderInfo.STARTER.price = this.getPacketByPKey('EXPOREG_INVITATION_STARTER_MONTH_PACKAGE').price
|
|
|
this.renderInfo.STARTER.button = FullBasePacket !== 'EXPOREG_INVITATION_STARTER' ? '立即订购' : '续费'
|
|
|
- this.renderInfo.STARTER.url = this.payCenterUrl + '/packet/info?app_code=EXPOREG&key=&packet_key=EXPOREG_INVITATION_STARTER_MONTH&type=2'
|
|
|
- this.renderInfo.PRO.price = this.getPacketByPKey('EXPOREG_INVITATION_PRO_MONTH').price
|
|
|
+ this.renderInfo.STARTER.url = this.payCenterUrl + '/packet/info?app_code=EXPOREG&key=&packet_key=EXPOREG_INVITATION_STARTER_MONTH_PACKAGE&type=1'
|
|
|
+ this.renderInfo.PRO.price = this.getPacketByPKey('EXPOREG_INVITATION_PRO_MONTH_PACKAGE').price
|
|
|
this.renderInfo.PRO.button = FullBasePacket !== 'EXPOREG_INVITATION_PRO' ? '立即订购' : '续费'
|
|
|
- this.renderInfo.PRO.url = this.payCenterUrl + '/packet/info?app_code=EXPOREG&key=&packet_key=EXPOREG_INVITATION_PRO_MONTH&type=2'
|
|
|
+ this.renderInfo.PRO.url = this.payCenterUrl + '/packet/info?app_code=EXPOREG&key=&packet_key=EXPOREG_INVITATION_PRO_MONTH_PACKAGE&type=1'
|
|
|
} else {
|
|
|
- this.renderInfo.STARTER.price = this.getPacketByPKey('EXPOREG_INVITATION_STARTER_YEAR').price
|
|
|
+ this.renderInfo.STARTER.price = this.getPacketByPKey('EXPOREG_INVITATION_STARTER_YEAR_PACKAGE').price
|
|
|
this.renderInfo.STARTER.button = FullBasePacket !== 'EXPOREG_INVITATION_STARTER' ? '立即订购' : '续费'
|
|
|
- this.renderInfo.STARTER.url = this.payCenterUrl + '/packet/info?app_code=EXPOREG&key=&packet_key=EXPOREG_INVITATION_STARTER_YEAR&type=2'
|
|
|
- this.renderInfo.PRO.price = this.getPacketByPKey('EXPOREG_INVITATION_PRO_YEAR').price
|
|
|
+ this.renderInfo.STARTER.url = this.payCenterUrl + '/packet/info?app_code=EXPOREG&key=&packet_key=EXPOREG_INVITATION_STARTER_YEAR_PACKAGE&type=1'
|
|
|
+ this.renderInfo.PRO.price = this.getPacketByPKey('EXPOREG_INVITATION_PRO_YEAR_PACKAGE').price
|
|
|
this.renderInfo.PRO.button = FullBasePacket !== 'EXPOREG_INVITATION_PRO' ? '立即订购' : '续费'
|
|
|
- this.renderInfo.PRO.url = this.payCenterUrl + '/packet/info?app_code=EXPOREG&key=&packet_key=EXPOREG_INVITATION_PRO_YEAR&type=2'
|
|
|
+ this.renderInfo.PRO.url = this.payCenterUrl + '/packet/info?app_code=EXPOREG&key=&packet_key=EXPOREG_INVITATION_PRO_YEAR_PACKAGE&type=1'
|
|
|
}
|
|
|
} else {
|
|
|
if (this.cycle === 'month') {
|
|
|
this.renderInfo.STARTER.price = this.getPacktByKey('EXPOREG_INVITATION_STARTER_MONTH').price
|
|
|
- this.renderInfo.STARTER.button = FullBasePacket !== 'EXPOREG_INVITATION_STARTER' ? '立即订购' : '续费'
|
|
|
- this.renderInfo.STARTER.url = this.payCenterUrl + '/packet/info?app_code=EXPOREG&key=EXPOREG_INVITATION_STARTER_MONTH&packet_key=&type=1'
|
|
|
+ this.renderInfo.STARTER.button = FullBasePacket !== 'EXPOREG_INVITATION_STARTER' ? '升级权益' : '续费'
|
|
|
+ this.renderInfo.STARTER.url = this.payCenterUrl + '/packet/info?app_code=EXPOREG&key=EXPOREG_INVITATION_STARTER_MONTH&packet_key=&type=2'
|
|
|
this.renderInfo.PRO.price = this.getPacktByKey('EXPOREG_INVITATION_PRO_MONTH').price
|
|
|
- this.renderInfo.PRO.button = FullBasePacket !== 'EXPOREG_INVITATION_PRO' ? '立即订购' : '续费'
|
|
|
- this.renderInfo.PRO.url = this.payCenterUrl + '/packet/info?app_code=EXPOREG&key=EXPOREG_INVITATION_PRO_MONTH&packet_key=&type=1'
|
|
|
+ this.renderInfo.PRO.button = FullBasePacket !== 'EXPOREG_INVITATION_PRO' ? '升级权益' : '续费'
|
|
|
+ this.renderInfo.PRO.url = this.payCenterUrl + '/packet/info?app_code=EXPOREG&key=EXPOREG_INVITATION_PRO_MONTH&packet_key=&type=2'
|
|
|
} else {
|
|
|
this.renderInfo.STARTER.price = this.getPacktByKey('EXPOREG_INVITATION_STARTER_YEAR').price
|
|
|
- this.renderInfo.STARTER.button = FullBasePacket !== 'EXPOREG_INVITATION_STARTER' ? '立即订购' : '续费'
|
|
|
- this.renderInfo.STARTER.url = this.payCenterUrl + '/packet/info?app_code=EXPOREG&key=EXPOREG_INVITATION_STARTER_YEAR&packet_key=&type=1'
|
|
|
+ this.renderInfo.STARTER.button = FullBasePacket !== 'EXPOREG_INVITATION_STARTER' ? '升级权益' : '续费'
|
|
|
+ this.renderInfo.STARTER.url = this.payCenterUrl + '/packet/info?app_code=EXPOREG&key=EXPOREG_INVITATION_STARTER_YEAR&packet_key=&type=2'
|
|
|
this.renderInfo.PRO.price = this.getPacktByKey('EXPOREG_INVITATION_PRO_YEAR').price
|
|
|
- this.renderInfo.PRO.button = FullBasePacket !== 'EXPOREG_INVITATION_PRO' ? '立即订购' : '续费'
|
|
|
- this.renderInfo.PRO.url = this.payCenterUrl + '/packet/info?app_code=EXPOREG&key=EXPOREG_INVITATION_PRO_YEAR&packet_key=&type=1'
|
|
|
+ this.renderInfo.PRO.button = FullBasePacket !== 'EXPOREG_INVITATION_PRO' ? '升级权益' : '续费'
|
|
|
+ this.renderInfo.PRO.url = this.payCenterUrl + '/packet/info?app_code=EXPOREG&key=EXPOREG_INVITATION_PRO_YEAR&packet_key=&type=2'
|
|
|
}
|
|
|
}
|
|
|
}
|