提交 5a9c4cb7 编写于 作者: donghuawangliang0612's avatar donghuawangliang0612

下拉刷新页面

上级 a026fe76
<template> <template>
<div id="app"> <div id="app">
<transition :name="animateName"> <!-- <transition :name="animateName">-->
<keep-alive> <keep-alive>
<router-view class="router-container" v-if="$route.meta.keepAlive"> </router-view> <router-view class="router-container" v-if="$route.meta.keepAlive"> </router-view>
</keep-alive> </keep-alive>
</transition> <!-- </transition>-->
<!-- <transition :name="animateName">--> <!-- <transition :name="animateName">-->
<router-view class="router-container" v-if="!$route.meta.keepAlive"> </router-view> <router-view class="router-container" v-if="!$route.meta.keepAlive"> </router-view>
<!-- </transition>--> <!-- </transition>-->
......
...@@ -13,8 +13,8 @@ ...@@ -13,8 +13,8 @@
<tatle-bar :tatle="tatleName"></tatle-bar> <tatle-bar :tatle="tatleName"></tatle-bar>
</div> </div>
<div > <div >
<scroller-view pullup="true" pulldown="true" v-calculate-height > <scroller-view pullup="true" pulldown="true" height="600">
<div class="card" v-for="(item, index) in productParam" :key="index"> <div class="cardA" v-for="(item, index) in productParam" :key="index">
<div> <div>
<van-row @click="onClickDetails(item)"> <van-row @click="onClickDetails(item)">
<van-col span="16"> <van-col span="16">
...@@ -112,6 +112,7 @@ ...@@ -112,6 +112,7 @@
<!-- <use xlink:href="#icon-weiqianding"></use>--> <!-- <use xlink:href="#icon-weiqianding"></use>-->
<!-- </svg>--> <!-- </svg>-->
<img class="icon" v-if="item.status === 3" :src="require('@/assets/images/shenqingzhong.png')"/> <img class="icon" v-if="item.status === 3" :src="require('@/assets/images/shenqingzhong.png')"/>
<img class="icon" v-if="item.status === 2" :src="require('@/assets/images/shoulizhong.png')"/>
</van-col> </van-col>
</van-row> </van-row>
...@@ -169,6 +170,13 @@ export default class AccommodMain extends Vue { ...@@ -169,6 +170,13 @@ export default class AccommodMain extends Vue {
}, },
]; ];
productParamA = [ productParamA = [
{
productName: "小微企业抵押'一证通'贷款",
applyAmount: "30,000.00",
applyRate: "1.13%",
applyDate: "2022-08-23",
status: 2
},
{ {
productName: "小微企业抵押'一证通'贷款", productName: "小微企业抵押'一证通'贷款",
applyAmount: "30,000.00", applyAmount: "30,000.00",
...@@ -229,6 +237,14 @@ export default class AccommodMain extends Vue { ...@@ -229,6 +237,14 @@ export default class AccommodMain extends Vue {
} }
.card { .card {
border-radius: 2%;
//height: 28vh;
height: 210px;
margin: 3% 3% 3% 3%;
background: #ffffff;
border: none;
}
.cardA {
border-radius: 2%; border-radius: 2%;
//height: 28vh; //height: 28vh;
height: 190px; height: 190px;
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册