纸通宝小程序
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.
 

28 lines
1.7 KiB

<!--pages/message/index.wxml-->
<wxs module="formate" src="../../../pages/formate.wxs"></wxs>
<view class="flex item-content" bindtap="lookItem">
<wux-image width="{{100}}" height="{{100}}" lazyLoad="true" src="{{item.coverImgUrl}}" mode="aspectFill">
<image class="image-load" slot="loading" src="/assets/image/def_image.png"></image>
</wux-image>
<view style="flex:1;padding-left:24rpx;height:100px">
<view class="flex" style="height:20px;align-items: center">
<image style="width:40px;height:20px;margin-right:12rpx" src="/assets/image/ico_tag{{item.bidType == 2 ? '2' : '1'}}.png"></image>
<view class="page-name">{{item.secondCategoryName || item.firstCategoryName}}</view>
</view>
<view class="flex page-num" style="margin-top:8rpx;justify-content: space-between">
<view class="text-cut" style="font-size:24rpx;max-width: 240rpx">{{item.locProvinceName + item.locCityName}}
</view>
<view style="font-size:24rpx;margin-left:24rpx" wx:if="{{item.stock}}">库存:{{formate.formateWeight(item.stock, kg)}}</view>
</view>
<view class="flex flex-center" style="margin-top:16rpx;justify-content: flex-start">
<text class="text-xs text-gray" wx:if="{{item.bidType == 2}}">起拍单价</text>
<text class="page-price" wx:if="{{formate.formatePrice(item.unitPrice, kg)!=''}}">¥{{formate.formatePrice(item.unitPrice, kg)}}</text>
<view class="text-df" style="color: rgba(255, 66, 43, 1);margin-left:8rpx" wx:if="{{formate.formatePrice(item.unitPrice, kg)!=''}}">{{ kg? '元/KG' : '元/吨' }}
</view>
<text class="page-price" wx:if="{{formate.formatePrice(item.unitPrice, kg)==''}}">价格面议</text>
</view>
<view style="height:32px">
<view class="page-outline">{{item.description || ''}}</view>
</view>
</view>
</view>