refactor: 完善小程序品牌组件视觉层
This commit is contained in:
1 parent
e4adfc6b13
commit
8872316ad3
17 files changed
+72
-10
No files matched your search
@@ -4,6 +4,7 @@
|
||||
"navigationBarTextStyle": "black",
|
||||
"usingComponents": {
|
||||
"brand-loading": "/components/ui/brand-loading/brand-loading",
|
||||
"brand-empty": "/components/ui/brand-empty/brand-empty"
|
||||
"brand-empty": "/components/ui/brand-empty/brand-empty",
|
||||
"brand-error": "/components/ui/brand-error/brand-error"
|
||||
}
|
||||
}
|
||||
@@ -1,7 +1,7 @@
|
||||
<view class="page">
|
||||
<view class="heading-row"><text class="heading">我的订单</text><text class="phone" bindtap="contact">☎</text></view>
|
||||
<brand-loading wx:if="{{loading}}" />
|
||||
<view wx:elif="{{error}}" class="state error"><text>{{error}}</text><button size="mini" bindtap="retry">重新加载</button></view>
|
||||
<brand-error wx:elif="{{error}}" message="{{error}}" bind:retry="retry" />
|
||||
<brand-empty wx:elif="{{!bookings.length}}" description="完成预约后,订单会显示在这里" />
|
||||
<block wx:else>
|
||||
<view class="status-banner"><view><text class="status-title">订单状态</text><text class="status-sub">查看每笔预约的最新进展</text></view><text class="check">✓</text></view>
|
||||
|
||||
Reference in new issue
Block a user