diff --git a/front-end/mall4m/pages/logs/logs.js b/front-end/mall4m/pages/logs/logs.js deleted file mode 100644 index b2b967d..0000000 --- a/front-end/mall4m/pages/logs/logs.js +++ /dev/null @@ -1,15 +0,0 @@ -//logs.js -const util = require('../../utils/util.js') - -Page({ - data: { - logs: [] - }, - onLoad: function () { - this.setData({ - logs: (wx.getStorageSync('logs') || []).map(log => { - return util.formatTime(new Date(log)) - }) - }) - } -}) diff --git a/front-end/mall4m/pages/logs/logs.json b/front-end/mall4m/pages/logs/logs.json deleted file mode 100644 index 3ee76c1..0000000 --- a/front-end/mall4m/pages/logs/logs.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "navigationBarTitleText": "查看启动日志", - "usingComponents": {} -} \ No newline at end of file diff --git a/front-end/mall4m/pages/logs/logs.wxml b/front-end/mall4m/pages/logs/logs.wxml deleted file mode 100644 index b5a85ac..0000000 --- a/front-end/mall4m/pages/logs/logs.wxml +++ /dev/null @@ -1,6 +0,0 @@ - - - - {{index + 1}}. {{log}} - - diff --git a/front-end/mall4m/pages/logs/logs.wxss b/front-end/mall4m/pages/logs/logs.wxss deleted file mode 100644 index c861f57..0000000 --- a/front-end/mall4m/pages/logs/logs.wxss +++ /dev/null @@ -1,9 +0,0 @@ -.log-list { - display: flex; - flex-direction: column; - padding: 40rpx; -} - -.log-item { - margin: 10rpx; -} diff --git a/front-end/mall4m/project.config.json b/front-end/mall4m/project.config.json index bfcf221..29cc5f5 100644 --- a/front-end/mall4m/project.config.json +++ b/front-end/mall4m/project.config.json @@ -1,62 +1,68 @@ { - "description": "项目配置文件", - "packOptions": { - "ignore": [] - }, - "setting": { - "urlCheck": true, - "scopeDataCheck": false, - "coverView": true, - "es6": false, - "postcss": true, - "compileHotReLoad": false, - "lazyloadPlaceholderEnable": false, - "preloadBackgroundData": false, - "minified": true, - "autoAudits": false, - "newFeature": false, - "uglifyFileName": false, - "uploadWithSourceMap": true, - "useIsolateContext": false, - "nodeModules": false, - "enhance": true, - "useMultiFrameRuntime": true, - "useApiHook": true, - "useApiHostProcess": true, - "showShadowRootInWxmlPanel": true, - "packNpmManually": false, - "packNpmRelationList": [], - "minifyWXSS": true, - "disableUseStrict": false, - "ignoreUploadUnusedFiles": true, - "minifyWXML": true - }, - "compileType": "miniprogram", - "libVersion": "2.23.2", - "appid": "wx6fa71e69231a4fa4", - "projectname": "mall4m", - "debugOptions": { - "hidedInDevtools": [] - }, - "isGameTourist": false, - "simulatorType": "wechat", - "simulatorPluginLibVersion": {}, - "condition": { - "search": { - "list": [] - }, - "conversation": { - "list": [] - }, - "plugin": { - "list": [] - }, - "game": { - "currentL": -1, - "list": [] - }, - "miniprogram": { - "list": [] - } + "description": "项目配置文件", + "packOptions": { + "ignore": [], + "include": [] + }, + "setting": { + "urlCheck": true, + "scopeDataCheck": false, + "coverView": true, + "es6": false, + "postcss": true, + "compileHotReLoad": false, + "lazyloadPlaceholderEnable": false, + "preloadBackgroundData": false, + "minified": true, + "autoAudits": false, + "newFeature": false, + "uglifyFileName": false, + "uploadWithSourceMap": true, + "useIsolateContext": false, + "nodeModules": false, + "enhance": true, + "useMultiFrameRuntime": true, + "useApiHook": true, + "useApiHostProcess": true, + "showShadowRootInWxmlPanel": true, + "packNpmManually": false, + "packNpmRelationList": [], + "minifyWXSS": true, + "disableUseStrict": false, + "ignoreUploadUnusedFiles": true, + "minifyWXML": true, + "babelSetting": { + "ignore": [], + "disablePlugins": [], + "outputPath": "" } + }, + "compileType": "miniprogram", + "libVersion": "2.23.2", + "appid": "wx6fa71e69231a4fa4", + "projectname": "mall4m", + "simulatorType": "wechat", + "simulatorPluginLibVersion": {}, + "condition": { + "search": { + "list": [] + }, + "conversation": { + "list": [] + }, + "plugin": { + "list": [] + }, + "game": { + "currentL": -1, + "list": [] + }, + "miniprogram": { + "list": [] + } + }, + "editorSetting": { + "tabIndent": "insertSpaces", + "tabSize": 2 + } } \ No newline at end of file diff --git a/front-end/mall4m/project.private.config.json b/front-end/mall4m/project.private.config.json index 3a281b9..d5f65b4 100644 --- a/front-end/mall4m/project.private.config.json +++ b/front-end/mall4m/project.private.config.json @@ -1,25 +1,18 @@ { - "setting": {}, - "condition": { - "plugin": { - "list": [] - }, - "game": { - "list": [] - }, - "gamePlugin": { - "list": [] - }, - "miniprogram": { - "list": [ - { - "name": "登录", - "pathName": "pages/login/login", - "query": "", - "launchMode": "default", - "scene": null - } - ] + "setting": {}, + "condition": { + "miniprogram": { + "list": [ + { + "name": "登录", + "pathName": "pages/login/login", + "query": "", + "launchMode": "default", + "scene": null } + ] } + }, + "description": "项目私有配置文件。此文件中的内容将覆盖 project.config.json 中的相同字段。项目的改动优先同步到此文件中。详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html", + "projectname": "mall4m" } \ No newline at end of file