
APICloud
Lik1024
这个作者很懒,什么都没留下…
展开
-
【APICloud】元素设置高后,在ios中滚动卡顿
关键样式 -webkit-overflow-scrolling:touch; 拓展 概述 -webkit-overflow-scrolling :在移动设备上是否使用滚动回弹效果. 取值 auto:使用普通滚动, 当手指从触摸屏上移开,滚动会立即停止。 touch:使用具有回弹效果的滚动, 当手指从触摸屏上移开,内容会继续保持一段时间的滚动效果。继续滚动的速度和持续的时间和滚动手势的强烈...原创 2019-07-03 17:12:31 · 257 阅读 · 0 评论 -
APICloud 多层FrameGroup嵌套引起遮盖
这里会用到一个特别重要的属性设置: hidden: true 具体该如何让它发挥作用呢: 问题描述: 假设有FrameGroupA(包含Frame A1、A2),其中A1嵌套了FrameGroupB(包含Frame B1、B2)。此时B1、B2覆盖了A2。 解决方法: 1、在FrameGroupA中的api.openFrameGroup()方法的回调事件中对ret.index进行判断...原创 2019-06-28 12:01:00 · 513 阅读 · 0 评论 -
APICloud 初始页面配置
指定初始化页面: 在config.xml中 <content src="./login.html"/> 初始化的页面,存在一个默认的winName: root 如果退出到初始页面,可以通过: api.closeToWin({ name: 'root' }); ...原创 2019-06-19 15:21:00 · 1577 阅读 · 0 评论 -
APICloud openFrameGroup如何切换时刷新
切换frame组中的页面时,是不会每次都刷新的; 但是如果想要每次刷新,获取最新数据,该如何是好? setFrameGroupIndex来帮你: api.setFrameGroupIndex({ name: 'group1', index: index, reload: true // 设置为true }); ...原创 2019-05-22 09:44:00 · 1934 阅读 · 0 评论 -
APICloud 实现 使用openFrameGroup引入页面后禁止上下滑动
function funIniGroup(){ var eHeaderLis = $api.domAll('header li'), frames = []; for (var i = 0,len = eHeaderLis.length; i < len; i++) { frames.push( { ...原创 2017-08-18 13:09:00 · 1177 阅读 · 0 评论 -
【APICloud】随笔
页面head中添加: <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0"/> <meta name="format-detection" content="telephone=no,ema...原创 2019-08-14 15:44:34 · 150 阅读 · 0 评论