|
@@ -8,6 +8,7 @@
|
|
|
<text class="color-primary" @tap.stop="viewReport(item)">点击查看</text>
|
|
|
</view>
|
|
|
</uni-card>
|
|
|
+ <uni-load-more status="noMore" style="line-height: 20vh;" />
|
|
|
</view>
|
|
|
<view v-else class="nodata-img-parent">
|
|
|
<image src="https://minio.citupro.com/dev/static/nodata.png" mode="widthFix" style="width: 100vw;height: 100vh;"></image>
|
|
@@ -17,7 +18,7 @@
|
|
|
|
|
|
<script setup>
|
|
|
import { ref } from 'vue'
|
|
|
-import { getEnterpriseRecommendationList } from '@/api/student'
|
|
|
+import { getRecommendationPage } from '@/api/student'
|
|
|
import { onShow } from '@dcloudio/uni-app'
|
|
|
import { formatName } from '@/utils/getText'
|
|
|
import { timesTampChange } from '@/utils/date'
|
|
@@ -34,6 +35,7 @@ const list = ref([
|
|
|
}
|
|
|
}
|
|
|
])
|
|
|
+// list.value = Array.from({ length: 10 }, () => list.value[0]);
|
|
|
|
|
|
// 推荐信预览
|
|
|
const viewReport = (item) => {
|
|
@@ -51,14 +53,14 @@ const viewReport = (item) => {
|
|
|
// 获取推荐信列表
|
|
|
const getList = async () => {
|
|
|
try {
|
|
|
- const { data } = await getEnterpriseRecommendationList({ size: 9999, current: 1 })
|
|
|
+ const { data } = await getRecommendationPage({ size: 9999, current: 1 })
|
|
|
console.log(data, '推荐信列表')
|
|
|
// list.value = data.records.reverse()
|
|
|
} catch {}
|
|
|
}
|
|
|
|
|
|
onShow(async () => {
|
|
|
- // await getList()
|
|
|
+ await getList()
|
|
|
})
|
|
|
</script>
|
|
|
|
|
@@ -66,7 +68,6 @@ onShow(async () => {
|
|
|
.list-item {
|
|
|
background-color: #fff;
|
|
|
border-radius: 3px;
|
|
|
- padding: 20px;
|
|
|
box-shadow: 0px 0px 3px 1px rgba(0,0,0,0.1);
|
|
|
}
|
|
|
</style>
|