Add immediate startup login and loading states for mini program home
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
<view class="startup {{error?'failed':''}}">
|
||||
<view class="glow"></view>
|
||||
<view class="brand-wrap"><image class="brand" src="/assets/logo-corgi-v2.png" mode="aspectFit" /></view>
|
||||
<view class="brand-name">肉垫计划</view>
|
||||
<view class="brand-tagline">给陪伴一个温暖的地方</view>
|
||||
<view wx:if="{{error}}" class="connection-error">
|
||||
<view class="message">暂时没能连接</view>
|
||||
<view class="error-copy">{{error}}</view>
|
||||
<button class="retry" bindtap="retry">重新连接</button>
|
||||
</view>
|
||||
<view wx:else class="preparing" role="status">
|
||||
<view class="dots"><view></view><view></view><view></view></view>
|
||||
<view class="message">正在准备今天的小日常</view>
|
||||
</view>
|
||||
<view class="footer">陪伴它们的每一天,都值得记录</view>
|
||||
</view>
|
||||
Reference in New Issue
Block a user