my-item.vue 829 字节
<template>
	<view class="item-wrap">
		<view class="my-item" v-for="item in myList" :key="item">
			<image src="/static/logo.png" mode=""></image> {{item.name}}
		</view>
	</view>
</template>

<script setup>
	import { myList } from '@/data/formDataList.js'

	const emits = defineEmits(['toDifPages'])
	const props = defineProps({
		itemData: {
			type: Object,
			default: () => ({})
		}
	})
	const toDifPages = (pageUrl) => {
		emits('toDifPages', pageUrl)
	}
</script>

<style lang="scss">
	.item-wrap {
		width: 702rpx;
		height: 564rpx;
		border-radius: 16rpx;
		background: #ffffff;
		padding: 0 24rpx;
		box-sizing: border-box;

		.my-item {
			@include flexcenter();
			height: 110rpx;
			font-size: 30rpx;
			font-weight: 700;

			image {
				width: 44rpx;
				height: 44rpx;
				margin-right: 24rpx;
			}
		}
	}
</style>