Home > WeChat Applet > Mini Program Development > How to use the swiper component to implement image switching in a small program

How to use the swiper component to implement image switching in a small program

高洛峰
Release: 2017-03-03 10:24:09
Original
2898 people have browsed it

How to use the swiper component to implement image switching in a small program

The home page code is as follows:

<view class="copyright">
    <view class="copyright_item">CopyRight:All Right Reserved</view>
    <view class="copyright_item">原创作者:51小程序</view>
    <view class="copyright_item">微信小程序开发HTTML51.COM</view>
    <view class="copyright_item"><image class="img" src="../copyright/image/logo.png"/></view>
    <view class="goto_counter"><button type="default" bindtap="goto_counter">点击进入swiper应用</button></view>
</view>
Copy after login

The home page rendering is as follows:

How to use the swiper component to implement image switching in a small program

How to use swiper in more small programs For articles related to component implementation of image switching, please pay attention to the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template