wangshan hace 1 año
padre
commit
85fdfdf775
Se han modificado 2 ficheros con 3 adiciones y 2 borrados
  1. 2 2
      src/web/templates/pc/supsearch.html
  2. 1 0
      src/web/templates/pc/tags/detail.html

+ 2 - 2
src/web/templates/pc/supsearch.html

@@ -112,10 +112,10 @@
         selectType = urlParamSelectType
       } else {
         // url参数取不到,并且selectType为空
-        if (!selectType){
+        //if (!selectType){
           //搜索范围空选择,后端路由默认标题和正文,避免筛选收藏和数据导出因为搜索范围异常导致信息数量不匹配
           selectType = beforeOfSelectType
-        }
+        //}
       }
       $(function () {
         $("#zbSeatchT [name='selectType']").val(selectType);

+ 1 - 0
src/web/templates/pc/tags/detail.html

@@ -269,6 +269,7 @@
                   <div class="com-title"><a href="/nologin/content/{{$v._id}}.html{{if $v.industry}}?industry={{$v.industry}}{{end}}" target="_blank">{{$v.title}}</a></div>
                   <div class="com-status">
                     {{if $v.area}}<span class="com-area"><a href="/list/area/{{$v.areaadd}}.html">{{$v.area}}</a></span>{{end}}
+                    {{if $v.type}}<span class="com-type"><a href="/list/stype/{{$v.stypeadd}}.html">{{$v.type}}</a></span>{{end}}
                     {{if $v.type}}
                       {{if eq  $v.stypeadd "NJXM"}}
                       <span class="com-type"><a href="javascript:volid(0);">{{$v.type}}</a></span>