2-2。導航頁面切換時 設置st-scroll和st-panel無法實現課堂效果
/* 內容 */
.st-scroll,
.st-panel{
width: 100%;
height: 100%;
position: relative;
}
代碼應該也是沒有問題的! 看了歷史的問答。 有相同問題的同學出現無人解答! 等!
/* 內容 */
.st-scroll,
.st-panel{
width: 100%;
height: 100%;
position: relative;
}
代碼應該也是沒有問題的! 看了歷史的問答。 有相同問題的同學出現無人解答! 等!
2019-04-25
舉報
2019-08-01
我的父級st-container也設置了width:100%,height:100%還是不行,得把html和body都設置height:100%;才有效果
2019-04-25
?解決了
父級st-container也得設置為width:100%,height:100%