Files
persionalBrand/packages/template-atelier-solopreneur/miniapp/pages/bookings/index.wxml
T

2 lines
1.4 KiB
Plaintext
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<view class="page"><view wx:if="{{loading}}">正在加载…</view><view wx:elif="{{error}}">{{error}}<button bindtap="reload">重试</button></view><block wx:else><view class="intro"><text class="eyebrow">{{presentation.eyebrow}}</text><text class="title">{{presentation.title}}</text><text class="body">{{presentation.subtitle}}</text></view><view class="card"><button bindtap="inquiry">{{presentation.inquiryAction}} · {{presentation.timeHint}}</button><view class="wechat"><text class="caption">{{presentation.wechatLabel}}</text><text>{{brand.contactWechat || presentation.contactHint}}</text><button disabled="{{!brand.contactWechat}}" bindtap="copy">{{presentation.copyAction}}</button></view><text class="caption">{{presentation.promise}}</text><button bindtap="records">{{presentation.recordsAction}}</button></view><view class="intro"><text class="title">{{presentation.faqTitle}}</text><text class="body">{{presentation.faqSubtitle}}</text></view><view wx:for="{{config.faqs}}" wx:key="index" class="card"><view bindtap="toggle" data-index="{{index}}"><text class="card-title">{{index+1}} · {{item.title}} {{opened===index ? "−" : "+"}}</text></view><text wx:if="{{opened===index}}" class="body">{{item.description}}</text></view><view class="footer"><text>{{presentation.footerQuote}}</text><text class="caption">{{presentation.footerNote}}</text></view></block></view>