You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
1.2 KiB
19 lines
1.2 KiB
<!--pages/main/index.wxml-->
|
|
<view class="bg-white flex flex-justify" style="padding:18rpx 24rpx">
|
|
<view style="flex: 2;">
|
|
<view class="text-df text-black">{{item.categoryName}} {{item.shortName}}</view>
|
|
<view class="text-gray text-xs" style="margin-top: 6rpx;">{{item.latestQuoteTime}}</view>
|
|
</view>
|
|
<view style="flex: 1;">
|
|
<view class="flex flex-center">
|
|
<text class="text-lg {{item.floatingQuotedPrice > 0 ? 'text-red' : 'text-green'}}">{{item.quotedPrice}}</text>
|
|
<image style="height: 20rpx;width: 20rpx;margin-left: 4rpx" src="/assets/image/icon-up.png" wx:if="{{item.floatingQuotedPrice > 0}}"></image>
|
|
<image style="height: 20rpx;width: 20rpx;margin-left: 4rpx" src="/assets/image/icon-down.png" wx:elif="{{item.floatingQuotedPrice < 0}}"></image>
|
|
</view>
|
|
<view class="text-gray text-sm" style="margin-top: 4rpx;text-align: center">当前价</view>
|
|
</view>
|
|
<view style="flex: 1;">
|
|
<view class="text-df {{item.floatingQuotedPrice > 0 ? 'text-red' : 'text-green'}}" style="text-align: center">{{item.floatingQuotedPrice}}</view>
|
|
<view class="text-gray text-sm" style="margin-top: 4rpx;text-align: center">较上次</view>
|
|
</view>
|
|
</view>
|