<!-- * @Author: jiangzaicheng jiangzaicheng_jzc@163.com * @Date: 2022-07-07 16:13:13 * @LastEditors: jiangzaicheng jiangzaicheng_jzc@163.com * @LastEditTime: 2022-07-25 18:17:02 * @FilePath: \mcep-h5\src\components\common\Bottom.vue * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE --> <template> <div class="body"> <div class="rarle"> <tatle-bar :tatle="tatleName" class="d-table"></tatle-bar> </div> <div class="rool"> <van-row type="flex"> <van-col span="24" class="title">贷款额度</van-col> </van-row> <van-row type="flex" justify="center" class="integral"> <van-col span="24" style="font-size: 24px;font-weight: 900; margin: 14px auto;">{{ money }}</van-col> </van-row> <van-row type="flex" justify="center" class="integrall"> <van-col span="24">{{ moneyName }}</van-col> </van-row> <van-row type="flex" class="layoutStep" gutter="2"> <van-col span="7" class="coolllo">下期还款日期</van-col> <van-col span="9" class="coolllo">2021/02/21 03:14:12</van-col> <van-col span="4" class="coolllo">还款金额</van-col> <van-col span="4" class="coolllo">2000</van-col> </van-row> </div> <div class="clltion"> <van-row type="flex" class="layoutSeep"> <van-col span="10" class="repaymentName">还款计划信息</van-col> <van-col span="14" class="rain">单位:万元</van-col> </van-row> </div> <div> <a-table :columns="columns" :data-source="data" tableLayout="fixed " size="small" :scroll="{ y: '100%' }" columnWidth=16 width=16 style="font-text:10px;" align="center" :pagination="false"> </a-table> </div> </div> </template> <script lang="ts"> import { Component, Vue, Prop, Watch, Emit } from "vue-property-decorator"; import 'ant-design-vue/dist/antd' /* * title */ @Component({ name: "Repayment" }) export default class Repayment extends Vue { money: string | undefined = "¥500万元"; //额度 moneyName: string | undefined = " 伍佰万元";//额度大写 tatleName = "还款计划" //colum columns = [ { title: '期次', dataIndex: 'Period ', key: 'Period', }, { title: '还款日期', dataIndex: 'Repayment', key: 'Repayment', }, { title: '偿还利息', dataIndex: 'principal', key: 'principal', }, { title: '偿还本金', dataIndex: 'Repay', key: 'Repay' }, { title: '偿还利息', dataIndex: 'interest', key: 'interest', }, { title: '剩余利息', dataIndex: 'residual', key: 'residual', }, ]; //data data = [ { key: "1", Period: "1", Repayment: "2020-01-01", principal: "1100", Repay: "1000", interest: "10000", residual: "1000" }, { key: "2", Period: "1", Repayment: "2020-01-01", principal: "1100", Repay: "1000", interest: "10000", residual: "1000" }, { key: "3", Period: "1", Repayment: "2020-01-01", principal: "1100", Repay: "1000", interest: "10000", residual: "1000" }, { key: "4", Period: "1", Repayment: "2020-01-01", principal: "1100", Repay: "1000", interest: "10000", residual: "1000" }, { key: "5", Period: "1", Repayment: "2020-01-01", principal: "1100", Repay: "1000", interest: "10000", residual: "1000" }, ]; } </script> <style scoped lang="scss"> .d-table { width: 100%; height: 30vh; } .clltion {} .repaymentName { text-align: center; font-family: 'Arial Negreta', 'Arial Normal', 'Arial'; font-weight: 700; font-style: normal; font-size: 16px; } .ant-table-column-title { font-family: 'Arial Normal', 'Arial'; font-weight: 400; font-style: normal; font-size: 12px; letter-spacing: normal; color: #333333; } .rain { padding-right: 4%; text-align: right; font-family: 'Arial Normal', 'Arial'; font-weight: 400; font-style: normal; font-size: 13px; letter-spacing: normal; color: #333333; font-size: 12px; } .layoutSeep { margin-top: 26%; } .title { margin-top: 10%; font-size: 14px; text-align: center; font-family: 'Arial Normal', 'Arial', sans-serif; font-weight: 400; font-style: normal; letter-spacing: normal; color: #999999; vertical-align: none; text-align: center; line-height: normal; text-transform: none; } .layoutStep { margin: 5% auto; text-align: center; } .integral { //margin-top: 10%; /* margin-left: 20%; */ text-align: center; width: 90%; height: 66px; margin: 0px auto; font-size: 36px; color: #FFA121; background-image: url('../../assets/images/tw.png'); } .integrall { //margin-top: 10%; /* margin-left: 20%; */ text-align: center; color: #FFA121; font-size: 14px; } .rool { margin: 0px auto; background-color: rgba(255, 255, 255, 1); position: absolute; box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.12156862745098); top: 13%; /* left: calc(100vh - -15px); */ margin: 0px auto; right: 4%; width: 90%; height: 30%; /* margin: 2% auto; */ border-radius: 5px; /* display: flex; */ font-weight: 400; font-style: normal; } .coolllo { font-family: 'Arial Normal', 'Arial'; font-weight: 400; font-style: normal; font-size: 12px; letter-spacing: normal; color: #333333; } </style>