• 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>  

  • 相关阅读:
    SVN导入maven项目
    jQuery (二)DOM 操作
    jQuery (一)选择器
    jQuery 初识
    mysql的OFFSET实现分页
    MongoDB学习之(三)增删查改
    java安全性的一种简单思路
    java Spring 事务的初次使用与验证
    C#语法之匿名函数和Lambda表达式
    C#语法之委托和事件
  • 原文地址:https://www.cnblogs.com/pujiajia/p/3287289.html
Copyright © 2020-2023  润新知