Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
dev
/
pingan-life-index-pro
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
2035ff85
authored
2020-05-19 18:01:59 +0800
by
simon
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
保费计算插件调整
1 parent
56f255a3
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
4 deletions
src/common/lang/en.js
src/common/lang/tc.js
src/common/lang/zh.js
src/pages/index/index.js
src/pages/index/index.vue
src/common/lang/en.js
View file @
2035ff8
...
...
@@ -417,10 +417,10 @@ module.exports = {
service
:
"Contact customer service"
,
genRich
:{
t1
:
"Scroll to select insured amount"
,
t2
:
"
保額(萬美元)
"
,
t2
:
"
USD (10 thousands)
"
,
PaymentPeriod
:
"Payment period"
,
PaymentOptions
:
"Payment options"
,
quotePerMonth
:
"
每月保費
"
,
quotePerMonth
:
"
Monthly Premium
"
,
tips
:
"Please contact your financial consultant to quote for insured amount that exceeds USD 3 million"
,
years
:
"years"
,
...
...
@@ -428,6 +428,8 @@ module.exports = {
SemiYearly
:
"Semi-yearly"
,
Quarterly
:
"Quarterly"
,
Monthly
:
"Monthly"
,
Premium
:
"Premium"
,
}
},
contact
:
{
...
...
src/common/lang/tc.js
View file @
2035ff8
...
...
@@ -441,6 +441,7 @@ module.exports = {
SemiYearly
:
"每半年"
,
Quarterly
:
"每季"
,
Monthly
:
"每月"
,
Premium
:
"保費"
,
}
},
contact
:
{
...
...
src/common/lang/zh.js
View file @
2035ff8
...
...
@@ -444,6 +444,7 @@ module.exports = {
SemiYearly
:
"每半年"
,
Quarterly
:
"每季"
,
Monthly
:
"每月"
,
Premium
:
"保费"
,
},
},
contact
:
{
...
...
src/pages/index/index.js
View file @
2035ff8
...
...
@@ -239,7 +239,7 @@ export default {
sliderPer
}
=
this
;
let
bet
=
10000
;
//单位 万元
let
result
=
bet
*
sliderPer
/
1000
*
curPaymentPeriod
.
p
*
curPaymentOption
.
p
*
curPaymentOption
.
v
;
let
result
=
bet
*
sliderPer
/
1000
*
curPaymentPeriod
.
p
*
curPaymentOption
.
p
;
result
=
result
.
toFixed
(
2
);
return
result
;
}
...
...
src/pages/index/index.vue
View file @
2035ff8
...
...
@@ -270,7 +270,7 @@
<div
class=
"line"
></div>
<!-- 计算 -->
<div
class=
"calculation"
>
<div
class=
"label"
>
{{
$t
(
'index.quote.genRich.quotePerMonth
'
)
}}
</div>
<div
class=
"label"
>
{{
curPaymentOption
.
n
}}{{
locale
==
'en'
?
' '
:
''
}}{{
$t
(
'index.quote.genRich.Premium
'
)
}}
</div>
<div
class=
"value"
>
$
<span
class=
"price"
>
{{
sumAssured
}}
</span></div>
</div>
<!-- 提示 -->
...
...
Please
register
or
sign in
to post a comment