123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165 |
- <!DOCTYPE html>
- <html>
- <head>
- @include('compress.common.head')
- <style>
- .w {
- width: 1200px;
- margin: 0 auto;
- }
- .pro-main {
- margin-bottom: 100px;
- }
- .clearfix::before, .clearfix::after {
- content: "";
- display: table;
- }
- .pro-main-left {
- width: 250px;
- box-shadow: 0 10px 20px rgba(0, 0, 0, .05);
- background: #fff;
- box-sizing: border-box;
- border-bottom: 1px solid #eeeeee;
- z-index: 9;
- }
- .fl {
- float: left;
- }
- .pro-main-right {
- width: 930px;
- background: #fff;
- border: 1px solid #eeeeee;
- }
- .fr {
- float: right;
- }
- .pro-main-left a {
- display: block;
- width: 100%;
- height: 50px;
- border-bottom: 1px solid #eeeeee;
- line-height: 50px;
- text-align: center;
- font-size: 16px;
- color: #666666;
- box-sizing: border-box;
- }
- .pro-left-active {
- color: #000;
- background: #EEEEEE;
- border-left: 3px solid #dd2421;
- }
- .pro-mian-search {
- width: 600px;
- height: 42px;
- line-height: 40px;
- background: #F5F6F8;
- border: 1px solid #F2F2F2;
- margin: 30px auto;
- padding-left: 20px;
- }
- .pro-mian-search input {
- width: 500px;
- height: 40px;
- border: 0;
- outline: none;
- background: #F5F6F8;
- }
- .pro-mian-search span {
- display: inline-block;
- width: 90px;
- height: 40px;
- background: url(../images/icon_serch_top.png) center center no-repeat;
- background-size: auto;
- background-size: 20px 20px;
- cursor: pointer;
- }
- .pro-main-right-list {
- width: 800px;
- margin: 40px auto 0;
- border-top: 1px solid #DDDDDD;
- }
- .pro-main-right-list li {
- width: 100%;
- height: 135px;
- padding-top: 20px;
- box-sizing: border-box;
- border-bottom: 1px solid #DDDDDD;
- }
- .pro-main-right-list li a {
- font-size: 16px;
- color: #151515;
- font-weight: bold;
- padding-top: 25px;
- box-sizing: border-box;
- margin-bottom: 6px;
- cursor: pointer;
- }
- .pro-main-right-list li p {
- font-size: 13px;
- color: #555555;
- line-height: 28px;
- margin-top: 10px;
- text-overflow: ellipsis;
- display: -webkit-box;
- -webkit-box-orient: vertical;
- -webkit-line-clamp: 2;
- overflow: hidden;
- }
- .pro-main-right p {
- word-wrap: break-word;
- }
- </style>
- </head>
- <body>
- <div class="header">
- @include('compress.common.header')
- </div>
- <div class="pro-main w clearfix">
- <div class="pro-main-left fl">
- @foreach($category as $cate)
- <a href="/help/{{ $cate->mid }}"
- class="{{ $cid == $cate->mid ? 'pro-left-active' : '' }}">{{ $cate->name }}</a>
- @endforeach
- </div>
- <div class="pro-main-right fr">
- <div class="pro-mian-search clearfix">
- <input class="fl supportInp" type="text" placeholder="我们能提供的帮助">
- <span class="fl supportBtn"></span>
- </div>
- @if($list && count($list) > 0)
- <ul class="pro-main-right-list">
- @foreach($list as $item)
- <li>
- <a target="_blank" href="/detail/{{$item->mid}}">{{ $item->title }}</a>
- <p>{{ trim($item->introduction) }}</p>
- </li>
- @endforeach
- </ul>
- @else
- <div class="pro-main-right-loadmore uselistNone">暂无教程</div>
- @endif
- </div>
- </div>
- @include('compress.common.footer')
- </body>
- </html>
|