system-phone 1.4.0 → 3.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.babelrc +5 -5
- package/.editorconfig +9 -9
- package/.eslintrc.js +16 -16
- package/.gradle/6.1/executionHistory/executionHistory.bin +0 -0
- package/.gradle/6.1/executionHistory/executionHistory.lock +0 -0
- package/.gradle/6.1/fileChanges/last-build.bin +0 -0
- package/.gradle/6.1/fileHashes/fileHashes.bin +0 -0
- package/.gradle/6.1/fileHashes/fileHashes.lock +0 -0
- package/.gradle/6.1/gc.properties +0 -0
- package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/.gradle/buildOutputCleanup/cache.properties +2 -0
- package/.gradle/checksums/checksums.lock +0 -0
- package/.gradle/checksums/sha1-checksums.bin +0 -0
- package/.gradle/vcs-1/gc.properties +0 -0
- package/CHANGELOG.md +1 -1
- package/Dockerfile +3 -3
- package/README.md +36 -36
- package/SystemPhone.iml +9 -0
- package/build/css-loaders.js +34 -34
- package/build/dev-client.js +8 -8
- package/build/dev-server.js +141 -121
- package/build/example-server.js +80 -80
- package/build/release.sh +28 -28
- package/build/utils.js +71 -71
- package/build/webpack.base.conf.js +82 -78
- package/build/webpack.dev.conf.js +31 -31
- package/build/webpack.example.conf.js +49 -49
- package/build/webpack.prod.conf.js +60 -60
- package/build/webpack.test.conf.js +31 -31
- package/build.gradle +27 -27
- package/config/dev.env.js +6 -6
- package/config/index.js +38 -38
- package/config/prod.env.js +3 -3
- package/config/test.env.js +6 -6
- package/gradle/wrapper/gradle-wrapper.jar +0 -0
- package/gradle/wrapper/gradle-wrapper.properties +5 -0
- package/gradlew +183 -0
- package/gradlew.bat +100 -0
- package/index.html +21 -773
- package/nginx.conf +304 -304
- package/package.json +5 -3
- package/release.bat +5 -5
- package/src/App.vue +25 -25
- package/src/Util.js +415 -415
- package/src/android-bootstrap/fonts/glyphicons-halflings-regular.svg +287 -287
- package/src/android-bootstrap/less/.csscomb.json +304 -304
- package/src/android-bootstrap/less/.csslintrc +19 -19
- package/src/android-bootstrap/less/alerts.less +73 -73
- package/src/android-bootstrap/less/badges.less +66 -66
- package/src/android-bootstrap/less/bootstrap.less +56 -56
- package/src/android-bootstrap/less/breadcrumbs.less +26 -26
- package/src/android-bootstrap/less/button-groups.less +247 -247
- package/src/android-bootstrap/less/buttons.less +173 -173
- package/src/android-bootstrap/less/carousel.less +269 -269
- package/src/android-bootstrap/less/close.less +34 -34
- package/src/android-bootstrap/less/code.less +69 -69
- package/src/android-bootstrap/less/component-animations.less +33 -33
- package/src/android-bootstrap/less/dropdowns.less +216 -216
- package/src/android-bootstrap/less/forms.less +626 -626
- package/src/android-bootstrap/less/glyphicons.less +305 -305
- package/src/android-bootstrap/less/grid.less +84 -84
- package/src/android-bootstrap/less/input-groups.less +167 -167
- package/src/android-bootstrap/less/jumbotron.less +52 -52
- package/src/android-bootstrap/less/labels.less +64 -64
- package/src/android-bootstrap/less/list-group.less +141 -141
- package/src/android-bootstrap/less/media.less +66 -66
- package/src/android-bootstrap/less/mixins/alerts.less +14 -14
- package/src/android-bootstrap/less/mixins/background-variant.less +9 -9
- package/src/android-bootstrap/less/mixins/border-radius.less +18 -18
- package/src/android-bootstrap/less/mixins/buttons.less +69 -69
- package/src/android-bootstrap/less/mixins/center-block.less +7 -7
- package/src/android-bootstrap/less/mixins/clearfix.less +22 -22
- package/src/android-bootstrap/less/mixins/forms.less +90 -90
- package/src/android-bootstrap/less/mixins/gradients.less +59 -59
- package/src/android-bootstrap/less/mixins/grid-framework.less +92 -92
- package/src/android-bootstrap/less/mixins/grid.less +122 -122
- package/src/android-bootstrap/less/mixins/hide-text.less +21 -21
- package/src/android-bootstrap/less/mixins/image.less +33 -33
- package/src/android-bootstrap/less/mixins/labels.less +12 -12
- package/src/android-bootstrap/less/mixins/list-group.less +30 -30
- package/src/android-bootstrap/less/mixins/nav-divider.less +10 -10
- package/src/android-bootstrap/less/mixins/nav-vertical-align.less +9 -9
- package/src/android-bootstrap/less/mixins/opacity.less +8 -8
- package/src/android-bootstrap/less/mixins/pagination.less +24 -24
- package/src/android-bootstrap/less/mixins/panels.less +24 -24
- package/src/android-bootstrap/less/mixins/progress-bar.less +10 -10
- package/src/android-bootstrap/less/mixins/reset-filter.less +8 -8
- package/src/android-bootstrap/less/mixins/reset-text.less +18 -18
- package/src/android-bootstrap/less/mixins/resize.less +6 -6
- package/src/android-bootstrap/less/mixins/responsive-visibility.less +15 -15
- package/src/android-bootstrap/less/mixins/size.less +10 -10
- package/src/android-bootstrap/less/mixins/tab-focus.less +9 -9
- package/src/android-bootstrap/less/mixins/table-row.less +44 -44
- package/src/android-bootstrap/less/mixins/text-emphasis.less +9 -9
- package/src/android-bootstrap/less/mixins/text-overflow.less +8 -8
- package/src/android-bootstrap/less/mixins/vendor-prefixes.less +227 -227
- package/src/android-bootstrap/less/mixins.less +40 -40
- package/src/android-bootstrap/less/modals.less +151 -151
- package/src/android-bootstrap/less/navbar.less +660 -660
- package/src/android-bootstrap/less/navs.less +290 -290
- package/src/android-bootstrap/less/normalize.less +424 -424
- package/src/android-bootstrap/less/pager.less +76 -76
- package/src/android-bootstrap/less/pagination.less +89 -89
- package/src/android-bootstrap/less/panels.less +274 -274
- package/src/android-bootstrap/less/popovers.less +131 -131
- package/src/android-bootstrap/less/print.less +101 -101
- package/src/android-bootstrap/less/progress-bars.less +87 -87
- package/src/android-bootstrap/less/responsive-embed.less +35 -35
- package/src/android-bootstrap/less/responsive-utilities.less +194 -194
- package/src/android-bootstrap/less/scaffolding.less +161 -161
- package/src/android-bootstrap/less/tables.less +262 -262
- package/src/android-bootstrap/less/theme.less +291 -291
- package/src/android-bootstrap/less/thumbnails.less +36 -36
- package/src/android-bootstrap/less/tooltip.less +102 -102
- package/src/android-bootstrap/less/type.less +303 -303
- package/src/android-bootstrap/less/utilities.less +55 -55
- package/src/android-bootstrap/less/variables.less +896 -896
- package/src/android-bootstrap/less/wells.less +29 -29
- package/src/assets/biaohao.png +0 -0
- package/src/assets/bieming.png +0 -0
- package/src/assets/caozuo.png +0 -0
- package/src/assets/guige.png +0 -0
- package/src/assets/images/back.png +0 -0
- package/src/assets/images//345/201/234/346/260/224/345/205/254/345/221/212.png +0 -0
- package/src/assets/images//345/256/242/346/234/215/344/273/212/346/227/245/345/267/245/345/215/225.png +0 -0
- package/src/assets/images//345/256/242/346/234/215/345/234/250/347/272/277/345/244/204/347/220/206.png +0 -0
- package/src/assets/images//345/256/242/346/234/215/345/244/204/347/220/206/344/270/255.png +0 -0
- package/src/assets/images//345/256/242/346/234/215/345/256/214/346/210/220/347/216/207.png +0 -0
- package/src/assets/images//345/256/242/346/234/215/345/267/245/345/215/225/351/207/217.png +0 -0
- package/src/assets/images//345/256/242/346/234/215/345/267/262/345/256/214/346/210/220.png +0 -0
- package/src/assets/images//345/256/242/346/234/215/345/276/205/345/244/204/347/220/206.png +0 -0
- package/src/assets/images//345/256/242/346/234/215/346/264/276/345/215/225/351/207/217.png +0 -0
- package/src/assets/images//345/256/242/346/234/215/347/275/221/345/216/205/351/242/204/347/272/246/346/264/276/345/215/225/351/207/217.png +0 -0
- package/src/assets/images//345/261/205/346/260/221/345/242/236/351/225/277/345/210/206/346/236/220.png +0 -0
- package/src/assets/images//345/261/205/346/260/221/347/224/250/346/210/267.png +0 -0
- package/src/assets/images//346/224/266/350/264/271total1.png +0 -0
- package/src/assets/images//346/224/266/350/264/271total2.png +0 -0
- package/src/assets/images//346/224/266/350/264/271total3.png +0 -0
- package/src/assets/images//346/224/266/350/264/271/345/205/266/344/273/226/344/270/232/345/212/241.png +0 -0
- package/src/assets/images//346/224/266/350/264/271/345/224/256/346/260/224/351/207/217/345/210/206/346/236/220.png +0 -0
- package/src/assets/images//346/224/266/350/264/271/347/254/224/346/225/260/345/260/217/346/240/207/351/242/230.png +0 -0
- package/src/assets/images//347/224/250/346/210/2671.png +0 -0
- package/src/assets/images//351/235/236/345/261/205/346/260/221/347/224/250/346/210/267.png +0 -0
- package/src/assets/leixing.png +0 -0
- package/src/assets/loging.gif +0 -0
- package/src/assets/mingwen.png +0 -0
- package/src/assets/miwen.png +0 -0
- package/src/assets/phone.png +0 -0
- package/src/assets/pinpai.png +0 -0
- package/src/assets/pos/346/224/266/350/264/271.png +0 -0
- package/src/assets/qiliang.png +0 -0
- package/src/assets/shuaxindaiban1.png +0 -0
- package/src/assets/xinghao.png +0 -0
- package/src/assets/yue.png +0 -0
- package/src/assets//344/270/212/344/274/240/345/267/245/344/275/234/346/234/252/351/200/211/344/270/255.png +0 -0
- package/src/assets//344/270/212/344/274/240/345/267/245/344/275/234/351/200/211/344/270/255.png +0 -0
- package/src/assets//344/270/213/350/275/275/350/256/241/345/210/222.png +0 -0
- package/src/assets//344/270/223/351/241/271/345/256/211/346/243/200.png +0 -0
- package/src/assets//344/270/252/344/272/272/344/270/255/345/277/203.png +0 -0
- package/src/assets//344/270/264/346/227/266/345/256/211/346/243/200.png +0 -0
- package/src/assets//344/273/273/345/212/241/346/237/245/350/257/242.png +0 -0
- package/src/assets//344/275/260/346/227/272/345/276/267/345/205/266/344/273/226/347/274/264/350/264/271.png +0 -0
- package/src/assets//344/276/233/346/232/226/347/274/264/350/264/271.png +0 -0
- package/src/assets//344/277/241/346/201/257/345/205/254/345/221/212.png +0 -0
- package/src/assets//344/277/241/346/201/257/346/237/245/350/257/242.png +0 -0
- package/src/assets//344/277/256/346/224/271/345/257/206/347/240/201.png +0 -0
- package/src/assets//344/277/256/346/224/271/345/257/206/347/240/2011.png +0 -0
- package/src/assets//345/201/234/346/260/224/345/205/254/345/221/212.png +0 -0
- package/src/assets//345/205/254/345/221/212/346/237/245/347/234/213.png +0 -0
- package/src/assets//345/205/261/344/272/253/350/256/241/345/210/222.png +0 -0
- package/src/assets//345/205/266/344/273/226/347/274/264/350/264/271.png +0 -0
- package/src/assets//345/206/214/345/206/205/351/241/272/345/272/217/344/277/256/346/224/271.png +0 -0
- package/src/assets//345/207/272/345/205/267/350/256/276/350/256/241/345/233/276/347/272/270.png +0 -0
- package/src/assets//345/215/241/350/241/250/345/234/250/347/272/277/346/212/204/350/241/250.png +0 -0
- package/src/assets//345/217/226/346/266/210/350/207/252/345/212/250/347/231/273/345/275/225.png +0 -0
- package/src/assets//345/220/210/345/220/214/347/255/276/350/256/242.png +0 -0
- package/src/assets//345/234/250/347/272/277/344/270/232/345/212/241/346/234/252/351/200/211/344/270/255.png +0 -0
- package/src/assets//345/234/250/347/272/277/344/270/232/345/212/241/351/200/211/344/270/255.png +0 -0
- package/src/assets//345/234/250/347/272/277/345/256/211/346/243/200.png +0 -0
- package/src/assets//345/234/250/347/272/277/345/267/241/346/243/200.png +0 -0
- package/src/assets//345/234/250/347/272/277/346/212/204/350/241/250.png +0 -0
- package/src/assets//345/234/250/347/272/277/346/212/242/344/277/256.png +0 -0
- package/src/assets//345/234/250/347/272/277/346/212/245/350/243/205.png +0 -0
- package/src/assets//345/234/250/347/272/277/346/216/245/345/215/225.png +0 -0
- package/src/assets//345/234/250/347/272/277/346/223/215/344/275/234.png +0 -0
- package/src/assets//345/234/250/347/272/277/347/273/237/350/256/241.png +0 -0
- package/src/assets//345/234/250/347/272/277/347/273/264/344/277/256.png +0 -0
- package/src/assets//345/234/250/347/272/277/347/274/264/350/264/271.png +0 -0
- package/src/assets//345/234/250/347/272/277/351/200/232/346/260/224.png +0 -0
- package/src/assets//345/256/211/346/243/200/344/270/212/344/274/240.png +0 -0
- package/src/assets//345/256/211/346/243/200/345/234/250/347/272/277/347/273/237/350/256/241.png +0 -0
- package/src/assets//345/256/211/346/243/200/345/267/262/345/212/236.png +0 -0
- package/src/assets//345/256/211/346/243/200/345/276/205/345/212/236.png +0 -0
- package/src/assets//345/256/211/346/243/200/346/212/275/345/215/225.png +0 -0
- package/src/assets//345/256/211/346/243/200/346/237/245/347/234/213.png +0 -0
- package/src/assets//345/256/211/346/243/200/350/256/241/345/210/222.png +0 -0
- package/src/assets//345/256/211/346/243/200/350/256/241/345/210/222/345/210/227/350/241/250.png +0 -0
- package/src/assets//345/256/211/350/243/205/344/270/212/344/274/240.png +0 -0
- package/src/assets//345/256/211/350/243/205/345/267/262/345/212/236.png +0 -0
- package/src/assets//345/256/211/350/243/205/345/276/205/345/212/236.png +0 -0
- package/src/assets//345/256/217/350/257/255/351/232/220/346/202/243/345/244/204/347/220/206.png +0 -0
- package/src/assets//345/256/236/345/220/215/350/256/244/350/257/201.png +0 -0
- package/src/assets//345/256/242/346/234/215/347/256/241/347/220/206.png +0 -0
- package/src/assets//345/257/271/345/217/267.png +0 -0
- package/src/assets//345/257/274/345/207/272/346/225/260/346/215/256.png +0 -0
- package/src/assets//345/257/274/345/207/272/346/225/260/346/215/2561.png +0 -0
- package/src/assets//345/267/241/346/243/200/344/270/212/344/274/240.png +0 -0
- package/src/assets//345/267/241/346/243/200/345/267/262/345/212/236.png +0 -0
- package/src/assets//345/267/245/345/215/225/344/270/212/344/274/240.png +0 -0
- package/src/assets//345/267/245/347/250/213/345/217/221/350/265/267.png +0 -0
- package/src/assets//345/267/245/347/250/213/346/212/245/344/273/267.png +0 -0
- package/src/assets//345/267/245/347/250/213/346/226/275/345/267/245.png +0 -0
- package/src/assets//345/267/245/347/250/213/346/264/276/345/267/245.png +0 -0
- package/src/assets//345/267/262/345/212/236/345/267/245/344/275/234/346/234/252/351/200/211/344/270/255.png +0 -0
- package/src/assets//345/267/262/345/212/236/345/267/245/344/275/234/351/200/211/344/270/255.png +0 -0
- package/src/assets//345/267/262/345/212/236/345/267/245/345/215/225.png +0 -0
- package/src/assets//345/274/200/345/205/263/351/230/200.png +0 -0
- package/src/assets//345/275/242/347/212/2664.png +0 -0
- package/src/assets//345/276/205/345/212/236/345/267/245/344/275/234/346/234/252/351/200/211/344/270/255.png +0 -0
- package/src/assets//345/276/205/345/212/236/345/267/245/344/275/234/351/200/211/344/270/255.png +0 -0
- package/src/assets//345/276/205/345/212/236/345/267/245/345/215/225.png +0 -0
- package/src/assets//346/211/271/351/207/217/346/212/204/350/241/250.png +0 -0
- package/src/assets//346/212/204/350/241/250/344/270/212/344/274/240.png +0 -0
- package/src/assets//346/212/204/350/241/250/345/267/262/345/212/236.png +0 -0
- package/src/assets//346/212/204/350/241/250/345/276/205/345/212/236.png +0 -0
- package/src/assets//346/212/204/350/241/250/346/261/207/346/200/273.png +0 -0
- package/src/assets//346/212/204/350/241/250/350/256/260/345/275/225.png +0 -0
- package/src/assets//346/212/245/345/273/272/345/267/262/345/212/236.png +0 -0
- package/src/assets//346/212/245/345/273/272/345/276/205/345/212/236.png +0 -0
- package/src/assets//346/212/245/345/273/272/346/234/215/345/212/241.png +0 -0
- package/src/assets//346/214/207/344/273/244/346/237/245/347/234/213.png +0 -0
- package/src/assets//346/224/266/350/264/271/346/261/207/346/200/273/350/241/250.png +0 -0
- package/src/assets//346/224/266/350/264/271/350/256/260/345/275/225.png +0 -0
- package/src/assets//346/225/264/346/224/271/344/270/212/344/274/240.png +0 -0
- package/src/assets//346/225/264/346/224/271/345/267/262/345/212/236.png +0 -0
- package/src/assets//346/227/240/350/256/241/345/210/222/345/256/211/346/243/200.png +0 -0
- package/src/assets//346/227/245/346/212/245/346/237/245/350/257/242.png +0 -0
- package/src/assets//346/241/243/346/241/210/344/277/256/346/224/271.png +0 -0
- package/src/assets//346/264/201/350/203/275/351/232/220/346/202/243/345/244/204/347/220/206.png +0 -0
- package/src/assets//346/265/201/346/260/264/346/237/245/350/257/242.png +0 -0
- package/src/assets//346/265/201/347/250/213/344/270/232/345/212/241.png +0 -0
- package/src/assets//346/265/201/347/250/213/347/233/221/346/216/247.png +0 -0
- package/src/assets//346/270/205/347/251/272/346/225/260/346/215/256.png +0 -0
- package/src/assets//346/270/205/347/251/272/346/225/260/346/215/2561.png +0 -0
- package/src/assets//346/270/205/351/231/244/346/225/260/346/215/256.png +0 -0
- package/src/assets//347/202/271/347/201/253/345/267/262/345/212/236.png +0 -0
- package/src/assets//347/202/271/347/201/253/345/276/205/345/212/236.png +0 -0
- package/src/assets//347/216/260/345/234/272/345/213/230/345/257/237.png +0 -0
- package/src/assets//347/217/255/347/273/204/351/225/277/347/256/241/347/220/206/347/253/226/345/261/2173.png +0 -0
- package/src/assets//347/224/250/346/210/267/347/274/226/345/217/267.png +0 -0
- package/src/assets//347/247/273/345/212/250/346/212/204/350/241/250.png +0 -0
- package/src/assets//347/247/273/345/212/250/346/212/204/350/241/250/345/267/262/345/212/236.png +0 -0
- package/src/assets//347/253/231/347/202/271/345/267/245/345/215/225.png +0 -0
- package/src/assets//347/253/231/347/202/271/346/264/276/345/217/221.png +0 -0
- package/src/assets//347/255/276/345/255/227/345/276/205/345/212/236.png +0 -0
- package/src/assets//347/263/273/347/273/237/350/256/276/347/275/256/346/234/252/351/200/211/344/270/255.png +0 -0
- package/src/assets//347/263/273/347/273/237/350/256/276/347/275/256/351/200/211/344/270/255.png +0 -0
- package/src/assets//347/273/237/350/256/241/346/212/245/350/241/250.png +0 -0
- package/src/assets//347/273/264/344/277/256/344/270/212/344/274/240.png +0 -0
- package/src/assets//347/273/264/344/277/256/345/267/245/345/215/225/347/253/226/345/261/2173.png +0 -0
- package/src/assets//347/273/264/344/277/256/345/267/262/345/212/236.png +0 -0
- package/src/assets//347/273/264/344/277/256/345/276/205/345/212/236.png +0 -0
- package/src/assets//347/273/264/344/277/256/346/264/276/345/217/221.png +0 -0
- package/src/assets//347/275/256/346/215/242/344/270/212/344/274/240.png +0 -0
- package/src/assets//347/275/256/346/215/242/345/267/262/345/212/236.png +0 -0
- package/src/assets//347/275/256/346/215/242/345/276/205/345/212/236.png +0 -0
- package/src/assets//347/275/256/346/215/242/351/200/232/346/260/224/347/253/226/345/261/2173.png +0 -0
- package/src/assets//350/220/245/344/270/232/345/233/276/350/241/250.png +0 -0
- package/src/assets//350/241/250/345/206/214/351/241/272/345/272/217.png +0 -0
- package/src/assets//350/241/250/345/217/267 (7).png +0 -0
- package/src/assets//350/241/250/345/217/267.png +0 -0
- package/src/assets//350/260/203/344/273/267/350/241/245/345/267/256/347/274/264/350/264/271.png +0 -0
- package/src/assets//350/277/224/345/233/236.png +0 -0
- package/src/assets//350/277/224/345/233/236/346/241/214/351/235/242.png +0 -0
- package/src/assets//350/277/233/345/272/246/345/210/227/350/241/250.png +0 -0
- package/src/assets//351/200/200/345/207/272/347/231/273/345/275/225.png +0 -0
- package/src/assets//351/200/200/345/207/272/347/263/273/347/273/237.png +0 -0
- package/src/assets//351/200/200/345/207/272/347/263/273/347/273/2371.png +0 -0
- package/src/assets//351/200/201/346/260/224/344/270/212/344/274/240.png +0 -0
- package/src/assets//351/200/201/346/260/224/345/267/262/345/212/236.png +0 -0
- package/src/assets//351/200/201/346/260/224/345/276/205/345/212/236.png +0 -0
- package/src/assets//351/200/232/346/260/224/347/202/271/347/201/253.png +0 -0
- package/src/assets//351/224/231/345/217/267.png +0 -0
- package/src/assets//351/232/220/346/202/243/345/244/204/347/220/206.png +0 -0
- package/src/assets//351/232/220/346/202/243/346/225/264/346/224/271.png +0 -0
- package/src/assets//351/233/206/344/270/255/345/256/211/346/243/200.png +0 -0
- package/src/assets//351/233/206/344/270/255/345/256/211/346/243/2002.png +0 -0
- package/src/assets//351/253/230/345/257/206/345/205/254/345/221/212.png +0 -0
- package/src/bootstrap/fonts/glyphicons-halflings-regular.svg +287 -287
- package/src/bootstrap/less/.csscomb.json +304 -304
- package/src/bootstrap/less/.csslintrc +19 -19
- package/src/bootstrap/less/alerts.less +73 -73
- package/src/bootstrap/less/badges.less +66 -66
- package/src/bootstrap/less/bootstrap.less +56 -56
- package/src/bootstrap/less/breadcrumbs.less +26 -26
- package/src/bootstrap/less/button-groups.less +247 -247
- package/src/bootstrap/less/buttons.less +172 -172
- package/src/bootstrap/less/carousel.less +269 -269
- package/src/bootstrap/less/close.less +34 -34
- package/src/bootstrap/less/code.less +69 -69
- package/src/bootstrap/less/component-animations.less +33 -33
- package/src/bootstrap/less/dropdowns.less +216 -216
- package/src/bootstrap/less/forms.less +626 -626
- package/src/bootstrap/less/glyphicons.less +305 -305
- package/src/bootstrap/less/grid.less +84 -84
- package/src/bootstrap/less/input-groups.less +167 -167
- package/src/bootstrap/less/jumbotron.less +52 -52
- package/src/bootstrap/less/labels.less +64 -64
- package/src/bootstrap/less/list-group.less +141 -141
- package/src/bootstrap/less/media.less +66 -66
- package/src/bootstrap/less/mixins/alerts.less +14 -14
- package/src/bootstrap/less/mixins/background-variant.less +9 -9
- package/src/bootstrap/less/mixins/border-radius.less +18 -18
- package/src/bootstrap/less/mixins/buttons.less +69 -69
- package/src/bootstrap/less/mixins/center-block.less +7 -7
- package/src/bootstrap/less/mixins/clearfix.less +22 -22
- package/src/bootstrap/less/mixins/forms.less +90 -90
- package/src/bootstrap/less/mixins/gradients.less +59 -59
- package/src/bootstrap/less/mixins/grid-framework.less +92 -92
- package/src/bootstrap/less/mixins/grid.less +122 -122
- package/src/bootstrap/less/mixins/hide-text.less +21 -21
- package/src/bootstrap/less/mixins/image.less +33 -33
- package/src/bootstrap/less/mixins/labels.less +12 -12
- package/src/bootstrap/less/mixins/list-group.less +30 -30
- package/src/bootstrap/less/mixins/nav-divider.less +10 -10
- package/src/bootstrap/less/mixins/nav-vertical-align.less +9 -9
- package/src/bootstrap/less/mixins/opacity.less +8 -8
- package/src/bootstrap/less/mixins/pagination.less +24 -24
- package/src/bootstrap/less/mixins/panels.less +24 -24
- package/src/bootstrap/less/mixins/progress-bar.less +10 -10
- package/src/bootstrap/less/mixins/reset-filter.less +8 -8
- package/src/bootstrap/less/mixins/reset-text.less +18 -18
- package/src/bootstrap/less/mixins/resize.less +6 -6
- package/src/bootstrap/less/mixins/responsive-visibility.less +15 -15
- package/src/bootstrap/less/mixins/size.less +10 -10
- package/src/bootstrap/less/mixins/tab-focus.less +9 -9
- package/src/bootstrap/less/mixins/table-row.less +44 -44
- package/src/bootstrap/less/mixins/text-emphasis.less +9 -9
- package/src/bootstrap/less/mixins/text-overflow.less +8 -8
- package/src/bootstrap/less/mixins/vendor-prefixes.less +227 -227
- package/src/bootstrap/less/mixins.less +40 -40
- package/src/bootstrap/less/modals.less +151 -151
- package/src/bootstrap/less/navbar.less +660 -660
- package/src/bootstrap/less/navs.less +286 -286
- package/src/bootstrap/less/normalize.less +424 -424
- package/src/bootstrap/less/pager.less +76 -76
- package/src/bootstrap/less/pagination.less +89 -89
- package/src/bootstrap/less/panels.less +275 -275
- package/src/bootstrap/less/popovers.less +131 -131
- package/src/bootstrap/less/print.less +101 -101
- package/src/bootstrap/less/progress-bars.less +87 -87
- package/src/bootstrap/less/responsive-embed.less +35 -35
- package/src/bootstrap/less/responsive-utilities.less +194 -194
- package/src/bootstrap/less/scaffolding.less +161 -161
- package/src/bootstrap/less/tables.less +262 -262
- package/src/bootstrap/less/theme.less +291 -291
- package/src/bootstrap/less/thumbnails.less +36 -36
- package/src/bootstrap/less/tooltip.less +102 -102
- package/src/bootstrap/less/type.less +303 -303
- package/src/bootstrap/less/utilities.less +55 -55
- package/src/bootstrap/less/variables.less +895 -895
- package/src/bootstrap/less/wells.less +29 -29
- package/src/components/AloneLoadParams.vue +26 -26
- package/src/components/AlreadyService.vue +193 -0
- package/src/components/AttendManage.vue +397 -0
- package/src/components/LoadAppdata.vue +38 -38
- package/src/components/LoginApp.vue +625 -509
- package/src/components/LoginAppNew.vue +587 -0
- package/src/components/ModifyPassWord.vue +192 -180
- package/src/components/NavBottom.vue +117 -118
- package/src/components/NavBottomV.vue +141 -140
- package/src/components/NavBottomVVV.vue +185 -0
- package/src/components/OnlineManage.vue +198 -0
- package/src/components/PhoneChangemeterInfo.vue +116 -119
- package/src/components/PhoneInfoTable.vue +39 -36
- package/src/components/PhoneRepairInfo.vue +146 -0
- package/src/components/PhoneSellInfo.vue +123 -122
- package/src/components/PhoneSellInfoLite.vue +112 -0
- package/src/components/PhoneUser.vue +202 -0
- package/src/components/PhoneUserDetil.vue +70 -0
- package/src/components/PhoneUserFind.vue +138 -137
- package/src/components/RightTree.vue +214 -0
- package/src/components/SystemSetUp.vue +298 -113
- package/src/components/TabBarPhone.vue +81 -0
- package/src/components/Test.vue +14 -14
- package/src/components/ToolsPage.vue +165 -163
- package/src/components/UploadManage.vue +194 -0
- package/src/components/gaomi/NavBottomV.vue +223 -0
- package/src/components/gaomi/NavBottomVVVV.vue +210 -0
- package/src/components/gaomi/Scroller.vue +63 -0
- package/src/components/gaomi/SystemSetUp.vue +186 -0
- package/src/components/gaomi/ToolsPage.vue +168 -0
- package/src/components/idea/feedBack.vue +150 -0
- package/src/components/idea/feedbackAdd.vue +366 -0
- package/src/components/iot/InstructMessage.vue +313 -0
- package/src/components/iot/IotBaseInfo.vue +97 -0
- package/src/components/iot/IotMeterInfo.vue +77 -0
- package/src/components/iot/iotMonitoringMain.vue +501 -0
- package/src/components/online/ApplyOnline.vue +582 -0
- package/src/components/online/BJZhongRan/ApplyOnline.vue +601 -0
- package/src/components/screen/ChargeContentPage.vue +656 -0
- package/src/components/screen/ContentPage.vue +611 -0
- package/src/components/screen/GongdanContentPage.vue +149 -0
- package/src/components/screen/ListCountItem.vue +93 -0
- package/src/components/screen/ModuleTitle.vue +48 -0
- package/src/components/screen/SafeOrderContentPage.vue +440 -0
- package/src/components/screen/SecurityCheckItem.vue +50 -0
- package/src/components/screen/TotalItem.vue +76 -0
- package/src/components/screen/TotalUserNumber.vue +77 -0
- package/src/components/screen/WorkOrderItem.vue +51 -0
- package/src/components/screen/WorkOrderRightDownItem.vue +103 -0
- package/src/components/screen/WorkOrderRightItem.vue +115 -0
- package/src/components/userinfo/paymentQuery.vue +189 -0
- package/src/components/userinfo/queryFile.vue +190 -0
- package/src/components/wasm.vue +18 -18
- package/src/expandcssAndroid.less +521 -517
- package/src/image/touxiang.jpg +0 -0
- package/src/index.js +9 -7
- package/src/main.js +38 -35
- package/src/plugins/GetStringData.js +18 -18
- package/src/plugins/LoadParams.js +24 -24
- package/src/plugins/const.js +404 -0
- package/src/plugins/vue-py.js +37 -0
- package/src/services/ConfigService.js +24 -24
- package/src/stores/AppData.js +63 -73
- package/src/systemphone-gaomi.js +105 -0
- package/src/systemphone.js +58 -42
- package/src/systemphonegrid.js +186 -62
- package/src/util/LdapHelper.js +75 -0
- package/static/app.json +4 -4
- package/static/const.js +404 -0
- package/static/globals.txt +74 -74
- package/static/layui/css/layui.css +1 -0
- package/static/layui/css/modules/code.css +1 -0
- package/static/layui/css/modules/laydate/default/laydate.css +1 -0
- package/static/layui/css/modules/layer/default/icon-ext.png +0 -0
- package/static/layui/css/modules/layer/default/icon.png +0 -0
- package/static/layui/css/modules/layer/default/layer.css +1 -0
- package/static/layui/css/modules/layer/default/loading-0.gif +0 -0
- package/static/layui/css/modules/layer/default/loading-1.gif +0 -0
- package/static/layui/css/modules/layer/default/loading-2.gif +0 -0
- package/static/layui/font/iconfont.eot +0 -0
- package/static/layui/font/iconfont.svg +554 -0
- package/static/layui/font/iconfont.ttf +0 -0
- package/static/layui/font/iconfont.woff +0 -0
- package/static/layui/font/iconfont.woff2 +0 -0
- package/static/layui/layui.js +1 -0
- package/static/vue-py.js +37 -0
- package/static/wasm_exec.js +465 -465
- package/test/unit/.eslintrc +5 -5
- package/test/unit/TestUtil.js +35 -35
- package/test/unit/context.html +20 -20
- package/test/unit/index.js +13 -13
- package/test/unit/init.js +13 -13
- package/test/unit/karma.conf.js +50 -50
- package/test/unit/specs/App.spec.js +17 -17
- package/test/unit/specs/Test.spec.js +28 -28
- package/test/unit/specs/components/LoginApp.spec.js +21 -21
- package/test/unit/specs/sevices/ConfigService.spec.js +23 -23
- package/test/unit/specs/sevices/GetDBTest.spec.js +28 -28
- package/.npmignore +0 -9
- package/src/assets//347/202/271/347/201/253/351/200/232/346/260/224/347/253/226/345/261/2173.png +0 -0
- package/yarn.lock +0 -6399
- /package/src/assets//347/253/231/347/202/271/{346/264/276 → 345/267/245}/345/215/225/347/253/226/345/261/2173.png" +0 -0
|
@@ -1,49 +1,49 @@
|
|
|
1
|
-
var fs = require('fs')
|
|
2
|
-
var webpack = require('webpack')
|
|
3
|
-
var merge = require('webpack-merge')
|
|
4
|
-
var baseConfig = require('./webpack.base.conf')
|
|
5
|
-
var HtmlWebpackPlugin = require('html-webpack-plugin')
|
|
6
|
-
|
|
7
|
-
// add hot-reload related code to entry chunks
|
|
8
|
-
Object.keys(baseConfig.entry).forEach(function (name) {
|
|
9
|
-
baseConfig.entry[name] = ['./build/dev-client'].concat(baseConfig.entry[name])
|
|
10
|
-
})
|
|
11
|
-
|
|
12
|
-
// 把examples下所有index.html转换成测试例子.html
|
|
13
|
-
fs.readdirSync('./examples').forEach((file) => {
|
|
14
|
-
baseConfig.plugins.push(
|
|
15
|
-
// https://github.com/ampedandwired/html-webpack-plugin
|
|
16
|
-
new HtmlWebpackPlugin({
|
|
17
|
-
filename: file + '.html',
|
|
18
|
-
template: `examples/${file}/index.html`,
|
|
19
|
-
inject: false
|
|
20
|
-
})
|
|
21
|
-
)
|
|
22
|
-
})
|
|
23
|
-
|
|
24
|
-
// 把examples下子目录里的main.js打包成对应组件名的App.js
|
|
25
|
-
fs.readdirSync('./examples').forEach((file) => {
|
|
26
|
-
baseConfig.entry[file + 'App'] = `./examples/${file}/main.js`
|
|
27
|
-
})
|
|
28
|
-
|
|
29
|
-
module.exports = merge(baseConfig, {
|
|
30
|
-
// eval-source-map is faster for development
|
|
31
|
-
devtool: '#eval-source-map',
|
|
32
|
-
output: {
|
|
33
|
-
// necessary for the html plugin to work properly
|
|
34
|
-
// when serving the html from in-memory
|
|
35
|
-
publicPath: '/'
|
|
36
|
-
},
|
|
37
|
-
plugins: [
|
|
38
|
-
// https://github.com/glenjamin/webpack-hot-middleware#installation--usage
|
|
39
|
-
new webpack.optimize.OccurenceOrderPlugin(),
|
|
40
|
-
new webpack.HotModuleReplacementPlugin(),
|
|
41
|
-
new webpack.NoErrorsPlugin(),
|
|
42
|
-
// https://github.com/ampedandwired/html-webpack-plugin
|
|
43
|
-
new HtmlWebpackPlugin({
|
|
44
|
-
filename: 'index.html',
|
|
45
|
-
template: 'index.html',
|
|
46
|
-
inject: true
|
|
47
|
-
})
|
|
48
|
-
]
|
|
49
|
-
})
|
|
1
|
+
var fs = require('fs')
|
|
2
|
+
var webpack = require('webpack')
|
|
3
|
+
var merge = require('webpack-merge')
|
|
4
|
+
var baseConfig = require('./webpack.base.conf')
|
|
5
|
+
var HtmlWebpackPlugin = require('html-webpack-plugin')
|
|
6
|
+
|
|
7
|
+
// add hot-reload related code to entry chunks
|
|
8
|
+
Object.keys(baseConfig.entry).forEach(function (name) {
|
|
9
|
+
baseConfig.entry[name] = ['./build/dev-client'].concat(baseConfig.entry[name])
|
|
10
|
+
})
|
|
11
|
+
|
|
12
|
+
// 把examples下所有index.html转换成测试例子.html
|
|
13
|
+
fs.readdirSync('./examples').forEach((file) => {
|
|
14
|
+
baseConfig.plugins.push(
|
|
15
|
+
// https://github.com/ampedandwired/html-webpack-plugin
|
|
16
|
+
new HtmlWebpackPlugin({
|
|
17
|
+
filename: file + '.html',
|
|
18
|
+
template: `examples/${file}/index.html`,
|
|
19
|
+
inject: false
|
|
20
|
+
})
|
|
21
|
+
)
|
|
22
|
+
})
|
|
23
|
+
|
|
24
|
+
// 把examples下子目录里的main.js打包成对应组件名的App.js
|
|
25
|
+
fs.readdirSync('./examples').forEach((file) => {
|
|
26
|
+
baseConfig.entry[file + 'App'] = `./examples/${file}/main.js`
|
|
27
|
+
})
|
|
28
|
+
|
|
29
|
+
module.exports = merge(baseConfig, {
|
|
30
|
+
// eval-source-map is faster for development
|
|
31
|
+
devtool: '#eval-source-map',
|
|
32
|
+
output: {
|
|
33
|
+
// necessary for the html plugin to work properly
|
|
34
|
+
// when serving the html from in-memory
|
|
35
|
+
publicPath: '/'
|
|
36
|
+
},
|
|
37
|
+
plugins: [
|
|
38
|
+
// https://github.com/glenjamin/webpack-hot-middleware#installation--usage
|
|
39
|
+
new webpack.optimize.OccurenceOrderPlugin(),
|
|
40
|
+
new webpack.HotModuleReplacementPlugin(),
|
|
41
|
+
new webpack.NoErrorsPlugin(),
|
|
42
|
+
// https://github.com/ampedandwired/html-webpack-plugin
|
|
43
|
+
new HtmlWebpackPlugin({
|
|
44
|
+
filename: 'index.html',
|
|
45
|
+
template: 'index.html',
|
|
46
|
+
inject: true
|
|
47
|
+
})
|
|
48
|
+
]
|
|
49
|
+
})
|
|
@@ -1,60 +1,60 @@
|
|
|
1
|
-
var webpack = require('webpack')
|
|
2
|
-
var merge = require('webpack-merge')
|
|
3
|
-
var baseConfig = require('./webpack.base.conf')
|
|
4
|
-
var cssLoaders = require('./css-loaders')
|
|
5
|
-
var ExtractTextPlugin = require('extract-text-webpack-plugin')
|
|
6
|
-
var HtmlWebpackPlugin = require('html-webpack-plugin')
|
|
7
|
-
|
|
8
|
-
// whether to generate source map for production files.
|
|
9
|
-
// disabling this can speed up the build.
|
|
10
|
-
var SOURCE_MAP = false
|
|
11
|
-
|
|
12
|
-
module.exports = merge(baseConfig, {
|
|
13
|
-
stats: {
|
|
14
|
-
children: false
|
|
15
|
-
},
|
|
16
|
-
devtool: SOURCE_MAP ? '#source-map' : false,
|
|
17
|
-
output: {
|
|
18
|
-
// naming output files with hashes for better caching.
|
|
19
|
-
// dist/index.html will be auto-generated with correct URLs.
|
|
20
|
-
filename: '[name][chunkhash].js',
|
|
21
|
-
chunkFilename: '[id].[chunkhash].js'
|
|
22
|
-
},
|
|
23
|
-
vue: {
|
|
24
|
-
loaders: cssLoaders({
|
|
25
|
-
sourceMap: SOURCE_MAP,
|
|
26
|
-
extract: true
|
|
27
|
-
})
|
|
28
|
-
},
|
|
29
|
-
plugins: [
|
|
30
|
-
// http://vuejs.github.io/vue-loader/workflow/production.html
|
|
31
|
-
new webpack.DefinePlugin({
|
|
32
|
-
'process.env': {
|
|
33
|
-
NODE_ENV: '"production"'
|
|
34
|
-
}
|
|
35
|
-
}),
|
|
36
|
-
new webpack.optimize.UglifyJsPlugin({
|
|
37
|
-
compress: {
|
|
38
|
-
warnings: false
|
|
39
|
-
}
|
|
40
|
-
}),
|
|
41
|
-
new webpack.optimize.OccurenceOrderPlugin(),
|
|
42
|
-
// extract css into its own file
|
|
43
|
-
new ExtractTextPlugin('[name].css'),
|
|
44
|
-
// generate dist index.html with correct asset hash for caching.
|
|
45
|
-
// you can customize output by editing /index.html
|
|
46
|
-
// see https://github.com/ampedandwired/html-webpack-plugin
|
|
47
|
-
new HtmlWebpackPlugin({
|
|
48
|
-
filename: '../index.html',
|
|
49
|
-
template: 'index.html',
|
|
50
|
-
inject: true,
|
|
51
|
-
minify: {
|
|
52
|
-
removeComments: true,
|
|
53
|
-
collapseWhitespace: true,
|
|
54
|
-
removeAttributeQuotes: true
|
|
55
|
-
// more options:
|
|
56
|
-
// https://github.com/kangax/html-minifier#options-quick-reference
|
|
57
|
-
}
|
|
58
|
-
})
|
|
59
|
-
]
|
|
60
|
-
})
|
|
1
|
+
var webpack = require('webpack')
|
|
2
|
+
var merge = require('webpack-merge')
|
|
3
|
+
var baseConfig = require('./webpack.base.conf')
|
|
4
|
+
var cssLoaders = require('./css-loaders')
|
|
5
|
+
var ExtractTextPlugin = require('extract-text-webpack-plugin')
|
|
6
|
+
var HtmlWebpackPlugin = require('html-webpack-plugin')
|
|
7
|
+
|
|
8
|
+
// whether to generate source map for production files.
|
|
9
|
+
// disabling this can speed up the build.
|
|
10
|
+
var SOURCE_MAP = false
|
|
11
|
+
|
|
12
|
+
module.exports = merge(baseConfig, {
|
|
13
|
+
stats: {
|
|
14
|
+
children: false
|
|
15
|
+
},
|
|
16
|
+
devtool: SOURCE_MAP ? '#source-map' : false,
|
|
17
|
+
output: {
|
|
18
|
+
// naming output files with hashes for better caching.
|
|
19
|
+
// dist/index.html will be auto-generated with correct URLs.
|
|
20
|
+
filename: '[name][chunkhash].js',
|
|
21
|
+
chunkFilename: '[id].[chunkhash].js'
|
|
22
|
+
},
|
|
23
|
+
vue: {
|
|
24
|
+
loaders: cssLoaders({
|
|
25
|
+
sourceMap: SOURCE_MAP,
|
|
26
|
+
extract: true
|
|
27
|
+
})
|
|
28
|
+
},
|
|
29
|
+
plugins: [
|
|
30
|
+
// http://vuejs.github.io/vue-loader/workflow/production.html
|
|
31
|
+
new webpack.DefinePlugin({
|
|
32
|
+
'process.env': {
|
|
33
|
+
NODE_ENV: '"production"'
|
|
34
|
+
}
|
|
35
|
+
}),
|
|
36
|
+
new webpack.optimize.UglifyJsPlugin({
|
|
37
|
+
compress: {
|
|
38
|
+
warnings: false
|
|
39
|
+
}
|
|
40
|
+
}),
|
|
41
|
+
new webpack.optimize.OccurenceOrderPlugin(),
|
|
42
|
+
// extract css into its own file
|
|
43
|
+
new ExtractTextPlugin('[name].css'),
|
|
44
|
+
// generate dist index.html with correct asset hash for caching.
|
|
45
|
+
// you can customize output by editing /index.html
|
|
46
|
+
// see https://github.com/ampedandwired/html-webpack-plugin
|
|
47
|
+
new HtmlWebpackPlugin({
|
|
48
|
+
filename: '../index.html',
|
|
49
|
+
template: 'index.html',
|
|
50
|
+
inject: true,
|
|
51
|
+
minify: {
|
|
52
|
+
removeComments: true,
|
|
53
|
+
collapseWhitespace: true,
|
|
54
|
+
removeAttributeQuotes: true
|
|
55
|
+
// more options:
|
|
56
|
+
// https://github.com/kangax/html-minifier#options-quick-reference
|
|
57
|
+
}
|
|
58
|
+
})
|
|
59
|
+
]
|
|
60
|
+
})
|
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
// This is the webpack config used for unit tests.
|
|
2
|
-
|
|
3
|
-
var utils = require('./utils')
|
|
4
|
-
var webpack = require('webpack')
|
|
5
|
-
var merge = require('webpack-merge')
|
|
6
|
-
var baseConfig = require('./webpack.base.conf')
|
|
7
|
-
|
|
8
|
-
var webpackConfig = merge(baseConfig, {
|
|
9
|
-
module: {
|
|
10
|
-
rules: utils.styleLoaders()
|
|
11
|
-
},
|
|
12
|
-
// use inline sourcemap for karma-sourcemap-loader
|
|
13
|
-
devtool: '#inline-source-map',
|
|
14
|
-
resolveLoader: {
|
|
15
|
-
alias: {
|
|
16
|
-
// necessary to to make lang="scss" work in test when using vue-loader's ?inject option
|
|
17
|
-
// see discussion at https://github.com/vuejs/vue-loader/issues/724
|
|
18
|
-
'scss-loader': 'sass-loader'
|
|
19
|
-
}
|
|
20
|
-
},
|
|
21
|
-
plugins: [
|
|
22
|
-
new webpack.DefinePlugin({
|
|
23
|
-
'process.env': require('../config/test.env')
|
|
24
|
-
})
|
|
25
|
-
]
|
|
26
|
-
})
|
|
27
|
-
|
|
28
|
-
// no need for app entry during tests
|
|
29
|
-
delete webpackConfig.entry
|
|
30
|
-
|
|
31
|
-
module.exports = webpackConfig
|
|
1
|
+
// This is the webpack config used for unit tests.
|
|
2
|
+
|
|
3
|
+
var utils = require('./utils')
|
|
4
|
+
var webpack = require('webpack')
|
|
5
|
+
var merge = require('webpack-merge')
|
|
6
|
+
var baseConfig = require('./webpack.base.conf')
|
|
7
|
+
|
|
8
|
+
var webpackConfig = merge(baseConfig, {
|
|
9
|
+
module: {
|
|
10
|
+
rules: utils.styleLoaders()
|
|
11
|
+
},
|
|
12
|
+
// use inline sourcemap for karma-sourcemap-loader
|
|
13
|
+
devtool: '#inline-source-map',
|
|
14
|
+
resolveLoader: {
|
|
15
|
+
alias: {
|
|
16
|
+
// necessary to to make lang="scss" work in test when using vue-loader's ?inject option
|
|
17
|
+
// see discussion at https://github.com/vuejs/vue-loader/issues/724
|
|
18
|
+
'scss-loader': 'sass-loader'
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
plugins: [
|
|
22
|
+
new webpack.DefinePlugin({
|
|
23
|
+
'process.env': require('../config/test.env')
|
|
24
|
+
})
|
|
25
|
+
]
|
|
26
|
+
})
|
|
27
|
+
|
|
28
|
+
// no need for app entry during tests
|
|
29
|
+
delete webpackConfig.entry
|
|
30
|
+
|
|
31
|
+
module.exports = webpackConfig
|
package/build.gradle
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
buildscript {
|
|
2
|
-
repositories {
|
|
3
|
-
mavenCentral()
|
|
4
|
-
jcenter()
|
|
5
|
-
}
|
|
6
|
-
//使用Docker插件来构建Docker镜像,这样就可以直接在Gradle的脚本里配置Dockefile文件,
|
|
7
|
-
//之后就可以直接构建镜像了
|
|
8
|
-
dependencies {
|
|
9
|
-
classpath("se.transmode.gradle:gradle-docker:1.2")
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
version = '1.
|
|
14
|
-
|
|
15
|
-
apply plugin: 'java'
|
|
16
|
-
apply plugin: 'docker'
|
|
17
|
-
|
|
18
|
-
// 以命令行方式做镜像
|
|
19
|
-
task buildDocker(type:Exec) {
|
|
20
|
-
workingDir '.'
|
|
21
|
-
commandLine 'docker', 'build', '-t', jar.baseName + ':' + version, '.'
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
task release(type:Exec) {
|
|
25
|
-
workingDir '.'
|
|
26
|
-
commandLine 'cmd', '/c', 'release.bat ' + version
|
|
27
|
-
}
|
|
1
|
+
buildscript {
|
|
2
|
+
repositories {
|
|
3
|
+
mavenCentral()
|
|
4
|
+
jcenter()
|
|
5
|
+
}
|
|
6
|
+
//使用Docker插件来构建Docker镜像,这样就可以直接在Gradle的脚本里配置Dockefile文件,
|
|
7
|
+
//之后就可以直接构建镜像了
|
|
8
|
+
dependencies {
|
|
9
|
+
classpath("se.transmode.gradle:gradle-docker:1.2")
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
version = '1.2.56'
|
|
14
|
+
|
|
15
|
+
apply plugin: 'java'
|
|
16
|
+
apply plugin: 'docker'
|
|
17
|
+
|
|
18
|
+
// 以命令行方式做镜像
|
|
19
|
+
task buildDocker(type:Exec) {
|
|
20
|
+
workingDir '.'
|
|
21
|
+
commandLine 'docker', 'build', '-t', jar.baseName + ':' + version, '.'
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
task release(type:Exec) {
|
|
25
|
+
workingDir '.'
|
|
26
|
+
commandLine 'cmd', '/c', 'release.bat ' + version
|
|
27
|
+
}
|
package/config/dev.env.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
var merge = require('webpack-merge')
|
|
2
|
-
var prodEnv = require('./prod.env')
|
|
3
|
-
|
|
4
|
-
module.exports = merge(prodEnv, {
|
|
5
|
-
NODE_ENV: '"development"'
|
|
6
|
-
})
|
|
1
|
+
var merge = require('webpack-merge')
|
|
2
|
+
var prodEnv = require('./prod.env')
|
|
3
|
+
|
|
4
|
+
module.exports = merge(prodEnv, {
|
|
5
|
+
NODE_ENV: '"development"'
|
|
6
|
+
})
|
package/config/index.js
CHANGED
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
// see http://vuejs-templates.github.io/webpack for documentation.
|
|
2
|
-
var path = require('path')
|
|
3
|
-
|
|
4
|
-
module.exports = {
|
|
5
|
-
build: {
|
|
6
|
-
env: require('./prod.env'),
|
|
7
|
-
index: path.resolve(__dirname, '../dist/index.html'),
|
|
8
|
-
assetsRoot: path.resolve(__dirname, '../dist'),
|
|
9
|
-
assetsSubDirectory: 'static',
|
|
10
|
-
assetsPublicPath: '/',
|
|
11
|
-
productionSourceMap: true,
|
|
12
|
-
// Gzip off by default as many popular static hosts such as
|
|
13
|
-
// Surge or Netlify already gzip all static assets for you.
|
|
14
|
-
// Before setting to `true`, make sure to:
|
|
15
|
-
// npm install --save-dev compression-webpack-plugin
|
|
16
|
-
productionGzip: false,
|
|
17
|
-
productionGzipExtensions: ['js', 'css'],
|
|
18
|
-
// Run the build command with an extra argument to
|
|
19
|
-
// View the bundle analyzer report after build finishes:
|
|
20
|
-
// `npm run build --report`
|
|
21
|
-
// Set to `true` or `false` to always turn it on or off
|
|
22
|
-
bundleAnalyzerReport: process.env.npm_config_report
|
|
23
|
-
},
|
|
24
|
-
dev: {
|
|
25
|
-
env: require('./dev.env'),
|
|
26
|
-
port: 8080,
|
|
27
|
-
autoOpenBrowser: true,
|
|
28
|
-
assetsSubDirectory: 'static',
|
|
29
|
-
assetsPublicPath: '/',
|
|
30
|
-
proxyTable: {},
|
|
31
|
-
// CSS Sourcemaps off by default because relative paths are "buggy"
|
|
32
|
-
// with this option, according to the CSS-Loader README
|
|
33
|
-
// (https://github.com/webpack/css-loader#sourcemaps)
|
|
34
|
-
// In our experience, they generally work as expected,
|
|
35
|
-
// just be aware of this issue when enabling this option.
|
|
36
|
-
cssSourceMap: false
|
|
37
|
-
}
|
|
38
|
-
}
|
|
1
|
+
// see http://vuejs-templates.github.io/webpack for documentation.
|
|
2
|
+
var path = require('path')
|
|
3
|
+
|
|
4
|
+
module.exports = {
|
|
5
|
+
build: {
|
|
6
|
+
env: require('./prod.env'),
|
|
7
|
+
index: path.resolve(__dirname, '../dist/index.html'),
|
|
8
|
+
assetsRoot: path.resolve(__dirname, '../dist'),
|
|
9
|
+
assetsSubDirectory: 'static',
|
|
10
|
+
assetsPublicPath: '/',
|
|
11
|
+
productionSourceMap: true,
|
|
12
|
+
// Gzip off by default as many popular static hosts such as
|
|
13
|
+
// Surge or Netlify already gzip all static assets for you.
|
|
14
|
+
// Before setting to `true`, make sure to:
|
|
15
|
+
// npm install --save-dev compression-webpack-plugin
|
|
16
|
+
productionGzip: false,
|
|
17
|
+
productionGzipExtensions: ['js', 'css'],
|
|
18
|
+
// Run the build command with an extra argument to
|
|
19
|
+
// View the bundle analyzer report after build finishes:
|
|
20
|
+
// `npm run build --report`
|
|
21
|
+
// Set to `true` or `false` to always turn it on or off
|
|
22
|
+
bundleAnalyzerReport: process.env.npm_config_report
|
|
23
|
+
},
|
|
24
|
+
dev: {
|
|
25
|
+
env: require('./dev.env'),
|
|
26
|
+
port: 8080,
|
|
27
|
+
autoOpenBrowser: true,
|
|
28
|
+
assetsSubDirectory: 'static',
|
|
29
|
+
assetsPublicPath: '/',
|
|
30
|
+
proxyTable: {},
|
|
31
|
+
// CSS Sourcemaps off by default because relative paths are "buggy"
|
|
32
|
+
// with this option, according to the CSS-Loader README
|
|
33
|
+
// (https://github.com/webpack/css-loader#sourcemaps)
|
|
34
|
+
// In our experience, they generally work as expected,
|
|
35
|
+
// just be aware of this issue when enabling this option.
|
|
36
|
+
cssSourceMap: false
|
|
37
|
+
}
|
|
38
|
+
}
|
package/config/prod.env.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
NODE_ENV: '"production"'
|
|
3
|
-
}
|
|
1
|
+
module.exports = {
|
|
2
|
+
NODE_ENV: '"production"'
|
|
3
|
+
}
|
package/config/test.env.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
var merge = require('webpack-merge')
|
|
2
|
-
var devEnv = require('./dev.env')
|
|
3
|
-
|
|
4
|
-
module.exports = merge(devEnv, {
|
|
5
|
-
NODE_ENV: '"testing"'
|
|
6
|
-
})
|
|
1
|
+
var merge = require('webpack-merge')
|
|
2
|
+
var devEnv = require('./dev.env')
|
|
3
|
+
|
|
4
|
+
module.exports = merge(devEnv, {
|
|
5
|
+
NODE_ENV: '"testing"'
|
|
6
|
+
})
|
|
Binary file
|
package/gradlew
ADDED
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
#!/usr/bin/env sh
|
|
2
|
+
|
|
3
|
+
#
|
|
4
|
+
# Copyright 2015 the original author or authors.
|
|
5
|
+
#
|
|
6
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
7
|
+
# you may not use this file except in compliance with the License.
|
|
8
|
+
# You may obtain a copy of the License at
|
|
9
|
+
#
|
|
10
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
#
|
|
12
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
13
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
14
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
+
# See the License for the specific language governing permissions and
|
|
16
|
+
# limitations under the License.
|
|
17
|
+
#
|
|
18
|
+
|
|
19
|
+
##############################################################################
|
|
20
|
+
##
|
|
21
|
+
## Gradle start up script for UN*X
|
|
22
|
+
##
|
|
23
|
+
##############################################################################
|
|
24
|
+
|
|
25
|
+
# Attempt to set APP_HOME
|
|
26
|
+
# Resolve links: $0 may be a link
|
|
27
|
+
PRG="$0"
|
|
28
|
+
# Need this for relative symlinks.
|
|
29
|
+
while [ -h "$PRG" ] ; do
|
|
30
|
+
ls=`ls -ld "$PRG"`
|
|
31
|
+
link=`expr "$ls" : '.*-> \(.*\)$'`
|
|
32
|
+
if expr "$link" : '/.*' > /dev/null; then
|
|
33
|
+
PRG="$link"
|
|
34
|
+
else
|
|
35
|
+
PRG=`dirname "$PRG"`"/$link"
|
|
36
|
+
fi
|
|
37
|
+
done
|
|
38
|
+
SAVED="`pwd`"
|
|
39
|
+
cd "`dirname \"$PRG\"`/" >/dev/null
|
|
40
|
+
APP_HOME="`pwd -P`"
|
|
41
|
+
cd "$SAVED" >/dev/null
|
|
42
|
+
|
|
43
|
+
APP_NAME="Gradle"
|
|
44
|
+
APP_BASE_NAME=`basename "$0"`
|
|
45
|
+
|
|
46
|
+
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
|
|
47
|
+
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
|
|
48
|
+
|
|
49
|
+
# Use the maximum available, or set MAX_FD != -1 to use that value.
|
|
50
|
+
MAX_FD="maximum"
|
|
51
|
+
|
|
52
|
+
warn () {
|
|
53
|
+
echo "$*"
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
die () {
|
|
57
|
+
echo
|
|
58
|
+
echo "$*"
|
|
59
|
+
echo
|
|
60
|
+
exit 1
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
# OS specific support (must be 'true' or 'false').
|
|
64
|
+
cygwin=false
|
|
65
|
+
msys=false
|
|
66
|
+
darwin=false
|
|
67
|
+
nonstop=false
|
|
68
|
+
case "`uname`" in
|
|
69
|
+
CYGWIN* )
|
|
70
|
+
cygwin=true
|
|
71
|
+
;;
|
|
72
|
+
Darwin* )
|
|
73
|
+
darwin=true
|
|
74
|
+
;;
|
|
75
|
+
MINGW* )
|
|
76
|
+
msys=true
|
|
77
|
+
;;
|
|
78
|
+
NONSTOP* )
|
|
79
|
+
nonstop=true
|
|
80
|
+
;;
|
|
81
|
+
esac
|
|
82
|
+
|
|
83
|
+
CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
|
|
84
|
+
|
|
85
|
+
# Determine the Java command to use to start the JVM.
|
|
86
|
+
if [ -n "$JAVA_HOME" ] ; then
|
|
87
|
+
if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
|
|
88
|
+
# IBM's JDK on AIX uses strange locations for the executables
|
|
89
|
+
JAVACMD="$JAVA_HOME/jre/sh/java"
|
|
90
|
+
else
|
|
91
|
+
JAVACMD="$JAVA_HOME/bin/java"
|
|
92
|
+
fi
|
|
93
|
+
if [ ! -x "$JAVACMD" ] ; then
|
|
94
|
+
die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
|
|
95
|
+
|
|
96
|
+
Please set the JAVA_HOME variable in your environment to match the
|
|
97
|
+
location of your Java installation."
|
|
98
|
+
fi
|
|
99
|
+
else
|
|
100
|
+
JAVACMD="java"
|
|
101
|
+
which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
|
|
102
|
+
|
|
103
|
+
Please set the JAVA_HOME variable in your environment to match the
|
|
104
|
+
location of your Java installation."
|
|
105
|
+
fi
|
|
106
|
+
|
|
107
|
+
# Increase the maximum file descriptors if we can.
|
|
108
|
+
if [ "$cygwin" = "false" -a "$darwin" = "false" -a "$nonstop" = "false" ] ; then
|
|
109
|
+
MAX_FD_LIMIT=`ulimit -H -n`
|
|
110
|
+
if [ $? -eq 0 ] ; then
|
|
111
|
+
if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
|
|
112
|
+
MAX_FD="$MAX_FD_LIMIT"
|
|
113
|
+
fi
|
|
114
|
+
ulimit -n $MAX_FD
|
|
115
|
+
if [ $? -ne 0 ] ; then
|
|
116
|
+
warn "Could not set maximum file descriptor limit: $MAX_FD"
|
|
117
|
+
fi
|
|
118
|
+
else
|
|
119
|
+
warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
|
|
120
|
+
fi
|
|
121
|
+
fi
|
|
122
|
+
|
|
123
|
+
# For Darwin, add options to specify how the application appears in the dock
|
|
124
|
+
if $darwin; then
|
|
125
|
+
GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
|
|
126
|
+
fi
|
|
127
|
+
|
|
128
|
+
# For Cygwin or MSYS, switch paths to Windows format before running java
|
|
129
|
+
if [ "$cygwin" = "true" -o "$msys" = "true" ] ; then
|
|
130
|
+
APP_HOME=`cygpath --path --mixed "$APP_HOME"`
|
|
131
|
+
CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
|
|
132
|
+
JAVACMD=`cygpath --unix "$JAVACMD"`
|
|
133
|
+
|
|
134
|
+
# We build the pattern for arguments to be converted via cygpath
|
|
135
|
+
ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
|
|
136
|
+
SEP=""
|
|
137
|
+
for dir in $ROOTDIRSRAW ; do
|
|
138
|
+
ROOTDIRS="$ROOTDIRS$SEP$dir"
|
|
139
|
+
SEP="|"
|
|
140
|
+
done
|
|
141
|
+
OURCYGPATTERN="(^($ROOTDIRS))"
|
|
142
|
+
# Add a user-defined pattern to the cygpath arguments
|
|
143
|
+
if [ "$GRADLE_CYGPATTERN" != "" ] ; then
|
|
144
|
+
OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
|
|
145
|
+
fi
|
|
146
|
+
# Now convert the arguments - kludge to limit ourselves to /bin/sh
|
|
147
|
+
i=0
|
|
148
|
+
for arg in "$@" ; do
|
|
149
|
+
CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
|
|
150
|
+
CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
|
|
151
|
+
|
|
152
|
+
if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
|
|
153
|
+
eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
|
|
154
|
+
else
|
|
155
|
+
eval `echo args$i`="\"$arg\""
|
|
156
|
+
fi
|
|
157
|
+
i=`expr $i + 1`
|
|
158
|
+
done
|
|
159
|
+
case $i in
|
|
160
|
+
0) set -- ;;
|
|
161
|
+
1) set -- "$args0" ;;
|
|
162
|
+
2) set -- "$args0" "$args1" ;;
|
|
163
|
+
3) set -- "$args0" "$args1" "$args2" ;;
|
|
164
|
+
4) set -- "$args0" "$args1" "$args2" "$args3" ;;
|
|
165
|
+
5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
|
|
166
|
+
6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
|
|
167
|
+
7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
|
|
168
|
+
8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
|
|
169
|
+
9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
|
|
170
|
+
esac
|
|
171
|
+
fi
|
|
172
|
+
|
|
173
|
+
# Escape application args
|
|
174
|
+
save () {
|
|
175
|
+
for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done
|
|
176
|
+
echo " "
|
|
177
|
+
}
|
|
178
|
+
APP_ARGS=`save "$@"`
|
|
179
|
+
|
|
180
|
+
# Collect all arguments for the java command, following the shell quoting and substitution rules
|
|
181
|
+
eval set -- $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS "\"-Dorg.gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain "$APP_ARGS"
|
|
182
|
+
|
|
183
|
+
exec "$JAVACMD" "$@"
|