Commit 1fc5fb35 by liujinsa

优化

parent c1dc485e
<template>
<!-- uooya对账单定制 -->
<div class="statementAccount">
<div class="stateList" v-for="(item,index) in list" :key="index">
<div class="dateHeader">
<p>{{item.year}}</p>
</div>
<div class="monthList flex flex-cen flex-btw van-hairline--bottom" v-for="(monthItem,index1) in item.month" :key="index1">
<div class="state">{{monthItem}}月账单</div>
<van-button @click="downloadPdf(item.year + monthItem)">下载</van-button>
<div v-if="list && list.length>0">
<div class="stateList" v-for="(item,index) in list" :key="index">
<div class="dateHeader">
<p>{{item.year}}</p>
</div>
<div class="monthList flex flex-cen flex-btw van-hairline--bottom" v-for="(monthItem,index1) in item.month" :key="index1">
<div class="state">{{monthItem}}月账单</div>
<van-button @click="downloadPdf(item.year + monthItem)">下载</van-button>
</div>
</div>
</div>
<div v-else style="margin:20px auto;font-size:14px;text-align:center">暂无数据</div>
</div>
</template>
......
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