committed by
trae-solo-agent
co-authored by
Kimi-K3.1-Pro noreply@moonshot.cn
parent
1181d598b4
commit
df96cb3b07
@@ -25,9 +25,9 @@
|
||||
<view class="section-content">
|
||||
<!-- list / mixed 类型的 items -->
|
||||
<block wx:if="{{item.type === 'list' || item.type === 'mixed'}}">
|
||||
<view wx:for="{{item.items}}" wx:for-item="subItem" wx:for-index="subIdx" wx:key="subIdx" class="list-item">
|
||||
<view wx:for="{{item.items}}" wx:for-item="subItem" wx:key="id" class="list-item">
|
||||
<view class="list-dot"></view>
|
||||
<text class="list-text">{{subItem}}</text>
|
||||
<text class="list-text">{{subItem.text}}</text>
|
||||
</view>
|
||||
</block>
|
||||
|
||||
@@ -35,10 +35,10 @@
|
||||
<block wx:if="{{item.type === 'mixed' && item.table}}">
|
||||
<view class="refund-table">
|
||||
<view class="table-row header">
|
||||
<text wx:for="{{item.table.headers}}" wx:for-item="h" wx:key="*this" class="table-cell">{{h}}</text>
|
||||
<text wx:for="{{item.table.headers}}" wx:for-item="h" wx:key="id" class="table-cell">{{h.text}}</text>
|
||||
</view>
|
||||
<view wx:for="{{item.table.rows}}" wx:for-item="row" wx:key="*this" class="table-row">
|
||||
<text wx:for="{{row}}" wx:for-item="cell" wx:key="*this" class="table-cell">{{cell}}</text>
|
||||
<view wx:for="{{item.table.rows}}" wx:for-item="row" wx:key="id" class="table-row">
|
||||
<text wx:for="{{row.cells}}" wx:for-item="cell" wx:key="id" class="table-cell">{{cell.text}}</text>
|
||||
</view>
|
||||
</view>
|
||||
</block>
|
||||
@@ -52,7 +52,7 @@
|
||||
</view>
|
||||
|
||||
<view class="footer-section">
|
||||
<text wx:for="{{agreement.footer}}" wx:key="*this" class="footer-text">{{item}}</text>
|
||||
<text wx:for="{{agreement.footer}}" wx:key="id" class="footer-text">{{item.text}}</text>
|
||||
</view>
|
||||
</block>
|
||||
</view>
|
||||
|
||||
Reference in New Issue
Block a user