|
@@ -8,32 +8,31 @@
|
|
|
<scroll-view class="orderList" scroll-y="true" enhanced show-scrollbar="{{false}}" bindscrolltolower='loadMore'>
|
|
|
<view class="tips">温馨提示:退款的订单不计入收益系统 <view class="close">×</view>
|
|
|
</view>
|
|
|
- <view class="order" wx:for="{{5}}" wx:key="index">
|
|
|
+ <view class="order" wx:for="{{list}}" wx:key="index">
|
|
|
<view class="above">
|
|
|
<view class="userInfo">
|
|
|
- <image src="https://reader-wx.ai160.com/reader/resource/20230215/1676472360368723.jpg"
|
|
|
- class="avatar" />
|
|
|
+ <image src="{{item.avatar}}" class="avatar" />
|
|
|
<view>
|
|
|
- <view class="nickName">刘聪{{index}}</view>
|
|
|
+ <view class="nickName">{{item.name}}</view>
|
|
|
<view class="addTime">
|
|
|
- 加入时间 :20230-08-27 14:00
|
|
|
+ 加入时间 :{{item.joinTime}}
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
- <view class="state">已付款</view>
|
|
|
+ <view class="state">{{item.status==1?'已付款':item.status==2?'退款':'其他'}}</view>
|
|
|
</view>
|
|
|
<view class="below">
|
|
|
<view class="row">
|
|
|
- <view>购买类型:1个月VIP</view>
|
|
|
- <view>付款金额 <text class="money">199元</text>
|
|
|
+ <view>购买类型:{{item.title}} </view>
|
|
|
+ <view>付款金额 <text class="money">{{item.amount}}元</text>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="row" style="font-size: 22rpx;">
|
|
|
<view>
|
|
|
- 2023-08-27 23:33:21付款
|
|
|
+ {{item.gmtCreated}}付款
|
|
|
</view>
|
|
|
- <view>
|
|
|
- 2023-09-03 23:33:21退款
|
|
|
+ <view wx:if="{{item.status==2}}">
|
|
|
+ {{item.gmtModified}}退款
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|