<!-- * @Author: jiangzaicheng jiangzaicheng_jzc@163.com * @Date: 2022-07-04 16:24:00 * @LastEditors: jiangzaicheng jiangzaicheng_jzc@163.com * @LastEditTime: 2022-08-18 13:55:42 * @FilePath: \mcep-h5\src\components\common\Tatle.vue * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE --> <template> <!-- <div> --> <div class="d-tatle"> <div class="card" @click="onClickPicket()"> <van-row> <van-col span="24" class="priductName">{{ productname }}</van-col> </van-row> <div class="describe" style="line-height: 30px;"> <div class="description">{{ describe }}</div> </div> <van-row type="flex" justify="center" style="line-height: 30px;font-weight: 700;"> <van-col span="8" class="loanterm" style="text-align: center;">{{ limitrange }}</van-col> <van-col span="8" class="interestrate" style="text-align: center;">{{ interestrate }}</van-col> <van-col span="8" class="loanterm" style="text-align: center;">{{ loanterm }}</van-col> </van-row> <van-row type="flex" justify="center" style="line-height: 30px;color: #999999;font-weight: 400;font-size: 12px;"> <van-col span="8" class="loantermlot">面向人群</van-col> <van-col span="8" class="loantermlot">担保方式</van-col> <van-col span="8" class="loantermlot">贷款期限</van-col> </van-row> </div> </div> </template> <script lang="ts"> import { Component, Vue, Prop, Watch, Emit } from "vue-property-decorator"; /* * title */ @Component({ name: "Picket2", }) export default class Picket extends Vue { @Prop({ default: "" }) productname: string | undefined //产品名称 @Prop({ default: "" }) describe: string | undefined //描述 @Prop({ default: "" }) limitrange: string | undefined //额度范围 @Prop({ default: "" }) interestrate: string | undefined //利率 @Prop({ default: "" }) loanterm: string | undefined //贷款期限 //调用父组件的值 @Emit("onClickPicket") onClickPicket(){} } </script> <style scoped lang="scss"> .card { height: 130px; width: 98%; margin: 0% auto; background: inherit; background-color: rgba(255, 255, 255, 1); border: none; border-radius: 4px; -moz-box-shadow: 0px 0px; box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1); } .priductName{ font-size: 16px; text-align: left; //margin-left: 3%; font-weight: 600; margin: 2% 0% 2% 4%; text-rendering: optimizeLegibility; font-feature-settings: "kern" 1; -webkit-font-feature-settings: "kern"; -moz-font-feature-settings: "kern"; -moz-font-feature-settings: "kern=1"; font-kerning: normal; } // .describe{ // background: #eaf5ff; // } .description{ background: #eaf5ff; font-size: 12px; margin-left: 3%; color: #1890FF; text-rendering: optimizeLegibility; font-feature-settings: "kern" 1; -webkit-font-feature-settings: "kern"; -moz-font-feature-settings: "kern"; -moz-font-feature-settings: "kern=1"; font-kerning: normal; // width: 50%; border-radius: 4px; padding-left:1%; // text-align: center; } .limitrange{ // margin-left: 3%; align-items: center; font-family: 'Arial Negreta', 'Arial Normal', 'Arial', sans-serif; font-weight: 700; font-style: normal; font-size: 20px; color: #FF7628; text-rendering: optimizeLegibility; font-feature-settings: "kern" 1; -webkit-font-feature-settings: "kern"; -moz-font-feature-settings: "kern"; -moz-font-feature-settings: "kern=1"; font-kerning: normal; } .van-col--8 { width: 32%; } .loantermlot{ text-align: center; } </style>