android phonegap上的bootstrap 3.0 [英] bootstrap 3.0 on android phonegap

查看:16
本文介绍了android phonegap上的bootstrap 3.0的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

android phonegap 上是否有任何已知的 bootstrap 3.0(最新版本)问题.我能够在 Firefox 上很好地看到按钮(并且与手机上的分辨率相同)但是当二进制文件安装在手机上时,按钮不会呈现......

这是一个已知问题吗?

以下是我的简单模板:

 

<div id="swrapper"><div id="islider"><div class="btn-group btn-group-justified"><a class="btn btn-default" href="#">Mrs</a><a class="btn btn-default" href="#">女士</a><a class="btn btn-default" href="#">先生</a>

<表格><input type="text" name="firstname" placeholder="Firstname"><input type="text" name="lastname" placeholder="Last Name"><p><input type="text" name="email" placeholder="Email"></p><p>长度必须至少为 8 个字符</p><input type="password" placeholder="密码"><input type="password" placeholder="密码重复"><p><button type="submit" class="btn btn-primary btn-large btn-block">提交</button></p><p><span id="dclaimer">注册即表示您确认您接受我们的使用条款和隐私政策</span></p></表单>

解决方案

我知道这是一个旧帖子,但我遇到了同样的问题.我相信这取决于 jquery mobile.当我删除它时,它起作用了

只删除 jquery mobile 的 css 似乎可以保留 jquery mobile 的功能并允许 bs 工作

is there any known issue of bootstrap 3.0 (the latest one) on android phonegap. I am able to see the buttons nicely on firefox (and on same resolution as on phone) but when the binary is installed on the phone the buttons do not render....

is this a known issue ?

Following is my simple template:

 <div id="mcontent">
     <div id="swrapper">
         <div id="islider">
            <div class="btn-group btn-group-justified">
                <a class="btn btn-default" href="#">Mrs</a>
                <a class="btn btn-default" href="#">Ms.</a>
                <a class="btn btn-default" href="#">Mr.</a>
             </div>
             <form>
                 <input type="text" name="firstname" placeholder="Firstname">
                 <input type="text" name="lastname" placeholder="Last Name">
                 <p><input type="text" name="email" placeholder="Email"></p>
                 <p>Must be at least 8 characters long</p>
                 <input type="password" placeholder="Password">
                 <input type="password" placeholder="Password repeat">
                 <p><button type="submit" class="btn btn-primary btn-large btn-  block">Submit</button></p>
                 <p><span id="dclaimer">By registering you confirm that you accept our Terms of Use and Privacy Policy</span></p>
             </form>
        </div>        
    </div>
</div>

解决方案

I know this is an old post but I have had the same issue. I believe this is down to jquery mobile. As when i removed it, it worked

Removing just the css of jquery mobile seems to keep jquery mobile functionality and allow bs to work

这篇关于android phonegap上的bootstrap 3.0的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
移动开发最新文章
热门教程
热门工具
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