7***@qq.com
7***@qq.com
  • 发布:2019-12-09 10:28
  • 更新:2019-12-09 10:28
  • 阅读:1038

使用uni-ui开发过程中 有过H5和微信小程序样式都没有问题 但是在安卓上面就有问题了

分类:uni-app
import uniBadge from "@/components/uni-badge/uni-badge.vue"  
import uniList from "@/components/uni-list/uni-list.vue"  
import uniListItem from "@/components/uni-list-item/uni-list-item.vue"  

-----  
components: {uniBadge,uniList,uniListItem},

然后编译的时,在H5和微信小程序没有问题,但是在安卓上面会出现如下问题:

Some selectors are not allowed in component wxss, including tag name selectors, ID selectors, and attribute selectors.(./components/uni-icons/uni-icons.wxss:30:5)This wxss file is ignored. at app-view.js:4882  
10:21:56.660 Some selectors are not allowed in component wxss, including tag name selectors, ID selectors, and attribute selectors.(./components/uni-list-item/uni-list-item.wxss:117:5)This wxss file is ignored. at app-view.js:4882  
10:21:56.680 Some selectors are not allowed in component wxss, including tag name selectors, ID selectors, and attribute selectors.(./components/uni-list/uni-list.wxss:30:5)This wxss file is ignored. at app-view.js:4882  
10:21:56.700 Some selectors are not allowed in component wxss, including tag name selectors, ID selectors, and attribute selectors.(./components/uni-badge/uni-badge.wxss:30:5)This wxss file is ignored. at app-view.js:4882

请问,各位大佬怎么解决?

2019-12-09 10:28 负责人:无 分享
已邀请:

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