uni-app 小程序顯示頂部,h5頁面隱藏頂部

H5端去除小程序的頂部解決方案  思路: 1.使用uni-app /* #ifdef H5 */判斷是否爲h5 2.找到生成的<uni-page-head></uni-page-head> 3.在app.vue設置h5時生效display:none   上代碼  /* #ifdef H5 */     uni-page-head {         display: none;     } /*
相關文章
相關標籤/搜索