編譯到H5如果要重置組件樣式使用
>>> .className{
width:xxx
}
scss的話 要使用 /deep/ .className{
width:xxx
}
可根據權重在前面加父級class 或者加!important
編譯到H5如果要重置組件樣式使用
>>> .className{
width:xxx
}
scss的話 要使用 /deep/ .className{
width:xxx
}
可根據權重在前面加父級class 或者加!important
使用自定義啓動圖,使用.9個圖片,文件名也要包含.9, 比如 啓動圖.9.png 類似這種 。9格式啓動圖,黑邊不能去除 邊是Android的.9.png圖片實現自適應的核心,因此不能去
App.vue文件中加入下面代碼,進行app版本升級更新 <script> export default { onLaunch: function() { // console.log