|
|
|
@ -70,9 +70,8 @@ |
|
|
|
</view> |
|
|
|
<view class="flex flex-center text-df text-balck" style="flex:1;text-align: center"> |
|
|
|
<view style="flex:1.5;text-align: center"> |
|
|
|
<view |
|
|
|
class="text-df text-balck" |
|
|
|
style="line-height:32rpx">{{formate.formateDescripe(item.minimumDeductionPoint)}}</view> |
|
|
|
<view class="text-df text-balck" style="line-height:32rpx"> |
|
|
|
{{formate.formateDescripe(item.minimumDeductionPoint)}}</view> |
|
|
|
<view class="text-gray " style="font-size:24rpx;line-height:32rpx"> |
|
|
|
{{formate.substring(item.priceDate, 0, 10)}}</view> |
|
|
|
</view> |
|
|
|
@ -107,11 +106,11 @@ |
|
|
|
<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;font-size:24rpx"> |
|
|
|
{{cell.floatPrice>0?'+':''}}{{formate.formatePrice(cell.floatPrice)}}</view> |
|
|
|
<view class="text-df text-balck" |
|
|
|
style="flex:1;text-align: center" style="flex:1;text-align: center"> |
|
|
|
<view class="text-df text-balck" style="flex:1;text-align: center" style="flex:1;text-align: center"> |
|
|
|
{{formate.formateDescripe(cell.curDeductionPoint)}}</view> |
|
|
|
<view class="text-df text-balck" style="flex:1;text-align: center" id="toDmai" |
|
|
|
data-fcId="{{item.paperMillId}}" data-paperId="{{cell.categoryId}}" data-operations="{{item.isOperations}}" data-msg="{{item.manageNotifyMessage}}" catchtap="toPage"> |
|
|
|
data-fcId="{{item.paperMillId}}" data-paperId="{{cell.categoryId}}" |
|
|
|
data-operations="{{item.isOperations}}" data-msg="{{item.manageNotifyMessage}}" catchtap="toPage"> |
|
|
|
<view class="son-table-btn">代卖</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
@ -146,7 +145,9 @@ |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="bottomViewRight"> |
|
|
|
<image class="bottomViewRightImg" src="{{item.imageUrlList[0]||'https://img.imgdb.cn/item/607664a48322e6675cd68a55.png'}}" mode="widthFix"></image> |
|
|
|
<image class="bottomViewRightImg" |
|
|
|
src="{{item.imageUrlList[0]||'https://img.imgdb.cn/item/607664a48322e6675cd68a55.png'}}" mode="widthFix"> |
|
|
|
</image> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</scroll-view> |
|
|
|
@ -162,9 +163,14 @@ |
|
|
|
</wxs> |
|
|
|
<wxs module="m2"> |
|
|
|
var newString = function (string) { |
|
|
|
var newString = string.substring(0, 5) |
|
|
|
if (string.length > 4) { |
|
|
|
var newString = string.substring(0, 4) |
|
|
|
|
|
|
|
return newString + '...'; |
|
|
|
}else{ |
|
|
|
return string |
|
|
|
} |
|
|
|
|
|
|
|
return newString + '...'; |
|
|
|
} |
|
|
|
|
|
|
|
module.exports.newString = newString; |