如何在scrollViews中创建harmonyOS?CSS/HTML/JS接受,而不是java,因为我是在智能设备上开发的。
Android:
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:fillViewport="true">
<TableLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:stretchColumns="1">
<!-- everything you already have -->
</TableLayout>
</ScrollView>基本上,我希望创建一个父滚动视图,然后将div放在其中:
SCROLLVIEW_START
<slider value="7" max="10" min="0"
style="background-color : transparent; width : 454px; height : 50px;"/>
<div for="{{ array }}" tid="id" onclick="changeText"
style="background-color : #11efefef; align-items: center;
border-color: black; border-width: 2px; height: 60px; width: 404px;">
<text style="padding: 20px; color: white;">{{ $idx }}.{{ $item.name }}</text>
</div>SCROLLVIEW_END
那怎么做?
https://stackoverflow.com/questions/70845004
复制相似问题