Commit 004f0882 authored by tanjuanjuan's avatar tanjuanjuan

测试

parent 120c2f14
...@@ -52,7 +52,7 @@ ...@@ -52,7 +52,7 @@
<span class="fakeStar txt">{{pInfo.spmfact}}</span> <span class="fakeStar txt">{{pInfo.spmfact}}</span>
<span class="iconfont icon-yanjing-zhengyan"></span> <span class="iconfont icon-yanjing-zhengyan"></span>
</view> </view>
<view @click="goToList(1)" class="getMore"> <view @click="goToList(1)" class="getMore">
<span>更多</span> <span>更多</span>
<span class="iconfont icon-jiantou2"></span> <span class="iconfont icon-jiantou2"></span>
</view> </view>
...@@ -131,11 +131,13 @@ ...@@ -131,11 +131,13 @@
} from 'vue' } from 'vue'
import { import {
infoPinia infoPinia
} from '@/store'; } from '@/store';
import {payList} from '../../api/request' import {
payList
} from '../../api/request'
const infoStore = infoPinia() const infoStore = infoPinia()
const getCurrentTimestamp = () => { const getCurrentTimestamp = () => {
...@@ -175,7 +177,7 @@ ...@@ -175,7 +177,7 @@
const loadData = computed(() => { const loadData = computed(() => {
return infoStore.loanInfo || "" return infoStore.loanInfo || ""
}) })
const goToDetail=()=>{ const goToDetail = () => {
xma.navigateTo({ xma.navigateTo({
url: "/pages/account/account", url: "/pages/account/account",
animationType: 'pop-in', animationType: 'pop-in',
...@@ -196,9 +198,9 @@ ...@@ -196,9 +198,9 @@
animationDuration: 200 animationDuration: 200
}) })
} }
const goToList=(n)=>{ const goToList = (n) => {
xma.navigateTo({ xma.navigateTo({
url: "/pages/list/list?type="+n, url: "/pages/list/list?type=" + n,
animationType: 'pop-in', animationType: 'pop-in',
animationDuration: 200 animationDuration: 200
}) })
...@@ -226,40 +228,43 @@ ...@@ -226,40 +228,43 @@
success: function(res) { success: function(res) {
const info = JSON.parse(res.data.data) const info = JSON.parse(res.data.data)
infoStore.person = info.body.detail; infoStore.person = info.body.detail;
//公积金缴费明细 //公积金缴费明细
xma.request({ // xma.request({
url: 'https://onemoment.gywb.cn/back/sgy-gjj/gjj/gjjzgcjmx', // url: 'https://onemoment.gywb.cn/back/sgy-gjj/gjj/gjjzgcjmx',
data: { // data: {
"eatda": "string", // "eatda": "string",
"iseqno": "string", // "iseqno": "string",
"jzh": "string", // "jzh": "string",
"sdata": "string", // "sdata": "string",
"spcode": spcode.value, // "spcode": spcode.value,
"transcode": "string" // "transcode": "string"
}, // },
header: { // header: {
'content-type': 'application/json' // 'content-type': 'application/json'
}, // },
method: "POST", // method: "POST",
success: function(res) { // success: function(res) {
const data = JSON.parse(res.data.data) // const data = JSON.parse(res.data.data)
infoStore.listInfo = data.data.records[0].list.acc_info // infoStore.listInfo = data.data.records[0].list.acc_info
}}) // }
// })
payList({
"eatda": "string", payList({
"iseqno": "string", "eatda": "string",
"jzh": "string", "iseqno": "string",
"sdata": "string", "jzh": "string",
"spcode": spcode.value, "sdata": "string",
"transcode": "string" "spcode": spcode.value,
}).then(res=>{ "transcode": "string"
console.log("in request ***"), }).then(res => {
console.log("in request ***"),
console.log(res) console.log(res)
}) const data = JSON.parse(res.data);
infoStore.listInfo = data.data.records[0].list.acc_info
})
//公积金贷款信息 //公积金贷款信息
...@@ -322,7 +327,6 @@ ...@@ -322,7 +327,6 @@
return year + '年' + month + '月' return year + '年' + month + '月'
} }
}) })
</script> </script>
<style scoped> <style scoped>
* { * {
...@@ -334,7 +338,7 @@ ...@@ -334,7 +338,7 @@
.main { .main {
width: 100%; width: 100%;
max-width: 750px; max-width: 750px;
padding-bottom:20px; padding-bottom: 20px;
} }
.inner { .inner {
...@@ -399,7 +403,11 @@ ...@@ -399,7 +403,11 @@
background-color: white; background-color: white;
border-radius: 10px; border-radius: 10px;
} }
.box2{margin-bottom:20px;}
.box2 {
margin-bottom: 20px;
}
.item { .item {
margin-bottom: 20px; margin-bottom: 20px;
} }
......
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