羽下佳人 2016-09-14 03:29 采纳率: 0%
浏览 838

WEB手机项目开发: 底部链接有一个有时 无效

底部有两个链接: 投顾直播,个人中心
个人中心这个链接没有问题,肯定会跳转,但是第一个按钮点击几次之后就无效了。
我测试着: 手机上其他浏览器好像就没有这个问题,就是在微信里有这个问题。

<div class="footer index_footer">
    <a href="javascript:;" class="tg zb_tg">互动直播</a>
    <span class="foot_line"></span>
    <!--<a href="wdtg_one.html" class="kf">投资助手</a>-->
    <a href="personal_index.html" class="zone zb_zone">个人中心</a>
</div>

.index_footer {
position: fixed;
bottom: 0;
z-index: 1;
height: 44px;
width: 100%;
box-sizing: border-box;
border-top: 1px solid #ddd;
background-color: #fff;
color: #111;
line-height: 44px;
}
.index_footer a {
position: relative;
z-index: 2;
float: left;
width: 50%;
height: 44px;
line-height: 44px;
background-color: #fff;
text-align: center;
color: #111;
font-family: "微软雅黑";
font-size: 14px;
font-style: normal;
}
.index_footer a:active ,.index_footer a.active {
background-color: #be2b2b;
color: #fff;
}
.index_footer .foot_line {
/*display: none;*/
position: absolute;
left: 50%;
z-index: 3;
width: 1px;
height: 49px;
background-color: #ddd;
}
.index_footer a.zb_tg,.index_footer a.zb_zone {
width: 50%;
}

  • 写回答

1条回答

  • cs133wohao 2016-09-28 08:53
    关注

    javascript:void(0)  #号什么的都去掉

    评论

报告相同问题?

悬赏问题

  • ¥15 如何在scanpy上做差异基因和通路富集?
  • ¥20 关于#硬件工程#的问题,请各位专家解答!
  • ¥15 关于#matlab#的问题:期望的系统闭环传递函数为G(s)=wn^2/s^2+2¢wn+wn^2阻尼系数¢=0.707,使系统具有较小的超调量
  • ¥15 FLUENT如何实现在堆积颗粒的上表面加载高斯热源
  • ¥30 截图中的mathematics程序转换成matlab
  • ¥15 动力学代码报错,维度不匹配
  • ¥15 Power query添加列问题
  • ¥50 Kubernetes&Fission&Eleasticsearch
  • ¥15 報錯:Person is not mapped,如何解決?
  • ¥15 c++头文件不能识别CDialog