|
|
@ -0,0 +1,42 @@ |
|
|
|
|
|
<!--pages/message/index.wxml--> |
|
|
|
|
|
<wxs module="formate" src="../../../pages/formate.wxs"></wxs> |
|
|
|
|
|
<view class="flex flex-justify item-content"> |
|
|
|
|
|
<van-image use-loading-slot width="108rpx" height="108rpx" radius="4" lazy-load src="{{item.logoImg}}"> |
|
|
|
|
|
<image class="image-load" slot="loading" src="/assets/image/def_image.png"></image> |
|
|
|
|
|
</van-image> |
|
|
|
|
|
<view style="margin-left:24rpx;flex:1"> |
|
|
|
|
|
<view class="text-sg text-cut text-bold">{{item.activityName}}</view> |
|
|
|
|
|
<view class="text-xs text-gray" style="margin-top:4rpx"> |
|
|
|
|
|
<view class="text-df text-black">{{item.name}}</view> |
|
|
|
|
|
<view>时间:{{formate.substring(item.startTime, 0, 10)}}至{{formate.substring(item.endTime, 0, 10)}}</view> |
|
|
|
|
|
</view> |
|
|
|
|
|
</view> |
|
|
|
|
|
<van-tag bind:click="toAbilityRule" wx:if="{{item.redirectInfo}}"> |
|
|
|
|
|
<text class="text-df">活动规则</text> |
|
|
|
|
|
</van-tag> |
|
|
|
|
|
</view> |
|
|
|
|
|
<view class="bg-white" style="padding:0rpx 32rpx 10rpx 32rpx"> |
|
|
|
|
|
<view class="flex" wx:for-item="cateItem" wx:for-index="ck" wx:for="{{item.paperCategoryList}}" wx:key="ck" wx:if="{{item.fold || ck < 3}}" style="margin-bottom: 20rpx"> |
|
|
|
|
|
<view class="item-cate {{item.cateIndex == ck ? 'cate-tag' : ''}}" data-page="{{pageIndex}}" data-index="{{index}}" data-ck="{{ck}}" catchtap="checkTag"> |
|
|
|
|
|
<view class="flex flex-justify" style="padding: 8rpx 0rpx"> |
|
|
|
|
|
<view class="text-sg text-black">{{cateItem.categoryName}}</view> |
|
|
|
|
|
<text class="text-sg text-black" wx:if="{{cateItem.unitPrice}}">{{formate.formatePrice(cateItem.unitPrice)}}元/吨</text> |
|
|
|
|
|
<text class="text-sg text-gray" wx:else>暂无报价</text> |
|
|
|
|
|
</view> |
|
|
|
|
|
</view> |
|
|
|
|
|
</view> |
|
|
|
|
|
<view class="flex" style="padding: 4rpx 0rpx 16rpx 0rpx;" wx:if="{{item.paperCategoryList.length > 0}}"> |
|
|
|
|
|
<view style="flex:1"></view> |
|
|
|
|
|
<view style="flex:1.2"> |
|
|
|
|
|
<van-button type="{{item.isOperations? 'info' : 'default'}}" custom-style="width: 100%;height:80rpx;border-radius:10rpx" data-page="{{pageIndex}}" data-index="{{index}}" bind:click="saleGood">我要卖货</van-button> |
|
|
|
|
|
</view> |
|
|
|
|
|
<view class="flex flex-center" style="flex:1;justify-content: flex-end"> |
|
|
|
|
|
<view data-page="{{pageIndex}}" data-index="{{index}}" catchtap="unflodItem" wx:if="{{item.paperCategoryList.length > 3}}"> |
|
|
|
|
|
<text class="text-blue text-df">{{item.fold ? '点击收起' : '查看全部' }}({{item.paperCategoryList.length}})</text> |
|
|
|
|
|
</view> |
|
|
|
|
|
<view style="margin-left:4rpx;padding-top:8rpx" data-page="{{pageIndex}}" data-index="{{index}}" catchtap="unflodItem" wx:if="{{item.paperCategoryList.length > 3}}"> |
|
|
|
|
|
<text class="cuIcon-{{item.fold ? 'fold' : 'unfold'}} text-blue" style="font-size:16px;"></text> |
|
|
|
|
|
</view> |
|
|
|
|
|
</view> |
|
|
|
|
|
</view> |
|
|
|
|
|
</view> |