<!--
 * @Author: jiangzaicheng jiangzaicheng_jzc@163.com
 * @Date: 2022-07-07 16:13:13
 * @LastEditors: jiangzaicheng jiangzaicheng_jzc@163.com
 * @LastEditTime: 2022-07-13 17:58:57
 * @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> -->
  <div class="roolsolt">
    <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;">{{ 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" justify="center" class="button">
        <van-col span="24">
          <van-button type="info" @click="lodiing()">立即申请</van-button>
        </van-col>
      </van-row>
    </div>
    <div>
      <van-collapse v-model="activeNames" style="    margin-top: 20%;
    border: 1px solid;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    margin: 20% auto;
    box-shadow: 0 y-shadow 10px 10px rgba(0, 0, 0, .2);
    ">
          <van-collapse-item title="标题1" name="1">内容</van-collapse-item>
          <van-collapse-item title="标题2" name="2">内容</van-collapse-item>
          <van-collapse-item title="标题3" name="3">内容</van-collapse-item>
        </van-collapse>
    </div>
  </div>
</template>

<script lang="ts">
import { Component, Vue, Prop, Watch, Emit } from "vue-property-decorator";
/*
* title
*/
@Component({
  name: "ProductCard"
})
export default class ProductCard extends Vue {
  @Prop({ default: "" }) money: string | undefined; //额度
  @Prop({ default: "" }) moneyName: string | undefined;//额度大写
  //立即登录
activeNames=["1"];
  lodiing() {
    this.$router.push({
      path: "/Recognition",
    })
  }
}
</script>
<style scoped lang="scss">
.div{
  
}
.roolsolt {
  width: 90%;
  margin: 0px auto;
  background-color: rgba(255, 255, 255, 1);
}

.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;
}

.integral {
  //margin-top: 10%;
  /* margin-left: 20%; */
  text-align: center;

  font-size: 36px;
  color: #FFA121;
}

.integrall {
  //margin-top: 10%;
  /* margin-left: 20%; */
  text-align: center;
  color: #FFA121;
  font-size: 14px;
}

.button {
  //margin-top: 10%;
  /* margin-left: 20%; */
  text-align: center;
  font-size: 14px;
  color: #FFFFFF;
}
</style>
