提交 b3ad407b 编写于 作者: shutao-dc's avatar shutao-dc

update list-view-multiplex.uvue

上级 8a597365
...@@ -6,8 +6,15 @@ ...@@ -6,8 +6,15 @@
</scroll-view> </scroll-view>
<list-view v-show="list_show" id="listview" style="flex: 1;" show-scrollbar=false @scrolltolower="onScrollTolower"> <list-view v-show="list_show" id="listview" style="flex: 1;" show-scrollbar=false @scrolltolower="onScrollTolower">
<list-item v-for="index in item_count" class="item" @click="itemClick(index)"> <list-item v-for="index in item_count" class="item" @click="itemClick(index)">
<text >item-------<text>{{index}}</text></text> <view style="flex-direction: row;">
<text >item-------<text>{{index}}</text></text>
<scroll-view direction="horizontal" show-scrollbar="false" class="scroll_item">
<text>scroll-view{{index}}:</text>
<text class="tip_text" v-for="tab in 5">元素{{tab}}</text>
</scroll-view>
</view>
<text v-show="displayArrow" >item-------<text>{{index}}</text></text> <text v-show="displayArrow" >item-------<text>{{index}}</text></text>
<switch :checked="true"></switch> <switch :checked="true"></switch>
</list-item> </list-item>
</list-view> </list-view>
...@@ -66,4 +73,18 @@ ...@@ -66,4 +73,18 @@
width: 200px; width: 200px;
} }
.scroll_item {
flex: 1;
flex-direction: row;
overflow: hidden;
margin-left: 10px;
}
.tip_text {
border-style: solid;
border-radius: 3px;
border-width: 1px;
margin: 0px 10px;
}
</style> </style>
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册