12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879 |
- <!--pages/myRecord/myRecord.wxml-->
- <view class="myrecord-content">
- <block>
- <view class="nav-header ittflex">
- <view class="nav-item nav-all ittflex {{navItemActive == '0' ? 'nav-item-active' : ''}}" bindtap="handleChangeNav" data-index="0">充值记录</view>
- <view class="nav-item nav-wait ittflex {{navItemActive == '1' ? 'nav-item-active' : ''}}" bindtap="handleChangeNav" data-index="1">核销记录</view>
- </view>
- </block>
- <!-- 充值记录 -->
- <block wx:if="{{navItemActive == '0'}}">
- <view class="charge-record record-main">
- <block wx:if="{{chargeRecordList.length == 0}}">
- <view class="nodate" >
- <van-empty description="暂无数据" />
- </view>
- </block>
- <block wx:if="{{chargeRecordList.length !== 0}}">
- <view class="record-item ittflex-jcs" wx:for="{{chargeRecordList}}" wx:key="index">
- <view class="left icon">
- <image class="image" src="{{item.goodsImg}}"></image>
- </view>
- <view class="center info">
- <view class="title info-item">
- <!-- 充值类型 充值类型 【1、购买套餐,2、实体卡 3、体验卡 4、活动赠送 -->
- <text>{{item.typeName}}</text>
- </view>
- <view class="carno info-item">
- <text>卡编号:</text>
- <text>{{item.orderCode}}</text>
- </view>
- <view class="time info-item">
- <text>激活时间:</text>
- <text>{{item.addTime}}</text>
- </view>
- </view>
- <view class="right count">+{{item.useNumber}}</view>
- </view>
- </block>
- </view>
- </block>
- <!-- 核销记录 -->
- <block wx:if="{{navItemActive == '1'}}">
- <view class="destory-record record-main">
- <block wx:if="{{destoryRecordList.length == 0}}">
- <view class="nodate" >
- <van-empty description="暂无数据" />
- </view>
- </block>
- <block wx:if="{{destoryRecordList.length !== 0}}">
- <view class="des-record-item ittflex-jcs" wx:for="{{destoryRecordList}}" wx:key="index">
- <view class="item-left img">
- <image class="img-item" src="../../imaes/baogao_sel@2x.png"></image>
- </view>
- <view class="item-center">
- <!-- 状态 0:已核销 1:待体检(输入核销码) 2:体检完成 (体检报告检出) -->
- <view class="item-status">
- <text wx:if="{{item.status == 0}}">已核销</text>
- <text wx:if="{{item.status == 1}}">待体检</text>
- <text wx:if="{{item.status == 2}}">体检完成</text>
- </view>
- <view class="real-name stitle">
- <text>体检人:</text>
- <text>{{item.realName}}</text>
- </view>
- <view class="order-code stitle">
- <text>核销码:</text>
- <text>{{item.orderCode}}</text>
- </view>
- <view class="add-time stitle">
- <text>核销时间:</text>
- <text>{{item.addTime}}</text>
- </view>
- </view>
- <view class="item-right">-1</view>
- </view>
- </block>
- </view>
- </block>
- </view>
|