|
@@ -95,9 +95,10 @@
|
|
|
<text>已报名人数:</text> <text
|
|
|
class="sign-num">{{item.sign_up_count}}/{{item.max_sign_up_count}}</text>
|
|
|
</view>
|
|
|
- <view class="image" :style="{backgroundImage:'url('+ (item.cover_resource ? item.cover_resource.url : '../../static/images/avator.png') +')'}">
|
|
|
+ <!-- <view class="image" :style="{backgroundImage:'url('+ (item.cover_resource ? item.cover_resource.url : '../../static/images/avator.png') +')'}">
|
|
|
|
|
|
- </view>
|
|
|
+ </view> -->
|
|
|
+ <image :src="(item.cover_resource ? item.cover_resource.url : '../../static/images/avator.png')" class="image"></image>
|
|
|
<!-- <image :src="item.cover_resource ? item.cover_resource.url : '../../static/images/avator.png'"
|
|
|
mode="">
|
|
|
</image> -->
|
|
@@ -108,14 +109,14 @@
|
|
|
<view class="text">
|
|
|
<text class="tag" v-for="(tag,index) in item.tags" :key='index'>{{tag}}</text>
|
|
|
</view>
|
|
|
- <view class="time">
|
|
|
+ <view class="time" style="width: 100%;">
|
|
|
<view class="">
|
|
|
<u-icon name="clock-fill"></u-icon>{{getTime(item.created_at)}}
|
|
|
</view>
|
|
|
<view class="">
|
|
|
<u-icon name="eye-fill"></u-icon>{{item.view_count? item.view_count :'--'}}
|
|
|
</view>
|
|
|
- <view class="">
|
|
|
+ <view class="" style="width: 50%;white-space: nowrap;overflow: hidden;text-overflow: ellipsis">
|
|
|
<u-icon name="account-fill"></u-icon>{{item.admin_name? item.admin_name :'--'}}
|
|
|
</view>
|
|
|
</view>
|
|
@@ -504,16 +505,19 @@
|
|
|
|
|
|
.time {
|
|
|
display: flex;
|
|
|
-
|
|
|
-
|
|
|
font-size: 10px;
|
|
|
color: #858585;
|
|
|
align-items: center;
|
|
|
-
|
|
|
-
|
|
|
+ view{
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ .u-icon{
|
|
|
+ padding-right: 4rpx;
|
|
|
+ }
|
|
|
+ }
|
|
|
view:nth-child(2) {
|
|
|
- width:50px;
|
|
|
- margin-left:20px;
|
|
|
+ width: 50px;
|
|
|
+ margin-left: 20px;
|
|
|
margin-right: 10px;
|
|
|
}
|
|
|
}
|