淡夏如弥吧 关注:42贴子:3,445
  • 4回复贴,共1

我是一个小机灵鬼2

只看楼主收藏回复

占楼


IP属地:浙江1楼2019-11-08 16:58回复
    <!DOCTYPE html>
    <html>
    <head>
    <meta http-equiv="Content-Type"
    content="multipart/form-data; charset=utf-8" />
    <head th:include="include :: header"></head>
    <title>Insert title here</title>
    </head>
    <script type="text/javascript">
    // JS实现选项卡切换
    window.onload = function(){
    var myTab = document.getElementById("tab"); //整个div
    var myUl = myTab.getElementsByTagName("ul")[0];//一个节点
    var myLi = myUl.getElementsByTagName("li"); //数组
    var myDiv = myTab.getElementsByTagName("div"); //数组
    for(var i = 0; i<myLi.length;i++){
    myLi[i].index = i;
    myLi[i].onclick = function(){
    for(var j = 0; j < myLi.length; j++){
    myLi[j].className="off";
    myDiv[j].className = "hide";
    }
    this.className = "on";
    myDiv[this.index].className = "show";
    }
    }
    }
    </script>
    <style type="text/css">
    *{
    padding:0px;
    margin:0px;
    }
    .innerDiv{
    height:50px;
    }
    /*
    #menu, #menu li {
    list-style:none; /* 将默认的列表符号去掉 */
    padding:0; /* 将默认的内边距去掉 */
    margin:0; /* 将默认的外边距去掉 */
    float: left; /* 往左浮动 */
    display: block;
    }
    #menu li a {
    display:inline-block; /* 将链接设为块级元素 */
    width:150px; /* 设置宽度 */
    height:34px; /* 设置高度 */
    line-height:34px; /* 设置行高,将行高和高度设置同一个值,可以让单行文本垂直居中 */
    text-align:center; /* 居中对齐文字 */
    text-decoration:none; /* 去掉下划线 */
    border-top: 4px solid #909090;/*设置上边框颜色*/
    border-right:1px solid #909090; /* 在左侧加上分隔线 */
    border-bottom: 1px solid #909090;/*设置下边框颜色*/
    background:#B8B8B8;
    }
    #menu li a:hover {
    border-top: 4px solid #606060;/*设置上边框颜色*/
    }
    #menu li a:active{
    background:#FFFFFF;
    border-bottom: 0px;/*设置下边框*/
    }
    #menu li a:after{
    background:#FFFFFF;
    border-bottom: 0px;/*设置下边框*/
    }
    #menu li a.last {
    border-right:0; /* 去掉左侧边框 */
    }
    .divcss1{
    border:1px solid #909090;
    width:84%px;
    height:500px;
    }*/
    #tab, #tab li{
    list-style: none;
    float: left;
    padding:0; /* 将默认的内边距去掉 */
    margin:0; /* 将默认的外边距去掉 */
    display: block;
    }
    #tab ul li{
    list-style:none;
    display: inline-block; /* 将链接设为块级元素 */
    width:150px; /* 设置宽度 */
    height:34px; /* 设置高度 */
    line-height:34px; /* 设置行高,将行高和高度设置同一个值,可以让单行文本垂直居中 */
    text-align:center; /* 居中对齐文字 */
    text-decoration:none; /* 去掉下划线 */
    border-top: 4px solid #909090;/*设置上边框颜色*/
    border-right:1px solid #909090; /* 在左侧加上分隔线 */
    border-bottom: 0;/*设置下边框颜色*/
    background-color: #B0B0B0;
    }
    #tab ul li.on{
    border-top: 4px solid #606060;
    background-color: #FFFFFF;
    line-height:35px;
    }
    #tab li.last {
    border-right:0; /* 去掉左侧边框 */
    }
    #divCss1{
    border:1px solid #909090;
    width:92%;
    height:200px;
    padding:10px;
    }
    .hide{
    display:none;
    }
    </style>


    IP属地:浙江2楼2019-11-08 16:59
    回复
      <body style="color: black;">
      <form action="">
      <div style="margin-top: 20px;text-align: right;line-height: 34px;">
      <div id="leftDiv" class="col-sm-6">
      <div class="innerDiv">
      <span class="col-sm-4">Number</span>
      <div class="col-sm-7">
      <input type="text" class="form-control">
      </div>
      </div>
      <div class="innerDiv">
      <span class="col-sm-4">Caller</span>
      <div class="col-sm-7">
      <div class="input-group">
      <input type="text" class="form-control" placeholder="Search for...">
      <span class="input-group-btn" >
      <button class="btn btn-default" type="button">
      <span class="glyphicon glyphicon-search" aria-hidden="true" ></span></button>
      </span>
      </div><!-- /input-group -->
      </div><!-- /.col-lg-6 -->
      <div class="col-sm-1"></div>
      </div>
      <div class="innerDiv">
      <span class="col-sm-4">Category</span>
      <div class="col-sm-7">
      <select name="city" style="width: 100%;height:32px">
      <option value=""></option>
      <option value="0">北京</option>
      <option value="1">上海</option>
      <option value="2">广州</option>
      <option value="3">深圳</option>
      <option value="4">杭州</option>
      </select>
      </div>
      <div class="col-sm-1"></div>
      </div>
      <div class="innerDiv">
      <span class="col-sm-4">Subcategory</span>
      <div class="col-sm-7">
      <select name="city" style="width: 100%;height:32px">
      <option value=""></option>
      <option value="0">北京</option>
      <option value="1">上海</option>
      <option value="2">广州</option>
      <option value="3">深圳</option>
      <option value="4">杭州</option>
      </select>
      </div>
      <div class="col-sm-1"></div>
      </div>
      <div class="innerDiv">
      <span class="col-sm-4">Business service</span>
      <div class="col-sm-7">
      <div class="input-group">
      <input type="text" class="form-control" placeholder="Search for...">
      <span class="input-group-btn" >
      <button class="btn btn-default" type="button">
      <span class="glyphicon glyphicon-search" aria-hidden="true" ></span></button>
      </span>
      </div><!-- /input-group -->
      </div><!-- /.col-lg-6 -->
      <div class="col-sm-1"></div>
      </div>
      <div class="innerDiv">
      <span class="col-sm-4">Configuration item</span>
      <div class="col-sm-7">
      <div class="input-group">
      <input type="text" class="form-control" placeholder="Search for...">
      <span class="input-group-btn" >
      <button class="btn btn-default" type="button">
      <span class="glyphicon glyphicon-search" aria-hidden="true" ></span></button>
      </span>
      </div><!-- /input-group -->
      </div><!-- /.col-lg-6 -->
      <div class="col-sm-1"></div>
      </div>
      </div><!-- /.row -->
      <div id="rightDiv" class="col-sm-6">
      <div class="innerDiv">
      <span class="col-sm-4">Contact type</span>
      <div class="col-sm-7">
      <select name="city" style="width: 100%;height:32px">
      <option value=""></option>
      <option value="0">北京</option>
      <option value="1">上海</option>
      <option value="2">广州</option>
      <option value="3">深圳</option>
      <option value="4">杭州</option>
      </select>
      </div>
      <div class="col-sm-1"></div>
      </div>
      <div class="innerDiv">
      <span class="col-sm-4">State</span>
      <div class="col-sm-7">
      <select name="city" style="width: 100%;height:32px">
      <option value=""></option>
      <option value="0">北京</option>
      <option value="1">上海</option>
      <option value="2">广州</option>
      <option value="3">深圳</option>
      <option value="4">杭州</option>
      </select>
      </div>
      <div class="col-sm-1"></div>
      </div>
      <div class="innerDiv">
      <span class="col-sm-4">Impact</span>
      <div class="col-sm-7">
      <select name="city" style="width: 100%;height:32px">
      <option value=""></option>
      <option value="0">北京</option>
      <option value="1">上海</option>
      <option value="2">广州</option>
      <option value="3">深圳</option>
      <option value="4">杭州</option>
      </select>
      </div>
      <div class="col-sm-1"></div>
      </div>
      <div class="innerDiv">
      <span class="col-sm-4">Urgency</span>
      <div class="col-sm-7">
      <select name="city" style="width: 100%;height:32px">
      <option value=""></option>
      <option value="0">北京</option>
      <option value="1">上海</option>
      <option value="2">广州</option>
      <option value="3">深圳</option>
      <option value="4">杭州</option>
      </select>
      </div>
      <div class="col-sm-1"></div>
      </div>


      IP属地:浙江3楼2019-11-08 16:59
      回复
        <div class="innerDiv">
        <span class="col-sm-4">Priority</span>
        <div class="col-sm-7">
        <div class="input-group" style="width: 100%;">
        <input type="text" class="form-control" placeholder="Search for...">
        </div><!-- /input-group -->
        </div><!-- /.col-lg-6 -->
        <div class="col-sm-1"></div>
        </div>
        <div class="innerDiv">
        <span class="col-sm-4">Assignment group</span>
        <div class="col-sm-7">
        <div class="input-group">
        <input type="text" class="form-control" placeholder="Search for...">
        <span class="input-group-btn" >
        <button class="btn btn-default" type="button">
        <span class="glyphicon glyphicon-search" aria-hidden="true" ></span></button>
        </span>
        </div><!-- /input-group -->
        </div><!-- /.col-lg-6 -->
        <div class="col-sm-1"></div>
        </div>
        <div class="innerDiv">
        <span class="col-sm-4">Assigned to</span>
        <div class="col-sm-7">
        <div class="input-group">
        <input type="text" class="form-control" placeholder="Search for...">
        <span class="input-group-btn" >
        <button class="btn btn-default" type="button">
        <span class="glyphicon glyphicon-search" aria-hidden="true" ></span></button>
        </span>
        </div><!-- /input-group -->
        </div><!-- /.col-lg-6 -->
        <div class="col-sm-1"></div>
        </div>
        </div>
        <div>
        <span class="col-sm-2">Short description</span>
        <div class="col-sm-9">
        <input type="text" class="form-control">
        </div>
        </div>
        <div>
        <span class="col-sm-2" style="margin-top:20px;">Description</span>
        <div class="col-sm-9" style="margin-top:20px;">
        <textarea type="text" class="form-control"></textarea>
        </div>
        </div>
        </div>
        <div class="innerDiv" style="margin-left:8%;">
        <div id = "tab">
        <ul>
        <li class="on">Notes</li>
        <li class="0ff">Related Records</li>
        <li class="off">Resolution Information</li>
        </ul>
        <div id="firstPage" class="show">
        <span class="col-sm-2" style="margin-top:20px;">Additional comments (Customer visible)</span>
        <div class="col-sm-9" style="margin-top:20px;">
        <textarea type="text" class="form-control"></textarea>
        </div>
        <span class="col-sm-2" style="margin-top:20px;">Work notes</span>
        <div class="col-sm-9" style="margin-top:20px;">
        <textarea type="text" class="form-control"></textarea>
        </div>
        </div>
        <div id="divCss1">
        <div id="secondPage" class="hide" >
        <div class="input-group">
        <input type="text" class="form-control" placeholder="Search for...">
        <span class="input-group-btn" >
        <button class="btn btn-default" type="button">
        <span class="glyphicon glyphicon-search" aria-hidden="true" ></span></button>
        </span>
        </div>
        <span class="col-sm-2" style="margin-top:20px;">Work notes</span>
        <div class="col-sm-9" style="margin-top:20px;">
        <textarea type="text" class="form-control"></textarea>
        </div>
        </div>
        </div>
        <div id="thirdPage" class = "hide">
        <span class="col-sm-2" style="margin-top:20px;">Additional comments (Customer visible)</span>
        <div class="col-sm-9" style="margin-top:20px;">
        <textarea type="text" class="form-control"></textarea>
        </div>
        <span class="col-sm-2" style="margin-top:20px;">Work notes</span>
        <div class="col-sm-9" style="margin-top:20px;">
        <textarea type="text" class="form-control"></textarea>
        </div>
        </div>
        </div>
        <div class="layui-form-item">
        <div class="layui-input-block">
        <button class="layui-btn" lay-submit lay-filter="formDemo">立即提交</button>
        <button type="reset" class="layui-btn layui-btn-primary">重置</button>
        </div>
        </div>
        </form>
        <div th:include="include :: footer"></div>
        <script src="/js/bootstrap-prettyfile.js"></script>
        <script type="text/javascript" src="/js/appjs/incident/add.js"></script>
        </body>
        </html>


        IP属地:浙江4楼2019-11-08 17:02
        回复
          <!DOCTYPE html>
          <html>
          <head>
          <meta http-equiv="Content-Type"
          content="multipart/form-data; charset=utf-8" />
          <head th:include="include :: header"></head>
          <link rel="stylesheet" href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css">
          <script src="https://cdn.staticfile.org/jquery/2.1.1/jquery.min.js"></script>
          <script src="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
          <title>Insert title here</title>
          </head>
          <style type="text/css">
          *{
          padding:0px;
          margin:0px;
          }
          .innerDiv{
          height:50px;
          }
          /*
          #menu, #menu li {
          list-style:none; /* 将默认的列表符号去掉 */
          padding:0; /* 将默认的内边距去掉 */
          margin:0; /* 将默认的外边距去掉 */
          float: left; /* 往左浮动 */
          display: block;
          }
          #menu li a {
          display:inline-block; /* 将链接设为块级元素 */
          width:150px; /* 设置宽度 */
          height:34px; /* 设置高度 */
          line-height:34px; /* 设置行高,将行高和高度设置同一个值,可以让单行文本垂直居中 */
          text-align:center; /* 居中对齐文字 */
          text-decoration:none; /* 去掉下划线 */
          border-top: 4px solid #909090;/*设置上边框颜色*/
          border-right:1px solid #909090; /* 在左侧加上分隔线 */
          border-bottom: 1px solid #909090;/*设置下边框颜色*/
          background:#B8B8B8;
          }
          #menu li a:hover {
          border-top: 4px solid #606060;/*设置上边框颜色*/
          }
          #menu li a:active{
          background:#FFFFFF;
          border-bottom: 0px;/*设置下边框*/
          }
          #menu li a:after{
          background:#FFFFFF;
          border-bottom: 0px;/*设置下边框*/
          }
          #menu li a.last {
          border-right:0; /* 去掉左侧边框 */
          }
          .divcss1{
          border:1px solid #909090;
          width:84%px;
          height:500px;
          }*/
          #tab, #tab li{
          list-style: none;
          float: left;
          padding:0; /* 将默认的内边距去掉 */
          margin:0; /* 将默认的外边距去掉 */
          display: block;
          }
          #tab ul li{
          list-style:none;
          display: inline-block; /* 将链接设为块级元素 */
          width:150px; /* 设置宽度 */
          height:34px; /* 设置高度 */
          line-height:34px; /* 设置行高,将行高和高度设置同一个值,可以让单行文本垂直居中 */
          text-align:center; /* 居中对齐文字 */
          text-decoration:none; /* 去掉下划线 */
          border-top: 4px solid #909090;/*设置上边框颜色*/
          border-right:1px solid #909090; /* 在左侧加上分隔线 */
          border-bottom: 0;/*设置下边框颜色*/
          background-color: #B0B0B0;
          }
          #tab ul li.on{
          border-top: 4px solid #606060;
          background-color: #FFFFFF;
          line-height:35px;
          }
          #tab li.last {
          border-right:0; /* 去掉左侧边框 */
          }
          #divCss1{
          border:1px solid #909090;
          width:92%;
          height:200px;
          padding:10px;
          }
          .hide{
          display:none;
          }
          </style>
          <body style="color: black;">
          <form action="">
          <div style="margin-top: 20px;text-align: right;line-height: 34px;">
          <div id="leftDiv" class="col-sm-6">
          <div class="innerDiv">
          <span class="col-sm-4">Number</span>
          <div class="col-sm-7">
          <input type="text" class="form-control">
          </div>
          </div>
          <div class="innerDiv">
          <span class="col-sm-4">Caller</span>
          <div class="col-sm-7">
          <div class="input-group">
          <input type="text" class="form-control" placeholder="Search for...">
          <span class="input-group-btn" >
          <button class="btn btn-default" type="button">
          <span class="glyphicon glyphicon-search" aria-hidden="true" ></span></button>
          </span>
          </div><!-- /input-group -->
          </div><!-- /.col-lg-6 -->
          <div class="col-sm-1"></div>
          </div>


          IP属地:浙江5楼2019-11-11 17:56
          回复