tmp
This commit is contained in:
@@ -0,0 +1,47 @@
|
||||
<!--pages/healthprofile/index.wxml-->
|
||||
<view class="profile-page">
|
||||
<!-- 头部统计卡 -->
|
||||
<view class="header-card">
|
||||
<view class="header-row">
|
||||
<text class="header-title">健康档案</text>
|
||||
</view>
|
||||
<view class="stat-center">
|
||||
<text class="stat-label">档案总数</text>
|
||||
<view class="stat-value">
|
||||
<text class="stat-num">{{totalCount}}</text>
|
||||
<text class="stat-unit">份</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<!-- 常用功能 -->
|
||||
<view class="section">
|
||||
<text class="section-title">常用功能</text>
|
||||
<view class="quick-grid card">
|
||||
<view class="quick-item" wx:for="{{quickMenus}}" wx:key="title" data-index="{{index}}" bindtap="onMenuTap">
|
||||
<view class="quick-icon">
|
||||
<t-icon name="{{item.icon}}" size="40rpx" color="#1abc9c" />
|
||||
</view>
|
||||
<text class="quick-label">{{item.title}}</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<!-- 健康档案列表 -->
|
||||
<view class="section" wx:if="{{profileList.length > 0}}">
|
||||
<text class="section-title">健康档案</text>
|
||||
<view class="profile-list card">
|
||||
<patient-info
|
||||
wx:for="{{profileList}}"
|
||||
wx:key="id"
|
||||
data-id="{{item.id}}"
|
||||
bindtap="onProfileTap"
|
||||
name="{{item.name}}"
|
||||
sex-label="{{item.sexLabel}}"
|
||||
age-text="{{item.ageText}}"
|
||||
mobile="{{item.mobile}}"
|
||||
location-text="{{item.locationText}}"
|
||||
/>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
Reference in New Issue
Block a user