1、所有列表的展示图的格式为aspectFill
2、分类页面的活动列表的发布者名的省略
This commit is contained in:
parent
f8ef0a190c
commit
102480ea99
@ -28,7 +28,7 @@
|
|||||||
</view>
|
</view>
|
||||||
<span class="line"></span>
|
<span class="line"></span>
|
||||||
<view style="margin:30rpx;" class="flex" @click="toDetail(item.id, item.order_no, item.status)">
|
<view style="margin:30rpx;" class="flex" @click="toDetail(item.id, item.order_no, item.status)">
|
||||||
<image class="tut" :src="item.detail.images[0]"></image>
|
<image class="tut" :src="item.detail.images[0]" mode="aspectFill"></image>
|
||||||
<view style="margin-left: 20rpx;width: 80%;">
|
<view style="margin-left: 20rpx;width: 80%;">
|
||||||
<view>
|
<view>
|
||||||
<span style="font-weight: 600;">{{ item.detail.title }}</span>
|
<span style="font-weight: 600;">{{ item.detail.title }}</span>
|
||||||
|
@ -43,10 +43,10 @@
|
|||||||
<view class="item-img">
|
<view class="item-img">
|
||||||
<image v-if="item.images.length>0"
|
<image v-if="item.images.length>0"
|
||||||
style="width: 170rpx;height: 170rpx;border-radius: 20rpx;" :src="item.images[0]"
|
style="width: 170rpx;height: 170rpx;border-radius: 20rpx;" :src="item.images[0]"
|
||||||
mode=""></image>
|
mode="aspectFill"></image>
|
||||||
<image v-else style="width: 170rpx;height: 170rpx;border-radius: 20rpx;"
|
<image v-else style="width: 170rpx;height: 170rpx;border-radius: 20rpx;"
|
||||||
src="https://naweigetetest2.hschool.com.cn/miniapp/invoice/draftImgNo.png"
|
src="https://naweigetetest2.hschool.com.cn/miniapp/invoice/draftImgNo.png"
|
||||||
mode=""></image>
|
mode="aspectFill"></image>
|
||||||
</view>
|
</view>
|
||||||
<view class="item-con">
|
<view class="item-con">
|
||||||
<view class="itenCon-actName" style="">{{item.title !='' ? item.title:'描述待补充' }}
|
<view class="itenCon-actName" style="">{{item.title !='' ? item.title:'描述待补充' }}
|
||||||
@ -134,7 +134,7 @@
|
|||||||
|
|
||||||
<view class="imgs_con_div"
|
<view class="imgs_con_div"
|
||||||
v-for="(items_img, index) in item.images.slice(0, 3)" :key="index">
|
v-for="(items_img, index) in item.images.slice(0, 3)" :key="index">
|
||||||
<image class="imgs_con" :src="items_img"></image>
|
<image class="imgs_con" :src="items_img" mode="aspectFill"></image>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
|
@ -42,12 +42,12 @@
|
|||||||
</image>
|
</image>
|
||||||
<image v-else :src="item.headimage"
|
<image v-else :src="item.headimage"
|
||||||
style="width: 36rpx;height: 36rpx;border-radius: 80rpx;"></image>
|
style="width: 36rpx;height: 36rpx;border-radius: 80rpx;"></image>
|
||||||
<span v-if="cate_ids != 1"
|
<span v-if="cate_ids != 1" class="white-space"
|
||||||
style="color: #9C9C9C;margin-left: 10rpx;">{{ item.user.nickname }}</span>
|
style="color: #9C9C9C;margin-left: 10rpx;width: 192rpx;">{{ item.user.nickname }}</span>
|
||||||
<span v-else
|
<span v-else class="white-space"
|
||||||
style="color: #9C9C9C;margin-left: 10rpx;">{{ item.teacher.name }}</span>
|
style="color: #9C9C9C;margin-left: 10rpx;width: 192rpx;">{{ item.teacher.name }}</span>
|
||||||
<view>
|
<view class="white-space" style="width: 43%;">
|
||||||
<span style="color:#0CA013;margin-left: 20rpx;"
|
<span style="color:#0CA013;margin-left: 10rpx;"
|
||||||
v-for="items_t in item.classes_cate.slice(0, 1)">#{{ items_t}}</span>
|
v-for="items_t in item.classes_cate.slice(0, 1)">#{{ items_t}}</span>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
@ -56,10 +56,10 @@
|
|||||||
<view class="time flex align-items white-space">
|
<view class="time flex align-items white-space">
|
||||||
<!-- <span class="time_tex" v-if="item.status == 2">{{ '报名中' }}</span> -->
|
<!-- <span class="time_tex" v-if="item.status == 2">{{ '报名中' }}</span> -->
|
||||||
<!-- <span class="time_tex time_texs" v-if="item.status == 4">{{ '进行中' }}</span> -->
|
<!-- <span class="time_tex time_texs" v-if="item.status == 4">{{ '进行中' }}</span> -->
|
||||||
<span style="margin-right:20rpx;">{{ dateWeeks(item.start_time) }}</span><span
|
<span style="margin-right:12rpx;">{{ dateWeeks(item.start_time) }}</span><span
|
||||||
style="width: 1rpx;height: 22rpx;background: #323232;"></span>
|
style="width: 1rpx;height: 22rpx;background: #323232;"></span>
|
||||||
<span class="white-space"
|
<span class="white-space"
|
||||||
style="margin-left: 20rpx;width: 260rpx;">{{ item.address }}{{ item.address_detail }}</span>
|
style="margin-left: 12rpx;width: 260rpx;">{{ item.address }}{{ item.address_detail }}</span>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
</view>
|
</view>
|
||||||
@ -68,7 +68,7 @@
|
|||||||
style="margin-top: 20rpx;margin-bottom: 32rpx;">
|
style="margin-top: 20rpx;margin-bottom: 32rpx;">
|
||||||
<view class="imgs_con_div" v-for="(items_img, index) in item.images.slice(0, 3)"
|
<view class="imgs_con_div" v-for="(items_img, index) in item.images.slice(0, 3)"
|
||||||
:key="index">
|
:key="index">
|
||||||
<image class="imgs_con" :src="items_img"></image>
|
<image class="imgs_con" :src="items_img" mode="aspectFill"></image>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
@ -402,7 +402,7 @@
|
|||||||
page: this.page,
|
page: this.page,
|
||||||
limit: this.limit,
|
limit: this.limit,
|
||||||
order: "normal",
|
order: "normal",
|
||||||
status: "2", //5 已结束
|
status: "2,3,4,5", //5 已结束
|
||||||
auth_status: 1 //审核通过的
|
auth_status: 1 //审核通过的
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -117,7 +117,7 @@
|
|||||||
|
|
||||||
<view class="flex align-items" style="margin-top: 20rpx;">
|
<view class="flex align-items" style="margin-top: 20rpx;">
|
||||||
<image class="imgs_con" v-for="(items_img, index) in item.images.slice(0, 3)"
|
<image class="imgs_con" v-for="(items_img, index) in item.images.slice(0, 3)"
|
||||||
:key="index" :src="items_img"></image>
|
:key="index" :src="items_img" mode="aspectFill"></image>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user