纸通宝SAAS仓库
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.
 

41 lines
2.4 KiB

<!--pages/main/index.wxml-->
<wxs module="moment" src="../index.wxs"></wxs>
<view class="cu-item shadow bg-white" bindtap="lookItem">
<view class="flex flex-justify" style="padding:20rpx 32rpx">
<view class="flex" style="justify-content: flex-start;">
<van-image use-loading-slot width="108rpx" height="108rpx" round src="{{item.creatorAvatarUrl}}">
<image class="image-load" slot="loading" src="/assets/image/ygImg.png"></image>
</van-image>
<view class="flex flex-column" style="margin-left:20rpx;justify-content: center">
<view class="text-cut text-df" style="max-width:480rpx">{{item.creatorName || ''}}</view>
<view class="text-gray text-sm" style="margin-top:4rpx">{{moment.formatMTime(item.createTime)}}</view>
</view>
</view>
</view>
<view class="text-black text-bold text-lg" style="padding:0rpx 32rpx 20rpx 32rpx">{{item.title}}</view>
<fold-text content="{{item.content}}"></fold-text>
<view style="padding:0rpx 32rpx;margin-top:16rpx" wx:if="{{item.imageUrlList.length}}">
<sudoku-image image-list="{{item.imageUrlList}}"></sudoku-image>
</view>
<view class="flex flex-justify text-black" style="height:112rpx; padding:0rpx 32rpx">
<view>
<van-tag plain round wx:if="{{item.millPaperId}}" bind:click="toMill">
<text style="background-color:#ddd;border-radius: 32rpx;text-align: center;width:32rpx;height:32rpx;line-height:32rpx">#</text>
<text class="text-df text-cut" style="margin-left:16rpx;max-width:340rpx">{{item.millPaperName}}</text>
<text class="cuIcon-right text-balck" style="font-size:24rpx;margin-left:12rpx;padding-top:2rpx"></text>
</van-tag>
</view>
<view class="flex flex-center text-df">
<view class="flex flex-center" catchtap="likeItem">
<!-- <text class="cuIcon-appreciate{{item.isLiked ? 'fill' : ''}} text-{{item.isLiked ? 'blue' : 'black'}}" style="font-size:16px"></text> -->
<image style="width:40rpx;height:38rpx" src="/assets/image/prase_blue.png" wx:if="{{item.isLiked}}"></image>
<image style="width:40rpx;height:38rpx" src="/assets/image/prase_black.png" wx:else></image>
<text class="text-df" style="margin-left:12rpx">{{item.likeQuantity}}</text>
</view>
<view class="flex flex-center" style="margin-left:48rpx;">
<image style="width:42rpx;height:34rpx" src="/assets/image/message_black.png"></image>
<text style="margin-left:12rpx">{{item.replyQuantity}}</text>
</view>
</view>
</view>
</view>