一直沒有更新,今天更新開發(fā)工具后,所有的項目都出現(xiàn)編譯錯誤,好蛋疼啊!求解!!!
網(wǎng)友回復(fù):
r***:
你好讯檐,請?zhí)峁┮幌聎xss代碼
軍***:
/**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報錯
軍***:
這個項目都已經(jīng)上線了? 今天跟新開發(fā)工具后就打不開了? 但是真機(jī)調(diào)試還是正常的? 基本庫版本為 1.5.3
K***:
在工具上面隨便找一個報wxss不存在的文件,右鍵-重命名-隨便加個字符比如1,回車
然后再次右鍵-重命名-把剛加的字符去掉,回車,編譯