首页 > 代码库 > 第八篇、微信小程序-progress组件
第八篇、微信小程序-progress组件
主要属性:
效果图:
ml:
<View > <!--百分比是30,并在进度条右侧显示百分比--> <Text class="text-style">百分比是30,并在进度条右侧显示百分比</Text> <progress percent="30" show-info /> <!--百分比是40,进度条线的宽度12px--> <Text class="text-style">百分比是40,进度条线的宽度12px</Text> <progress percent="40" stroke-width="12" /> <!--百分比是60,进度条颜色:pink--> <Text class="text-style">百分比是60,进度条颜色:pink</Text> <progress percent="60" color="pink" /> <!--百分比是80,进度条从左往右的动画--> <Text class="text-style">百分比是80,进度条从左往右的动画</Text> <progress percent="80" show-info active /> </View>
ss:
.text-style{ font-size: 13px; }
第八篇、微信小程序-progress组件
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。