微信小程序-微信小程序 todoList

上传者: 39841365 | 上传时间: 2023-03-12 08:58:42 | 文件大小: 53KB | 文件类型: ZIP
weixinApp 微信小程序toDoList 列表页面 简单的列表页面和数据添加,此时有一些问题 setData在清除一些用户交互的页面的时候有些问题。 inputA 是一个输入框,当我提交数据的时候,需要清除表单的数据,setData不能清除很好的清除。 添加数据 使用wx.setStorageSync(KEY,DATA). try { wx.setStorageSync('key', 'value') } catch (e) { } 删除数据 使用 wx.removeStorageSync(KEY) try { wx.removeStorageSync('key') } catch (e) { // Do something when catch error } 详情页面 此时用到路由机制 查看 模块化的测试 utils下的文件都是使用模块化的测试代码。 使用了一些ES语法 请查看/utils/test.js,实现了类似汉字转拼音的效果。 var res = test.getFullChars('中国'); 微信wx.request >wx.r

文件下载

资源详情

[{"title":"( 26 个子文件 53KB ) 微信小程序-微信小程序 todoList","children":[{"title":"weixinApp-master","children":[{"title":"app.js <span style='color:#111;'> 719B </span>","children":null,"spread":false},{"title":".DS_Store <span style='color:#111;'> 6.00KB </span>","children":null,"spread":false},{"title":"list","children":[{"title":"detail","children":[{"title":"index.wxml <span style='color:#111;'> 101B </span>","children":null,"spread":false},{"title":"index.js <span style='color:#111;'> 356B </span>","children":null,"spread":false},{"title":"index.wxss <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":true},{"title":"index.wxml <span style='color:#111;'> 893B </span>","children":null,"spread":false},{"title":"index.js <span style='color:#111;'> 2.47KB </span>","children":null,"spread":false},{"title":"index.wxss <span style='color:#111;'> 460B </span>","children":null,"spread":false}],"spread":true},{"title":"utils","children":[{"title":"util.js <span style='color:#111;'> 756B </span>","children":null,"spread":false},{"title":"post.md <span style='color:#111;'> 599B </span>","children":null,"spread":false},{"title":".DS_Store <span style='color:#111;'> 6.00KB </span>","children":null,"spread":false},{"title":"test.js <span style='color:#111;'> 71.59KB </span>","children":null,"spread":false}],"spread":true},{"title":"README.md <span style='color:#111;'> 3.65KB </span>","children":null,"spread":false},{"title":"image","children":[{"title":"icon_component.png <span style='color:#111;'> 431B </span>","children":null,"spread":false},{"title":"icon_component_HL.png <span style='color:#111;'> 429B </span>","children":null,"spread":false},{"title":"icon_API_HL.png <span style='color:#111;'> 634B </span>","children":null,"spread":false},{"title":"icon_API.png <span style='color:#111;'> 647B </span>","children":null,"spread":false}],"spread":true},{"title":"pages","children":[{"title":"index","children":[{"title":"index.wxml <span style='color:#111;'> 460B </span>","children":null,"spread":false},{"title":"index.js <span style='color:#111;'> 500B </span>","children":null,"spread":false},{"title":"index.wxss <span style='color:#111;'> 268B </span>","children":null,"spread":false}],"spread":true},{"title":"logs","children":[{"title":"logs.wxml <span style='color:#111;'> 1.58KB </span>","children":null,"spread":false},{"title":"logs.js <span style='color:#111;'> 4.71KB </span>","children":null,"spread":false},{"title":"logs.wxss <span style='color:#111;'> 106B </span>","children":null,"spread":false},{"title":"logs.json <span style='color:#111;'> 54B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"app.json <span style='color:#111;'> 774B </span>","children":null,"spread":false},{"title":"app.wxss <span style='color:#111;'> 787B </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明