upd 个人中心页面

This commit is contained in:
zhuwanli
2025-03-05 18:32:53 +08:00
parent cdf530856a
commit 083a84534c
32 changed files with 2992 additions and 41 deletions

View File

@@ -0,0 +1,43 @@
<template>
<view class="service-item" @click="handleClick">
<image :src="icon" class="icon" />
<text class="title">{{ title }}</text>
</view>
</template>
<script>
export default {
props: {
icon: {
type: String,
required: true
},
title: {
type: String,
required: true
}
},
methods: {
handleClick() {
this.$emit('click');
}
}
}
</script>
<style>
.service-item {
display: flex;
flex-direction: column;
align-items: center;
cursor: pointer;
}
.icon {
width: 40px;
height: 40px;
}
.title {
margin-top: 5px;
font-size: 14px;
}
</style>