feat: 电子药箱小程序 - 4Tab药品管理
- 电子药箱: 药品库存管理 + 手动录入 + 今日用药打卡 - 药品百科: 搜索 + 分类筛选 + 20种药品静态数据 - 惠教中心: 4条药品使用指南课程 - 我的: 家庭成员信息管理 - 自定义TabBar + navigation-bar组件 - SVG药品分类插图
This commit is contained in:
@@ -0,0 +1 @@
|
||||
"use strict";function _typeof(e){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof(e)}function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _defineProperties(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,_toPropertyKey(r.key),r)}}function _createClass(e,t,o){return t&&_defineProperties(e.prototype,t),o&&_defineProperties(e,o),Object.defineProperty(e,"prototype",{writable:!1}),e}function _toPropertyKey(e){var t=_toPrimitive(e,"string");return"symbol"===_typeof(t)?t:String(t)}function _toPrimitive(e,t){if("object"!==_typeof(e)||null===e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,t||"default");if("object"!==_typeof(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}var EventEmitter=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"on",value:function(e,t,o){"function"==typeof t?(this._stores=this._stores||{},(this._stores[e]=this._stores[e]||[]).push({cb:t,ctx:o})):console.error("fn must be a function")}},{key:"once",value:function(e,t,o){var r=this;if("function"==typeof t){var i=function i(){r.off(e,i);for(var n=arguments.length,s=new Array(n),l=0;l<n;l++)s[l]=arguments[l];t.apply(o,s)};i._origin=t,this.on(e,i,o)}else console.error("fn must be a function")}},{key:"emit",value:function(e){this._stores=this._stores||{};var t,o=this._stores[e];if(o){o=o.slice(0),t=[].slice.call(arguments,1);for(var r=0,i=o.length;r<i;r++)o[r].cb.apply(o[r].ctx,t)}}},{key:"off",value:function(e,t){if(this._stores=this._stores||{},arguments.length){var o=this._stores[e];if(o)if(1!==arguments.length)for(var r=o.length-1;r>=0;r--){var i,n,s;t!==(null===(i=o[r])||void 0===i?void 0:i.cb)&&t!==(null===(n=o[r])||void 0===n||null===(s=n.cb)||void 0===s?void 0:s._origin)||o.splice(r,1)}else delete this._stores[e]}else this._stores={}}},{key:"removeAllListeners",value:function(e){this._stores=this._stores||{},e?delete this._stores[e]:this._stores={}}}]),e}();module.exports=EventEmitter;
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
"use strict";function safe_add(n,r){var f=(65535&n)+(65535&r);return(n>>16)+(r>>16)+(f>>16)<<16|65535&f}function rol(n,r){return n<<r|n>>>32-r}function cmn(n,r,f,i,t,e){return safe_add(rol(safe_add(safe_add(r,n),safe_add(i,e)),t),f)}function ff(n,r,f,i,t,e,h){return cmn(r&f|~r&i,n,r,t,e,h)}function gg(n,r,f,i,t,e,h){return cmn(r&i|f&~i,n,r,t,e,h)}function hh(n,r,f,i,t,e,h){return cmn(r^f^i,n,r,t,e,h)}function ii(n,r,f,i,t,e,h){return cmn(f^(r|~i),n,r,t,e,h)}function coreMD5(n){for(var r=1732584193,f=-271733879,i=-1732584194,t=271733878,e=0;e<n.length;e+=16){var h=r,g=f,c=i,o=t;r=ff(r,f,i,t,n[e+0],7,-680876936),t=ff(t,r,f,i,n[e+1],12,-389564586),i=ff(i,t,r,f,n[e+2],17,606105819),f=ff(f,i,t,r,n[e+3],22,-1044525330),r=ff(r,f,i,t,n[e+4],7,-176418897),t=ff(t,r,f,i,n[e+5],12,1200080426),i=ff(i,t,r,f,n[e+6],17,-1473231341),f=ff(f,i,t,r,n[e+7],22,-45705983),r=ff(r,f,i,t,n[e+8],7,1770035416),t=ff(t,r,f,i,n[e+9],12,-1958414417),i=ff(i,t,r,f,n[e+10],17,-42063),f=ff(f,i,t,r,n[e+11],22,-1990404162),r=ff(r,f,i,t,n[e+12],7,1804603682),t=ff(t,r,f,i,n[e+13],12,-40341101),i=ff(i,t,r,f,n[e+14],17,-1502002290),r=gg(r,f=ff(f,i,t,r,n[e+15],22,1236535329),i,t,n[e+1],5,-165796510),t=gg(t,r,f,i,n[e+6],9,-1069501632),i=gg(i,t,r,f,n[e+11],14,643717713),f=gg(f,i,t,r,n[e+0],20,-373897302),r=gg(r,f,i,t,n[e+5],5,-701558691),t=gg(t,r,f,i,n[e+10],9,38016083),i=gg(i,t,r,f,n[e+15],14,-660478335),f=gg(f,i,t,r,n[e+4],20,-405537848),r=gg(r,f,i,t,n[e+9],5,568446438),t=gg(t,r,f,i,n[e+14],9,-1019803690),i=gg(i,t,r,f,n[e+3],14,-187363961),f=gg(f,i,t,r,n[e+8],20,1163531501),r=gg(r,f,i,t,n[e+13],5,-1444681467),t=gg(t,r,f,i,n[e+2],9,-51403784),i=gg(i,t,r,f,n[e+7],14,1735328473),r=hh(r,f=gg(f,i,t,r,n[e+12],20,-1926607734),i,t,n[e+5],4,-378558),t=hh(t,r,f,i,n[e+8],11,-2022574463),i=hh(i,t,r,f,n[e+11],16,1839030562),f=hh(f,i,t,r,n[e+14],23,-35309556),r=hh(r,f,i,t,n[e+1],4,-1530992060),t=hh(t,r,f,i,n[e+4],11,1272893353),i=hh(i,t,r,f,n[e+7],16,-155497632),f=hh(f,i,t,r,n[e+10],23,-1094730640),r=hh(r,f,i,t,n[e+13],4,681279174),t=hh(t,r,f,i,n[e+0],11,-358537222),i=hh(i,t,r,f,n[e+3],16,-722521979),f=hh(f,i,t,r,n[e+6],23,76029189),r=hh(r,f,i,t,n[e+9],4,-640364487),t=hh(t,r,f,i,n[e+12],11,-421815835),i=hh(i,t,r,f,n[e+15],16,530742520),r=ii(r,f=hh(f,i,t,r,n[e+2],23,-995338651),i,t,n[e+0],6,-198630844),t=ii(t,r,f,i,n[e+7],10,1126891415),i=ii(i,t,r,f,n[e+14],15,-1416354905),f=ii(f,i,t,r,n[e+5],21,-57434055),r=ii(r,f,i,t,n[e+12],6,1700485571),t=ii(t,r,f,i,n[e+3],10,-1894986606),i=ii(i,t,r,f,n[e+10],15,-1051523),f=ii(f,i,t,r,n[e+1],21,-2054922799),r=ii(r,f,i,t,n[e+8],6,1873313359),t=ii(t,r,f,i,n[e+15],10,-30611744),i=ii(i,t,r,f,n[e+6],15,-1560198380),f=ii(f,i,t,r,n[e+13],21,1309151649),r=ii(r,f,i,t,n[e+4],6,-145523070),t=ii(t,r,f,i,n[e+11],10,-1120210379),i=ii(i,t,r,f,n[e+2],15,718787259),f=ii(f,i,t,r,n[e+9],21,-343485551),r=safe_add(r,h),f=safe_add(f,g),i=safe_add(i,c),t=safe_add(t,o)}return[r,f,i,t]}function binl2hex(n){for(var r="0123456789abcdef",f="",i=0;i<4*n.length;i++)f+=r.charAt(n[i>>2]>>i%4*8+4&15)+r.charAt(n[i>>2]>>i%4*8&15);return f}function binl2b64(n){for(var r="",f=0;f<32*n.length;f+=6)r+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(n[f>>5]<<f%32&63|n[f>>6]>>32-f%32&63);return r}function str2binl(n){for(var r=1+(n.length+8>>6),f=new Array(16*r),i=0;i<16*r;i++)f[i]=0;for(i=0;i<n.length;i++)f[i>>2]|=(255&n.charCodeAt(i))<<i%4*8;return f[i>>2]|=128<<i%4*8,f[16*r-2]=8*n.length,f}function strw2binl(n){for(var r=1+(n.length+4>>5),f=new Array(16*r),i=0;i<16*r;i++)f[i]=0;for(i=0;i<n.length;i++)f[i>>1]|=n.charCodeAt(i)<<i%2*16;return f[i>>1]|=128<<i%2*16,f[16*r-2]=16*n.length,f}function hexMD5(n){return binl2hex(coreMD5(str2binl(n)))}function hexMD5w(n){return binl2hex(coreMD5(strw2binl(n)))}function b64MD5(n){return binl2b64(coreMD5(str2binl(n)))}function b64MD5w(n){return binl2b64(coreMD5(strw2binl(n)))}function calcMD5(n){return binl2hex(coreMD5(str2binl(n)))}module.exports={hexMD5:hexMD5};
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user