From 89c2b99ab9f7b162b9ce6f42077dbf8692066879 Mon Sep 17 00:00:00 2001 From: zm <zm@iemsoft.cn> Date: Mon, 14 Sep 2020 13:11:17 +0800 Subject: [PATCH] 按知识点搜索 移动端 开发完成 --- we254/addons/fy_lessonv2/template/mobile/default/_footerv2.html | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/we254/addons/fy_lessonv2/template/mobile/default/_footerv2.html b/we254/addons/fy_lessonv2/template/mobile/default/_footerv2.html index 446a949..4e54945 100644 --- a/we254/addons/fy_lessonv2/template/mobile/default/_footerv2.html +++ b/we254/addons/fy_lessonv2/template/mobile/default/_footerv2.html @@ -23,8 +23,8 @@ {/if} <p class="weui-tabbar__label">{$navigation['index']['nav_name']}</p> </a> - <a href="{$navigation['search']['url_link']}" class="weui-tabbar__item {if $foot_params['search']}weui-bar__item_on{/if}"> - {if $foot_params['search']} + <a href="{$navigation['search']['url_link']}" class="weui-tabbar__item {if $foot_params['search'] && $_GPC['searchtype']=='1'}weui-bar__item_on{/if}"> + {if $foot_params['search'] && $_GPC['searchtype']=='1'} <img src="{$navigation['search']['selected_icon']}" class="weui-tabbar__icon" /> {else} <img src="{$navigation['search']['unselected_icon']}" class="weui-tabbar__icon" /> @@ -32,8 +32,8 @@ <p class="weui-tabbar__label">{$navigation['search']['nav_name']}</p> </a> {if $navigation['diynav']} - <a href="{$navigation['diynav']['url_link']}" class="weui-tabbar__item {if $foot_params['diynav']}weui-bar__item_on{/if}"> - {if $foot_params['diynav']} + <a href="{$navigation['diynav']['url_link']}" class="weui-tabbar__item {if $foot_params['diynav'] && $_GPC['searchtype']=='2'}weui-bar__item_on{/if}"> + {if $foot_params['diynav'] && $_GPC['searchtype']=='2'} <img src="{$navigation['diynav']['selected_icon']}" class="weui-tabbar__icon" /> {else} <img src="{$navigation['diynav']['unselected_icon']}" class="weui-tabbar__icon" /> -- Gitblit v1.8.0