bugfix
This commit is contained in:
@@ -19,7 +19,8 @@ module.exports = { cls: cls }
|
||||
</view>
|
||||
</view>
|
||||
<view class="ai-gen-t">AI 正在为你搭配…</view>
|
||||
<view class="ai-gen-d">结合今日运势与你的衣橱</view>
|
||||
<view class="ai-gen-d">结合今日运势与你的衣橱,生成通常需要 10~30 秒</view>
|
||||
<view class="ai-gen-elapsed num">已等待 {{genElapsed}} 秒</view>
|
||||
</view>
|
||||
|
||||
<!-- 衣橱为空 -->
|
||||
@@ -86,9 +87,10 @@ module.exports = { cls: cls }
|
||||
<!-- 悬浮底部操作条 -->
|
||||
<view class="dock" wx:if="{{state === 'result'}}">
|
||||
<view class="ai-reroll-tip">换一套将再消耗 1 次推荐额度</view>
|
||||
<view class="ai-reroll-tip ai-reroll-sub">未保存的推荐会留在「AI 穿搭」里,可随时找回</view>
|
||||
<view class="dock-row">
|
||||
<view class="btn btn--ghost" bindtap="onReroll">换一套</view>
|
||||
<view class="btn btn--ink" bindtap="onSave">保存到我的穿搭</view>
|
||||
<view class="btn btn--ink" bindtap="onSave">保存</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
@@ -125,6 +127,10 @@ module.exports = { cls: cls }
|
||||
</view>
|
||||
<view class="sheet-foot">
|
||||
<view class="btn btn--ink btn--block" bindtap="onStartGenerate">开始生成(消耗 1 次推荐额度)</view>
|
||||
<view class="sheet-more" bindtap="onAiPending">
|
||||
<text>查看我的 AI 穿搭</text>
|
||||
<view class="icon icon-chevron-right"></view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@@ -134,7 +140,7 @@ module.exports = { cls: cls }
|
||||
visible="{{confirmVisible}}"
|
||||
type="modal"
|
||||
title="AI 穿搭推荐"
|
||||
content="本次将消耗 1 次 AI 推荐额度,生成后可保存到我的穿搭"
|
||||
content="本次将消耗 1 次 AI 推荐额度,生成结果可在「AI 穿搭」里保存与管理"
|
||||
buttons="{{confirmButtons}}"
|
||||
bind:confirm="onConfirmGenerate"
|
||||
bind:cancel="onConfirmCancel"
|
||||
@@ -150,4 +156,14 @@ module.exports = { cls: cls }
|
||||
bind:confirm="onLimitConfirm"
|
||||
bind:cancel="onLimitCancel"
|
||||
/>
|
||||
|
||||
<!-- 错误提示(提交/生成/保存失败、超时、结果过期) -->
|
||||
<v2-overlay
|
||||
visible="{{errVisible}}"
|
||||
type="modal"
|
||||
title="{{errTitle}}"
|
||||
content="{{errText}}"
|
||||
buttons="{{errButtons}}"
|
||||
bind:confirm="onErrConfirm"
|
||||
/>
|
||||
</view>
|
||||
|
||||
Reference in New Issue
Block a user