6***@qq.com
6***@qq.com
  • 发布:2019-07-12 11:13
  • 更新:2019-07-12 12:50
  • 阅读:862

【小白求知】subpages的使用

分类:MUI

详细问题描述

 使用多子页面,却只显示第一个。  
 如下代码中,subpages中传入多个子页面,只显示一个子页面(见附件图)  
<script type="text/javascript">  
		//启用双击监听  
		mui.init({  
			gestureConfig:{  
				doubletap:true  
			},  
			subpages:[{  
				url:`pullrefresh_sub.html${xx}`,  
				id:'pullrefresh_sub.html',  
				styles:{  
					top: '45px',  
					bottom: '200px',  
				},  
			},{  
				url:`radio.html`,  
				id:'radio.html',  
				styles:{  
					top: '100px',  
					bottom: '0px',  
				},  
			}]  
		});

问题 不能传多个子页面?? 还是我的写法错误???

2019-07-12 11:13 负责人:无 分享
已邀请:
6***@qq.com

6***@qq.com (作者)

补充说明 :测试环境为 hbuilderX的内置浏览器

该问题目前已经被锁定, 无法添加新回复