<template>
<view class="wrap">
<text>滑动页面,返回顶部按钮将出现在右下角</text>
<u-back-top :scroll-top="scrol...
yekong
3年前 (2022-01-07)
喜欢
<template>
<view class="content">
<u-scroll-list :indicator="indicator" indicatorColor="#fff0f0&q...
yekong
3年前 (2022-01-07)
喜欢
<u--text mode="phone" text="114" color="red" size="15"></u--text>
uniapp拨打电话
uniapp 拨打电...
yekong
3年前 (2022-01-07)
喜欢
通过shape参数设置图片的形状,circle为圆形,square为方形
如果为方形时,还可以通过border-radius参数设置圆角值
圆形
<u--image src="https://cdn.uviewui.com/uview/album/1.jpg&qu...
yekong
3年前 (2022-01-07)
喜欢
uniapp uview Image图片组件
<u--image src="https://cdn.uviewui.com/uview/album/1.jpg" mode="widthFix"></u--image>...
yekong
3年前 (2022-01-07)
喜欢
uview组件功能很丰富,为了更充分的发挥uview的功能,将每个文档都过一遍。
此组件为uni-app的image组件的加强版,在继承了原有功能外,还支持淡入动画、加载中、加载失败提示、圆角值和形状等。
基本使用
<template>
<u--image :...
yekong
3年前 (2022-01-07)
喜欢
<u-empty
mode="car"
text="暂无内容"
textColor="#333"
textSize="14"
iconC...
yekong
3年前 (2022-01-07)
喜欢
通过height配置高度,单位px
通过bgColor配置背景颜色
<u-gap height="80" bgColor="#bbb" marginTop="10" marginBottom="10&qu...
yekong
3年前 (2022-01-07)
喜欢
方法
export const Debounce = (fn, wait) => {
let delay = wait|| 500
let timer
return function () {
let args = arguments...
yekong
3年前 (2022-01-06)
喜欢
运行实例
代码
<template>
<div class="nongji">
<div class="list scroll">
<div class="li...
yekong
3年前 (2022-01-06)
喜欢