patient-mini/pages/my/index.wxml
码农搬砖工 9018a4f868 xxx
2025-04-23 18:23:41 +08:00

76 lines
2.2 KiB
Plaintext

<t-toast id="t-toast" />
<view class="my">
<image class="nav-bg" src="/static/bg_navbar.png" />
<nav title-text="我的" />
<view class="my-info">
<t-cell-group>
<t-cell wx:if="{{!isLoad}}" bordered="{{false}}">
<t-avatar image="{{personalInfo.image}}" slot="left-icon" size="large" />
<view class="my-info__person" slot="description">
<view class="name">{{personalInfo.name}}</view>
<!-- <view class="tags">
<t-tag class="tag" variant="light" icon="discount">{{personalInfo.star}}</t-tag>
<t-tag class="tag" variant="light" icon="location">{{personalInfo.city}}</t-tag>
</view> -->
</view>
<t-icon slot="right-icon" name="edit" size="40rpx" color="#000000e6" bindtap="onNavigateTo" />
</t-cell>
<t-cell
wx:if="{{isLoad}}"
title="请先登录/注册"
bordered="{{false}}"
t-class-title="cell-class-title"
t-class-center="cell-class-center"
bindtap="onLogin"
>
<t-avatar slot="left-icon" icon="user" size="128rpx" />
</t-cell>
</t-cell-group>
<t-divider t-class="divider-class" />
<!--
<t-grid t-class="grid-class">
<t-grid-item
wx:for="{{gridList}}"
wx:for-item="gridItem"
wx:key="type"
text="{{gridItem.name}}"
icon="{{gridItem.icon}}"
class="grid-item {{gridItem.type === 'all' ? 'split-line' : ''}}"
data-data="{{gridItem}}"
bindclick="onEleClick"
/>
</t-grid> -->
<t-cell-group theme="card">
<t-cell
wx:for="{{settingList}}"
wx:for-item="item"
wx:key="type"
title="{{item.label}}"
url="{{item.url}}"
note="{{item.text}}"
/>
</t-cell-group>
</view>
<!-- <view class="my-service">
<view class="my-service--tips">推荐服务</view>
<t-grid column="{{4}}" class="my-service__list">
<t-grid-item
class="my-service__list-item"
wx:for="{{service}}"
wx:key="item"
text="{{item.name}}"
image="{{item.image}}"
url="{{item.url}}"
data-data="{{item}}"
bindclick="onEleClick"
/>
</t-grid>
</view> -->
</view>