码迷,mamicode.com
首页 > 移动开发 > 详细

10.14_魅族手机音乐播放无故暂停,MetroUICss-tile中的字如何居中

时间:2014-10-15 03:19:09      阅读:446      评论:0      收藏:0      [点我收藏+]

标签:des   style   blog   http   color   os   使用   ar   java   

(1)魅族手机,播放音乐,无故暂停。不管是自带的音乐播放程序,还是下载的其他音乐播放器都是如此。
而且,手机上有个Google服务耗电量非常高,会经常弹出登陆Google账号的弹出项。

(2)Metro UI CSS tile中的字如何居中,看官方是示例是给了一个图片!而且holder.js要在支持html5的浏览器下才能有效。
我是否可以使用SVG呢?!

(3)tile小例子:

bubuko.com,布布扣
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">

    <link href="css/metro-bootstrap.css" rel="stylesheet">
    <link href="css/metro-bootstrap-responsive.css" rel="stylesheet">
    <link href="css/iconFont.css" rel="stylesheet">
    <link href="css/docs.css" rel="stylesheet">
    <link href="js/prettify/prettify.css" rel="stylesheet">

    <!-- Load JavaScript Libraries -->
    <script src="js/jquery/jquery.min.js"></script>
    <script src="js/jquery/jquery.widget.min.js"></script>
    <script src="js/jquery/jquery.mousewheel.js"></script>
    <script src="js/prettify/prettify.js"></script>

    <!-- Metro UI CSS JavaScript plugins -->
    <script src="js/load-metro.js"></script>
    
    <title>Metro UI Demo: my_demo_001</title>
