<template>
	<view class="page">
		<view class="flex-rowl">
			<view class="size-28 color-ffb fw700 tab">
				全部记录
			</view>
		</view>
		<view v-if="list.length">

		</view>
		<view v-else class="flex-rowc">
			<image src="@/static/images/ydd/empy.png" mode="widthFix"></image>
		</view>

		<view class="footer-btn">
			<view class="btn" @click="toUp">
				立即上传
			</view>
		</view>
	</view>
</template>

<script setup>
	import { onShow } from '@dcloudio/uni-app'
	import { usePageList } from "@/utils/pageList";
		
	// todo
	const { list, total, getData } = usePageList()

	onShow(() => {
		// todo: delte test data
		
	})

	const toUp = () => {
		uni.navigateTo({
			url: "/otherPages/authentication/serve/upload"
		})
	}
</script>

<style lang="scss" scoped>
	.page {
		min-height: 100vh;
		padding: 24rpx 24rpx 144rpx 24rpx;
		background-color: #fff;

		.tab {
			border-bottom: 4rpx solid #FFBF60;
		}
	}

	image {
		width: 250rpx;
		background-color: #fff;
		margin-top: 20vh;
	}
</style>