第一个坑
第二个坑
.nav {
position: absolute;
width: 750rpx;
height: 100rpx;
bottom: 0px;
background-color: #ff4757;
}
第三个坑
.nav {
position: absolute;
width: 750rpx;
height: 100rpx;
bottom: 0px;
background-color: #ff4757;
}
然后随便设置一个subNVues
"subNVues":[{
id: 'home',
path: 'pages/sub',
style: {
top: '0',
bottom: '100rpx',
background:'#f8f8f8'
}
}]
第四个坑
const dom = weex.requireModule('dom')
dom.addRule('fontFace', {
fontFamily: 'iconfont',
src: 'url("https://at.alicdn.com/t/font_315491_1ta4p6myl1.ttf")'
})
第五个坑
{{ text }}