微信小程序开发指南

基于ColorUI的组件化页面开发


多级显示

<h1>多级显示</h1> <ul> <li>样式图例</li> </ul> <p><img src="https://www.showdoc.com.cn/server/api/attachment/visitFile?sign=291b573b8edbd1fe233ca21c0b19d2c2&amp;file=file.png" alt="" /></p> <ul> <li>示例代码</li> </ul> <pre><code class="language-html">&lt;scroll-view scroll-x class="bg-white padding response cu-steps steps-bottom" scroll-into-view="scroll-{{scroll}}" scroll-with-animation&gt; &lt;view class="cu-item {{index&gt;scroll?'':'text-blue'}} padding-lr-xl" wx:for="{{10}}" wx:key id="scroll-{{index}}"&gt; Level {{index + 1}} &lt;text class="num" data-index="{{index + 1}}"&gt;&lt;/text&gt; &lt;/view&gt; &lt;/scroll-view&gt;</code></pre>

页面列表

ITEM_HTML