当前位置:w88手机版登录-www.w88zhan.com-优德w88app官方登录 > w88手机版登录网络 >   把需要引进的css和js都引进项目里

  把需要引进的css和js都引进项目里

文章作者:w88手机版登录网络 上传时间:2019-07-03
@{      Layout = null;  }    <!DOCTYPE html>    <html>      <head>            <link   rel="stylesheet" />          <link   rel="stylesheet" />          <script src="~/Scripts/jquery-1.10.2.min.js"></script>          <script src="~/Scripts/bootstrap.min.js"></script>          <meta name="viewport" content="width=device-width" />          <title>Index</title>          <script type="text/javascript">              $(function () {                  $('.tree li:has(ul)').addClass('parent_li').find(' > span').attr('title', 'Collapse this branch');                  $('.tree li.parent_li > span').on('click', function (e) {                      var children = $(this).parent('li.parent_li').find(' > ul > li');                      if (children.is(":visible")) {                          children.hide('fast');                          $(this).attr('title', 'Expand this branch').find(' > i').addClass('glyphicon').addClass('glyphicon-plus-sign').removeClass('glyphicon-minus-sign');                      } else {                          children.show('fast');                          $(this).attr('title', 'Collapse this branch').find(' > i').addClass('glyphicon').addClass('glyphicon-minus-sign').removeClass('glyphicon-plus-sign');                      }                      e.stopPropagation();                  });              });          </script>      </head>  <body>      <div >          <ul>              <li>                  <i ></i> Parent <a  >Goes somewhere</a>                  <ul>                      <li>                          <i ></i> Child <a  >Goes somewhere</a>                          <ul>                              <li>                                  <i ></i> Grand Child <a  >Goes somewhere</a>                              </li>                          </ul>                      </li>                      <li>                          <i ></i> Child <a  >Goes somewhere</a>                          <ul>                              <li>                                  <i ></i> Grand Child <a  >Goes somewhere</a>                              </li>                              <li>                                  <i ></i> Grand Child <a  >Goes somewhere</a>                                  <ul>                                      <li>                                          <i ></i> Great Grand Child <a  >Goes somewhere</a>                                          <ul>                                              <li>                                                  <i ></i> Great great Grand Child <a  >Goes somewhere</a>                                              </li>                                              <li>                                                  <i ></i> Great great Grand Child <a  >Goes somewhere</a>                                              </li>                                          </ul>                                      </li>                                      <li>                                          <i ></i> Great Grand Child <a  >Goes somewhere</a>                                      </li>                                      <li>                                          <i ></i> Great Grand Child <a  >Goes somewhere</a>                                      </li>                                  </ul>                              </li>                              <li>                                  <i ></i> Grand Child <a  >Goes somewhere</a>                              </li>                          </ul>                      </li>                  </ul>              </li>              <li>                  <i ></i> Parent2 <a  >Goes somewhere</a>                  <ul>                      <li>                          <i ></i> Child <a  >Goes somewhere</a>                      </li>                  </ul>              </li>          </ul>      </div>      <div >          <ul>              <li>                  <i ></i> 2013, Week 2                  <ul>                      <li>                          <i ></i> Monday, January 7: 8.00 hours                          <ul>                              <li>                                  <a  ><i ></i> 8.00 – Changed CSS to accomodate...</a>                              </li>                          </ul>                      </li>                      <li>                          <i ></i> Tuesday, January 8: 8.00 hours                          <ul>                              <li>                                  <i ></i> 6.00 – <a  >Altered code...</a>                              </li>                              <li>                                  <i ></i> 2.00 – <a  >Simplified our approach to...</a>                              </li>                          </ul>                      </li>                      <li>                          <i ></i> Wednesday, January 9: 6.00 hours                          <ul>                              <li>                                  <a  ><i ></i> 3.00 – Fixed bug caused by...</a>                              </li>                              <li>                                  <a  ><i ></i> 3.00 – Comitting latest code to Git...</a>                              </li>                          </ul>                      </li>                      <li>                          <i ></i> Wednesday, January 9: 4.00 hours                          <ul>                              <li>                                  <a  ><i ></i> 2.00 – Create component that...</a>                              </li>                          </ul>                      </li>                  </ul>              </li>              <li>                  <i ></i> 2013, Week 3                  <ul>                      <li>                          <i ></i> Monday, January 14: 8.00 hours                          <ul>                              <li>                                  <i ></i> 7.75 – <a  >Writing documentation...</a>                              </li>                              <li>                                  <i ></i> 0.25 – <a  >Reverting code back to...</a>                              </li>                          </ul>                      </li>                  </ul>              </li>          </ul>      </div>  </body>  </html>  

  把供给引入的css和js都推荐项目里。然后brush:html;gutter:true;">glyphicon glyphicon-time"这几个样式可以去bootstrap的官方文书档案里查看自身想要的图标。地址是:

 


本文由w88手机版登录-www.w88zhan.com-优德w88app官方登录发布于w88手机版登录网络,转载请注明出处:  把需要引进的css和js都引进项目里

关键词: