微信小程序开发指南

基于ColorUI的组件化页面开发


进度条布局

<h1>进度条布局</h1> <ul> <li>样式图例</li> </ul> <p><img src="https://www.showdoc.com.cn/server/api/attachment/visitFile?sign=c37354b09e6e708b5f991cd9b6156fbe&amp;file=file.png" alt="" /></p> <ul> <li>示例代码</li> </ul> <pre><code class="language-html">&lt;view class="padding bg-white "&gt; &lt;view class="flex"&gt; &lt;view class="cu-progress round"&gt; &lt;view class="bg-green" style="width:{{loading?'100%':''}};"&gt;&lt;/view&gt; &lt;/view&gt; &lt;text class="cuIcon-roundcheckfill text-green margin-left-sm"&gt;&lt;/text&gt; &lt;/view&gt; &lt;view class="flex margin-top"&gt; &lt;view class="cu-progress round"&gt; &lt;view class="bg-green" style="width:{{loading?'80%':''}};"&gt;&lt;/view&gt; &lt;/view&gt; &lt;text class="margin-left"&gt;80%&lt;/text&gt; &lt;/view&gt; &lt;/view&gt;</code></pre>

页面列表

ITEM_HTML