当前位置:网站首页>Wechat applet training 2
Wechat applet training 2
2022-07-03 10:44:00 【Fps-caigou】
Other components :
<!--
swiper Slider view container
indicator-dots Indication point
indicator-color Indicate the color
indicator-active-color The currently selected indicator color
autoplay Auto play
interval Auto switch interval
circular Convergence sliding
vertical Longitudinal sliding
-->
<swiper class="box" indicator-dots indicator-color="rgba(255,255,255,0.5)" indicator-active-color="#fff" autoplay interval="3000" circular>
<swiper-item>
<image src="/images/2-1206131I104.jpg" mode="widthFix"></image>
</swiper-item>
<swiper-item>
<image src="/images/ba468fcb-8bb2-45d3-9db4-fb401e3b023f_s.jpg"></image>
</swiper-item>
<swiper-item>
<image src="/images/cb1d1e9b-3b8e-403b-b46d-e39af3e56f24.jpg"></image>
</swiper-item>
</swiper>
<!-- Form components -->
<!--button Button -->
<view class="out">
<button class="btn1" type="primary"> Sign in </button>
<button class="btn1" type="warn"> Log out </button>
<button class="btn1" type="primary" size="mini"> payment </button>
<button class="btn1" type="primary" loading> Loading ...</button>
<button type="primary" open-type="contact"> Contact customer service </button>
<!-- intput -->
<form bindsubmit="onSubmit">
<input class="ipt" placeholder=" Please enter a user name " auto-focus type="text"></input>
<button form-type="submit"> Submit </button>
<switch checked></switch>
</form>
<!-- icon -->
<view style="padding: 50px; text-align: center;">
<icon type="success" size="50"></icon>
<view> Submit successfully </view>
</view>
<!-- progress -->
<view style="padding: 50px;">
<progress percent="60" show-info font-size="10" border-radius="10" active></progress>
</view>
</view>
Data binding , Conditions apply colours to a drawing
<view wx:for="{
{10}}" wx:key="*this">{
{index}}、 Wechat small program training 2</view>
<view wx:for="{
{[111,222,333,444]}}"wx:key="*this">{
{index}}、{
{item}}</view>
<view wx:for="{
{listArr}}"wx:key="*this">{
{index}}、{
{item}}</view>
<text decode> </text>
<view wx:for="{
{listArr}}" wx:for-index="i" wx:for-item="content" wx:key="i">
{
{i}}.{
{content}}</view>
<text decode> </text>
<view wx:for="{
{listobj}}" wx:key="index">
<text>{
{item.title}}</text> - <text>{
{item.time}}</text>
</view>
边栏推荐
- Leetcode刷题---283
- A complete mall system
- Leetcode刷题---75
- Class-Variant Margin Normalized Softmax Loss for Deep Face Recognition
- 【SQL】一篇带你掌握SQL数据库的查询与修改相关操作
- Leetcode skimming ---35
- Leetcode skimming ---852
- 【吐槽&脑洞】关于逛B站时偶然体验的弹幕互动游戏魏蜀吴三国争霸游戏的一些思考
- Multi-Task Feature Learning for Knowledge Graph Enhanced Recommendation
- Leetcode刷题---35
猜你喜欢
深度学习入门之线性代数(PyTorch)
I really want to be a girl. The first step of programming is to wear women's clothes
Softmax 回归(PyTorch)
Tensorflow—Image segmentation
Multilayer perceptron (pytorch)
The imitation of jd.com e-commerce project is coming
Ut2014 supplementary learning notes
Ut2012 learning notes
Numpy quick start (II) -- Introduction to array (creation of array + basic operation of array)
Traversal of map set
随机推荐
Unity学习笔记:个人学习项目《疯狂天才埃德加》纠错文档
GAOFAN Weibo app
EFFICIENT PROBABILISTIC LOGIC REASONING WITH GRAPH NEURAL NETWORKS
ThreadLocal principle and usage scenario
Raspberry pie 4B deploys lnmp+tor and builds a website on dark web
Leetcode skimming ---278
Mysql--索引原理+如何使用
Pytoch has been installed, but vs code still displays no module named 'torch‘
Ind wks first week
熵值法求权重
Multilayer perceptron (pytorch)
小文件专项
Leetcode skimming ---217
Ind yff first week
Adaptive Propagation Graph Convolutional Network
Leetcode刷题---704
丢弃法Dropout(Pytorch)
Raspberry pie 4B installs yolov5 to achieve real-time target detection
A detailed explanation of vector derivative and matrix derivative
How to hide cvxpy warnings: warn: a- > P (column pointers) not strictly increasing, column x empty?