</head>
<body class="metro">
    <div class="example">
        <div class="tile"></div>
        <div class="tile double"></div>
        <div class="tile selected"></div>
    </div>
        
    <div class="example">
        <div class="tile half block"></div>
        <div class="tile block"></div>
        <div class="tile double block"></div>
        <div class="tile triple block"></div>
        <div class="tile quadro block"></div>
    </div>
    
    <div class="example">
        
    </div>
    
    <div class="example">
        <div class="tile double-vertical"></div>
        <div class="tile triple-vertical"></div>
        <div class="tile quadro-vertical"></div>
    </div>
    
    <div class="example">
        <div class="tile half block double-vertical"></div>
        <div class="tile double-vertical block"></div>
        <div class="tile double double-vertical block"></div>
        <div class="tile triple double-vertical block"></div>
        <div class="tile quadro double-vertical block"></div>
    </div>
    
    <div class="example">
        <div class="tile bg-cyan">
            <div class="brand">
                <div class="badge">99</div>
            </div>
        </div>
         
        <div class="tile bg-cyan">
            <div class="brand">
                <div class="badge activity"></div>
            </div>
        </div>
    </div>
    
    <div class="example">
        <div class="tile bg-cyan">
            <div class="brand">
                <div class="badge"><i class="icon-rocket"></i></div>
            </div>
        </div>
        <div class="tile bg-darkRed">
            <div class="brand">
                <div class="badge bg-red"><i class="icon-broadcast"></i></div>
            </div>
        </div>
    </div>
    
    <div class="example">
        <div class="tile bg-darkPink">
            <div class="tile-content icon">
                <i class="icon-cart-2"></i>
            </div>
            <div class="tile-status">
                <span class="name">Store</span>
            </div>
        </div>
         
        <div class="tile double bg-amber">
            <div class="tile-content icon">
                <i class="icon-play-alt"></i>
            </div>
            <div class="brand bg-black">
                <span class="label fg-white">Player</span>
                <div class="badge bg-darkRed paused"></div>
            </div>
        </div>
         
        <div class="tile">
            <div class="tile-content image">
                <img src="images/author.jpg">
            </div>
            <div class="brand">
                <span class="label fg-white">Images</span>
                <span class="badge bg-orange">12</span>
            </div>
        </div>
         
        <div class="tile double">
            <div class="tile-content image">
                <img src="images/4.jpg">
            </div>
            <div class="brand bg-dark opacity">
                <span class="text">
                    This is a desert eagle. He is very hungry and angry bird.
                </span>
            </div>
        </div>
    </div>
    
    <div class="example">
        <div class="tile bg-cyan">
            <div class="tile-content icon">
                <i class="icon-rocket"></i>
            </div>
        </div>
         
        <div class="tile bg-green">
            <div class="tile-content icon">
                <img src="images/excel2013icon.png">
            </div>
        </div>
         
        <div class="tile double" data-click="transform">
            <div class="tile-content image">
                <img src="images/1.jpg">
            </div>
        </div>
         
        <div class="tile double">
            <div class="tile-content image-set">
                <img src="images/1.jpg">
                <img src="images/2.jpg">
                <img src="images/3.jpg">
                <img src="images/4.jpg">
                <img src="images/5.jpg">
            </div>
        </div>
    </div>
    
    <div class="example">
        <div class="tile bg-cyan">
            <div class="tile-content icon">
                <i class="icon-rocket"></i>
            </div>
        </div>
        <div class="tile bg-cyan">
            <div class="tile-content text-center">
                <h3>Welcome</h3>
            </div>
        </div>
    </div>
    
    <div class="example">
        <p class="text-left">Left aligned text.<p>
        <p class="text-center">Left aligned text.<p>
        <p class="text-right">Left aligned text.<p>
        <p class="text-justify">Justify aligned text.<p>
    </div>
    
    <div class="example">
        <div class="tile triple block">
        <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAXwAAAB4CAYAAADxAUloAAAIPUlEQVR4Xu3cvWsUQRgH4A0iqEEsFTsRK7UW/PetbMRKsRbBIkQsoiBqZAMTJut+3Efm8t69j2Xubnbe5x1/tze3t0enp6fnnX8ECBAgcPACRwL/4HusQAIECFwICHwLgQABAkkEBH6SRiuTAAECAt8aIECAQBIBgZ+k0cokQICAwLcGCBAgkERA4CdptDIJECAg8K0BAgQIJBEQ+EkarUwCBAgIfGuAAAECSQQEfpJGK5MAAQIC3xogQIBAEgGBn6TRyiRAgIDAtwYIECCQREDgJ2m0MgkQICDwrQECBAgkERD4SRqtTAIECAh8a4AAAQJJBAR+kkYrkwABAgLfGiBAgEASAYGfpNHKJECAgMC3BggQIJBEQOAnabQyCRAgIPCtAQIECCQREPhJGq1MAgQICHxrgAABAkkEBH6SRiuTAAECAt8aIECAQBIBgZ+k0cokQICAwLcGCBAgkERA4CdptDIJECAg8K0BAgQIJBEQ+EkarUwCBAgIfGuAAAECSQQEfpJGK5MAAQIC3xogQIBAEgGBn6TRyiRAgIDAtwYIECCQREDgJ2m0MgkQICDwrQECBAgkERD4SRqtTAIECAh8a4AAAQJJBAR+kkYrkwABAgLfGiBAgEASAYGfpNHKJECAgMC3BggQIJBEQOAnabQyCRAgIPCtAQIECCQREPhJGq1MAgQICHxrgAABAkkEBH6SRiuTAAECAt8aIECAQBIBgZ+k0bsq8/T0tHv//n339+/fK4d88eJF9+jRo9FpfP78ufv06dN/j92/f7979erV5NTfvXvX9cer/80dZ1uDjx8/dl++fOmWjvH79+/uzZs33Z8/f64c8s6dOxf13L59e3Qqu65nWw+v3z8B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+a55bJ8PVj31cs1WMZEthEQOBvouY1kwJTtzqeu9a95e2Rx27X3G+3PHv2bPQXuPUPsKZunlaKr/fotwn8Mp7bI/uP1VpA4LcWNj4BAgSCCAj8II0wDQIECLQWEPithY1PgACBIAICP0gjTIMAAQKtBQR+a2HjEyBAIIiAwA/SCNMgQIBAawGB31rY+AQIEAgiIPCDNMI0CBAg0FpA4LcWNj4BAgSCCAj8II0wDQIECLQWEPithY1PgACBIAICP0gjTIMAAQKtBQR+a2HjEyBAIIiAwA/SCNMgQIBAawGB31rY+AQIEAgiIPCDNMI0CBAg0FpA4LcWNj4BAgSCCAj8II0wDQIECLQWEPithY1PgACBIAICP0gjTIMAAQKtBQR+a2HjEyBAIIiAwA/SCNMgQIBAawGB31rY+AQIEAgiIPCDNMI0CBAg0FpA4LcWNj4BAgSCCAj8II0wDQIECLQWEPithY1PgACBIAICP0gjTIMAAQKtBQR+a2HjEyBAIIiAwA/SCNMgQIBAawGB31rY+AQIEAgiIPCDNMI0CBAg0FpA4LcWNj4BAgSCCAj8II0wDQIECLQWEPithY1PgACBIAICP0gjTIMAAQKtBQR+a2HjEyBAIIiAwA/SCNMgQIBAawGB31rY+AQIEAgiIPCDNMI0CBAg0FpA4LcWNj4BAgSCCAj8II0wDQIECLQWEPithY1PgACBIAICP0gjTIMAAQKtBQR+a2HjEyBAIIiAwA/SCNMgQIBAawGB31rY+AQIEAgiIPCDNMI0CBAg0FpA4LcWNj4BAgSCCAj8II0wDQIECLQWEPithY1PgACBIAL/AIAWjwtxh9a+AAAAAElFTkSuQmCC" data-src="js/holder/holder.js/380x120" alt="380x120" style="width: 380px; height: 120px;">
        </div>
    </div>
    
    <div class="example">
        <div class="tile triple block">
        <img src="" data-src="js/holder/holder.js/380x120" alt="380x120" style="width: 380px; height: 120px;">
        </div>
    </div>
    
    <div class="example">
        
    </div>
    
    <div class="example">
        
    </div>
    
    <div class="example">
        
    </div>
</body>
</html>
View Code

(4)

10.14_魅族手机音乐播放无故暂停,MetroUICss-tile中的字如何居中

标签:des   style   blog   http   color   os   使用   ar   java   

原文地址:http://www.cnblogs.com/juedui0769/p/4025476.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!