1 警告:Some selectors are not allowed in component wxss, including tag name selectors, ID selectors, and attribute selectors
less文件是这样写的:
用类去写样式就不会有这个警告
2 警告:[sitemap 索引情况提示] 根据 sitemap 的规则[0],当前页面 [pages/search/index] 将被索引
sitemap 解释:
https://zhuanlan.zhihu.com/p/107309534
在小程序项目配置文件 project.config.json 的 setting 中配置字段 checkSiteMap 为 false