| 12345678910111213141516171819202122232425262728293031 |
- <!-- 内容 -->
- <view class="container" style="padding-bottom: {{ safeBottom }}px;">
- <!-- 导航栏 -->
- <van-nav-bar custom-style="background-color: #407DB8">
- <van-icon slot="left" name="arrow-left" size="25px" color="#fff" bind:click="backToParent"/>
- <text slot="title" style="color: #fff;">发票信息</text>
- </van-nav-bar>
- <!-- 数据列表 -->
- <view class="list">
- <view class="list-item" wx:for="{{ infos }}" wx:for-item="itm" wx:for-index="idx" id="{{ idx }}" wx:key="phonenum" bindtap="onButtonPressed">
- <view class="list-item-info">
- <van-button size="mini" type="info">{{ itm.receipttype == 1 ? "个人" : "企业" }}</van-button>
- <text wx:if="{{ itm.receipttype == 2 }}" class="taxpayerid">税号:{{ itm.taxpayerid }}</text>
- <text class="username">{{ itm.username }}</text>
- </view>
- </view>
- </view>
- <!-- empty -->
- <van-empty wx:if="{{ isEmpty }}" class="custom-image" description="无数据"/>
- <!-- 底部视图 -->
- <view class="buttom_view">
- <van-button id="new" round color="#407DB8" block style="width: 90%; padding-top: 5px; padding-top: 10px;" bind:click="onButtonPressed">新增发票</van-button>
- </view>
- </view>
- <!-- toast -->
- <van-toast id="van-toast" />
|