摘要: WXML 中 <view class="li l2"> <input id='searchInput' placeholder="请输入企业全称" type="text" bindinput="bindKeyInput" value="{{inputValue}}" data-statu="open 阅读全文
posted @ 2020-09-27 16:41 路西德 阅读(2709) 评论(0) 推荐(0)
摘要: 第一种:wx.navigateTo 保留当前页面,跳转到应用内的某个页面。但是不能跳到 tabbar 页面。使用 wx.navigateBack 可以返回到原页面。小程序中页面栈最多十层。 官方文档:https://developers.weixin.qq.com/miniprogram/dev/a 阅读全文
posted @ 2020-09-27 16:15 路西德 阅读(6210) 评论(0) 推荐(0)
摘要: 1、创建component组件 2、component.js 中的说明 Component({ /** * 组件的属性列表(对外属性),属性设置中可包含三个字段,type 表示属性类型、 value 表示属性初始值、 observer 表示属性值被更改时的响应函数 */ properties: { 阅读全文
posted @ 2020-09-27 11:43 路西德 阅读(11810) 评论(0) 推荐(1)
摘要: WXML 中 <view class="get_yzm" hover-class="none" bindtap="getPhoneSmsByCode">{{limitGetSmsCode.content}}</view> JS 中 data: { phone: '', limitGetSmsCode 阅读全文
posted @ 2020-09-27 09:52 路西德 阅读(1382) 评论(0) 推荐(0)