Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
fns_front_2
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
chenqikuai
fns_front_2
Commits
cd536119
Commit
cd536119
authored
Oct 21, 2021
by
chenqikuai
Browse files
Options
Browse Files
Download
Plain Diff
fix
parents
c2b84494
fcad4bc4
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
14 additions
and
12 deletions
+14
-12
index.vue
src/components/Loan/LoanHotCard/index.vue
+2
-2
index.vue
src/components/Loan/LoanHotSwipe/index.vue
+6
-5
type.ts
src/components/Loan/LoanHotSwipe/type.ts
+4
-2
index.vue
src/views/LoanDetail/index.vue
+1
-1
index.vue
src/views/withMenu/Home/index.vue
+1
-2
No files found.
src/components/Loan/LoanHotCard/index.vue
View file @
cd536119
...
...
@@ -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
},
...
...
src/components/Loan/LoanHotSwipe/index.vue
View file @
cd536119
...
...
@@ -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
>
...
...
src/components/Loan/LoanHotSwipe/type.ts
View file @
cd536119
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
,
...
...
src/views/LoanDetail/index.vue
View file @
cd536119
...
...
@@ -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
;
}}
...
...
src/views/withMenu/Home/index.vue
View file @
cd536119
...
...
@@ -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
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment