
微信小程序
文章平均质量分 91
AnalogElectronic
这个作者很懒,什么都没留下…
展开
-
一个微信小程序的案例
参考https://www.bilibili.com/video/BV1WQ4y1T7D8?p=38&spm_id_from=pageDriver小程序目录结构<!--index.wxml--><!-- logo,消息框 --><view class="header"> <view class="container hdCon"> <navigator open-type="switchTab" url="/pages/in原创 2021-03-16 17:50:12 · 460 阅读 · 0 评论 -
微信小程序教程笔记7
用户登录app.json{ "pages": [ "pages/index/index", "pages/login/login", "pages/user/user" ], "window": { "backgroundTextStyle": "light", "navigationBarBackgroundColor": "#fff"...原创 2020-02-29 15:30:51 · 848 阅读 · 0 评论 -
微信小程序教程笔记6
微信小程序的页面周期和参数绑定<!--index.wxml--><view class="container"><navigator url="../logs/logs?id=100" redirect> <view> <!--<view bindtap="click1">--> <text c...原创 2020-02-29 13:27:04 · 191 阅读 · 0 评论 -
微信小程序教程笔记5
全局配置//app.json{ "pages": [ //用于指定小程序由哪些页面组成,每一项都对应一个页面的 路径(含文件名) 信息。文件名不需要写文件后缀,框架会自动去寻找对于位置的 .json, .js, .wxml, .wxss 四个文件进行处理。 "pages/index/index", "pages/logs/logs" ], "window":...原创 2020-02-29 12:52:51 · 175 阅读 · 0 评论 -
微信小程序教程笔记4
综合案例-快递查询apistore.baidu.comhttp://apistore.baidu.com/ seems to be disabled, no way to access<!--index.wxml--><view class="container"> <input placeholder="请输入运单号" bindinput="input...原创 2020-02-29 10:56:28 · 231 阅读 · 0 评论 -
微信小程序教程笔记3
微信小程序的事件什么是事件事件的类型事件冒泡事件绑定事件对象详解什么是事件一种用户行为一种通讯方式事件的类型点击事件tap长按事件longtap触摸事件touchstart touchend touchmove touchcancel其他事件submit input…事件冒泡冒泡事件非冒泡事件事件绑定bindcatch 不会触发冒泡事件事件对象详解<...原创 2020-02-28 14:00:00 · 240 阅读 · 0 评论 -
微信小程序教程笔记2
微信小程序的视图与渲染组件的基本使用数据的绑定渲染标签模板的使用first.wxml<include src="../templates/head"/>first page<button type="default" hover-class="other-button-hover"> default </button><button...原创 2020-02-28 12:52:33 · 168 阅读 · 0 评论 -
微信小程序教程笔记1
util.jsconst formatTime = date => { const year = date.getFullYear() const month = date.getMonth() + 1 const day = date.getDate() const hour = date.getHours() const minute = date.getMinu...原创 2020-02-27 22:22:53 · 324 阅读 · 0 评论