Skip to content

Commit

Permalink
注释css 面板
Browse files Browse the repository at this point in the history
  • Loading branch information
wuhaitao committed Mar 13, 2021
1 parent ba9ac0c commit 39ec258
Show file tree
Hide file tree
Showing 6 changed files with 770 additions and 767 deletions.
9 changes: 6 additions & 3 deletions packages/sparrow-client/src/components/setting/Toolbox.vue
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,10 @@
</div>
</el-tab-pane>
<el-tab-pane label="样式" class="widget-collapse" name="style">
<css-panel />
<!-- <css-panel /> -->
<span>
待开放
</span>
</el-tab-pane>

</el-tabs>
Expand Down Expand Up @@ -201,12 +204,12 @@ import { AppModule } from '@/store/modules/app';
import FormSetting from './FormSetting';
import Sortable from 'sortablejs';
import html2canvas from 'html2canvas';
import CssPanel from '@/components/CssPanel/index.vue';
// import CssPanel from '@/components/CssPanel/index.vue';
export default {
components: {
FormSetting,
CssPanel
// CssPanel
},
data() {
return {
Expand Down
190 changes: 95 additions & 95 deletions packages/sparrow-server/run/agent_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
"onerror": {
"errorPageUrl": "",
"appErrorFilter": null,
"templatePath": "/Users/haitaowu/real-lab/sparrow-js/sparrow/packages/sparrow-server/node_modules/egg-onerror/lib/onerror_page.mustache"
"templatePath": "/Users/haitaowu/lab/sparrow/packages/sparrow-server/node_modules/egg-onerror/lib/onerror_page.mustache"
},
"i18n": {
"defaultLocale": "en_US",
Expand All @@ -89,8 +89,8 @@
"watcher": {
"type": "development",
"eventSources": {
"default": "/Users/haitaowu/real-lab/sparrow-js/sparrow/packages/sparrow-server/node_modules/egg-watcher/lib/event-sources/default",
"development": "/Users/haitaowu/real-lab/sparrow-js/sparrow/packages/sparrow-server/node_modules/egg-watcher/lib/event-sources/development"
"default": "/Users/haitaowu/lab/sparrow/packages/sparrow-server/node_modules/egg-watcher/lib/event-sources/default",
"development": "/Users/haitaowu/lab/sparrow/packages/sparrow-server/node_modules/egg-watcher/lib/event-sources/development"
}
},
"customLogger": {
Expand All @@ -113,7 +113,7 @@
"files": 10,
"fileExtensions": [],
"whitelist": null,
"tmpdir": "/var/folders/j0/c7q04h3j6l50bjrddgf4_38m0000gn/T/egg-multipart-tmp/sparrow-server",
"tmpdir": "/var/folders/vc/gg6ncfdd7xv5ff0m6px6l4j80000gn/T/egg-multipart-tmp/sparrow-server",
"cleanSchedule": {
"cron": "0 30 4 * * *"
}
Expand All @@ -131,7 +131,8 @@
"ignoreDirs": [],
"fastReady": false,
"reloadOnDebug": true,
"overrideDefault": true
"overrideDefault": true,
"overrideIgnore": false
},
"logrotator": {
"filesRotateByHour": null,
Expand All @@ -144,14 +145,14 @@
},
"static": {
"prefix": "/public/",
"dir": "/Users/haitaowu/real-lab/sparrow-js/sparrow/packages/sparrow-server/src/app/public",
"dir": "/Users/haitaowu/lab/sparrow/packages/sparrow-server/src/app/public",
"dynamic": true,
"preload": false,
"buffer": false,
"maxFiles": 1000
},
"view": {
"root": "/Users/haitaowu/real-lab/sparrow-js/sparrow/packages/sparrow-server/src/app/view",
"root": "/Users/haitaowu/lab/sparrow/packages/sparrow-server/src/app/view",
"cache": false,
"defaultExtension": ".html",
"defaultViewEngine": "nunjucks",
Expand Down Expand Up @@ -321,9 +322,9 @@
"author": "wuhaitao",
"license": "MIT"
},
"baseDir": "/Users/haitaowu/real-lab/sparrow-js/sparrow/packages/sparrow-server/src",
"baseDir": "/Users/haitaowu/lab/sparrow/packages/sparrow-server/src",
"HOME": "/Users/haitaowu",
"rundir": "/Users/haitaowu/real-lab/sparrow-js/sparrow/packages/sparrow-server/run",
"rundir": "/Users/haitaowu/lab/sparrow/packages/sparrow-server/run",
"dump": {
"ignore": "<Set>"
},
Expand Down Expand Up @@ -355,7 +356,7 @@
"onerror": "<Function onerror>"
},
"logger": {
"dir": "/Users/haitaowu/real-lab/sparrow-js/sparrow/packages/sparrow-server/logs/sparrow-server",
"dir": "/Users/haitaowu/lab/sparrow/packages/sparrow-server/logs/sparrow-server",
"encoding": "utf8",
"env": "local",
"level": "INFO",
Expand Down Expand Up @@ -421,7 +422,6 @@
"pluginOverwrite": false,
"container": {
"ignore": [
"**/node_modules/**",
"**/logs/**",
"**/run/**",
"**/public/**",
Expand All @@ -430,16 +430,16 @@
"**/config/**",
"**/app/extend/**"
],
"baseDir": "/Users/haitaowu/real-lab/sparrow-js/sparrow/packages/sparrow-server/src"
"baseDir": "/Users/haitaowu/lab/sparrow/packages/sparrow-server/src"
},
"alinode": {
"logdir": "/tmp",
"error_log": [
"/Users/haitaowu/real-lab/sparrow-js/sparrow/packages/sparrow-server/logs/sparrow-server/common-error.log",
"/Users/haitaowu/real-lab/sparrow-js/sparrow/packages/sparrow-server/logs/stderr.log"
"/Users/haitaowu/lab/sparrow/packages/sparrow-server/logs/sparrow-server/common-error.log",
"/Users/haitaowu/lab/sparrow/packages/sparrow-server/logs/stderr.log"
],
"packages": [
"/Users/haitaowu/real-lab/sparrow-js/sparrow/packages/sparrow-server/package.json"
"/Users/haitaowu/lab/sparrow/packages/sparrow-server/package.json"
]
},
"middleware": [
Expand All @@ -450,43 +450,6 @@
"appMiddleware": "~config~middleware"
},
"plugins": {
"session": {
"enable": true,
"package": "egg-session",
"name": "session",
"dependencies": [],
"optionalDependencies": [],
"env": [],
"from": "/Users/haitaowu/real-lab/sparrow-js/sparrow/packages/sparrow-server/node_modules/egg/config/plugin.js",
"path": "/Users/haitaowu/real-lab/sparrow-js/sparrow/packages/sparrow-server/node_modules/egg-session",
"version": "3.1.0"
},
"security": {
"enable": true,
"package": "egg-security",
"name": "security",
"dependencies": [],
"optionalDependencies": [
"session"
],
"env": [],
"from": "/Users/haitaowu/real-lab/sparrow-js/sparrow/packages/sparrow-server/node_modules/egg/config/plugin.js",
"path": "/Users/haitaowu/real-lab/sparrow-js/sparrow/packages/sparrow-server/node_modules/egg-security",
"version": "2.7.1"
},
"jsonp": {
"enable": true,
"package": "egg-jsonp",
"name": "jsonp",
"dependencies": [],
"optionalDependencies": [
"security"
],
"env": [],
"from": "/Users/haitaowu/real-lab/sparrow-js/sparrow/packages/sparrow-server/node_modules/egg/config/plugin.js",
"path": "/Users/haitaowu/real-lab/sparrow-js/sparrow/packages/sparrow-server/node_modules/egg-jsonp",
"version": "2.0.0"
},
"onerror": {
"enable": true,
"package": "egg-onerror",
Expand All @@ -496,19 +459,30 @@
"jsonp"
],
"env": [],
"from": "/Users/haitaowu/real-lab/sparrow-js/sparrow/packages/sparrow-server/node_modules/egg/config/plugin.js",
"path": "/Users/haitaowu/real-lab/sparrow-js/sparrow/packages/sparrow-server/node_modules/egg-onerror",
"from": "/Users/haitaowu/lab/sparrow/packages/sparrow-server/node_modules/egg/config/plugin.js",
"path": "/Users/haitaowu/lab/sparrow/packages/sparrow-server/node_modules/egg-onerror",
"version": "2.1.0"
},
"session": {
"enable": true,
"package": "egg-session",
"name": "session",
"dependencies": [],
"optionalDependencies": [],
"env": [],
"from": "/Users/haitaowu/lab/sparrow/packages/sparrow-server/node_modules/egg/config/plugin.js",
"path": "/Users/haitaowu/lab/sparrow/packages/sparrow-server/node_modules/egg-session",
"version": "3.2.0"
},
"i18n": {
"enable": true,
"package": "egg-i18n",
"name": "i18n",
"dependencies": [],
"optionalDependencies": [],
"env": [],
"from": "/Users/haitaowu/real-lab/sparrow-js/sparrow/packages/sparrow-server/node_modules/egg/config/plugin.js",
"path": "/Users/haitaowu/real-lab/sparrow-js/sparrow/packages/sparrow-server/node_modules/egg-i18n",
"from": "/Users/haitaowu/lab/sparrow/packages/sparrow-server/node_modules/egg/config/plugin.js",
"path": "/Users/haitaowu/lab/sparrow/packages/sparrow-server/node_modules/egg-i18n",
"version": "2.1.1"
},
"watcher": {
Expand All @@ -518,20 +492,9 @@
"dependencies": [],
"optionalDependencies": [],
"env": [],
"from": "/Users/haitaowu/real-lab/sparrow-js/sparrow/packages/sparrow-server/node_modules/egg/config/plugin.js",
"path": "/Users/haitaowu/real-lab/sparrow-js/sparrow/packages/sparrow-server/node_modules/egg-watcher",
"version": "3.1.0"
},
"schedule": {
"enable": true,
"package": "egg-schedule",
"name": "schedule",
"dependencies": [],
"optionalDependencies": [],
"env": [],
"from": "/Users/haitaowu/real-lab/sparrow-js/sparrow/packages/sparrow-server/node_modules/egg/config/plugin.js",
"path": "/Users/haitaowu/real-lab/sparrow-js/sparrow/packages/sparrow-server/node_modules/egg-schedule",
"version": "3.6.4"
"from": "/Users/haitaowu/lab/sparrow/packages/sparrow-server/node_modules/egg/config/plugin.js",
"path": "/Users/haitaowu/lab/sparrow/packages/sparrow-server/node_modules/egg-watcher",
"version": "3.1.1"
},
"multipart": {
"enable": true,
Expand All @@ -542,9 +505,22 @@
"schedule"
],
"env": [],
"from": "/Users/haitaowu/real-lab/sparrow-js/sparrow/packages/sparrow-server/node_modules/egg/config/plugin.js",
"path": "/Users/haitaowu/real-lab/sparrow-js/sparrow/packages/sparrow-server/node_modules/egg-multipart",
"version": "2.10.1"
"from": "/Users/haitaowu/lab/sparrow/packages/sparrow-server/node_modules/egg/config/plugin.js",
"path": "/Users/haitaowu/lab/sparrow/packages/sparrow-server/node_modules/egg-multipart",
"version": "2.10.3"
},
"security": {
"enable": true,
"package": "egg-security",
"name": "security",
"dependencies": [],
"optionalDependencies": [
"session"
],
"env": [],
"from": "/Users/haitaowu/lab/sparrow/packages/sparrow-server/node_modules/egg/config/plugin.js",
"path": "/Users/haitaowu/lab/sparrow/packages/sparrow-server/node_modules/egg-security",
"version": "2.8.0"
},
"development": {
"enable": true,
Expand All @@ -557,9 +533,9 @@
"env": [
"local"
],
"from": "/Users/haitaowu/real-lab/sparrow-js/sparrow/packages/sparrow-server/node_modules/egg/config/plugin.js",
"path": "/Users/haitaowu/real-lab/sparrow-js/sparrow/packages/sparrow-server/node_modules/egg-development",
"version": "2.4.3"
"from": "/Users/haitaowu/lab/sparrow/packages/sparrow-server/node_modules/egg/config/plugin.js",
"path": "/Users/haitaowu/lab/sparrow/packages/sparrow-server/node_modules/egg-development",
"version": "2.7.0"
},
"logrotator": {
"enable": true,
Expand All @@ -570,31 +546,55 @@
],
"optionalDependencies": [],
"env": [],
"from": "/Users/haitaowu/real-lab/sparrow-js/sparrow/packages/sparrow-server/node_modules/egg/config/plugin.js",
"path": "/Users/haitaowu/real-lab/sparrow-js/sparrow/packages/sparrow-server/node_modules/egg-logrotator",
"from": "/Users/haitaowu/lab/sparrow/packages/sparrow-server/node_modules/egg/config/plugin.js",
"path": "/Users/haitaowu/lab/sparrow/packages/sparrow-server/node_modules/egg-logrotator",
"version": "3.1.0"
},
"schedule": {
"enable": true,
"package": "egg-schedule",
"name": "schedule",
"dependencies": [],
"optionalDependencies": [],
"env": [],
"from": "/Users/haitaowu/lab/sparrow/packages/sparrow-server/node_modules/egg/config/plugin.js",
"path": "/Users/haitaowu/lab/sparrow/packages/sparrow-server/node_modules/egg-schedule",
"version": "3.6.6"
},
"static": {
"enable": true,
"package": "egg-static",
"name": "static",
"dependencies": [],
"optionalDependencies": [],
"env": [],
"from": "/Users/haitaowu/real-lab/sparrow-js/sparrow/packages/sparrow-server/node_modules/egg/config/plugin.js",
"path": "/Users/haitaowu/real-lab/sparrow-js/sparrow/packages/sparrow-server/node_modules/egg-static",
"from": "/Users/haitaowu/lab/sparrow/packages/sparrow-server/node_modules/egg/config/plugin.js",
"path": "/Users/haitaowu/lab/sparrow/packages/sparrow-server/node_modules/egg-static",
"version": "2.2.0"
},
"jsonp": {
"enable": true,
"package": "egg-jsonp",
"name": "jsonp",
"dependencies": [],
"optionalDependencies": [
"security"
],
"env": [],
"from": "/Users/haitaowu/lab/sparrow/packages/sparrow-server/node_modules/egg/config/plugin.js",
"path": "/Users/haitaowu/lab/sparrow/packages/sparrow-server/node_modules/egg-jsonp",
"version": "2.0.0"
},
"view": {
"enable": true,
"package": "egg-view",
"name": "view",
"dependencies": [],
"optionalDependencies": [],
"env": [],
"from": "/Users/haitaowu/real-lab/sparrow-js/sparrow/packages/sparrow-server/node_modules/egg/config/plugin.js",
"path": "/Users/haitaowu/real-lab/sparrow-js/sparrow/packages/sparrow-server/node_modules/egg-view",
"version": "2.1.2"
"from": "/Users/haitaowu/lab/sparrow/packages/sparrow-server/node_modules/egg/config/plugin.js",
"path": "/Users/haitaowu/lab/sparrow/packages/sparrow-server/node_modules/egg-view",
"version": "2.1.3"
},
"schedulePlus": {
"enable": true,
Expand All @@ -605,9 +605,9 @@
"schedule"
],
"env": [],
"from": "/Users/haitaowu/real-lab/sparrow-js/sparrow/packages/sparrow-server/node_modules/midway-web/config/plugin.js",
"path": "/Users/haitaowu/real-lab/sparrow-js/sparrow/packages/sparrow-server/node_modules/midway-schedule",
"version": "1.18.0"
"from": "/Users/haitaowu/lab/sparrow/packages/sparrow-server/node_modules/midway-web/config/plugin.js",
"path": "/Users/haitaowu/lab/sparrow/packages/sparrow-server/node_modules/midway-schedule",
"version": "1.20.3"
},
"nunjucks": {
"enable": true,
Expand All @@ -619,9 +619,9 @@
],
"optionalDependencies": [],
"env": [],
"from": "/Users/haitaowu/real-lab/sparrow-js/sparrow/packages/sparrow-server/src/config/plugin.ts",
"path": "/Users/haitaowu/real-lab/sparrow-js/sparrow/packages/sparrow-server/node_modules/egg-view-nunjucks",
"version": "2.2.0"
"from": "/Users/haitaowu/lab/sparrow/packages/sparrow-server/src/config/plugin.ts",
"path": "/Users/haitaowu/lab/sparrow/packages/sparrow-server/node_modules/egg-view-nunjucks",
"version": "2.3.0"
},
"io": {
"enable": true,
Expand All @@ -632,8 +632,8 @@
],
"optionalDependencies": [],
"env": [],
"from": "/Users/haitaowu/real-lab/sparrow-js/sparrow/packages/sparrow-server/src/config/plugin.ts",
"path": "/Users/haitaowu/real-lab/sparrow-js/sparrow/packages/sparrow-server/node_modules/egg-socket.io",
"from": "/Users/haitaowu/lab/sparrow/packages/sparrow-server/src/config/plugin.ts",
"path": "/Users/haitaowu/lab/sparrow/packages/sparrow-server/node_modules/egg-socket.io",
"version": "4.1.6"
},
"cors": {
Expand All @@ -643,18 +643,18 @@
"dependencies": [],
"optionalDependencies": [],
"env": [],
"from": "/Users/haitaowu/real-lab/sparrow-js/sparrow/packages/sparrow-server/src/config/plugin.ts",
"path": "/Users/haitaowu/real-lab/sparrow-js/sparrow/packages/sparrow-server/node_modules/egg-cors",
"from": "/Users/haitaowu/lab/sparrow/packages/sparrow-server/src/config/plugin.ts",
"path": "/Users/haitaowu/lab/sparrow/packages/sparrow-server/node_modules/egg-cors",
"version": "2.2.3"
},
"generator": {
"enable": true,
"path": "/Users/haitaowu/real-lab/sparrow-js/sparrow/packages/sparrow-server/src/lib/plugin/generator",
"path": "/Users/haitaowu/lab/sparrow/packages/sparrow-server/src/lib/plugin/generator",
"name": "generator",
"dependencies": [],
"optionalDependencies": [],
"env": [],
"from": "/Users/haitaowu/real-lab/sparrow-js/sparrow/packages/sparrow-server/src/config/plugin.ts"
"from": "/Users/haitaowu/lab/sparrow/packages/sparrow-server/src/config/plugin.ts"
}
}
}
Loading

0 comments on commit 39ec258

Please sign in to comment.