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.
50 lines
2.7 KiB
50 lines
2.7 KiB
<!--pages/main/index.wxml-->
|
|
<view style="height: 64rpx;line-height: 64rpx;text-align: center;background-color: #F7F8FA;color: #888888;">明天(2021-09-15)</view>
|
|
<view class="bg-white flex flex-justify" style="padding:18rpx 24rpx">
|
|
<view style="width: 25%;">
|
|
<view class="text-df text-black text-cut">东莞金洲</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: 35%;">
|
|
<view class="flex flex-center">
|
|
<text class="text-lg text-red">2560</text>
|
|
<text class="cuIcon-refresharrow text-red" style="font-size:12px;margin-left: 4rpx;"></text>
|
|
</view>
|
|
<view class="text-gray text-sm" style="margin-top: 4rpx;text-align: center">更新时间09-09</view>
|
|
</view>
|
|
<view style="flex: 1;">+20</view>
|
|
<view style="flex: 1;">+20</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;">
|
|
<view class="list-empty" style="height:240rpx" wx:if="{{!itemList.length}}">
|
|
<view class="load-spinner text-gray" />
|
|
</view>
|
|
<view wx:else>
|
|
<view class="flex" style="padding-bottom: 16rpx;">
|
|
<view style="width: 30%;padding-left: 32rpx;">品类</view>
|
|
<view style="width: 20%;text-align: center">
|
|
<text class="text-df" style="color: #555555;">价格</text>
|
|
<text style="color: #555555;font-size: 20rpx;">(元/吨)</text>
|
|
</view>
|
|
<view style="width: 20%;padding-left: 40rpx;">涨跌</view>
|
|
<view style="width: 30%;">
|
|
<text class="text-df" style="color: #555555;">平均扣点</text>
|
|
<text style="color: #555555;font-size: 20rpx;">(最近7天)</text>
|
|
</view>
|
|
</view>
|
|
<view class="flex flex-center bg-white item-content" wx:for="{{itemList}}" wx:key="index">
|
|
<view class="text-df text-black" style="width: 25%;">一级纸品</view>
|
|
<view class="flex flex-center" style="width: 25%;">
|
|
<text class="text-lg text-red">2560</text>
|
|
<text class="cuIcon-refresharrow text-red" style="font-size:12px;margin-left: 4rpx;"></text>
|
|
</view>
|
|
<view class="text-df text-green" style="width: 20%;padding-left: 24rpx;">+20</view>
|
|
<view class="text-df text-green" style="width: 10%;">--</view>
|
|
<wux-button outline round type="positive" size="cate" data-index="{{index}}" bind:click="agentOrder">代卖</wux-button>
|
|
</view>
|
|
</view>
|
|
</view>
|