Haisen大王 2017-04-21 07:55 采纳率: 50%
浏览 4269
已结题

easyui 标题如何换行,求助

图片说明

而我想要的样式如下图,标红处所示:
图片说明

这是我的html。

<div data-options="region:'center',border:false">
    <table class="easyui-datagrid" id="orgIncomeDayDim2Grid">
        <thead>
            <tr>
                <th data-options="field:'orgName',width:80,align:'center'" rowspan="2">物业公司</th>
                <th data-options="field:'shouldIncome',width:100,align:'center'" rowspan="2">应收</th>
                <th colspan="3">现金收入</th>
                <th colspan="7"><span>线上收入</span><span>(支付宝、微信、帐户余额、停车卡、POS刷卡、POS扫微信、POS扫支付宝)</span></th>
            </tr>
            <tr>
                <th data-options="field:'cashNormalOrder',width:80,align:'center'">离场订单收费</th>
                <th data-options="field:'cashArrearageOrder',width:80,align:'center'">欠费追缴</th>
                <th data-options="field:'cashTotal',width:80,align:'center'">现金小计</th>
                <th data-options="field:'zhifubao',width:80,align:'center'">支付宝</th>
                <th data-options="field:'weixin',width:80,align:'center'">微信</th>
                <th data-options="field:'leaguerAccount',width:80,align:'center'">帐户余额</th>
                <th data-options="field:'parkCard',width:60,align:'center'">停车卡</th>
                <th data-options="field:'posBank',width:60,align:'center'">POS刷卡</th>
                <th data-options="field:'posWeixin',width:60,align:'center'">POS扫微信</th>
                <th data-options="field:'posZhifubao',width:60,align:'center'">POS扫支付宝</th>
            </tr>
        </thead>
    </table>
</div>

我该如何实现 图2中 效果

  • 写回答

4条回答 默认 最新

  • shen_wei 2017-04-21 08:00
    关注
    评论

报告相同问题?

悬赏问题

  • ¥20 java在应用程序里获取不到扬声器设备
  • ¥15 echarts动画效果的问题,请帮我添加一个动画。不要机器人回答。
  • ¥60 许可证msc licensing软件报错显示已有相同版本软件,但是下一步显示无法读取日志目录。
  • ¥15 Attention is all you need 的代码运行
  • ¥15 一个服务器已经有一个系统了如果用usb再装一个系统,原来的系统会被覆盖掉吗
  • ¥15 使用esm_msa1_t12_100M_UR50S蛋白质语言模型进行零样本预测时,终端显示出了sequence handled的进度条,但是并不出结果就自动终止回到命令提示行了是怎么回事:
  • ¥15 前置放大电路与功率放大电路相连放大倍数出现问题
  • ¥30 关于<main>标签页面跳转的问题
  • ¥80 部署运行web自动化项目
  • ¥15 腾讯云如何建立同一个项目中物模型之间的联系