2035ff85 by simon

保费计算插件调整

1 parent 56f255a3
...@@ -417,10 +417,10 @@ module.exports = { ...@@ -417,10 +417,10 @@ module.exports = {
417 service: "Contact customer service", 417 service: "Contact customer service",
418 genRich:{ 418 genRich:{
419 t1:"Scroll to select insured amount", 419 t1:"Scroll to select insured amount",
420 t2:"保額(萬美元)", 420 t2:"USD (10 thousands)",
421 PaymentPeriod:"Payment period", 421 PaymentPeriod:"Payment period",
422 PaymentOptions:"Payment options", 422 PaymentOptions:"Payment options",
423 quotePerMonth:"每月保費", 423 quotePerMonth:"Monthly Premium",
424 tips:"Please contact your financial consultant to quote for insured amount that exceeds USD 3 million", 424 tips:"Please contact your financial consultant to quote for insured amount that exceeds USD 3 million",
425 425
426 years:"years", 426 years:"years",
...@@ -428,6 +428,8 @@ module.exports = { ...@@ -428,6 +428,8 @@ module.exports = {
428 SemiYearly:"Semi-yearly", 428 SemiYearly:"Semi-yearly",
429 Quarterly:"Quarterly", 429 Quarterly:"Quarterly",
430 Monthly:"Monthly", 430 Monthly:"Monthly",
431 Premium:"Premium",
432
431 } 433 }
432 }, 434 },
433 contact: { 435 contact: {
......
...@@ -441,6 +441,7 @@ module.exports = { ...@@ -441,6 +441,7 @@ module.exports = {
441 SemiYearly:"每半年", 441 SemiYearly:"每半年",
442 Quarterly:"每季", 442 Quarterly:"每季",
443 Monthly:"每月", 443 Monthly:"每月",
444 Premium:"保費",
444 } 445 }
445 }, 446 },
446 contact: { 447 contact: {
......
...@@ -444,6 +444,7 @@ module.exports = { ...@@ -444,6 +444,7 @@ module.exports = {
444 SemiYearly:"每半年", 444 SemiYearly:"每半年",
445 Quarterly:"每季", 445 Quarterly:"每季",
446 Monthly:"每月", 446 Monthly:"每月",
447 Premium:"保费",
447 }, 448 },
448 }, 449 },
449 contact: { 450 contact: {
......
...@@ -239,7 +239,7 @@ export default { ...@@ -239,7 +239,7 @@ export default {
239 sliderPer 239 sliderPer
240 } = this; 240 } = this;
241 let bet = 10000; //单位 万元 241 let bet = 10000; //单位 万元
242 let result = bet * sliderPer / 1000 * curPaymentPeriod.p * curPaymentOption.p * curPaymentOption.v; 242 let result = bet * sliderPer / 1000 * curPaymentPeriod.p * curPaymentOption.p;
243 result = result.toFixed(2); 243 result = result.toFixed(2);
244 return result; 244 return result;
245 } 245 }
......
...@@ -270,7 +270,7 @@ ...@@ -270,7 +270,7 @@
270 <div class="line"></div> 270 <div class="line"></div>
271 <!-- 计算 --> 271 <!-- 计算 -->
272 <div class="calculation"> 272 <div class="calculation">
273 <div class="label">{{$t('index.quote.genRich.quotePerMonth')}}</div> 273 <div class="label">{{curPaymentOption.n}}{{locale == 'en' ? ' ' : ''}}{{$t('index.quote.genRich.Premium')}}</div>
274 <div class="value">$ <span class="price">{{sumAssured}}</span></div> 274 <div class="value">$ <span class="price">{{sumAssured}}</span></div>
275 </div> 275 </div>
276 <!-- 提示 --> 276 <!-- 提示 -->
......