1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192 |
- <{*<div class="sidebar jsc-sidebar" id="jsi-nav" data-sidebar-options="">
- <{if $smarty.const.IS_LOGIN}>
- <div class="user_info"><img src="<{$smarty.const.AVATAR}>"></div>
- <div class="m_u_name center"><{$smarty.const.NICKNAME}></div>
- <ul class="sidebar-list">
- <li><a href="<{$web_cfg.domain}>/?c=index" <{if $action=='index'}>class="current"<{/if}>><span class="m_tq_icon"></span><b>特权活动</b></a></li>
- <!-- <li><a href="#"><span class="m_jf_icon"></span><b>积分退换</b></a></li> -->
- <!-- <li><a href="#"><span class="m_mjf_icon"></span><b>我的积分</b></a></li> -->
- <li><a href="<{$giftsUrl}>" <{if $action=='gift'}>class="current"<{/if}>><span class="m_gf_icon"></span><b>我的奖品</b></a></li>
- <!-- <li><a href="#"><span class="m_ts_icon"></span><b>每周任务</b></a></li> -->
- <{if $smarty.const.FROMSOURCE_APP!='true'}>
- <li><a href="<{$web_cfg.domain}>/member/mobileBind" <{if $action=='member'}>class="current"<{/if}>><span class="m_set_icon"></span><b>资料设置</b></a></li>
- <{/if}>
- </ul>
- <{else}>
- <ul class="sidebar-list" style="margin: 20px;">
- <li><a href="<{$web_cfg.domain}>/connect/" class="current">微信登录</a></li>
- </ul>
- <ul class="sidebar-list">
- <li><a href="<{$web_cfg.domain}>/?c=index"><span class="m_tq_icon"></span><b>特权活动</b></a></li>
- <li><a href="<{$giftsUrl}>"><span class="m_gf_icon"></span><b>我的奖品</b></a></li>
- <{if $smarty.const.FROMSOURCE_APP!='true'}>
- <li><a href="<{$web_cfg.domain}>/connect/"><span class="m_set_icon"></span><b>资料设置</b></a></li>
- <{/if}>
- </ul>
- <{/if}>
- </div>
- <script>
- $(document).ready(function(){
- //----------------公用菜单侧面推出&按钮点击loading begin--------------//
- /*
- $('#jsi-nav').sidebar({
- trigger: '#munu_icon',
- pullCb: function () {
- $(".v_follow_tips").fadeIn();//关闭侧栏菜单显示关注提示
- },
- pushCb: function () {
- $(".v_follow_tips").fadeOut();//展开侧栏菜单隐藏关注提示
- }
- });
- //loading效果重新加载页面后只执行一次
- $("#munu_icon").one("click",function(){
- loading();
- });
- */
- function loading(){
- $("#munu_icon span").fadeOut().delay(400).fadeIn();
- $("#munu_icon #loading").fadeIn().delay(25).fadeOut();
- }
- //--------------公用菜单侧面推出&按钮点击loading end-------------//
- // 返回上一页
- $('.menu_back').one("click",function(){
-
- loading();
- history.go(-1);
- });
-
- //--------------通用表单焦点样式-------------//
- //input
- $("input[type=text]").focus(function(){
- $(this).parent().find("span").hide();
- $(this).css("color","#000");
- });
- $("input[type=text]").blur(function(){
- if($(this).val() == ''){
- $(this).parent().find("span").show();
- }
- });
- //textarea
- $("textarea").focus(function(){
- $(this).parent().find("span").hide();
- $(this).css("color","#000");
- });
- $("textarea").blur(function(){
- if($(this).val() == ''){
- $(this).parent().find("span").show();
- }
- });
- //--------------通用提示层显示3秒消失-------------/
- function tips_com(){
- $(".a_cover").fadeIn().delay(3000).fadeOut();
- $(".v_tips_box").fadeIn().delay(3000).fadeOut();//该提示样式可设置更换
- }
- });
- </script>
- *}>
|