Browse Source

no message

featrue/v4.5
xpz2018 4 years ago
parent
commit
34889100c2
1 changed files with 5 additions and 5 deletions
  1. 10
      pages/moment/moment-item/index.wxml

10
pages/moment/moment-item/index.wxml

@ -2,22 +2,22 @@
<wxs module="moment" src="../../moment/index.wxs"></wxs>
<view class="item-tips" wx:if="{{item.tipsTime}}">{{moment.formateDate(item.tipsTime)}}</view>
<view class="bg-white flex flex-justify" style="padding:18rpx 24rpx">
<view style="width: 20%;">
<view class="text-df text-black text-cut" style="text-align: center;" bindtap="lookItem">{{item.shortName}}</view>
<view style="width: 20%;" bindtap="lookItem">
<view class="text-df text-black text-cut" style="text-align: center;">{{item.shortName}}</view>
<!-- <view class="attention-bg" bindtap="onAttentionChange">
<text class="{{item.hasFollowed ? 'text-blue' : 'text-red'}}">{{item.hasFollowed ? '关注' : '已关注'}}</text>
</view> -->
<wux-button outline type="{{item.hasFollowed ? 'positive' : 'stable'}}" loading="{{loading}}" size="attention" bind:click="attention">{{loading ? '' : item.hasFollowed ? '已关注' : '点击关注'}}</wux-button>
</view>
<view style="width: 40%;">
<view style="width: 40%;" bindtap="lookItem">
<view class="flex flex-center">
<text class="text-lg {{moment.colorText(item.typicalFloatingQuotedPrice)}}">{{formate.formatePrice(item.typicalFloatingQuotedPrice, 0) || '- -'}}</text>
<image style="height: 24rpx;width: 24rpx;margin-left: 4rpx" src="{{moment.floatImage(item.typicalFloatingQuotedPrice)}}" wx:if="{{item.typicalFloatingQuotedPrice !== 0}}"></image>
</view>
<view class="text-gray text-sm" style="margin-top: 4rpx;text-align: center">更新时间:{{moment.formateText(item.latestQuoteTime, 10)}}</view>
</view>
<view class="text-black" style="flex: 1;text-align: center;">{{item.retainedReceivedQuantity || '- -'}}</view>
<view style="flex: 1;text-align: center">{{item.startDeductionPoints || '- -'}}</view>
<view class="text-black" style="flex: 1;text-align: center;" bindtap="lookItem">{{item.retainedReceivedQuantity || '- -'}}</view>
<view style="flex: 1;text-align: center" bindtap="lookItem">{{item.startDeductionPoints || '- -'}}</view>
<text class="cuIcon-triangle{{unflod ? 'upfill': 'downfill'}}" style="font-size:48rpx;padding-top: 4rpx;color: #ccc;" bindtap="onFlodTap"></text>
</view>
<view style="display: {{ unflod ? 'block' : 'none'}};padding:16rpx 24rpx;">

Loading…
Cancel
Save