切换下面的tab时样式没了?以经没招了帮个忙啊谢谢?
index.json
{ "usingComponents" : { "basics" : "/pages/basics/home/home" , "component" : "/pages/component/joke/index" , "plugin" : "/pages/component/home/home" , "about" : "/pages/about/home/home" } } |
index.js
Component({ data: { PageCur: 'basics' }, methods:{ NavChange(e) { this .setData({ PageCur: e.currentTarget.dataset.cur }) }, onShareAppMessage() { return { title: '哈哈哈' , imageUrl: '/images/share.jpg' , path: '/pages/index/index' } }, } }) |
‘为什么不会读取这个模块的样式吗
这太难了,简直世界未解之谜,也很奇怪
5 回复