page::after{position:fixed;content:'';left:-1000px;top:-1000px;-webkit-animation:shadow-preload .1s;-webkit-animation-delay:3s;animation:shadow-preload .1s;animation-delay:3s}@-webkit-keyframes shadow-preload{0%{background-image:url(https://cdn.dcloud.net.cn/img/shadow-grey.png)}100%{background-image:url(https://cdn.dcloud.net.cn/img/shadow-grey.png)}}@keyframes shadow-preload{0%{background-image:url(https://cdn.dcloud.net.cn/img/shadow-grey.png)}100%{background-image:url(https://cdn.dcloud.net.cn/img/shadow-grey.png)}}

1***@qq.com
- 发布:2020-08-13 18:41
- 更新:2020-11-03 20:06
- 阅读:1529
uni-app 发布微信小程序 main.wxss 内自动生成了,非程序代码
分类:uni-app


4***@qq.com - 老程序员
我也碰到了,不过是很奇怪,将其中一个页面里面的scss代码,编译了以后保存到了main.wxss这里。
很奇怪的是又不是全部页面,而是某个页面.
比如:在order.vue里面有代码:
<style lang="scss">
.content {
background: $page-color-base;
//height: 100%;
}
</style>