- 管理端:用户详情、企业看板双小程序码、超管设置与用户列表等 - 后端:订单接口、邀请码企业版+个人版、分析与测试相关调整 - 微信小程序/抖音:自定义 tabBar 居中与拍摄钮上移、相机页与结果页、订单页、支付与统计 - 新增 faceResultDetail 工具与 mp 分析迁移脚本 Made-with: Cursor
33 lines
1.3 KiB
Plaintext
33 lines
1.3 KiB
Plaintext
<!--pages/order/index.wxml-->
|
|
<view class="page">
|
|
<view class="loading-wrap" wx:if="{{loading && list.length === 0}}">
|
|
<text class="loading-text">加载中...</text>
|
|
</view>
|
|
|
|
<view class="empty" wx:elif="{{empty && !loading}}">
|
|
<text class="empty-icon">🧾</text>
|
|
<text class="empty-title">暂无订单</text>
|
|
<text class="empty-desc">购买专业报告或测试服务后,订单会显示在这里</text>
|
|
</view>
|
|
|
|
<view class="list" wx:else>
|
|
<view class="order-card" wx:for="{{list}}" wx:key="id">
|
|
<view class="card-head">
|
|
<text class="title">{{item.productTitle}}</text>
|
|
<text class="status status-{{item.status}}">{{item.statusText}}</text>
|
|
</view>
|
|
<text class="order-no">单号 {{item.orderNo}}</text>
|
|
<view class="card-foot">
|
|
<text class="time">{{item.payTimeStr || item.createdAtStr}}</text>
|
|
<text class="amount">¥{{item.amountYuan}}</text>
|
|
</view>
|
|
</view>
|
|
<view class="load-more" wx:if="{{hasMore}}" bindtap="loadMore">
|
|
<text class="load-more-text">{{loading ? '加载中...' : '加载更多'}}</text>
|
|
</view>
|
|
<view class="list-end" wx:if="{{!hasMore && list.length > 0}}">
|
|
<text class="list-end-text">没有更多了</text>
|
|
</view>
|
|
</view>
|
|
</view>
|