html - 引导按钮在手机屏幕上不起作用
问题描述
<header id="header">
<div class="container">
<div class="logo float-left">
<!-- Uncomment below if you prefer to use an image logo -->
<h1 class="text-light">
<a href="/" class="scrollto">
<span>E-Wallet</span>
</a>
</h1>
</div>
<nav class="main-nav float-right d-none d-lg-block">
<ul>
<!-- <li class="active"><a href="#intro">Home</a></li> -->
<li>RM<input type="text" id="amount" name="amount" value="{{ request.user.balance }}" placeholder="00.00" readonly style="margin-top: 10px;width: 60px;">
</li>
<li style="margin-top: 10px">
<button
data-url="{{ request.scheme }}://{{ request.get_host }}{% url 'reload' %}"{% if not can_reload %} disabled {% endif %} id="reload" type="button" class="btn btn-success">
<i class="fa fa-plus-circle" aria-hidden="true"></i> Reload
</button>
</li>
{% if user.is_authenticated %}
<li class="drop-down"> <a href="#">{{ user.username }}</a>
<ul>
<li>
<a href="{% url 'profile' %}" target="_blank">
Profile
</a>
</li>
<li>
<a href="{% url 'logout' %}" target="_blank">
Logout
</a>
</li>
</ul>
</li>
{% else %}
<li>
<a href="{% url 'login' %}" target="_blank">
Login
</a>
</li>
<li>
<a href="{% url 'register' %}" target="_blank">
Sign Up
</a>
</li>
{% endif %}
</ul>
</nav><!-- .main-nav -->
</div>
</header>
当从笔记本电脑或大屏幕上查看时,重新加载按钮正在工作,但每当我尝试从移动屏幕与其交互时,该按钮就会停止工作。到目前为止,我已经看到了很多示例,但现在正在使用我的示例。谁能帮帮我?
解决方案
推荐阅读
- javascript - JS中同步调用函数
- android - 如何使用 OAuth 2.0 验证 Flutter 应用程序以访问 Gmail api?
- java - 为什么这段代码会给我超时错误?
- java - 为什么我会收到 ConcurrentModificationException?
- safari - Safari 上的 SimpleSAMLPHP http-post 绑定
- android - Android rxJava 2 完成任务后如何取消订阅
- java - 调用.query时出现android.database.sqlite.SQLiteException
- javascript - 分散谷歌可视化中具有相同大小和颜色的重叠气泡
- discord.js - 如何在 DiscordJS 中删除 > 符号之前的所有内容
- scalardb - scalardb 是否支持时间戳类型?如果现在,文本或 blob 是存储时间戳的最佳方式吗?