update at 2026-02-13 22:55:01
This commit is contained in:
@@ -156,12 +156,30 @@
|
||||
<view class="theme-sheet-mask" wx:if="{{showThemeSheet}}" bindtap="onCloseThemeSheet" />
|
||||
<view class="theme-sheet" wx:if="{{showThemeSheet}}">
|
||||
<text class="theme-title">选择配色主题</text>
|
||||
<view class="theme-row" wx:for="{{4}}" wx:key="index">
|
||||
<image
|
||||
src="{{selectedThemeIndex === index ? '../../assets/icons/radiobutton.svg' : '../../assets/icons/radiobutton-no.svg'}}"
|
||||
mode="aspectFit"
|
||||
/>
|
||||
<view class="theme-bar" />
|
||||
</view>
|
||||
<scroll-view class="theme-list" scroll-y enhanced show-scrollbar="true">
|
||||
<view
|
||||
class="theme-row"
|
||||
wx:for="{{themes}}"
|
||||
wx:key="id"
|
||||
wx:for-item="theme"
|
||||
wx:for-index="themeIndex"
|
||||
data-index="{{themeIndex}}"
|
||||
bindtap="onSelectTheme"
|
||||
>
|
||||
<image
|
||||
src="{{selectedThemeIndex === themeIndex ? '../../assets/icons/radiobutton.svg' : '../../assets/icons/radiobutton-no.svg'}}"
|
||||
mode="aspectFit"
|
||||
/>
|
||||
<view class="theme-bar">
|
||||
<view
|
||||
class="theme-color"
|
||||
wx:for="{{theme.colors}}"
|
||||
wx:key="*this"
|
||||
wx:for-item="color"
|
||||
style="background-color: {{color}};"
|
||||
/>
|
||||
</view>
|
||||
</view>
|
||||
</scroll-view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
Reference in New Issue
Block a user