|
- api.openFrame({ //打开列表页面
- name: 'openCity',
- url: 'openCity.html',
- rect: {
- x: 0,
- y: api.getGlobalData({ key: 'phoneType' }) == 'ios' ? 85 : 70,
- w: 'auto',
- h: 50,
- },
- allowEdit: true, //开启复制黏贴
- vScrollBarEnabled: false,
- animation: {
- type: "fade", //动画类型(详见动画类型常量)
- subType: "from_top", //动画子类型(详见动画子类型常量)
- duration: 300 //动画过渡时间,默认300毫秒
- },
- });
复制代码
|
|