Files
ttstd_family_care_miniapp/pages/sms/index.wxml
T
tongtong 9030938c84 feat(miniapp): 补齐设备功能页面与统一 UI 规范
- 新增系统设置、壁纸、图标包、设备管理、通讯录、通话、短信、相册、文件、应用、告警、信息、首页布局、账号安全、绑定手机号、法律条款等页面
- utils/api.ts 补齐设备操作、策略、壁纸、图标包等 /api/v1/client/** 接口,新增多文件上传
- 新增 utils/sse.ts 与 utils/wx-session.ts
- 「更多/进入」指示统一改为图片箭头,首卡统一 .hero-card 高度,页面首卡贴顶
- AGENTS.md 补充功能对接状态与小程序 UI 约定
2026-11-28 18:19:19 +08:00

29 lines
1.1 KiB
Plaintext

<view class="page">
<view class="card">
<view class="form-row">
<input
class="form-input"
placeholder="搜索号码或联系人"
value="{{keyword}}"
bindinput="onKeywordInput"
/>
<view class="form-btn" bindtap="onSearch">搜索</view>
</view>
<view class="primary-btn" style="margin-top:16rpx" bindtap="onSync">请求设备同步</view>
</view>
<view class="section-title">最近短信</view>
<view class="card">
<view wx:if="{{!records.length}}" class="empty">暂无短信记录</view>
<view wx:for="{{records}}" wx:key="sourceId" class="list-row">
<view class="list-icon">✉️</view>
<view class="list-body">
<text class="list-title">{{item.contactName || item.address || '未知号码'}}</text>
<text class="list-sub">{{item.address || ''}}</text>
<text wx:if="{{item.sentTime}}" class="list-meta">{{item.sentTime}}</text>
</view>
<view class="list-action" data-sourceid="{{item.sourceId}}" bindtap="onContent">正文</view>
</view>
</view>
</view>