Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gjjCode
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
tanjuanjuan
gjjCode
Commits
004f0882
Commit
004f0882
authored
Jan 03, 2025
by
tanjuanjuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
测试
parent
120c2f14
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
51 additions
and
43 deletions
+51
-43
index.vue
src/pages/index/index.vue
+51
-43
No files found.
src/pages/index/index.vue
View file @
004f0882
...
...
@@ -52,7 +52,7 @@
<span
class=
"fakeStar txt"
>
{{
pInfo
.
spmfact
}}
</span>
<span
class=
"iconfont icon-yanjing-zhengyan"
></span>
</view>
<view
@
click=
"goToList(1)"
class=
"getMore"
>
<view
@
click=
"goToList(1)"
class=
"getMore"
>
<span>
更多
</span>
<span
class=
"iconfont icon-jiantou2"
></span>
</view>
...
...
@@ -131,11 +131,13 @@
}
from
'vue'
import
{
infoPinia
infoPinia
}
from
'@/store'
;
import
{
payList
}
from
'../../api/request'
import
{
payList
}
from
'../../api/request'
const
infoStore
=
infoPinia
()
const
getCurrentTimestamp
=
()
=>
{
...
...
@@ -175,7 +177,7 @@
const
loadData
=
computed
(()
=>
{
return
infoStore
.
loanInfo
||
""
})
const
goToDetail
=
()
=>
{
const
goToDetail
=
()
=>
{
xma
.
navigateTo
({
url
:
"/pages/account/account"
,
animationType
:
'pop-in'
,
...
...
@@ -196,9 +198,9 @@
animationDuration
:
200
})
}
const
goToList
=
(
n
)
=>
{
const
goToList
=
(
n
)
=>
{
xma
.
navigateTo
({
url
:
"/pages/list/list?type="
+
n
,
url
:
"/pages/list/list?type="
+
n
,
animationType
:
'pop-in'
,
animationDuration
:
200
})
...
...
@@ -226,40 +228,43 @@
success
:
function
(
res
)
{
const
info
=
JSON
.
parse
(
res
.
data
.
data
)
infoStore
.
person
=
info
.
body
.
detail
;
//公积金缴费明细
xma
.
request
({
url
:
'https://onemoment.gywb.cn/back/sgy-gjj/gjj/gjjzgcjmx'
,
data
:
{
"eatda"
:
"string"
,
"iseqno"
:
"string"
,
"jzh"
:
"string"
,
"sdata"
:
"string"
,
"spcode"
:
spcode
.
value
,
"transcode"
:
"string"
},
header
:
{
'content-type'
:
'application/json'
},
method
:
"POST"
,
success
:
function
(
res
)
{
const
data
=
JSON
.
parse
(
res
.
data
.
data
)
infoStore
.
listInfo
=
data
.
data
.
records
[
0
].
list
.
acc_info
}})
payList
({
"eatda"
:
"string"
,
"iseqno"
:
"string"
,
"jzh"
:
"string"
,
"sdata"
:
"string"
,
"spcode"
:
spcode
.
value
,
"transcode"
:
"string"
}).
then
(
res
=>
{
console
.
log
(
"in request ***"
),
// xma.request({
// url: 'https://onemoment.gywb.cn/back/sgy-gjj/gjj/gjjzgcjmx',
// data: {
// "eatda": "string",
// "iseqno": "string",
// "jzh": "string",
// "sdata": "string",
// "spcode": spcode.value,
// "transcode": "string"
// },
// header: {
// 'content-type': 'application/json'
// },
// method: "POST",
// success: function(res) {
// const data = JSON.parse(res.data.data)
// infoStore.listInfo = data.data.records[0].list.acc_info
// }
// })
payList
({
"eatda"
:
"string"
,
"iseqno"
:
"string"
,
"jzh"
:
"string"
,
"sdata"
:
"string"
,
"spcode"
:
spcode
.
value
,
"transcode"
:
"string"
}).
then
(
res
=>
{
console
.
log
(
"in request ***"
),
console
.
log
(
res
)
})
const
data
=
JSON
.
parse
(
res
.
data
);
infoStore
.
listInfo
=
data
.
data
.
records
[
0
].
list
.
acc_info
})
//公积金贷款信息
...
...
@@ -322,7 +327,6 @@
return
year
+
'年'
+
month
+
'月'
}
})
</
script
>
<
style
scoped
>
*
{
...
...
@@ -334,7 +338,7 @@
.main
{
width
:
100%
;
max-width
:
750px
;
padding-bottom
:
20px
;
padding-bottom
:
20px
;
}
.inner
{
...
...
@@ -399,7 +403,11 @@
background-color
:
white
;
border-radius
:
10px
;
}
.box2
{
margin-bottom
:
20px
;}
.box2
{
margin-bottom
:
20px
;
}
.item
{
margin-bottom
:
20px
;
}
...
...
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