|
@@ -15,20 +15,14 @@
|
|
|
</view>
|
|
|
<view class="lesson-name">
|
|
|
<text style="width: 40%; overflow: hidden; diaplay: inline-block; height: 50rpx; text-overflow: ellipsis; white-space:nowrap;">{{item.featureMap.wechatName}}</text>
|
|
|
- <text class="content-data" style="height: 100%">{{item.title}}</text>
|
|
|
- <text>{{timeList[index]}}</text>
|
|
|
+ <text class="content-data" style="display: block;">{{item.title}}</text>
|
|
|
+ <text style="height: 30rpx; display: block;">{{timeList[index]}}</text>
|
|
|
</view>
|
|
|
<view wx:if="{{type == 1 && (item.currentReplyCount > 0)}}" class="message"></view>
|
|
|
- <view wx:if="{{item.isTop > 0}}" class="Stick">
|
|
|
- <image style="width: 56rpx; height: 56rpx;" src="../../pages/image/zhiding1.png"></image>
|
|
|
- </view>
|
|
|
- <view wx:else class="Stick">
|
|
|
- <image style="width: 56rpx; height: 56rpx;" src="../../pages/image/zhiding2.png"></image>
|
|
|
- </view>
|
|
|
</view>
|
|
|
<view class="operation" wx:if="{{teacher == 1}}">
|
|
|
<image src="../../pages/image/del.png" catchtap="setMessage" data-id="{{item.id}}" data-type="status" data-ind="{{index}}"></image>
|
|
|
- <image src="../../pages/image/top.png" catchtap="setMessage" data-id="{{item.id}}" data-type="isTop" data-ind="{{index}}"></image>
|
|
|
+ <image src="../../pages/image/{{item.isTop > 0 ? 'top1' : 'top2'}}.png" catchtap="setMessage" data-top="{{item.isTop}}" data-id="{{item.id}}" data-type="isTop" data-ind="{{index}}"></image>
|
|
|
</view>
|
|
|
<view class="picture" wx:if="{{type == 2}}">
|
|
|
<block wx:for="{{item.imagesList}}" wx:for-item="items" wx:key="{{items}}">
|