Commit cd536119 authored by chenqikuai's avatar chenqikuai

fix

parents c2b84494 fcad4bc4
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
width: 'calc(100% / 3)', 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 class="bottom-text mt-2.5 text-center">最长产品期限</div>
</div> </div>
<div <div
...@@ -56,7 +56,7 @@ const props = defineProps({ ...@@ -56,7 +56,7 @@ const props = defineProps({
type:Number, type:Number,
requried:true requried:true
}, },
max_date:{ date:{
type:Number, type:Number,
requried:true requried:true
}, },
......
...@@ -13,8 +13,8 @@ ...@@ -13,8 +13,8 @@
<LoanHotCard <LoanHotCard
:inst_name="item.inst_name" :inst_name="item.inst_name"
:product_name="item.product_name" :product_name="item.product_name"
:rate_lower="item.rate_lower" :rate_lower="item.rate"
:max_date="item.max_date" :date="item.date"
:max_amount="item.max_amount" :max_amount="item.max_amount"
:uuid="item.uuid" :uuid="item.uuid"
/> />
...@@ -68,6 +68,8 @@ const fetchList = () => { ...@@ -68,6 +68,8 @@ const fetchList = () => {
queryLoanProductInfo({ uuid }).then((ret) => { queryLoanProductInfo({ uuid }).then((ret) => {
const { const {
rate_lower, rate_lower,
rate,
date,
max_amount, max_amount,
max_date, max_date,
inst_name, inst_name,
...@@ -76,9 +78,9 @@ const fetchList = () => { ...@@ -76,9 +78,9 @@ const fetchList = () => {
} = ret.data; } = ret.data;
state.hotProductList.push({ state.hotProductList.push({
rate_lower, rate,
max_amount, max_amount,
max_date, date,
inst_name, inst_name,
product_name, product_name,
uuid, uuid,
...@@ -88,7 +90,6 @@ const fetchList = () => { ...@@ -88,7 +90,6 @@ const fetchList = () => {
}); });
} }
}); });
console.log("pro", state.hotProductList);
}; };
</script> </script>
......
export interface hotProduct{ export interface hotProduct{
rate_lower:number // rate_lower:number
rate:Number,
date:number,
max_amount:number max_amount:number
max_date:number // max_date:number
inst_name:string inst_name:string
product_name:string, product_name:string,
uuid:string, uuid:string,
......
...@@ -159,7 +159,7 @@ export default defineComponent({ ...@@ -159,7 +159,7 @@ export default defineComponent({
class=" absolute mt-36 right-0 left-0 mx-auto" class=" absolute mt-36 right-0 left-0 mx-auto"
min_amount={min_amount.value} min_amount={min_amount.value}
max_amount={max_amount.value} max_amount={max_amount.value}
rate_lower={rate_lower.value} rate_lower={rate.value}
setRef={(el: HTMLElement) => { setRef={(el: HTMLElement) => {
applyEl.value = el; applyEl.value = el;
}} }}
......
...@@ -83,8 +83,7 @@ import { ...@@ -83,8 +83,7 @@ import {
import { number } from "bitcoinjs-lib/types/script"; import { number } from "bitcoinjs-lib/types/script";
import { Skeleton } from "vant"; import { Skeleton } from "vant";
import { eProductStatus } from "@/service/LoanProductService/type"; import { eProductStatus } from "@/service/LoanProductService/type";
import { getUserMsg } from "@/utils/userMsg"; import { getUserMsg } from "@/utils/userMsg"
export default defineComponent({ export default defineComponent({
components: { components: {
Banner, 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