Files
Blizzard c2b51f96e0
ci-cd / verify (push) Successful in 6s
ci-cd / deploy (push) Skipped
Fix capsule-aligned navigation and refresh mini program typography
2026-10-04 10:30:17 +08:00

18 lines
526 B
Plaintext

<view class="picker">
<view wx:if="{{pets.length>1&&!disabled}}" class="chip select-all" bindtap="selectAll">
<text>✓</text><text>全选 / 清空</text>
</view>
<view
wx:for="{{viewPets}}"
wx:key="id"
class="chip {{item.chosen?'chosen':''}}"
data-id="{{item.id}}"
bindtap="toggle"
>
<image wx:if="{{item.avatar_url}}" src="{{item.avatar_url}}" />
<app-icon wx:else size="32" />
<text>{{item.name}}</text>
<text class="check">{{item.chosen?'✓':'+'}}</text>
</view>
</view>