文章詳情頁
Weex scroller在android和ios表現(xiàn)形式的差異
瀏覽:124日期:2024-08-12 15:54:05
問題描述
<template> <scroller style='flex:1; background-color:#ff503f'> <text style='flex:1;background-color:#37a1ff'>this is a text</text> </scroller></template>
IOS中的運行結(jié)果:
Android中的運行結(jié)果:
這個問題已經(jīng)困擾很久了,麻煩各位大神看看,謝謝!
問題解答
回答1:給Text標簽設(shè)置高寬試下
相關(guān)文章:
1. 安全性測試 - nodejs中如何防m(xù)ySQL注入2. javascript - 關(guān)于apply()與call()的問題3. html - eclipse 標簽錯誤4. python 利用subprocess庫調(diào)用mplayer時發(fā)生錯誤5. python - Pycharm的Debug用不了6. datetime - Python如何獲取當前時間7. 請問PHPstudy中的數(shù)據(jù)庫如何創(chuàng)建索引8. python - pycharm 自動刪除行尾空格9. python文檔怎么查看?10. javascript - nginx反向代理靜態(tài)資源403錯誤?
排行榜

熱門標簽