首页 > 解决方案 > 没有工具栏的 OnesenUI 中的链接页面

问题描述

我是 OnesenUI 的新手。我已经能够使用标签来使用工具栏链接页面。但是,我想知道如何将页面中的文本链接到另一个屏幕。

例如,如果我有文本“注册”,那么用户应该能够进入 register.html 屏幕。

我不想为此设置工具栏按钮。

任何帮助将不胜感激。

谢谢!

login.html 代码:

<form>
<div class="form-group">
<label for="email">Email</label>
<input id="emaillogin" type="text" placeholder="email" class="form-control">
</div>
<div class="form-group">
<label for="password">Password</label>
<input id="passwordlogin" type="password" placeholder="password" class="form-control">
</div>
<div class="text-center">
<button type="submit" onclick="javascript:Login();" class="btn btn-template-outlined"><i class="fa fa-sign-in"></i> Log in</button>
</div>
</form>
<div class="center" style="text-align: center">
<p><br>If you are not enrolled, you can sign-up now.</p>
</div>
<div class="text-center">
<button type="button" href="register.html" class="btn btn-template-outlined"><i class="fa fa-sign-in"></i> Sign Up</button>
</div>

标签: jqueryonsen-ui2

解决方案


推荐阅读