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; } /* #endif */