![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
12-微信小程序
微信小程序
ange997
天道酬勤
地道酬善
人道酬诚
商道酬信
业道酬精
展开
-
12-08-微信小程序笔记扩容加强版
微信小程序账号与工具在线文档:https://developers.weixin.qq.com/miniprogram/dev/framework/小程序开发者账号注册微信公众平台:https://mp.weixin.qq.com/小程序开发者账号注册:https://mp.weixin.qq.com/wxopen/waregister?action=step1微信小程序测试号地址https://developers.weixin.qq.com/miniprogram/dev/devtools/原创 2020-10-29 19:11:51 · 1684 阅读 · 0 评论 -
12-05-本地生活部分代码
本地生活includessearch-bar.wxml<view class="weui-search-bar"> <view class="weui-search-bar__form"> <view class="weui-search-bar__box"> <icon class="weui-icon-search_in-box" type="search" size="14"/> <input type=原创 2020-10-28 18:02:45 · 233 阅读 · 0 评论 -
12-06-微信小程序手写知识点
框架getAppvar app = getApp()获取到小程序全局唯一的 App 实例this.setData发送请求,返回数据,赋值原页面data中的属性fetch(`/categories/${options.cat}`).then(res => { that.setData({ category:res.data })})组件swiper 轮播图image中mode 图片缩减Apiwx.showLoading显示 loading 提示框。需主动调用原创 2020-10-26 23:29:45 · 104 阅读 · 0 评论 -
12-05-微信小程序组件传参
组件使用注册引用在父组件里面parent.js中引入{ "component":true, "usingComponents": { "son":"../son/son" }}父传子父传子,自定义属性parent.wxml <son message="{{message}}"></son>子接受<button bindtap="clickhandler">点击使用父组件数据</button>//组件属性 pr原创 2020-10-17 23:04:37 · 157 阅读 · 0 评论 -
12-02-小程序weui
事件绑定传参冒泡<view> <!-- bind+事件名 --> <view bindtap="clickhandler">点击</view> <!-- 事件的冒泡--> <view style="width:300rpx;height:300rpx;background:red" bindtap="clickhandlerone"> <view style="width:200rpx;height:200r原创 2020-10-16 22:32:42 · 109 阅读 · 0 评论 -
12-02-微信小程序笔记
请求和数据渲染data:{mainCate} onLoad: function (options) { let that = this wx.request({ url: 'https://daohui.jingkela.com/addons/zjhj_mall/core/web/index.php?r=api/service/getcatelist', data: { }, header: { 'content-type': 'applic原创 2020-10-15 21:24:23 · 101 阅读 · 0 评论 -
12-01-小程序参考内容
微信小程序账号与工具在线文档:https://developers.weixin.qq.com/miniprogram/dev/framework/小程序开发者账号注册微信公众平台:https://mp.weixin.qq.com/小程序开发者账号注册:https://mp.weixin.qq.com/wxopen/waregister?action=step1微信开发者工具微信开发者工具:https://mp.weixin.qq.com/debug/wxadoc/dev/devtools/do原创 2020-10-15 22:14:18 · 238 阅读 · 1 评论 -
12-01-微信小程序链接
友好帮助抖墨原型设计图A项目原型设计图ps进行页面切图的时候快捷键Ctrl+alt+shift+E 盖印Ctrl+R 显示隐藏参考线Alt+滚轮 放大或者缩小图片大小Ctrl+alt+0 将图片还原成正常的大小Ctrl+T 自由变换选区...原创 2020-10-15 22:14:53 · 104 阅读 · 0 评论