|
@@ -3,9 +3,9 @@
|
|
<view style="padding-bottom: 30px; ">
|
|
<view style="padding-bottom: 30px; ">
|
|
<view v-if="items.length">
|
|
<view v-if="items.length">
|
|
<uni-card v-for="val in items" :key="val.id">
|
|
<uni-card v-for="val in items" :key="val.id">
|
|
- <image class="ss-m-t-10" :src="val.headImg" mode="widthFix" style="width: 100%; height: auto;"></image>
|
|
|
|
|
|
+ <image class="ss-m-t-10" :src="val.headImg" mode="widthFix" style="width: 100%; height: auto; border-radius: 6px;"></image>
|
|
<view class="ss-m-t-20">活动时间:{{ timesTampChange(val.startTime, 'Y-M-D') }}至{{ timesTampChange(val.endTime, 'Y-M-D') }}</view>
|
|
<view class="ss-m-t-20">活动时间:{{ timesTampChange(val.startTime, 'Y-M-D') }}至{{ timesTampChange(val.endTime, 'Y-M-D') }}</view>
|
|
- <button class="ss-m-t-20 ss-m-b-10 main-button-color" type="primary" @tap="handleToJobFairEnterprises(val)">查看详情</button>
|
|
|
|
|
|
+ <button class="ss-m-t-20 ss-m-b-10" style="background-color: #00897B; color: #fff;" type="primary" @tap="handleToJobFairEnterprises(val)">查看详情</button>
|
|
</uni-card>
|
|
</uni-card>
|
|
</view>
|
|
</view>
|
|
<view v-else class="nodata-img-parent">
|
|
<view v-else class="nodata-img-parent">
|
|
@@ -24,7 +24,6 @@ const items = ref([])
|
|
const getList = async () => {
|
|
const getList = async () => {
|
|
const res = await getJobFairList()
|
|
const res = await getJobFairList()
|
|
items.value = res?.data || []
|
|
items.value = res?.data || []
|
|
- // items.value = [...items.value, ...items.value, ...items.value, ...items.value, ...items.value, ...items.value, ...items.value, ...items.value, ...items.value, ...items.value, ...items.value]
|
|
|
|
}
|
|
}
|
|
getList()
|
|
getList()
|
|
|
|
|