首页 > 作文

【APICloud系列

更新时间:2023-04-07 17:04:58 阅读: 评论:0

导读:MNNavigationMenu 是一个导航栏菜单,开发者可自定义其中的样式和按钮个数,超出屏幕部分可左右拖动查看。

模块详情:http://www.apicloud.com/mod_detail/12417

index.html

<!doctype html><html><head>    <meta chart="utf-8">    <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,ur-scal教师的基本素养able=0,width=device-width,initial-scale=1.0"/>    <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">    <style type="text/css">高空外墙清洗;            html{ background-color: white; }        header{ border-bottom: 1px solid #ccc; padding: 25px 0; }        span {            padding: 10px 15px;            margin: 10px;            display: inline-block;            background-color: #e8e8e8;        }        .hover{ opacity: .4; }    </style></head><body>    <header>        <h1>MNNavigationMenu</h1>        <mark>            使用前请详细阅读 文档 使用规则        </mark>    </header>    <span tapmode="hover" onclick="fnOpen()">open</span>    <span tapmode="hover" onclick="fnSetIndex()">tIndex</span>    <span tapmode="hover" onclick="fnClo()">clo</span>    <span tapmode="hover" onclick="fnShow()">show</span>    <span tapmode="hover" onclick="fnHide()">hide</span></body><script type="text/javascript">    var MNNavigationMenu;    apiready = function() {        MNNavigationMenu = api.require('MNNavigationMenu');    };    function fnOpen(){        MNNavigationMenu.open({            rect: {                x: 0,                y: 0,                w: api.winWidth,                h: 44            },            index: 0,            animation: true,            styles: {                column: 4,                bg: '#eee',                item: {                    width: api.winWidth / 4,                    bg: '#eee',                    active: '#eee',                    highlight: '#eee',                    title: {                        marginB: 6,                        size: 14,                        height: 44,                        color: '#888',                        active: '#f00',                        highlight: '#f00'                    }                }            },            items: [{                title: '菜单项0'            }, {                title: '菜单项1'            }, {                title: '菜单项2'            }, {                title: '菜单项3'            }, {                title: '菜单项4'            }, {                title: '菜单项5'            }, {                title: '菜单项6'            }],            fixed: fal        }, function(ret, err) {            if (ret) {                alert(JSON.stringify(ret));            } el {                alert(JSON.stringify(出国留学推荐信err));            }        });    }    function fnSetIndex(){        MNNavigationMenu.tIndex({            index: 3        }, function(ret, err) {            if (ret) {                alert(JSON.stringify(ret));            } el {                alert叙事作文400字(JSON.stringify(err));            }        });    }    function fnClo(){        MNNavigationMenu.clo();    }    function fnShow(){        MNNavigationMenu.show();    }    function fnHide(){        MNNavigationMenu.hide();    }   </script></html>

config.xml

<?xml version="1.0" encoding="UTF-8"?>三年级语文上册期中试卷<widget id="A0000000000001"  version="0.0.1">    <name>MNNavigationMenu</name>    <description>        Example For APICloud.    </description>    <author email="developer@apicloud.com" href="http://www.apicloud.com">        Developer    </author>    <content src="index.html" />    <access origin="*" />    <preference name="pageBounce" value="fal"/>        <preference name="appBackground" value="rgba(0,0,0,0.0)"/>        <preference name="windowBackground" value="rgba(0,0,0,0.0)"/>        <preference name="frameBackgroundColor" value="rgba(0,0,0,0.0)"/>        <preference name="hScrollBarEnabled" value="true"/>        <preference name="vScrollBarEnabled" value="true"/>        <preference name="autoLaunch" value="true"/>        <preference name="fullScreen" value="fal"/>        <preference name="autoUpdate" value="true" />        <preference name="smartUpdate" value="fal" />        <preference name="debug" value="true"/>        <preference name="statusBarAppearance" value="true"/>        <permission name="readPhoneState" />        <permission name="camera" />        <permission name="record" />        <permission name="location" />        <permission name="fileSystem" />        <permission name="internet" />        <permission name="bootCompleted" />        <permission name="hardware" /></widget>

完整下载地址:https://download.csdn.net/download/weixin_41937552/13990816

本文地址:https://blog.csdn.net/weixin_41937552/article/details/112003124

本文发布于:2023-04-07 17:04:56,感谢您对本站的认可!

本文链接:https://www.wtabcd.cn/fanwen/zuowen/9649fe2663aa3f689d30f49c83568920.html

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。

本文word下载地址:【APICloud系列.doc

本文 PDF 下载地址:【APICloud系列.pdf

下一篇:返回列表
相关文章
留言与评论(共有 0 条评论)
   
验证码:
Copyright ©2019-2022 Comsenz Inc.Powered by © 专利检索| 网站地图