zm
2020-09-14 89c2b99ab9f7b162b9ce6f42077dbf8692066879
we254/addons/fy_lessonv2/template/mobile/default/search.html
@@ -19,7 +19,7 @@
         <div class="search flex0">
            <i class="icon_search flex_g0"></i>
            <input type="text" name="keyword" value="{$_GPC['keyword']}" placeholder="{php echo $index_page['searchBox'] ? $index_page['searchBox'] : '搜索您感兴趣的课程';}">
            <button class="search-btn">搜索aa</button>
            <button class="search-btn">搜索</button>
         </div>
      </div>
@@ -134,7 +134,7 @@
         </a>
         {loop $knowledgelist $key $parent}
         <a href="javascript:;">
            <li class="nav_menu_item {if $_GPC['knowledge_pid']==$parent['knowledge_pid']}nav_menu_item_selected{/if}">{$parent['name']}</li>
            <li class="nav_menu_item {if $_GPC['knowledge_pid']==$parent['id']}nav_menu_item_selected{/if}">{$parent['name']}</li>
         </a>
         {/loop}
      </ul>
@@ -157,7 +157,7 @@
               <li class="nav_menu_item {if ($_GPC['knowledge_pid']==$_GPC['knowledge_id']) && ($_GPC['knowledge_id']==$know['id'])}nav_menu_item_selected{/if}">{$know['name']}</li>
            </a>
            {loop $know['child'] $child}
            <a href="{php echo $child['link'] ? $child['link'] : $this->createMobileUrl('search', array('knowledge_id'=>$child['id'],'pid'=>$child['parentid'])).'&keyword='.$keyword.'&sort='.$sort.'&attr1='.$attr1.'&attr2='.$attr2;}">
            <a href="{php echo $child['link'] ? $child['link'] : $this->createMobileUrl('search', array('knowledge_id'=>$child['id'],'knowledge_pid'=>$child['parentid'])).'&keyword='.$keyword.'&sort='.$sort.'&attr1='.$attr1.'&attr2='.$attr2;}">
               <li class="nav_menu_item {if $_GPC['knowledge_id']==$child['id']}nav_menu_item_selected{/if}">{$child['name']}</li>
            </a>
            {/loop}