摘要:        
学习小程序的笔记,内容来自度娘+微信公众平台,仅做学习参考,如有错误请指正,谢谢;1.一种新的应用形态微信小程序(wei xin xiao cheng xu),简称小程序,英文名Mini Program,是一种不需要下载安装即可使用的应用,它实现了应用“触手可及”的梦...    阅读全文
posted @ 2018-03-18 21:15
祈澈姑娘
阅读(315)
评论(0)
推荐(0)
        
            
        
        
摘要:        
1.下载开发工具点击进入下载地址选择和自己电脑匹配的安装包,并安装:image.png安装完成后出现应用icon:image.png2.创建项目能够扫码登录的前提是微信号已经注册了小程序,详见;1.扫码登录image.png2.选择小程序image.png3.填写信息...    阅读全文
posted @ 2018-03-18 21:14
祈澈姑娘
阅读(220)
评论(0)
推荐(0)
        
            
        
        
摘要:        
1.添加1个或多个classadd(class1, class2, ...)2.移除classremove(class1, class2, ...)3.判断指定的类名是否存在contains(class)true - 元素包已经包含了该类名false - 元素中不存在...    阅读全文
posted @ 2018-03-18 21:11
祈澈姑娘
阅读(186)
评论(0)
推荐(0)
        
            
        
        
摘要:        
1.滑动触发 持有中 已完结 document.querySelector('.mui-slider').addEventListener('slide', function(event) { c...    阅读全文
posted @ 2018-03-18 21:10
祈澈姑娘
阅读(313)
评论(0)
推荐(0)
        
            
        
        
摘要:        
1、下拉刷新mui.pullToRefresh插件http://ask.dcloud.net.cn/article/12152、打包app权限列表http://ask.dcloud.net.cn/article/1003.h5+ 列表http://ask.dcloud...    阅读全文
posted @ 2018-03-18 21:08
祈澈姑娘
阅读(383)
评论(0)
推荐(0)
        
            
        
        
摘要:        
参考文章:http://www.runoob.com/w3cnote/flex-grammar.htmlFlex 布局是什么:采用Flex布局的元素,称为Flex容器(flex container),简称”容器”。它的所有子元素自动成为容器成员,称为Flex项目(fl...    阅读全文
posted @ 2018-03-18 20:49
祈澈姑娘
阅读(151)
评论(0)
推荐(0)
        
            
        
        
摘要:        
1.块级作用域let声明变量,作用域是最近的“{}”;'use strict';{ let test = '1';}console.log(test);//test is not defined恒量constconst 声明的恒量不能改变;'use strict...    阅读全文
posted @ 2018-03-18 20:48
祈澈姑娘
阅读(129)
评论(0)
推荐(0)
        
            
        
        
摘要:        
用法:用于页面跳转,相当于html里面的标签。API教程:https://mp.weixin.qq.com/debug/wxadoc/dev/component/navigator.htmlhttps://mp.weixin...    阅读全文
posted @ 2018-03-18 20:47
祈澈姑娘
阅读(173)
评论(0)
推荐(0)
        
            
        
        
摘要:        
上一章完成页面自定义分享,这一章来说说轮播图,最常见的一个轮播图,中间带小圆点,自动轮播。Swiper是滑动特效插件,面向手机、平板电脑等移动终端。能实现触屏焦点图、触屏Tab切换、触屏多图切换等常用效果。是目前应用较广泛的...    阅读全文
posted @ 2018-03-18 20:45
祈澈姑娘
阅读(148)
评论(0)
推荐(0)
        
            
        
        
摘要:        
一、展开符展开符(剩余操作符):...1.展开符号'use strict';let arr_one = [1,3];let arr_two = [4,5,...arr_one];console.log(arr_one);//[ 1, 3 ]console.log(.....    阅读全文
posted @ 2018-03-18 20:43
祈澈姑娘
阅读(211)
评论(0)
推荐(0)
        
 
                     
                    
                 
                    
                
 
         浙公网安备 33010602011771号
浙公网安备 33010602011771号