12345678910111213141516171819202122232425262728 |
- <wxs src="../../commonWxs/format.wxs" module="format" />
- <view class='walletDetails'>
- <view class="walletDetails-center">
- <view class='walletDetails-info' wx:for="{{ walletDatails }}" wx:key="{{ index }}">
- <view class="walletDetails-left">
- <view class='avatar-box'>
- <image src="../../../static/image/walletdetails.png" />
- </view>
- <view class="avatar-info">
- <text class="avatar-doc">{{ item.description }}</text>
- <text class="avatar-time">{{format.formatDate(item.gmtCreated)}}</text>
- </view>
- </view>
- <view class="walletDetails-right">
- <view class="avatar-value-neg" wx:if="{{ item.type === 'INCOME' }}">
- <text class="avatar-symbol getMoney">+</text>
- <text class="getMoney">{{ item.price / 100 }}</text>
- </view>
- <view class="avatar-value-pos" wx:else>
- <text class="avatar-symbol">-</text>
- <text>{{ item.price / 100 }}</text>
- </view>
- </view>
- </view>
- </view>
- <myPlacerholder wx:if="{{walletDatails.length <= 0}}" />
- </view>
|