feat: 接入小程序业务提供项详情渲染
This commit is contained in:
1 parent
5e26999c72
commit
8fd399f4c2
7 files changed
+92
-5
No files matched your search
@@ -0,0 +1 @@
|
||||
<view class="page"><view wx:if="{{loading}}" class="state">加载中...</view><view wx:elif="{{error}}" class="state">{{error}}</view><view wx:else><image wx:if="{{item.coverUrl}}" class="cover" src="{{item.coverUrl}}" mode="aspectFill"/><view class="title">{{item.name}}</view><view class="summary">{{item.summary}}</view><view class="price">{{item.priceText || '沟通报价'}}</view><view wx:for="{{item.sections}}" wx:for-item="section" wx:key="title" class="section"><view class="section-title">{{section.title}}</view><view class="section-content">{{section.content}}</view><view wx:for="{{section.items}}" wx:for-item="sectionItem" wx:key="*this" class="section-item">{{sectionItem}}</view></view><button class="cta" bindtap="submit">{{item.cta.label || '立即咨询'}}</button></view></view>
|
||||
Reference in new issue
Block a user