uni-app学习(四)好用的插件2
<h1 id="1-uni-app学习四好用的插件2">1. uni-app学习(四)好用的插件2</h1><h2 id="11-树形结构">1.1. 树形结构</h2>
<ol>
<li>点击这里</li>
</ol>
<p><img src="https://img.cdn.aliyun.dcloud.net.cn/stream/plugin_screens/fa609b00-5909-11e9-be78-6d0eb8d3802a_0.PNG?v=1555046631" alt="1" loading="lazy"></p>
<h2 id="12-下拉刷新上拉加载组件">1.2. 下拉刷新上拉加载组件</h2>
<ol>
<li>如果想把下拉上拉做成自定义的,更加好看,可以使用这个插件</li>
<li>地址这里</li>
<li>举个例子</li>
</ol>
<p><img src="https://img.cdn.aliyun.dcloud.net.cn/stream/plugin_screens/43dc2f00-66aa-11e9-945e-e3c4c1708066_2.png?v=1560407952" alt="1" loading="lazy"></p>
<h2 id="13-浮动键盘">1.3. 浮动键盘</h2>
<ol>
<li>自定义的键盘,用来限制输入不错</li>
<li>类型有:keyboard 普通键盘 car 汽车键盘 number 数字键盘</li>
<li>特别注意:如果只是需要数字键盘,不一定需要使用插件,uni-app自带input中有键盘类型,支持如下,设置type类型为下列值就行,文档地址在这</li>
</ol>
<table>
<thead>
<tr>
<th>值</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>text</td>
<td>文本输入键盘</td>
</tr>
<tr>
<td>number</td>
<td>数字输入键盘</td>
</tr>
<tr>
<td>idcard</td>
<td>身份证输入键盘</td>
</tr>
<tr>
<td>digit</td>
<td>带小数点的数字键盘</td>
</tr>
</tbody>
</table>
<p><img src="https://img.cdn.aliyun.dcloud.net.cn/stream/plugin_screens/744a7ea0-099d-11e9-b492-d935e450aa22_1.png?v=1553155786" alt="1" loading="lazy"></p>
<h2 id="14-区间滑块">1.4. 区间滑块</h2>
<ol>
<li>uni-app官方没提供区间滑块,可以用这第三方</li>
<li>点击这里</li>
</ol>
<p><img src="https://img.cdn.aliyun.dcloud.net.cn/stream/plugin_screens/98340600-14b1-11e9-b4d3-c9058801059b_0.png?v=1559630565" alt="1" loading="lazy"></p>
<h2 id="15-添加水印">1.5. 添加水印</h2>
<ol>
<li>主要就是css的样式,可以直接用这个插件,或者参考下它的</li>
</ol>
<h2 id="16-图表组件">1.6. 图表组件</h2>
<ol>
<li>已经发现的插件,ucharts,F2,f2还支持微信小程序,自行斟酌</li>
</ol>
<h2 id="17-带缩放的轮播">1.7. 带缩放的轮播</h2>
<ol>
<li>这里</li>
<li>效果</li>
</ol>
<p><img src="https://github.com/xieyushi/blog/blob/master/blogimg/bloggif6.gif?raw=true" alt="1" loading="lazy"></p>
<h2 id="18-证件识别androidios">1.8. 证件识别—Android,iOS</h2>
<ol>
<li>收费插件,自行斟酌</li>
<li>这里</li>
</ol>
<p>未完待续</p>
</div>
<div id="MySignature" role="contentinfo">
<div class="autograph">
<p> <span style="display: none"> 如果,您认为阅读这篇博客让您有些收获,不妨点击一下右下角的【<strong>推荐</strong>】按钮。<br>
</span> 如果,您希望更容易地发现我的新博客,不妨点击一下【<strong>关注我</strong>】。</p>
</div>
<p>我的写作热情也离不开您的肯定支持,感谢您的阅读,我是【<strong>老梁</strong>】!</p><br><br>
来源:https://www.cnblogs.com/sky-chen/p/11041434.html
頁:
[1]