微信小程序各类标签介绍

1、视图容器

view

<view 
        class='exp-class'
        hover-class='exp-hover' 
        hover-start-time='50' 
        hover-stay-time='400' 
        hover-stop-propagation='fasle'
    >
    
    </view>
  
    .exp-class{
      width: 100px;
      height: 100px;
      background: #000;
    }
    .hover-class{
      background: #ff0000;
    }
复制代码

scroll-view

swiper

moveable-view

cover-view

2、导航

navigator

  • 类比于html 中的a标签功能

functional-page-navigator

3、文本内容

icon

text

rich-text

progress

4、表单

form

input

textarea

button

checkbox

radio

label

switch

slider

picker

pickerview

五 媒体

image

audio

video

camera

live-player

live-pusher

6、地图

map

7、画布

canvas

相关文章
相关标签/搜索