每日运势小程序
This commit is contained in:
84
DailyFortuneGuide/pages/home/index.ttml
Normal file
84
DailyFortuneGuide/pages/home/index.ttml
Normal file
@@ -0,0 +1,84 @@
|
||||
<view class="page">
|
||||
<view class="glow-layer">
|
||||
<view class="glow glow-one"></view>
|
||||
<view class="glow glow-two"></view>
|
||||
<view class="glow glow-three"></view>
|
||||
</view>
|
||||
|
||||
<view class="loading-overlay" tt:if="{{isLoading}}">
|
||||
<view class="loading-dialog">
|
||||
<view class="loading-spinner"></view>
|
||||
<text class="loading-text">{{loadingMessage}}</text>
|
||||
<text class="loading-subtext">深度推算无需久等,请保持耐心</text>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<scroll-view class="content" scroll-y="true" style="padding-top: {{safeAreaTop}}px;">
|
||||
<view class="hero">
|
||||
<view class="hero-text">
|
||||
<text class="hero-label">行知节奏</text>
|
||||
<text class="hero-title">每日运势指南</text>
|
||||
<text class="hero-desc">结合八字命盘与当日天象,规划六维行动节奏</text>
|
||||
</view>
|
||||
<view class="hero-tags">
|
||||
<text class="tag">八字推演</text>
|
||||
<text class="tag">吉时提醒</text>
|
||||
<text class="tag">专属建议</text>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="card">
|
||||
<view class="card-header">
|
||||
<text class="card-title">基础信息</text>
|
||||
<text class="card-subtitle">填写准确数据可提升推演可靠度</text>
|
||||
</view>
|
||||
<view class="form-item">
|
||||
<text class="label">出生日期</text>
|
||||
<picker mode="date" value="{{birthDate}}" bindchange="handleDateChange">
|
||||
<view class="picker-value">{{birthDate}}</view>
|
||||
</picker>
|
||||
</view>
|
||||
<view class="form-item">
|
||||
<text class="label">出生时间(可选)</text>
|
||||
<picker mode="time" value="{{birthTime}}" bindchange="handleTimeChange">
|
||||
<view class="picker-value {{birthTime ? '' : 'placeholder'}}">
|
||||
{{birthTime || '不清楚时间'}}
|
||||
</view>
|
||||
</picker>
|
||||
</view>
|
||||
<view class="form-item">
|
||||
<text class="label">出生城市</text>
|
||||
<view class="city-row">
|
||||
<picker mode="region" value="{{regionValue}}" bindchange="handleRegionChange">
|
||||
<view class="picker-value {{regionDisplay ? '' : 'placeholder'}}">
|
||||
{{regionDisplay || '请选择出生城市'}}
|
||||
</view>
|
||||
</picker>
|
||||
<!-- <button class="locate-btn" size="mini" plain="true" bindtap="handleLocate">定位</button> -->
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="card cta-card">
|
||||
<view class="cta-text">
|
||||
<text class="cta-title">结果生成</text>
|
||||
<text class="cta-subtitle">完成激励广告后立即开启</text>
|
||||
</view>
|
||||
<button
|
||||
class="primary"
|
||||
type="primary"
|
||||
bindtap="handleGenerate"
|
||||
loading="{{isSubmitting}}"
|
||||
disabled="{{isSubmitting}}"
|
||||
>
|
||||
观看广告后生成
|
||||
</button>
|
||||
<button class="secondary" bindtap="handleGoHistory">查看历史记录</button>
|
||||
</view>
|
||||
|
||||
<view class="card tips-card">
|
||||
<text class="tips-label">灵感提示</text>
|
||||
<text class="tips-text">{{tips[tipIndex]}}</text>
|
||||
</view>
|
||||
</scroll-view>
|
||||
</view>
|
||||
Reference in New Issue
Block a user