update at 2026-02-13 23:00:20
This commit is contained in:
@@ -97,47 +97,68 @@
|
||||
<text wx:if="{{columnHeaders.length === 0}}" class="empty-tip">未加载文件,暂无列信息</text>
|
||||
|
||||
<view class="field-group">
|
||||
<view class="field-title">
|
||||
<image src="../../assets/icons/expand.svg" mode="aspectFit" />
|
||||
<view class="field-title" data-section="sourceData" bindtap="onToggleSection">
|
||||
<image
|
||||
src="{{sectionVisibleSourceData ? '../../assets/icons/zhedie.svg' : '../../assets/icons/expand.svg'}}"
|
||||
mode="aspectFit"
|
||||
/>
|
||||
<text>源数据(link value)</text>
|
||||
</view>
|
||||
<view class="row" wx:for="{{columnHeaders}}" wx:key="*this" data-index="{{index}}" bindtap="onSelectSourceData">
|
||||
<image src="../../assets/icons/data.svg" mode="aspectFit" />
|
||||
<text class="label">{{item}}</text>
|
||||
<image
|
||||
src="{{sourceDataColumn === index ? '../../assets/icons/radiobutton.svg' : '../../assets/icons/radiobutton-no.svg'}}"
|
||||
mode="aspectFit"
|
||||
/>
|
||||
<view class="column-list" wx:if="{{sectionVisibleSourceData}}">
|
||||
<view class="column-list-line" />
|
||||
<view class="row" wx:for="{{columnHeaders}}" wx:key="*this" data-index="{{index}}" bindtap="onSelectSourceData">
|
||||
<view class="row-link" />
|
||||
<image src="../../assets/icons/data.svg" mode="aspectFit" />
|
||||
<text class="label">{{item}}</text>
|
||||
<image
|
||||
src="{{sourceDataColumn === index ? '../../assets/icons/radiobutton.svg' : '../../assets/icons/radiobutton-no.svg'}}"
|
||||
mode="aspectFit"
|
||||
/>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="field-group">
|
||||
<view class="field-title">
|
||||
<image src="../../assets/icons/expand.svg" mode="aspectFit" />
|
||||
<view class="field-title" data-section="sourceDesc" bindtap="onToggleSection">
|
||||
<image
|
||||
src="{{sectionVisibleSourceDesc ? '../../assets/icons/zhedie.svg' : '../../assets/icons/expand.svg'}}"
|
||||
mode="aspectFit"
|
||||
/>
|
||||
<text>源标签(Source label)</text>
|
||||
</view>
|
||||
<view class="row" wx:for="{{columnHeaders}}" wx:key="*this" data-index="{{index}}" bindtap="onToggleSourceDesc">
|
||||
<image src="../../assets/icons/description.svg" mode="aspectFit" />
|
||||
<text class="label">{{item}}</text>
|
||||
<image
|
||||
src="{{sourceDescriptionColumns.indexOf(index) > -1 ? '../../assets/icons/checkbox.svg' : '../../assets/icons/checkbox-no.svg'}}"
|
||||
mode="aspectFit"
|
||||
/>
|
||||
<view class="column-list" wx:if="{{sectionVisibleSourceDesc}}">
|
||||
<view class="column-list-line" />
|
||||
<view class="row" wx:for="{{columnHeaders}}" wx:key="*this" data-index="{{index}}" bindtap="onToggleSourceDesc">
|
||||
<view class="row-link" />
|
||||
<image src="../../assets/icons/description.svg" mode="aspectFit" />
|
||||
<text class="label">{{item}}</text>
|
||||
<image
|
||||
src="{{sourceDescriptionColumns.indexOf(index) > -1 ? '../../assets/icons/checkbox.svg' : '../../assets/icons/checkbox-no.svg'}}"
|
||||
mode="aspectFit"
|
||||
/>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="field-group">
|
||||
<view class="field-title">
|
||||
<image src="../../assets/icons/expand.svg" mode="aspectFit" />
|
||||
<text>目标标签(target label)</text>
|
||||
</view>
|
||||
<view class="row" wx:for="{{columnHeaders}}" wx:key="*this" data-index="{{index}}" bindtap="onToggleTargetDesc">
|
||||
<image src="../../assets/icons/description.svg" mode="aspectFit" />
|
||||
<text class="label">{{item}}</text>
|
||||
<view class="field-title" data-section="targetDesc" bindtap="onToggleSection">
|
||||
<image
|
||||
src="{{targetDescriptionColumns.indexOf(index) > -1 ? '../../assets/icons/checkbox.svg' : '../../assets/icons/checkbox-no.svg'}}"
|
||||
src="{{sectionVisibleTargetDesc ? '../../assets/icons/zhedie.svg' : '../../assets/icons/expand.svg'}}"
|
||||
mode="aspectFit"
|
||||
/>
|
||||
<text>目标标签(target label)</text>
|
||||
</view>
|
||||
<view class="column-list" wx:if="{{sectionVisibleTargetDesc}}">
|
||||
<view class="column-list-line" />
|
||||
<view class="row" wx:for="{{columnHeaders}}" wx:key="*this" data-index="{{index}}" bindtap="onToggleTargetDesc">
|
||||
<view class="row-link" />
|
||||
<image src="../../assets/icons/description.svg" mode="aspectFit" />
|
||||
<text class="label">{{item}}</text>
|
||||
<image
|
||||
src="{{targetDescriptionColumns.indexOf(index) > -1 ? '../../assets/icons/checkbox.svg' : '../../assets/icons/checkbox-no.svg'}}"
|
||||
mode="aspectFit"
|
||||
/>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</scroll-view>
|
||||
@@ -156,8 +177,17 @@
|
||||
<view class="theme-sheet-mask" wx:if="{{showThemeSheet}}" bindtap="onCloseThemeSheet" />
|
||||
<view class="theme-sheet" wx:if="{{showThemeSheet}}">
|
||||
<text class="theme-title">选择配色主题</text>
|
||||
<scroll-view class="theme-list" scroll-y enhanced show-scrollbar="true">
|
||||
<scroll-view
|
||||
class="theme-list"
|
||||
scroll-y
|
||||
enhanced
|
||||
show-scrollbar="true"
|
||||
scroll-top="{{themeListScrollTop}}"
|
||||
scroll-with-animation
|
||||
>
|
||||
<view class="theme-list-spacer" />
|
||||
<view
|
||||
id="theme-row-{{themeIndex}}"
|
||||
class="theme-row"
|
||||
wx:for="{{themes}}"
|
||||
wx:key="id"
|
||||
@@ -180,6 +210,7 @@
|
||||
/>
|
||||
</view>
|
||||
</view>
|
||||
<view class="theme-list-spacer" />
|
||||
</scroll-view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
Reference in New Issue
Block a user