feat: 增加小程序品牌首页
This commit is contained in:
1 parent
3b05df6edf
commit
255756c6dd
7 files changed
+36
-2
No files matched your search
@@ -0,0 +1,9 @@
|
||||
<view class="page">
|
||||
<view wx:if="{{loading}}" class="state">加载中...</view>
|
||||
<view wx:elif="{{error}}" class="state error">{{error}}<button bindtap="load">重试</button></view>
|
||||
<block wx:else>
|
||||
<view class="brand"><text class="name">{{brand.name}}</text><text class="tagline">{{brand.tagline}}</text><text>{{brand.description}}</text></view>
|
||||
<view class="section-title">服务</view>
|
||||
<view wx:for="{{services}}" wx:key="id" class="service" data-id="{{item.id}}" bindtap="selectService"><view><text class="service-name">{{item.name}}</text><text class="description">{{item.description}}</text></view><text class="price">{{item.priceText}}</text></view>
|
||||
</block>
|
||||
</view>
|
||||
Reference in new issue
Block a user