transactionList:交易清单过滤示例-源码

上传者: 42168341 | 上传时间: 2021-05-12 10:03:12 | 文件大小: 142KB | 文件类型: ZIP
transactionList npm install npm start 运行测试: npm test 笔记 由于没有特殊要求,因此我进行了基本的UI设计 大多数时候,我更喜欢在UI组件中进行格式化,但是我在reducer中完成格式化,因为我希望服务器能够正确格式化金额和日期 处理日期有点棘手,因为它们的格式无效 该过滤器将应用于显示的数据,而不是源数据。 单元测试全部运行 添加了display:none div作为技巧,使过滤器更改时可以重新渲染应用程序,因为事务列表实际上并未更改

文件下载

资源详情

[{"title":"( 48 个子文件 142KB ) transactionList:交易清单过滤示例-源码","children":[{"title":"transactionList-master","children":[{"title":"public","children":[{"title":"manifest.json <span style='color:#111;'> 309B </span>","children":null,"spread":false},{"title":"index.html <span style='color:#111;'> 1.57KB </span>","children":null,"spread":false},{"title":"favicon.ico <span style='color:#111;'> 12.04KB </span>","children":null,"spread":false}],"spread":true},{"title":"src","children":[{"title":"router","children":[{"title":"routes.js <span style='color:#111;'> 192B </span>","children":null,"spread":false},{"title":"index.js <span style='color:#111;'> 74B </span>","children":null,"spread":false}],"spread":true},{"title":"constants","children":[{"title":"variables.js <span style='color:#111;'> 98B </span>","children":null,"spread":false},{"title":"httpCodes.js <span style='color:#111;'> 135B </span>","children":null,"spread":false},{"title":"colors.js <span style='color:#111;'> 308B </span>","children":null,"spread":false},{"title":"httpMethods.js <span style='color:#111;'> 102B </span>","children":null,"spread":false},{"title":"environment.js <span style='color:#111;'> 124B </span>","children":null,"spread":false},{"title":"actionTypes.js <span style='color:#111;'> 166B </span>","children":null,"spread":false}],"spread":true},{"title":"store","children":[{"title":"index.js <span style='color:#111;'> 810B </span>","children":null,"spread":false}],"spread":true},{"title":"index.css <span style='color:#111;'> 63B </span>","children":null,"spread":false},{"title":"lib","children":[{"title":"dateUtils.test.js <span style='color:#111;'> 1.53KB </span>","children":null,"spread":false},{"title":"selectorUtils.js <span style='color:#111;'> 552B </span>","children":null,"spread":false},{"title":"dateUtils.js <span style='color:#111;'> 1.03KB </span>","children":null,"spread":false}],"spread":true},{"title":"layout","children":[{"title":"Layout.js <span style='color:#111;'> 510B </span>","children":null,"spread":false}],"spread":true},{"title":"components","children":[{"title":"simpleTable","children":[{"title":"SimpleTable.js <span style='color:#111;'> 2.00KB </span>","children":null,"spread":false}],"spread":true},{"title":"index.js <span style='color:#111;'> 100B </span>","children":null,"spread":false}],"spread":true},{"title":"actions","children":[{"title":"transactionsActions.test.js <span style='color:#111;'> 541B </span>","children":null,"spread":false},{"title":"transactionsActions.js <span style='color:#111;'> 329B </span>","children":null,"spread":false}],"spread":true},{"title":"test","children":[{"title":"utils.js <span style='color:#111;'> 150B </span>","children":null,"spread":false}],"spread":true},{"title":"App.js <span style='color:#111;'> 653B </span>","children":null,"spread":false},{"title":"screens","children":[{"title":"transactions","children":[{"title":"TransactionsList.js <span style='color:#111;'> 2.01KB </span>","children":null,"spread":false},{"title":"TransactionsListContainer.js <span style='color:#111;'> 815B </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"registerServiceWorker.js <span style='color:#111;'> 3.93KB </span>","children":null,"spread":false},{"title":"api","children":[{"title":"lib","children":[{"title":"fetchUtils.js <span style='color:#111;'> 2.23KB </span>","children":null,"spread":false},{"title":"fetchUtils.test.js <span style='color:#111;'> 8.62KB </span>","children":null,"spread":false},{"title":"tokenUtils.js <span style='color:#111;'> 788B </span>","children":null,"spread":false}],"spread":false},{"title":"config","children":[{"title":"endpoints.js <span style='color:#111;'> 19B </span>","children":null,"spread":false}],"spread":false},{"title":"errors","children":[{"title":"SVError.test.js <span style='color:#111;'> 596B </span>","children":null,"spread":false},{"title":"SVError.js <span style='color:#111;'> 582B </span>","children":null,"spread":false},{"title":"index.js <span style='color:#111;'> 223B </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"index.js <span style='color:#111;'> 254B </span>","children":null,"spread":false},{"title":"reducers","children":[{"title":"transactionListReducer.test.js <span style='color:#111;'> 4.53KB </span>","children":null,"spread":false},{"title":"transactionListReducer.js <span style='color:#111;'> 2.69KB </span>","children":null,"spread":false},{"title":"index.js <span style='color:#111;'> 154B </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":".idea","children":[{"title":"misc.xml <span style='color:#111;'> 3.74KB </span>","children":null,"spread":false},{"title":"workspace.xml <span style='color:#111;'> 44.42KB </span>","children":null,"spread":false},{"title":"webResources.xml <span style='color:#111;'> 372B </span>","children":null,"spread":false},{"title":"dictionaries","children":[{"title":"dburns1.xml <span style='color:#111;'> 86B </span>","children":null,"spread":false}],"spread":true},{"title":"inspectionProfiles","children":[{"title":"Project_Default.xml <span style='color:#111;'> 443B </span>","children":null,"spread":false}],"spread":true},{"title":"modules.xml <span style='color:#111;'> 276B </span>","children":null,"spread":false},{"title":"transactions.iml <span style='color:#111;'> 458B </span>","children":null,"spread":false}],"spread":true},{"title":"README.md <span style='color:#111;'> 652B </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 285B </span>","children":null,"spread":false},{"title":"package-lock.json <span style='color:#111;'> 519.39KB </span>","children":null,"spread":false},{"title":"package.json <span style='color:#111;'> 1.32KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

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