纳入 track-uniapp 前端项目 (扫码/任务树/记录/转交Picker)

This commit is contained in:
2026-08-05 15:01:46 +08:00
parent eaaeb38d0a
commit 5e53cd7f79
28 changed files with 12898 additions and 1 deletions

View File

@ -0,0 +1,69 @@
<template>
<view class="page">
<!-- 用户卡片 -->
<view class="user-card">
<view class="avatar">张</view>
<view class="user-info">
<text class="user-name">张三</text>
<text class="user-role">操作员</text>
</view>
<text class="arrow">›</text>
</view>
<!-- 菜单 -->
<view class="menu-card">
<view v-for="item in menuItems" :key="item" class="menu-item">
<text class="menu-text">{{ item }}</text>
<text class="arrow">›</text>
</view>
</view>
<view class="version">生产流转 v1.0.0</view>
</view>
</template>
<script setup>
const menuItems = ["工作统计", "设置", "帮助与反馈", "关于"];
</script>
<style scoped>
.page { min-height: 100vh; padding: 16px; padding-bottom: 80px; }
.user-card {
display: flex;
align-items: center;
gap: 12px;
background: #fff;
border-radius: 12px;
padding: 16px;
margin-bottom: 16px;
box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.avatar {
width: 48px; height: 48px;
border-radius: 50%;
background: #dbeafe;
color: #2563EB;
font-size: 20px; font-weight: 700;
display: flex; align-items: center; justify-content: center;
}
.user-name { font-size: 16px; font-weight: 700; color: #1f2937; display: block; }
.user-role { font-size: 12px; color: #9ca3af; }
.arrow { color: #d1d5db; font-size: 20px; margin-left: auto; }
.menu-card {
background: #fff;
border-radius: 12px;
box-shadow: 0 1px 3px rgba(0,0,0,0.06);
overflow: hidden;
}
.menu-item {
display: flex;
align-items: center;
justify-content: space-between;
padding: 14px 16px;
border-bottom: 1px solid #f3f4f6;
}
.menu-item:last-child { border-bottom: none; }
.menu-text { font-size: 14px; color: #374151; }
.version { text-align: center; font-size: 12px; color: #d1d5db; margin-top: 32px; }
</style>