Commit bf837444 by 李伟康

fix(dailyNewspaper): 修复表格单元格样式显示问题

- 根据详情模式动态设置单元格文本样式类名
- 优化表格组件在不同视图模式下的显示效果
1 parent 473ccc9f
......@@ -65,7 +65,7 @@
:rowIndex="rowIndex"
></slot>
</template>
<template v-else><text class="cell-text">{{ formatValue(row.data[colIndex]) }}</text></template>
<template v-else><text :class="[`${isDetail ? '' : 'cell-text'}`]">{{ formatValue(row.data[colIndex]) }}</text></template>
</view>
</view>
</view>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!