起步软件技术论坛
搜索
 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 2880|回复: 1

[结贴] 手机端$UI/system/components/justep/list/list控件怎么修改背景颜色?

[复制链接]

263

主题

733

帖子

1978

积分

金牌会员

Rank: 6Rank: 6

积分
1978
QQ
发表于 2017-11-27 09:03:41 | 显示全部楼层 |阅读模式
手机端$UI/system/components/justep/list/list控件怎么修改字体颜色?
<div xid="mainList" class="x-list" component="$UI/system/components/justep/list/list" data="khData" limit="6">
              <div class="x-list-head" />  
              <ul class="x-list-template">
                <li class="account-list-line">
                  <div component="$UI/system/components/justep/row/row" class="x-row x-row-center">
                    <div class="x-col" style="text-align: left;" bind-visible="$model.controlData.val('edit')==1">
                      <span component="$UI/system/components/justep/button/checkbox" bind-ref="ref('calcCheckBox')" class="x-checkbox" />
                    </div>  
                    <div component="$UI/system/components/justep/row/row" class="x-col x-col-90" bind-click="showDetailClick">
                      <div class="x-row" component="$UI/system/components/justep/row/row">
                        <div class="x-col">
                          <span class="font-bold x-output" component="$UI/system/components/justep/output/output" data="khData" bind-ref="ref('fKHBM')" />
                        </div>
                        <div class="x-col" style="text-align:right;color:gray">
                          <span class="x-output" component="$UI/system/components/justep/output/output" data="khData" bind-ref="ref('fKHMC')" />
                        </div>
                      </div>
                      <div class="x-row" component="$UI/system/components/justep/row/row">
                        <div class="x-col">
                          <span class="font-bold x-output" component="$UI/system/components/justep/output/output" data="khData" bind-ref="ref('fKHZT')" />
                        </div>
                      <div class="x-col" xid="col1" style="text-align:right;color:gray"><span class="font-bold x-output" component="$UI/system/components/justep/output/output" data="khData" bind-ref='ref("fKHJLName")' xid="output1"></span></div></div>
                    </div>  
                    <div class="x-col font-gray" bind-click="showDetailClick" style="text-align: right">
                      <a component="$UI/system/components/justep/button/button" label="" class="btn btn-only-icon" icon="icon-chevron-right" xid="editBtn">
                        <i class="icon-chevron-right" />  
                        <span />
                      </a>
                    </div>
                  </div>
                </li>
              </ul>
      </div>
需要实现相当于PC端dataTables的rowAttr属性的效果,每一行比较然后符合的给当前行字体标红
rowAttr="$row.val(&quot;isToday&quot;) ==1 ? {style:'height:50px;color:red;'}:{style:'height:50px;background:white;'}"

91

主题

13万

帖子

3万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
36180
发表于 2017-11-27 10:41:00 | 显示全部楼层
远程的联系方法QQ1392416607,添加好友时,需在备注里注明其论坛名字及ID,公司等信息
发远程时同时也发一下帖子地址,方便了解要解决的问题  WeX5教程  WeX5下载



如按照该方法解决,请及时跟帖,便于版主结贴
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|X3技术论坛|Justep Inc.    

GMT+8, 2025-6-29 09:20 , Processed in 0.056037 second(s), 23 queries .

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表