|
自己研究出来的......在 openFrameGroup 时设置 bounces 即可,要写在 frames里面。
- api.openFrameGroup({
- name: 'group',
- scrollEnabled: false,
- rect: {x: 0, y: header_h, w: 'auto', h: rect_h},
- index: 0,
- bounces : false,
- frames: [
- {
- name: 'store',
- url: 'html/store.html'
- },
- {
- name: 'drug',
- url: 'html/drug.html',
- bounces : false,
- },
- {
- name: 'find',
- url: 'html/find.html'
- },
- {
- name: 'me',
- url: 'html/me.html'
- }
- ]
- }, function (ret, err) {
- });
复制代码 |
|