小程序开发者工具更新后所有程序都报wxss编译错误【已解决】

一直没有更新,今天更新开发工具后,所有的项目都出现编译错误,好蛋疼啊!求解!!!

网友回复:

r***:

你好,请提供一下wxss代码

軍***:

/**app.wxss**/

.container {

height: 100%;

display: flex;

flex-direction: column;

align-items: center;

justify-content: space-between;

padding: 200rpx 0;

box-sizing: border-box;

}

button[type="primary"] {

color:#FFFFFF;

background-color:#1AAD19;

}

button {

margin-top:30rpx;

margin-bottom:30rpx;

}

button {

margin-top:20rpx;

margin-bottom:20rpx;

}

button {

position:relative;

display:block;

margin-left:auto;

margin-right:auto;

padding-left:14px;

padding-right:14px;

box-sizing:border-box;

font-size:18px;

text-align:center;

text-decoration:none;

line-height:2.55555556;

border-radius:5px;

-webkit-tap-highlight-color:transparent;

overflow:hidden;

color:#000000;

background-color:#F8F8F8;

}

button::after {

content:" ";

width:200%;

height:200%;

position:absolute;

top:0;

left:0;

border:1px solid rgba(0, 0, 0, 0.2);

-webkit-transform:scale(0.5);

transform:scale(0.5);

-webkit-transform-origin:0 0;

transform-origin:0 0;

box-sizing:border-box;

border-radius:10px;

}

这个是app.js 的  具体都不知道是哪个wxss报错

軍***:

这个项目都已经上线了  今天跟新开发工具后就打不开了  但是真机调试还是正常的  基本库版本为 1.5.3

K***:

在工具上面随便找一个报wxss不存在的文件,右键-重命名-随便加个字符比如1,回车

然后再次右键-重命名-把刚加的字符去掉,回车,编译

o***:

你好,请尝试在控制台输入openVendor() ,清除里面的wcsc wcsc.exe 然后重启工具

軍***:

可以的 清除就好了  楼上正解!  感谢!!!

©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • 各种纯css图标 CSS3可以实现很多漂亮的图形,我收集了32种图形,在下面列出。直接用CSS3画出这些图形,要比...
    剑残阅读 9,688评论 0 8
  • 1、垂直对齐 如果你用CSS,则你会有困惑:我该怎么垂直对齐容器中的元素?现在,利用CSS3的Transform,...
    kiddings阅读 3,200评论 0 11
  • H5移动端知识点总结 阅读目录 移动开发基本知识点 calc基本用法 box-sizing的理解及使用 理解dis...
    Mx勇阅读 4,625评论 0 26
  • 移动开发基本知识点 一.使用rem作为单位 html { font-size: 100px; } @media(m...
    横冲直撞666阅读 3,514评论 0 6
  • 昨天和BOSS一起出差看场地。 走着走着,突然他把我叫住,说要托我写个好故事。 我草,顿时我变成了目光的焦点。 一...
    文案狮阅读 673评论 0 50