Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

表头部分文字上色后剩余文字加粗效果消失 #400

Open
zhuwenbing opened this issue Aug 31, 2023 · 9 comments
Open

表头部分文字上色后剩余文字加粗效果消失 #400

zhuwenbing opened this issue Aug 31, 2023 · 9 comments

Comments

@zhuwenbing
Copy link

Bug描述
4.3.2 版本出现给 th 标签内的部分文字上色后加粗效果消失,尝试使用 strong 和 b 标签加粗其它未着色文字无效,使用 span style="font-weight: bold;" 亦无效。@144

Bug复现
1、向 th 标签内添加文字,如“ * 客户姓名”;
2、使用 span 包裹“ * ”号并设置为红色;
3、文字“客户姓名”加粗效果消失。

期望的结果
“ * ”号为红色且“客户姓名”几个字加粗。

@liaochong
Copy link
Owner

我这边测试是生效的,你用的是什么软件打开的?版本?

@zhuwenbing
Copy link
Author

WPS Spreadsheets(11.2.0.11417) Part of WPS Office

@zhuwenbing
Copy link
Author

效果如下图:
20230831160418

@liaochong
Copy link
Owner

liaochong commented Aug 31, 2023 via email

@zhuwenbing
Copy link
Author

这个无能为力了,myexcel只能保证ms Excel没问题,其他软件存在的兼容性问题无法解决 发自我的iPhone

------------------ 原始邮件 ------------------ 发件人: KissIce Chu @.> 发送时间: 2023年8月31日 16:31 收件人: liaochong/myexcel @.> 抄送: 清沐 @.>, Comment @.> 主题: Re: [liaochong/myexcel] 表头部分文字上色后剩余文字加粗效果消失 (Issue #400) 效果如下图: — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

刚发给同事,用Office 2021打开也一样,我再找个低版本的Office试试吧

@zhuwenbing
Copy link
Author

Office 2007打开也一样,如下图
20230831165457

@liaochong
Copy link
Owner

liaochong commented Aug 31, 2023

可能需要看看你的代码了,我这边是正常的
<th colspan="3"><span style="color: red">*</span><span style="font-weight: bold;">产品介绍</span></th>
image

@zhuwenbing
Copy link
Author

代码挺简单的,会不会是合并了单元格的原因?
20230904172255

@zhuwenbing
Copy link
Author

看样子不是合并了单元格的原因,我现在将代码缩减到以下还是一样没效果(仍然未加粗)

<table>
    <tr>
      <th><span style="color: red;">*</span><span style="font-weight: bold;">客户来源</span></th>
      <th><span style="color: red;">*</span><span style="font-weight: bold;">客户类别</span></th>
      <th><span style="color: red;">*</span><span style="font-weight: bold;">客户营销状态</span></th>
      <th><span style="color: red;">*</span><span style="font-weight: bold;">客户名称</span></th>
      <th><span style="color: red;">*</span><span style="font-weight: bold;">联系人</span></th>
      <th>联系人职位</th>
      <th>联系电话</th>
      <th>联系方式二(座机)</th>
      <th>联系方式三(邮箱)</th>
      <th>联系地址</th>
      <th><span style="color: red;">*</span><span style="font-weight: bold;">所在地区/国家</span></th>
      <th>行业</th>
      <th>经营范围</th>
      <th>主营收入(人民币/万元/年)</th>
      <th>其他经营信息</th>
      <th>是否签订MOU</th>
      <th>最近一次跟进日期</th>
      <th>最近一次记录</th>
      <th>跟进次数</th>
    </tr>
</table>

结果如下图:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants