|
|
@ -99,10 +99,10 @@ |
|
|
<view class="bottomView" wx:for="{{factoryList}}" wx:key="index" id="{{item.id}}" bindtap="toPageDetails"> |
|
|
<view class="bottomView" wx:for="{{factoryList}}" wx:key="index" id="{{item.id}}" bindtap="toPageDetails"> |
|
|
<view class="bottomViewleft"> |
|
|
<view class="bottomViewleft"> |
|
|
<view class="bottomViewleft-top"> |
|
|
<view class="bottomViewleft-top"> |
|
|
<view style="height41rpx;line-height:41rpx;font-size: 24rpx;color: #007AFF;"> |
|
|
|
|
|
|
|
|
<view style="height:41rpx;line-height:41rpx;font-size: 24rpx;color: #007AFF;"> |
|
|
<wux-tag id="{{item.millPaperId}}" catchtap="toMill" wx:if="{{item.millPaperName}}"> |
|
|
<wux-tag id="{{item.millPaperId}}" catchtap="toMill" wx:if="{{item.millPaperName}}"> |
|
|
<text style="background-color:#ddd;border-radius: 32rpx;text-align: center;width:25rpx;height:32rpx;line-height:32rpx">#</text> |
|
|
|
|
|
<text class="text-df" style="margin-left:10rpx">{{item.millPaperName}}</text> |
|
|
|
|
|
|
|
|
<text >#</text> |
|
|
|
|
|
<text class="text-df" style="margin-left:10rpx">{{m1.newString(item.millPaperName)}}</text> |
|
|
</wux-tag> |
|
|
</wux-tag> |
|
|
<text style="font-size: 32rpx;color:black;margin-left:16rpx">{{item.title}}</text> |
|
|
<text style="font-size: 32rpx;color:black;margin-left:16rpx">{{item.title}}</text> |
|
|
</view> |
|
|
</view> |
|
|
@ -116,4 +116,13 @@ |
|
|
<image class="bottomViewRightImg" src="{{item.imageUrlList[0]}}"></image> |
|
|
<image class="bottomViewRightImg" src="{{item.imageUrlList[0]}}"></image> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</scroll-view> |
|
|
|
|
|
|
|
|
</scroll-view> |
|
|
|
|
|
<wxs module="m1"> |
|
|
|
|
|
var newString = function(string) { |
|
|
|
|
|
var newString = string.substring(0, 4) |
|
|
|
|
|
|
|
|
|
|
|
return newString+'...'; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
module.exports.newString = newString; |
|
|
|
|
|
</wxs> |