feat: 新增银行系统前端

This commit is contained in:
橙子
2024-03-12 23:01:10 +08:00
parent af98ef56a1
commit 61d774817f
10 changed files with 1805 additions and 1683 deletions

View File

@@ -1,31 +1,61 @@
<template>
<div class="bank-body">
<h2>小心谨慎选择银行机构确保资金安全</h2>
<div>
<ExchangeRate/>
</div>
<el-divider />
<div>
<el-row :gutter="20">
<el-col :span=8 v-for="i in 10">
<BankCard ></BankCard>
</el-col>
<div class="bank-body">
<h2>小心谨慎选择银行机构确保资金安全</h2>
<div>
<ExchangeRate :option="statisOptions" />
<div class="div-show">
<p class="p-rate">当前实时利息<span>110%</span>可获取投入的百分之110%的本金</p>
<el-button type="primary"><el-icon><AddLocation /></el-icon>申领银行卡</el-button>
</div>
</div>
<el-divider />
<div>
<el-row :gutter="20">
<el-col :span=8 v-for="i in 6">
<BankCard></BankCard>
</el-col>
</el-row>
</div>
</div>
</div>
</template>
<script setup>
import BankCard from "./components/BankCard.vue"
import ExchangeRate from "./components/ExchangeRate.vue"
import ExchangeRate from "./components/ExchangeRateChart.vue"
import {computed, ref} from "vue";
const weekList=ref([]);
const statisOptions = computed(() => {
return {
xAxis: {
data: ['1时', '2时', '3时', '4时', '5时', '6时', '7时','1时', '2时', '3时', '4时', '5时', '6时', '7时','5时', '6时', '7时','1时', '2时', '3时', '4时', '5时', '6时', '7时']
},
series: {
data:[10, 6, 13, 11, 12, 12, 9,10, 11, 13, 11, 8, 14, 9,12, 12, 9,10, 11, 13, 11, 8, 14, 9]
},
};
});
</script>
<style scoped lang="scss">
.bank-body
{
padding: 10px;
.bank-body {
padding: 20px 30px;
}
h2{
text-align: center;
h2 {
text-align: center;
}
.div-show
{
display: flex;
justify-content: space-between;
.p-rate
{
span{
font-weight:600;
font-size: larger;
}
}
}
</style>