Files
ttstd_family_care_miniapp/pages/calls/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

22 lines
915 B
Plaintext

<view class="page">
<view class="card">
<view class="form-row">
<view class="primary-btn" bindtap="onSync">请求设备同步</view>
<view class="secondary-btn" style="margin-left:16rpx" bindtap="onFilter">筛选</view>
</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">{{item.direction === 'OUT' ? '↗️' : '↙️'}}</view>
<view class="list-body">
<text class="list-title">{{item.contactName || item.number || '未知号码'}}</text>
<text class="list-sub">{{item.number || ''}}</text>
<text wx:if="{{item.calledAt}}" class="list-meta">{{item.calledAt}} · {{item.durationSeconds || 0}} 秒</text>
</view>
</view>
</view>
</view>