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.
63 lines
4.2 KiB
63 lines
4.2 KiB
<!--pages/main/index.wxml-->
|
|
<wxs module="formate" src="../../../pages/formate.wxs"></wxs>
|
|
<cu-custom bgColor="bg-white" isBack="{{true}}">
|
|
<view slot="content">全部纸厂</view>
|
|
</cu-custom>
|
|
<view style="width:100%;height:60rpx;" class="topTitle">
|
|
<view class="topLeft">
|
|
<view class="topLeftText">纸厂情报</view>
|
|
<view class="topLeftTime">2021-01-04</view>
|
|
</view>
|
|
<view class="topRight">
|
|
<view class="topRightText">全部纸厂></view>
|
|
<view class="topRightIcon">Icon</view>
|
|
</view>
|
|
</view>
|
|
<view style="width:100%;height:15rpx;"></view>
|
|
<view class="zt">
|
|
<view class="flex flex-justify" style="">
|
|
<view class="text-df text-gray" style="flex:1.5">纸厂名称</view>
|
|
<view class="text-df text-gray" style="flex:1;text-align: center">价格涨跌</view>
|
|
<view class="text-df text-gray" style="flex:1;text-align: center">纸厂排队</view>
|
|
<view class="text-df text-gray" style="flex:1;text-align: center">最近扣点</view>
|
|
<view class="text-df text-gray" style="flex:0.5;text-align: center">更多</view>
|
|
</view>
|
|
<scroll-view scroll-y="true" style='width:100%;margin-top:10rpx;background-color:white'>
|
|
<view class="bg-white list-empty" style="height:{{height}}rpx" wx:if="{{!orderList.length}}">
|
|
<view class="load-spinner text-gray" style="margin-bottom:24px" wx:if="{{loading}}" />
|
|
<image class="img-empty" src="/assets/image/list_empty.png" wx:else></image>
|
|
<view class="text-empty">{{loading? '正在加载' : '暂无数据'}}</view>
|
|
</view>
|
|
<!-- <view class="bg-white" wx:else> -->
|
|
<view class="bg-white">
|
|
<view wx:for="{{orderList}}" wx:key="index">
|
|
<view class="flex flex-justify" style="border-top:2rpx solid #f3f3f3;margin-top:20rpx">
|
|
<!-- <text class="text-df text-balck" style="flex:1;text-align: center">{{item.yesterdayTotalQuantity || 0}}%</text> -->
|
|
<view class="text-df text-balck" style="flex:1.5">{{item.name}}</view>
|
|
<view class="text-df {{item.biggestFloatPrice>0?'text-red':(item.biggestFloatPrice<0?'text-green':'text-black')}}" style="flex:1;text-align: center">{{item.biggestFloatPrice||0}}</view>
|
|
<view class="text-df text-balck" style="flex:1;text-align: center">{{item.yesterdayRetainedQuantity || 0}}辆</view>
|
|
<view class="text-df text-balck" style="flex:1;text-align: center">{{item.minimumDeductionPoint || 0}}%</view>
|
|
<view class="text-df text-balck" style="flex:0.5;text-align: center" id="{{item.paperMillid}}" bindtap="changeTable"><image style="width:28rpx;height:28rpx;" src="/assets/info/factoryDown.png"></image></view>
|
|
</view>
|
|
<view wx:if="{{tableSgin==item.paperMillid}}" style="width:100%;background-color:#f3f3f3;padding:10rpx">
|
|
<view class="flex flex-justify" style="">
|
|
<view class="text-df text-gray" style="flex:1;text-align: center">品类</view>
|
|
<view class="text-df text-gray" style="flex:1;text-align: center">价格</view>
|
|
<view class="text-df text-gray" style="flex:1;text-align: center">涨跌</view>
|
|
<view class="text-df text-gray" style="flex:1;text-align: center">最近扣点</view>
|
|
<view class="text-df text-gray" style="flex:1;text-align: center">操作</view>
|
|
</view>
|
|
<view class="flex flex-justify" style="margin-top:20rpx" wx:for="{{ item.paperCategoryList }}" wx:for-item="cell" wx:key="cell.categoryId">
|
|
<view class="text-df {{cell.categoryName>0?'text-red':(cell.categoryName<0?'text-green':'text-black')}}" style="flex:1;text-align: center">{{cell.categoryName|| '---'}}</view>
|
|
<view class="text-df {{cell.unitPrice>0?'text-red':(cell.unitPrice<0?'text-green':'text-black')}}" style="flex:1;text-align: center" style="flex:1;text-align: center">{{cell.unitPrice|| 0}}</view>
|
|
<view class="text-df {{cell.floatPrice>0?'text-red':(cell.floatPrice<0?'text-green':'text-black')}}" style="flex:1;text-align: center" style="flex:1;text-align: center">{{cell.floatPrice|| 0}}</view>
|
|
<view class="text-df {{cell.curDeductionPoint>0?'text-red':(cell.curDeductionPoint<0?'text-green':'text-black')}}" style="flex:1;text-align: center" style="flex:1;text-align: center">{{cell.curDeductionPoint|| 0}}</view>
|
|
<view class="text-df text-balck" style="flex:1;text-align: center">我要代卖</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</scroll-view>
|
|
</view>
|
|
|
|
|