Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
Support
提交反馈
为 GitLab 提交贡献
登录/注册
切换导航
M
mcep-h5
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
jiangzaicheng
mcep-h5
提交
7dc3d554
提交
7dc3d554
编写于
9月 07, 2022
作者:
“grape”
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
利息试算页面适配
上级
bcd6808a
变更
1
显示空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
72 行增加
和
23 行删除
+72
-23
DepositInterestTrial.vue
src/views/DepositInterestTrial/DepositInterestTrial.vue
+72
-23
未找到文件。
src/views/DepositInterestTrial/DepositInterestTrial.vue
浏览文件 @
7dc3d554
...
...
@@ -8,11 +8,11 @@
<!--上部分-->
<div
style=
"width:100%;height: calc(35vh);background: linear-gradient(90deg, #76befa 0%, #3672f1 99%);"
>
<tatle-bar
:tatle=
"titleName"
:tatleflag=
"titleflag"
>
</tatle-bar>
<div
class=
"bar"
>
<van-row>
<van-col
span=
"1
2"
style=
"text-align: center;line-height: 31px;border-radius: 4px 0px 0px 4px;margin-top: 1px
"
:class=
"flagA?'white':'green'"
@
click=
"chooseA"
>
存款利息试算
</van-col>
<van-col
span=
"1
2"
style=
"text-align: center;line-height: 31px;border-radius: 0px 4px 4px 0px;margin-top: 1px
"
:class=
"flagB?'white':'green'"
@
click=
"chooseB"
>
贷款利息试算
</van-col>
</tatle-bar
>
<div
class=
"bar"
style=
"height: calc(5vh); "
justify=
"center"
>
<van-row
>
<van-col
span=
"1
1"
style=
" width:49%; text-align: center;line-height: calc(4vh);border-radius: 4px 0px 0px 4px;margin:calc(0.5vh) 0% calc(0.5vh) 0.5%;
"
:class=
"flagA?'white':'green'"
@
click=
"chooseA"
>
存款利息试算
</van-col>
<van-col
span=
"1
1"
style=
"width:49%; text-align: center;line-height: calc(4vh);border-radius: 0px 4px 4px 0px;margin: calc(0.5vh) 0.5% calc(0.5vh) 0%;
"
:class=
"flagB?'white':'green'"
@
click=
"chooseB"
>
贷款利息试算
</van-col>
</van-row>
</div>
</div>
...
...
@@ -29,7 +29,7 @@
<van-row
type=
"flex"
class=
"layoutName"
>
<van-col
span=
"24"
>
<van-field
is-link
readonly
:value=
"this.typeValue"
label=
"储蓄方式"
input-align=
"right"
placeholder=
"请选择储蓄方式
"
@
click=
"showTypes = true"
/>
<van-field
is-link
readonly
:value=
"this.typeValue"
label=
"储蓄方式"
input-align=
"right"
placeholder=
"请选择
"
@
click=
"showTypes = true"
/>
<van-popup
v-model=
"showTypes"
round
position=
"bottom"
>
<van-picker
show-toolbar
...
...
@@ -52,7 +52,7 @@
<van-row
type=
"flex"
class=
"layoutName"
>
<van-col
span=
"24"
>
<van-field
is-link
readonly
:value=
"timeTypeValue"
label=
"定期类型"
input-align=
"right"
placeholder=
"请选择
定期类型
"
@
click=
"showTimeTypes = true"
/>
<van-field
is-link
readonly
:value=
"timeTypeValue"
label=
"定期类型"
input-align=
"right"
placeholder=
"请选择"
@
click=
"showTimeTypes = true"
/>
<van-popup
v-model=
"showTimeTypes"
round
position=
"bottom"
>
<van-picker
show-toolbar
...
...
@@ -75,7 +75,7 @@
<van-row
type=
"flex"
class=
"layoutName"
>
<van-col
span=
"24"
>
<van-field
is-link
readonly
:value=
"timeValue"
label=
"期限"
input-align=
"right"
placeholder=
"请选择
期限
"
@
click=
"showTimes = true"
/>
<van-field
is-link
readonly
:value=
"timeValue"
label=
"期限"
input-align=
"right"
placeholder=
"请选择"
@
click=
"showTimes = true"
/>
<van-popup
v-model=
"showTimes"
round
position=
"bottom"
>
<van-picker
show-toolbar
...
...
@@ -93,17 +93,56 @@
<div
class=
"d-flex"
style=
"margin-top: 6%;margin-left: 5%"
>
年利率(%)
<van-field
v-model=
"test.yearRate"
placeholder=
"请输入"
style=
"width: 50%;margin-top: -4%;margin-left: auto"
input-align=
"right"
></van-field></div>
<div
class=
"d-flex"
style=
"margin-top: 6%;margin-left: 5%;margin-bottom: 6%"
>
存入金额(元)
<van-field
v-model=
"test.depositAmt"
placeholder=
"请输入"
style=
"width: 50%;margin-top: -4%;margin-left: auto"
input-align=
"right"
></van-field></div>
<!--
<div
class=
"d-flex"
style=
"padding: 10px 16 px ;margin-top: 6%;margin-left: 5%"
>
年利率(%)
<van-field
v-model=
"test.yearRate"
placeholder=
"请输入"
style=
"width: 50%;margin-top: -4%;margin-left: auto"
input-align=
"right"
></van-field></div>
<div
class=
"d-flex"
style=
"margin-top: 6%;margin-left: 5%;margin-bottom: 6%"
>
存入金额(元)
<van-field
v-model=
"test.depositAmt"
placeholder=
"请输入"
style=
"width: 50%;margin-top: -4%;margin-left: auto"
input-align=
"right"
></van-field></div>
-->
<van-row
type=
"flex"
class=
"layoutName"
>
<van-col
span=
"24"
>
<van-field
:value=
"test.yearRate"
label=
"年利率(%)"
input-align=
"right"
placeholder=
"请输入 "
>
</van-field>
</van-col>
</van-row>
<van-row
type=
"flex"
class=
"layoutName"
>
<van-col
span=
"24"
>
<van-field
:value=
"test.yearRate"
label=
"存入金额(元)"
input-align=
"right"
placeholder=
"请输入 "
/>
</van-col>
</van-row>
</div>
<!--
<div
v-if=
"flag"
style=
"margin-top: 160px; text-align: right; margin-right: 10px; font-size: 12px; color: #3672F1"
@
click=
"toDepositRate"
>
-->
<!-- 查看基准存款利率-->
<!--
</div>
-->
<div
class=
"card"
v-if=
"!flag"
:model=
"test2"
>
<
div
class=
"d-flex"
style=
"margin-top: 6%;margin-left: 5%"
>
贷款金额(元)
<van-field
v-model=
"test2.loanAmt"
placeholder=
"请输入贷款金额
"
style=
"width: 50%;margin-top: -4%;margin-left: auto;"
input-align=
"right"
></van-field></div>
<div
class=
"d-flex"
style=
"margin-top: 6%;margin-left: 5%"
>
贷款期限(月)
<van-field
v-model=
"test2.loanTime"
placeholder=
"请输入贷款期限"
style=
"width: 50%;margin-top: -4%;margin-left: auto"
input-align=
"right"
></van-field></div>
<
!--
<div
class=
"d-flex"
style=
"margin-top: 6%;margin-left: 5%"
>
贷款金额(元)
<van-field
v-model=
"test2.loanAmt"
placeholder=
"请输入贷款金额
"
style=
"width: 50%;margin-top: -4%;margin-left: auto;"
input-align=
"right"
></van-field></div>
<div
class=
"d-flex"
style=
"margin-top: 6%;margin-left: 5%"
>
贷款期限(月)
<van-field
v-model=
"test2.loanTime"
placeholder=
"请输入贷款期限
"
style=
"width: 50%;margin-top: -4%;margin-left: auto"
input-align=
"right"
></van-field></div>
<!--
<div
class=
"d-flex"
style=
"margin-top: 6%;margin-left: 5%"
>
计划月还款(元)
<van-field
v-model=
"test2.planMonthRepay"
placeholder=
"请输入计划月还款"
style=
"width: 50%;margin-top: -4%;margin-left: auto"
></van-field></div>
-->
<div
class=
"d-flex"
style=
"margin-top: 6%;margin-left: 5%"
>
贷款利率(%)
<van-field
v-model=
"test2.loanRate"
placeholder=
"请输入贷款利率"
style=
"width: 50%;margin-top: -4%;margin-left: auto;"
input-align=
"right"
></van-field></div>
<!--
<div
class=
"d-flex"
style=
"margin-top: 6%;margin-left: 5%"
>
贷款利率(%)
<van-field
v-model=
"test2.loanTime"
placeholder=
"请输入贷款利率 "
style=
"width: 50%;margin-top: -4%;margin-left: auto;"
input-align=
"right"
></van-field></div>
-->
<van-row
type=
"flex"
class=
"layoutName"
>
<van-col
span=
"24"
>
<van-field
:value=
"test2.loanAmt"
label=
"贷款金额(元)"
input-align=
"right"
placeholder=
"请输入 "
/>
</van-col>
</van-row>
<van-row
type=
"flex"
class=
"layoutName"
>
<van-col
span=
"24"
>
<van-field
:value=
"test2.loanTime"
label=
"贷款期限(月)"
input-align=
"right"
placeholder=
"请输入 "
/>
</van-col>
</van-row>
<van-row
type=
"flex"
class=
"layoutName"
>
<van-col
span=
"24"
>
<van-field
:value=
"test2.loanTime"
label=
"贷款利率(%)"
input-align=
"right"
placeholder=
"请输入 "
/>
</van-col>
</van-row>
<!--
<div
class=
"d-flex"
style=
"margin-top: 6%;margin-left: 5%"
>
贷款种类-->
<!--
<a-select
v-model:value=
"test2.loanType"
:options=
"loanTypes"
placeholder=
"请选择贷款种类"
style=
"width: 50%;margin-top: -2%;margin-left: auto"
>
-->
<!--
</a-select>
-->
...
...
@@ -132,15 +171,19 @@
</div>
<!--
<div
style=
"margin-top:-60px;"
>
-->
<div
v-if=
"flag"
>
<van-button
style=
"width: 90%;margin-left: 5%;background-color: #
1890ff;position: absolute;margin-top: 86%;height: 6%;border-radius: 5px;
"
type=
"primary"
@
click=
"countA"
>
计算
</van-button>
<van-button
style=
"width: 90%;margin-left: 5%;position: absolute;margin-top:
100%;height: 6%;border-radius: 5px;border-color: #1890ff"
@
click=
"clearData"
><span
style=
"color: #1890ff
"
>
清除
</span></van-button>
<van-button
style=
"width: 90%;margin-left: 5%;background-color: #
3672F1;position: absolute;margin-top: 60%;height: 6%;border-radius: 5px; border-color: #3672F1
"
type=
"primary"
@
click=
"countA"
>
计算
</van-button>
<van-button
style=
"width: 90%;margin-left: 5%;position: absolute;margin-top:
75%;height: 6%;border-radius: 5px;border-color: #3672F1"
@
click=
"clearData"
><span
style=
"color: #3672F1
"
>
清除
</span></van-button>
</div>
<div
v-if=
"!flag"
>
<van-button
style=
"width: 90%;margin-left: 5%;background-color: #
1890ff;position: absolute;margin-top: 86%;height: 6%;border-radius: 5px;
"
type=
"primary"
@
click=
"countB"
>
计算
</van-button>
<van-button
style=
"width: 90%;margin-left: 5%;position: absolute;margin-top:
102%;height: 6%;border-radius: 5px;border-color: #1890ff"
@
click=
"clearDataB"
><span
style=
"color: #1890ff
"
>
清除
</span></van-button>
<van-button
style=
"width: 90%;margin-left: 5%;background-color: #
3672F1;position: absolute;margin-top: 60%;height: 6%;border-radius: 5px; border-color: #3672F1
"
type=
"primary"
@
click=
"countB"
>
计算
</van-button>
<van-button
style=
"width: 90%;margin-left: 5%;position: absolute;margin-top:
75%;height: 6%;border-radius: 5px;border-color: #3672F1"
@
click=
"clearDataB"
><span
style=
"color: #3672F1
"
>
清除
</span></van-button>
</div>
</div>
<!--
</div>
-->
</div>
</
template
>
...
...
@@ -360,18 +403,21 @@ export default class DepositInterestTrial extends Vue{
}
.white
{
background-color
:
#ffffff
;
color
:
#
0073ff
;
color
:
#
3672F1
;
}
.green
{
background-color
:
#
409eff
;
background-color
:
#
3672F1
;
color
:
#ffffff
;
}
.card
{
padding
:
1
.5%
0%
1
.5%
0%
;
position
:
absolute
;
background-color
:
#ffffff
;
width
:
90%
;
margin-left
:
5%
;
margin-top
:
-30%
;
margin-top
:
-25%
;
border-radius
:
10px
;
}
.layoutName
{
font-family
:
"Arial Normal"
,
"Arial"
;
...
...
@@ -381,10 +427,13 @@ export default class DepositInterestTrial extends Vue{
font-size
:
13px
;
color
:
rgba
(
0
,
0
,
0
,
0
.65
);
}
::v-deep
.ant-select-selection
{
border
:
none
;
}
::v-deep
.van-field__label
{
color
:
#
000000
A6
;
color
:
#
212529
;
}
</
style
>
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录