- 新增系统设置、壁纸、图标包、设备管理、通讯录、通话、短信、相册、文件、应用、告警、信息、首页布局、账号安全、绑定手机号、法律条款等页面 - utils/api.ts 补齐设备操作、策略、壁纸、图标包等 /api/v1/client/** 接口,新增多文件上传 - 新增 utils/sse.ts 与 utils/wx-session.ts - 「更多/进入」指示统一改为图片箭头,首卡统一 .hero-card 高度,页面首卡贴顶 - AGENTS.md 补充功能对接状态与小程序 UI 约定
39 lines
1.1 KiB
Plaintext
39 lines
1.1 KiB
Plaintext
<view class="page">
|
|
<view class="card hero-card">
|
|
<view class="info-hero" bindtap="onChooseAvatar">
|
|
<image wx:if="{{avatar}}" class="info-icon" src="{{avatar}}" mode="aspectFill" />
|
|
<view wx:else class="info-icon">👤</view>
|
|
<view class="info-text">
|
|
<text class="info-title">点击更换头像</text>
|
|
<text class="info-sub">建议使用清晰的正方形图片</text>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
<view class="card">
|
|
<view class="form-item">
|
|
<text class="form-label">昵称</text>
|
|
<input
|
|
class="form-input"
|
|
maxlength="64"
|
|
placeholder="请输入昵称"
|
|
value="{{nickname}}"
|
|
bindinput="onNicknameInput"
|
|
/>
|
|
</view>
|
|
<view class="form-item">
|
|
<text class="form-label">个性签名</text>
|
|
<textarea
|
|
class="form-textarea"
|
|
maxlength="200"
|
|
placeholder="写一句介绍吧"
|
|
value="{{signature}}"
|
|
bindinput="onSignatureInput"
|
|
/>
|
|
</view>
|
|
<view class="primary-btn {{saving ? 'disabled' : ''}}" bindtap="onSave">
|
|
{{saving ? '保存中…' : '保存资料'}}
|
|
</view>
|
|
</view>
|
|
</view>
|