每日运势小程序

This commit is contained in:
cjd
2025-11-09 18:41:07 +08:00
parent 1cc0241cda
commit abd82782af
34 changed files with 2204 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
<view class="page">
<scroll-view class="content" scroll-y="true" style="padding-top: {{safeAreaTop}}px;">
<view class="empty" tt:if="{{!history.length}}">
<text class="empty-text">{{emptyText}}</text>
</view>
<block tt:for="{{history}}" tt:key="id">
<view class="history-card" bindtap="handleViewDetail" data-id="{{item.id}}">
<view class="card-header">
<text class="card-date">{{item.displayTime}}</text>
<text class="card-city">{{item.city}}</text>
</view>
<text class="card-summary" tt:if="{{item.summary}}">{{item.summary}}</text>
<text class="card-summary" tt:else>鏈娴嬬畻宸蹭繚瀛橈紝鍙偣鍑绘煡鐪嬭鎯?/text>
</view>
</block>
</scroll-view>
</view>