소스 검색

Merge branch 'dev/v4.8.31_zxl' of qmx/jy into feature/v4.8.31

zhangxinlei1996 2 년 전
부모
커밋
971e332691
1개의 변경된 파일6개의 추가작업 그리고 1개의 파일을 삭제
  1. 6 1
      src/web/templates/pc/index.html

+ 6 - 1
src/web/templates/pc/index.html

@@ -61,11 +61,12 @@
         <div class="hot-search">
           <div class="left-tit">热门搜索</div>
           <div class="right-con">
+            <div class="a_box">
             {{$hasLogin := .T.hasLogin}}
             {{range $i,$v := .T.hotkey}}
               <a href="{{if  $hasLogin}}/page_workDesktop/work-bench/page?link={{end}}/jylab/supsearch/index.html?keywords={{$v}}&searchvalue=&selectType=title">{{$v}}</a>
             {{end}}
-
+            </div>
           </div>
         </div>
        </div>
@@ -296,7 +297,11 @@
           <div class="item-one">
             <div class="item-header">
               <span>{{if gt ( len $v.Name ) 6}} {{if $v.Name }}{{ index (slice $v.Name 0 6) }}<i>{{ index (slice $v.Name 6 ) }}</i>{{end}} {{end}}</span>
+              {{if $hasLogin}}
+              <a href="/page_workDesktop/work-bench/page?link={{$v.Url}}" target="_blank" class="more">查看更多</a>
+              {{else}}
               <a href="{{$v.Url}}" target="_blank" class="more">查看更多</a>
+              {{end}}
             </div>
             <ul>
               {{range $n,$m := $v.Data}}