Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
Support
提交反馈
为 GitLab 提交贡献
登录/注册
切换导航
M
mcep-h5
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
jiangzaicheng
mcep-h5
提交
61ba6d4d
提交
61ba6d4d
编写于
10月 17, 2022
作者:
donghuawangliang0612
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
存贷款背景色,金额,期限,利率箭头
上级
d695499d
变更
2
显示空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
13 行增加
和
6 行删除
+13
-6
DepositInterestTrial.vue
src/views/DepositInterestTrial/DepositInterestTrial.vue
+2
-2
Main.vue
src/views/main/Main.vue
+11
-4
未找到文件。
src/views/DepositInterestTrial/DepositInterestTrial.vue
浏览文件 @
61ba6d4d
...
...
@@ -11,8 +11,8 @@
</tatle-bar
>
<div
class=
"bar"
style=
"height: calc(5vh); "
justify=
"center"
>
<van-row
>
<van-col
span=
"11"
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=
"flag
A
?'white':'green'"
@
click=
"chooseA"
>
存款利息试算
</van-col>
<van-col
span=
"11"
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=
"flag
B
?'white':'green'"
@
click=
"chooseB"
>
贷款利息试算
</van-col>
<van-col
span=
"11"
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=
"flag
B
?'white':'green'"
@
click=
"chooseA"
>
存款利息试算
</van-col>
<van-col
span=
"11"
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=
"flag
A
?'white':'green'"
@
click=
"chooseB"
>
贷款利息试算
</van-col>
</van-row>
</div>
</div>
...
...
src/views/main/Main.vue
浏览文件 @
61ba6d4d
...
...
@@ -396,17 +396,17 @@ export default class Main extends Vue {
tabsList
:
any
=
[
{
name
:
"
金额
"
,
status
:
0
,
status
:
1
,
},
{
name
:
"
期限
"
,
status
:
0
,
status
:
1
,
},
{
name
:
"
利率
"
,
status
:
0
,
status
:
1
,
},
...
...
@@ -697,7 +697,14 @@ export default class Main extends Vue {
}
onClick
(
index
:
any
)
{
for
(
let
i
in
this
.
tabsList
){
if
(
i
===
index
.
toString
()){
this
.
tabsList
[
index
].
status
=
this
.
tabsList
[
index
].
status
===
1
?
0
:
1
}
else
{
this
.
tabsList
[
i
].
status
=
1
;
}
}
// Toast(this.tabsList[index].status===1?"升序":"降序");
}
}
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录