Commit cd536119 authored by chenqikuai's avatar chenqikuai

fix

parents c2b84494 fcad4bc4
......@@ -17,7 +17,7 @@
width: 'calc(100% / 3)',
}"
>
<div class="top-text text-center">{{max_date}}个月</div>
<div class="top-text text-center">{{date}}</div>
<div class="bottom-text mt-2.5 text-center">最长产品期限</div>
</div>
<div
......@@ -56,7 +56,7 @@ const props = defineProps({
type:Number,
requried:true
},
max_date:{
date:{
type:Number,
requried:true
},
......
......@@ -13,8 +13,8 @@
<LoanHotCard
:inst_name="item.inst_name"
:product_name="item.product_name"
:rate_lower="item.rate_lower"
:max_date="item.max_date"
:rate_lower="item.rate"
:date="item.date"
:max_amount="item.max_amount"
:uuid="item.uuid"
/>
......@@ -68,6 +68,8 @@ const fetchList = () => {
queryLoanProductInfo({ uuid }).then((ret) => {
const {
rate_lower,
rate,
date,
max_amount,
max_date,
inst_name,
......@@ -76,9 +78,9 @@ const fetchList = () => {
} = ret.data;
state.hotProductList.push({
rate_lower,
rate,
max_amount,
max_date,
date,
inst_name,
product_name,
uuid,
......@@ -88,7 +90,6 @@ const fetchList = () => {
});
}
});
console.log("pro", state.hotProductList);
};
</script>
......
export interface hotProduct{
rate_lower:number
// rate_lower:number
rate:Number,
date:number,
max_amount:number
max_date:number
// max_date:number
inst_name:string
product_name:string,
uuid:string,
......
......@@ -159,7 +159,7 @@ export default defineComponent({
class=" absolute mt-36 right-0 left-0 mx-auto"
min_amount={min_amount.value}
max_amount={max_amount.value}
rate_lower={rate_lower.value}
rate_lower={rate.value}
setRef={(el: HTMLElement) => {
applyEl.value = el;
}}
......
......@@ -83,8 +83,7 @@ import {
import { number } from "bitcoinjs-lib/types/script";
import { Skeleton } from "vant";
import { eProductStatus } from "@/service/LoanProductService/type";
import { getUserMsg } from "@/utils/userMsg";
import { getUserMsg } from "@/utils/userMsg"
export default defineComponent({
components: {
Banner,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment