摘要: 1.wxml: <textarea placeholder="请描述内容" maxlength="{{noteMaxLen}}" bindinput="bindWordLimit"></textarea> <text>{{currentNoteLen|0}}/{{noteMaxLen}}</text 阅读全文
posted @ 2020-04-29 21:51 杵臼 阅读(449) 评论(0) 推荐(0) 编辑
摘要: 1.wxml: <block wx:for='{{itemList}}' wx:key="id"> <view class="{{item.isSelected?'_on':''}}" bindtap='itemSelected' data-index='{{index}}'><text>{{ite 阅读全文
posted @ 2020-04-29 21:42 杵臼 阅读(858) 评论(0) 推荐(1) 编辑
摘要: 1.wxml: <block wx:for='{{itemList}}' wx:key='{{key}}'> <view class="{{index==isChoice?'_on':''}}" bindtap='itemChoice' data-index="{{index}}"><text>{{ 阅读全文
posted @ 2020-04-29 21:34 杵臼 阅读(285) 评论(0) 推荐(0) 编辑
摘要: 官方传送门:https://developers.weixin.qq.com/miniprogram/dev/component/navigator.html 1.navigate 保留当前页面,跳转到应用内的某个页面。但是不能跳到 tabbar 页面。使用 wx.navigateBack 可以返回 阅读全文
posted @ 2020-04-29 04:27 杵臼 阅读(255) 评论(0) 推荐(0) 编辑
摘要: 1.准备 nginx->conf->nginx.conf(下面统一称此文件为配置文件)配置好测试端口:9999 listen 9999; win+r->输入cmd,确认cd到nginx目录下 cd E:\nginx 启动 start nginx 打开浏览器访问 http://localhost:99 阅读全文
posted @ 2020-04-29 01:45 杵臼 阅读(734) 评论(0) 推荐(0) 编辑