• ligerui jsp页面各种用法——ligerui


    一:when标签

    <td style=" 150px">

                                <span>

                                <c:choose>

                                    <c:when test="${model.type==1}">

                                               商业投诉

                                    </c:when>

                                    <c:when test="${model.type==7}">

                                               通信投诉

                                    </c:when>

                                </c:choose>

                                </span>

                             </td>

    二:select

    function statuschange()

       {

          $("#pervalue").val('');

       }

    <td class="l-table-edit-td">             

               <select name="permode"  id="permode"  ltype="select" onchange="javascript:statuschange();">

                       <option value="0" <c:if test="${busiCompanyGood.permode==0}">selected</c:if>>百分比</option>

                       <option value="1" <c:if test="${busiCompanyGood.permode==1}">selected</c:if>>每单固定费用(成交)</option>

                       <option value="2" <c:if test="${busiCompanyGood.permode==2}">selected</c:if>>每月总包费用</option>

                       <option value="3" <c:if test="${busiCompanyGood.permode==3}">selected</c:if>>每单固定费用(分配)</option>

                    </select>

                 

                  </td>

    三:<if></if>

    <div>

                  <span>订单号:${orderno}</span>

                  <span style="margin-left: 200px">四联单号:${billno}</span>

                  <span style="margin-left: 200px">状态: <s:if test="status==0">待处理 </s:if>

                     <s:if test="status==1">已分配</s:if> <s:if test="status==2">处理中</s:if>

                     <s:if test="status==3">未成交</s:if> <s:if test="status==4">成交</s:if>

                     <s:if test="status==5">关闭</s:if> <s:if test="status==6">修改关闭</s:if>

                        <s:if test="status==10">待解决</s:if> <s:if test="status==11">已处理</s:if>  </span>

               </div>

    四:iterator

    <div id=u7 class="u7">

          <s:iterator value='sysOperateRecordList' id='operatelist'>

            <s:if test="#operatelist.actionid==104 ">

         

           <div  style="font-size: 10px; font-weight: normal; font-style: normal; color: #333333;">

               <div>

                  <s:property value='#operatelist.action' />

               </div>

               <div>

                  <span><s:date name='#operatelist.operatetime' format="yyyy-MM-dd HH:mm:ss" /></span>

               </div>

            </div>

            <div

               style="font-size: 10px; font-weight: normal; font-style: normal; color: #333333;">

               受理商家:&nbsp;<span>${company.companyname }</span>

            </div>

      

          </s:if>

          </s:iterator>

          </div>

    五:默认选择上一次选中的checkbox。

    <tr>

                    <td class="l-table-edit-td" valign="top">首页显示</td>

                    <td  class="l-table-edit-td" style="160px">

                        <input id="rbtnl_0" type="radio" name="isnotice" value="1"  <c:if test="${isnotice==1}">checked</c:if> /><label for="rbtnl_0">是</label>&nbsp;&nbsp;&nbsp;&nbsp;

                      <input id="rbtnl_1" type="radio" name="isnotice" value="0"  <c:if test="${isnotice==0||isnotice==''}">checked</c:if>/><label for="rbtnl_1">否</label>

                    </td>              

                    <td class="l-table-edit-td" style="160px"></td>

                    <td align="left"></td>

                </tr>  

  • 相关阅读:
    DIV+CSS规范命名大全集合
    display:none与visibility:hidden的区别
    为什么无法发起qq临时会话,必须添加好友?如何设置才能临时会话?
    gif动态图片去白边,杂边
    【原创】[PS技巧]如何制作翘角纸条的阴影效果
    ......那么Win8.1怎么去掉文件夹?
    Win8增加了快速启动功能......
    不间断图片滚动JS
    FlatList
    react native 布局
  • 原文地址:https://www.cnblogs.com/pujiajia/p/3287289.html
Copyright © 2020-2023  润新知