Browse Source

----

featrue/v4.3
huziyuan 5 years ago
parent
commit
cf02dea732
1 changed files with 19 additions and 19 deletions
  1. 38
      pages/article/newInfo/index.wxml

38
pages/article/newInfo/index.wxml

@ -32,16 +32,17 @@
</view>
</view>
<view style="width:100%;height:15rpx;"></view>
<view class="zt">
<view class="flex flex-justify" style="width:100%;height:80rpx;lineheight:80rpx;font-size: 28px;color: rgba(0,0,0,0.65);letter-spacing: 0;padding: 0rpx 40rpx 0rpx 40rpx;">
<view class="text-df text-gray" style="flex:1.2;overflow: hidden;">纸厂名称</view>
<view class="text-df text-gray" style="flex:1;text-align: center" bindtap="changeSort">价格涨跌<image style="width:30rpx;height:30rpx" src="{{pximg}}"></image>
<scroll-view scroll-y="true" style='max-height:1000rpx;width:100%;background-color:white'>
<view class="zt">
<view class="flex flex-justify" style="width:100%;height:80rpx;lineheight:80rpx;font-size: 28px;color: rgba(0,0,0,0.65);letter-spacing: 0;padding: 0rpx 40rpx 0rpx 40rpx;">
<view class="text-df text-gray" style="flex:1.2;overflow: hidden;">纸厂名称</view>
<view class="text-df text-gray" style="flex:1;text-align: center" bindtap="changeSort">价格涨跌<image style="width:30rpx;height:30rpx" src="{{pximg}}"></image>
</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>
<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='max-height:700rpx;width:100%;background-color:white'>
<view class="img-nodata" style="height:{{height}}rpx" wx:if="{{!orderList.length}}">
<view class="load-spinner text-gray" style="margin-bottom:24px" wx:if="{{loading}}" />
<image class="onDataImg" src="/assets/info/noData.png" wx:else></image>
@ -86,15 +87,13 @@
</view>
</view>
</view>
</scroll-view>
</view>
<view style="width:100%;height:10rpx;background-color:#f3f3f3"></view>
<view class="midTietle">
<view class="midTietleText1">行业情报</view>
<view class="midTietleText2" id="toqb" bindtap="toPage">更多资讯></view>
</view>
<view style="width:100%;height:5rpx;background-color:#f3f3f3"></view>
<scroll-view scroll-y="true" style='height:684rpx;width:100%;background-color:white'>
</view>
<view style="width:100%;height:10rpx;background-color:#f3f3f3"></view>
<view class="midTietle">
<view class="midTietleText1">行业情报</view>
<view class="midTietleText2" id="toqb" bindtap="toPage">更多资讯></view>
</view>
<view style="width:100%;height:5rpx;background-color:#f3f3f3"></view>
<!-- background-image:url(https://ossweb-img.qq.com/images/lol/img/champion/Morgana.png); -->
<view class="bottomView" wx:for="{{factoryList}}" wx:key="index" id="{{item.id}}" bindtap="toPageDetails">
<view class="bottomViewleft">
@ -117,11 +116,12 @@
</view>
</view>
</scroll-view>
<wxs module="m1">
var newString = function(string) {
var newString = string.substring(0, 4)
return newString+'...';
return newString + '...';
}
module.exports.newString = newString;
Loading…
Cancel
Save