system-clients 3.2.14 → 3.2.17

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/package.json CHANGED
@@ -1,104 +1,104 @@
1
- {
2
- "name": "system-clients",
3
- "version": "3.2.14",
4
- "description": "系统基础框架",
5
- "main": "src/index.js",
6
- "directories": {
7
- "doc": "doc",
8
- "example": "examples",
9
- "test": "test"
10
- },
11
- "scripts": {
12
- "example": "node build/example-server.js",
13
- "dev": "node build/dev-server.js",
14
- "lint": "eslint src/**.js test/e2e/**.js test/unit/specs/** build/**.js",
15
- "build": "rimraf dist && mkdirp dist && ncp static dist/static && cross-env NODE_ENV=production webpack --progress --hide-modules --config build/webpack.prod.conf.js",
16
- "e2e": "node test/e2e/runner.js",
17
- "unit": "karma start test/unit/karma.conf.js",
18
- "release": "npm set registry http://registry.npmjs.org && npm publish && npm set registry http://registry.npm.taobao.org"
19
- },
20
- "dependencies": {
21
- "base64-js": "^1.3.0",
22
- "js-base64": "^2.4.9",
23
- "less": "^2.7.1",
24
- "less-loader": "^2.2.3",
25
- "nyc": "^15.1.0",
26
- "src": "^1.1.2",
27
- "vue": "^1.0.17"
28
- },
29
- "devDependencies": {
30
- "babel-core": "^6.0.0",
31
- "babel-loader": "^6.0.0",
32
- "babel-plugin-transform-runtime": "^6.0.0",
33
- "babel-preset-es2015": "^6.0.0",
34
- "babel-preset-stage-2": "^6.0.0",
35
- "chai": "^3.5.0",
36
- "connect-history-api-fallback": "^1.1.0",
37
- "cross-env": "^1.0.7",
38
- "cross-spawn": "^2.1.5",
39
- "css-loader": "^0.23.0",
40
- "eslint": "^2.0.0",
41
- "eslint-config-standard": "^5.1.0",
42
- "eslint-friendly-formatter": "^1.2.2",
43
- "eslint-loader": "^1.3.0",
44
- "eslint-plugin-html": "^1.3.0",
45
- "eslint-plugin-promise": "^1.0.8",
46
- "eslint-plugin-standard": "^1.3.2",
47
- "eslint-plugin-vue": "^0.1.1",
48
- "eventsource-polyfill": "^0.9.6",
49
- "express": "^4.13.3",
50
- "extract-text-webpack-plugin": "^1.0.1",
51
- "file-loader": "^0.8.4",
52
- "function-bind": "^1.0.2",
53
- "html-webpack-plugin": "^2.8.1",
54
- "http-proxy-middleware": "^0.11.0",
55
- "inject-loader": "^2.0.1",
56
- "isparta-loader": "^2.0.0",
57
- "jasmine-core": "^2.4.1",
58
- "jquery": "^3.3.1",
59
- "jsencrypt": "^3.0.0-rc.1",
60
- "json-loader": "^0.5.4",
61
- "karma": "^1.4.1",
62
- "karma-chrome-launcher": "^2.2.0",
63
- "karma-coverage": "^1.1.1",
64
- "karma-mocha": "^1.3.0",
65
- "karma-sinon-chai": "^1.3.1",
66
- "karma-sourcemap-loader": "^0.3.7",
67
- "karma-spec-reporter": "0.0.31",
68
- "karma-webpack": "^2.0.2",
69
- "manage-client": "^1.4.20",
70
- "mkdirp": "^0.5.1",
71
- "mocha": "^3.2.0",
72
- "ncp": "^2.0.0",
73
- "nightwatch": "^0.8.18",
74
- "rimraf": "^2.5.0",
75
- "selenium-server": "2.52.0",
76
- "sinon": "^2.1.0",
77
- "sinon-chai": "^2.8.0",
78
- "style": "0.0.3",
79
- "style-loader": "^0.20.3",
80
- "url-loader": "^0.5.7",
81
- "vue-client": "1.24.53",
82
- "vue-hot-reload-api": "^1.2.0",
83
- "vue-html-loader": "^1.0.0",
84
- "vue-loader": "^8.2.1",
85
- "vue-resource": "^1.5.0",
86
- "vue-router": "^0.7.13",
87
- "vue-strap": "^1.0.9",
88
- "vue-style-loader": "^1.0.0",
89
- "vue-validator": "2.1.7",
90
- "webpack": "^1.12.2",
91
- "webpack-dev-middleware": "^1.4.0",
92
- "webpack-hot-middleware": "^2.6.0",
93
- "webpack-merge": "^0.8.3"
94
- },
95
- "repository": {
96
- "type": "git",
97
- "url": "https://gitee.com/aotu/System"
98
- },
99
- "keywords": [
100
- "system_clients"
101
- ],
102
- "author": "杨文宇",
103
- "license": "ISC"
104
- }
1
+ {
2
+ "name": "system-clients",
3
+ "version": "3.2.17",
4
+ "description": "系统基础框架",
5
+ "main": "src/index.js",
6
+ "directories": {
7
+ "doc": "doc",
8
+ "example": "examples",
9
+ "test": "test"
10
+ },
11
+ "scripts": {
12
+ "example": "node build/example-server.js",
13
+ "dev": "node build/dev-server.js",
14
+ "lint": "eslint src/**.js test/e2e/**.js test/unit/specs/** build/**.js",
15
+ "build": "rimraf dist && mkdirp dist && ncp static dist/static && cross-env NODE_ENV=production webpack --progress --hide-modules --config build/webpack.prod.conf.js",
16
+ "e2e": "node test/e2e/runner.js",
17
+ "unit": "karma start test/unit/karma.conf.js",
18
+ "release": "npm set registry http://registry.npmjs.org && npm publish && npm set registry http://registry.npm.taobao.org"
19
+ },
20
+ "dependencies": {
21
+ "base64-js": "^1.3.0",
22
+ "js-base64": "^2.4.9",
23
+ "less": "^2.7.1",
24
+ "less-loader": "^2.2.3",
25
+ "nyc": "^15.1.0",
26
+ "src": "^1.1.2",
27
+ "vue": "^1.0.17"
28
+ },
29
+ "devDependencies": {
30
+ "babel-core": "^6.0.0",
31
+ "babel-loader": "^6.0.0",
32
+ "babel-plugin-transform-runtime": "^6.0.0",
33
+ "babel-preset-es2015": "^6.0.0",
34
+ "babel-preset-stage-2": "^6.0.0",
35
+ "chai": "^3.5.0",
36
+ "connect-history-api-fallback": "^1.1.0",
37
+ "cross-env": "^1.0.7",
38
+ "cross-spawn": "^2.1.5",
39
+ "css-loader": "^0.23.0",
40
+ "eslint": "^2.0.0",
41
+ "eslint-config-standard": "^5.1.0",
42
+ "eslint-friendly-formatter": "^1.2.2",
43
+ "eslint-loader": "^1.3.0",
44
+ "eslint-plugin-html": "^1.3.0",
45
+ "eslint-plugin-promise": "^1.0.8",
46
+ "eslint-plugin-standard": "^1.3.2",
47
+ "eslint-plugin-vue": "^0.1.1",
48
+ "eventsource-polyfill": "^0.9.6",
49
+ "express": "^4.13.3",
50
+ "extract-text-webpack-plugin": "^1.0.1",
51
+ "file-loader": "^0.8.4",
52
+ "function-bind": "^1.0.2",
53
+ "html-webpack-plugin": "^2.8.1",
54
+ "http-proxy-middleware": "^0.11.0",
55
+ "inject-loader": "^2.0.1",
56
+ "isparta-loader": "^2.0.0",
57
+ "jasmine-core": "^2.4.1",
58
+ "jquery": "^3.3.1",
59
+ "jsencrypt": "^3.0.0-rc.1",
60
+ "json-loader": "^0.5.4",
61
+ "karma": "^1.4.1",
62
+ "karma-chrome-launcher": "^2.2.0",
63
+ "karma-coverage": "^1.1.1",
64
+ "karma-mocha": "^1.3.0",
65
+ "karma-sinon-chai": "^1.3.1",
66
+ "karma-sourcemap-loader": "^0.3.7",
67
+ "karma-spec-reporter": "0.0.31",
68
+ "karma-webpack": "^2.0.2",
69
+ "manage-client": "^1.4.20",
70
+ "mkdirp": "^0.5.1",
71
+ "mocha": "^3.2.0",
72
+ "ncp": "^2.0.0",
73
+ "nightwatch": "^0.8.18",
74
+ "rimraf": "^2.5.0",
75
+ "selenium-server": "2.52.0",
76
+ "sinon": "^2.1.0",
77
+ "sinon-chai": "^2.8.0",
78
+ "style": "0.0.3",
79
+ "style-loader": "^0.20.3",
80
+ "url-loader": "^0.5.7",
81
+ "vue-client": "1.24.53",
82
+ "vue-hot-reload-api": "^1.2.0",
83
+ "vue-html-loader": "^1.0.0",
84
+ "vue-loader": "^8.2.1",
85
+ "vue-resource": "^1.5.0",
86
+ "vue-router": "^0.7.13",
87
+ "vue-strap": "^1.0.9",
88
+ "vue-style-loader": "^1.0.0",
89
+ "vue-validator": "2.1.7",
90
+ "webpack": "^1.12.2",
91
+ "webpack-dev-middleware": "^1.4.0",
92
+ "webpack-hot-middleware": "^2.6.0",
93
+ "webpack-merge": "^0.8.3"
94
+ },
95
+ "repository": {
96
+ "type": "git",
97
+ "url": "https://gitee.com/aotu/System"
98
+ },
99
+ "keywords": [
100
+ "system_clients"
101
+ ],
102
+ "author": "杨文宇",
103
+ "license": "ISC"
104
+ }
package/src/App.vue CHANGED
@@ -1,24 +1,24 @@
1
- <template>
2
- <app-base class="bg">
3
- <div class='flex'>
4
- <article>
5
- <!--<route :comp="{name: 'check-model'}"></route>-->
6
- <!--<route :comp="{name: 'vender-management'}"></route>-->
7
- <route :comp="{name: 'login'}"></route>
8
- <!-- <route :comp="{name: 'load-data'}"></route> -->
9
- <!-- <route :comp="{name: 'load-params', props: {componentName: 'login'}}"></route> -->
10
- <!-- <route :comp="{name: 'load-params', props: {dataUrl: ['rs/sql/getMeterBrand','rs/sql/getPriceType','rs/sql/getMeterStyle'], componentName: 'login'}}"></route> -->
11
- </article>
12
- </div>
13
- </app-base>
14
- </template>
15
-
16
- <script>
17
- // import cardListen from './plugins/CardListen'
18
-
19
- export default {
20
- // ready () {
21
- // cardListen.startListen()
22
- // }
23
- }
24
- </script>
1
+ <template>
2
+ <app-base class="bg">
3
+ <div class='flex'>
4
+ <article>
5
+ <!--<route :comp="{name: 'check-model'}"></route>-->
6
+ <!--<route :comp="{name: 'vender-management'}"></route>-->
7
+ <route :comp="{name: 'login'}"></route>
8
+ <!-- <route :comp="{name: 'load-data'}"></route> -->
9
+ <!-- <route :comp="{name: 'load-params', props: {componentName: 'login'}}"></route> -->
10
+ <!-- <route :comp="{name: 'load-params', props: {dataUrl: ['rs/sql/getMeterBrand','rs/sql/getPriceType','rs/sql/getMeterStyle'], componentName: 'login'}}"></route> -->
11
+ </article>
12
+ </div>
13
+ </app-base>
14
+ </template>
15
+
16
+ <script>
17
+ // import cardListen from './plugins/CardListen'
18
+
19
+ export default {
20
+ // ready () {
21
+ // cardListen.startListen()
22
+ // }
23
+ }
24
+ </script>
@@ -89,7 +89,6 @@
89
89
  <!-- <li>{{name}}</li> -->
90
90
  <li>{{ date }}</li>
91
91
  <li @click="openUrl()">售后服务</li>
92
- <li @click="clearCache()">清除缓存</li>
93
92
  <li @click="qrCode=true">APP二维码</li>
94
93
  <li @click="show=true">修改密码</li>
95
94
  <li @click="AddChangeMsgShow=true">系统版本:V3.0</li>
@@ -467,9 +466,6 @@ export default {
467
466
  window.location.reload()
468
467
  }
469
468
  })
470
- },
471
- clearCache() {
472
- this.$resetpost('rs/search/clearCache', { userid: this.$login.f.id }, { resolveMsg: '清除缓存成功', rejectMsg: '清除缓存失败,请重试' })
473
469
  }
474
470
  },
475
471
  computed: {
@@ -516,374 +516,4 @@ export default {
516
516
  </script>
517
517
 
518
518
  <style>
519
-
520
- /*输入框样式*/
521
- /*@import url(http://fonts.useso.com/css?family=Source+Sans+Pro:200,300);*/
522
- * {
523
- box-sizing: border-box;
524
- margin: 0;
525
- padding: 0;
526
- font-weight: 400;
527
- outline: none;
528
- }
529
-
530
- body {
531
- font-family: 'Source Sans Pro', sans-serif;
532
- color: white;
533
- font-weight: 400;
534
- }
535
-
536
- body ::-webkit-input-placeholder {
537
- /* WebKit browsers */
538
- font-family: 'Source Sans Pro', sans-serif;
539
- color: white;
540
- font-weight: 400;
541
- }
542
-
543
- body :-moz-placeholder {
544
- /* Mozilla Firefox 4 to 18 */
545
- font-family: 'Source Sans Pro', sans-serif;
546
- color: white;
547
- opacity: 1;
548
- font-weight: 400;
549
- }
550
-
551
- body ::-moz-placeholder {
552
- /* Mozilla Firefox 19+ */
553
- font-family: 'Source Sans Pro', sans-serif;
554
- color: white;
555
- opacity: 1;
556
- font-weight: 400;
557
- }
558
-
559
- body :-ms-input-placeholder {
560
- /* Internet Explorer 10+ */
561
- font-family: 'Source Sans Pro', sans-serif;
562
- color: white;
563
- font-weight: 400;
564
- }
565
-
566
- .wrapper {
567
- /*background: #2D83BA;
568
- background: -webkit-linear-gradient(top left, #2D83BA 0%, #2D83BA 100%);
569
- background: linear-gradient(to bottom right, #2D83BA 0%, #2D83BA 100%);
570
- opacity: 0.8;*/
571
- position: absolute;
572
- top: 50%;
573
- right: -60px;
574
- width: 40%;
575
- height: 400px;
576
- margin-top: -150px;
577
- overflow: hidden;
578
-
579
- }
580
-
581
- .wrapper.form-success .container h3 {
582
- -webkit-transform: translateY(85px);
583
- -ms-transform: translateY(85px);
584
- transform: translateY(85px);
585
- }
586
-
587
- .container {
588
- max-width: 350px;
589
- margin: 0 auto;
590
- padding: 30px 100px 50px 100px;
591
- height: 400px;
592
- text-align: center;
593
- /*以下增加*/
594
- background: #2D83BA;
595
- background: -webkit-linear-gradient(top left, #2D83BA 0%, #2D83BA 100%);
596
- background: linear-gradient(to bottom right, #2D83BA 0%, #2D83BA 100%);
597
- opacity: 0.8;
598
- }
599
-
600
- .container h3 {
601
- font-size: 40px;
602
- -webkit-transition-duration: 1s;
603
- transition-duration: 1s;
604
- -webkit-transition-timing-function: ease-in-put;
605
- transition-timing-function: ease-in-put;
606
- font-weight: 200;
607
- }
608
-
609
- .form {
610
- padding: 20px 0;
611
- position: relative;
612
- z-index: 2;
613
- }
614
-
615
- .form input {
616
- -webkit-appearance: none;
617
- -moz-appearance: none;
618
- appearance: none;
619
- outline: 0;
620
- border: 1px solid #50ABE6;
621
- background-color: #50ABE6;
622
- width: 250px;
623
- border-radius: 3px;
624
- padding: 10px 15px;
625
- margin: 0 auto 10px auto;
626
- display: block;
627
- text-align: center;
628
- font-size: 18px;
629
- color: white;
630
- -webkit-transition-duration: 0.25s;
631
- transition-duration: 0.25s;
632
- font-weight: 400;
633
- }
634
-
635
- .form input:hover {
636
- background-color: rgba(255, 255, 255, 0.4);
637
- }
638
-
639
- .form input:focus {
640
- background-color: white;
641
- width: 300px;
642
- color: #53e3a6;
643
- }
644
-
645
- .usericon {
646
- background-image: url(../../../static/usericon.png);
647
- background-repeat: no-repeat;
648
- background-size: 30px;
649
- background-position-x: 8px;
650
- background-position-y: 8px;
651
- }
652
-
653
- .psicon {
654
- background-image: url(../../../static/psicon.png);
655
- background-repeat: no-repeat;
656
- background-size: 30px;
657
- background-position-x: 8px;
658
- background-position-y: 8px;
659
- }
660
-
661
- .form button {
662
- -webkit-appearance: none;
663
- -moz-appearance: none;
664
- appearance: none;
665
- outline: 0;
666
- background-color: white;
667
- border: 0;
668
- padding: 10px 15px;
669
- color: #253830;
670
- border-radius: 3px;
671
- width: 250px;
672
- cursor: pointer;
673
- font-size: 18px;
674
- -webkit-transition-duration: 0.25s;
675
- transition-duration: 0.25s;
676
- }
677
-
678
- .form button:hover {
679
- background-color: #f5f7f9;
680
- }
681
-
682
- /*注册字体样式*/
683
- .form span {
684
- color: #fff;
685
- display: table-footer-group;
686
- position: absolute;
687
- right: 10px;
688
- margin-top: 10px;
689
- cursor: pointer;
690
- }
691
-
692
- .logotitle {
693
- color: #fff;
694
- position: absolute;
695
- top: 50px;
696
- left: 50px;
697
- font-size: 50px;
698
- }
699
-
700
- /*注册模态框界面样式*/
701
- .modifystyle {
702
- background: #FCFEEE;
703
- }
704
-
705
- .modifystyle div {
706
- height: auto;
707
- margin-bottom: 15px;
708
- /*text-align: center;*/
709
- /*margin-left: 20%;*/
710
- }
711
-
712
- /*bootstrap字体图标要手动调整,所以使用字体图标的span必须紧跟在input后面,负责会错位*/
713
- .modifystyle div input + span {
714
- top: 0 !important;
715
- right: 32%;
716
- }
717
-
718
- .modifystyle span {
719
- color: red;
720
- }
721
-
722
- /* 通告区内容 */
723
- .notice-board {
724
- height: auto;
725
- position: absolute;
726
- top: 50%;
727
- margin-top: -150px;
728
- margin-left: 100px;
729
- color: #fff;
730
- }
731
-
732
- /*修改密码底部按钮部分样式*/
733
- .footerbtn {
734
- text-align: center;
735
- padding: 15px;
736
- }
737
-
738
- .footerbtn button {
739
- width: 100px;
740
- margin-left: 20px;
741
- }
742
-
743
- .bg-bubbles {
744
- position: absolute;
745
- top: 0;
746
- left: 0;
747
- width: 100%;
748
- height: 100%;
749
- z-index: 1;
750
- }
751
-
752
- .bg-bubbles li {
753
- position: absolute;
754
- list-style: none;
755
- display: block;
756
- width: 40px;
757
- height: 40px;
758
- background-color: rgba(255, 255, 255, 0.15);
759
- bottom: -160px;
760
- -webkit-animation: square 25s infinite;
761
- animation: square 25s infinite;
762
- -webkit-transition-timing-function: linear;
763
- transition-timing-function: linear;
764
- }
765
-
766
- .bg-bubbles li:nth-child(1) {
767
- left: 10%;
768
- }
769
-
770
- .bg-bubbles li:nth-child(2) {
771
- left: 20%;
772
- width: 80px;
773
- height: 80px;
774
- -webkit-animation-delay: 2s;
775
- animation-delay: 2s;
776
- -webkit-animation-duration: 17s;
777
- animation-duration: 17s;
778
- }
779
-
780
- .bg-bubbles li:nth-child(3) {
781
- left: 25%;
782
- -webkit-animation-delay: 4s;
783
- animation-delay: 4s;
784
- }
785
-
786
- .bg-bubbles li:nth-child(4) {
787
- left: 40%;
788
- width: 60px;
789
- height: 60px;
790
- -webkit-animation-duration: 22s;
791
- animation-duration: 22s;
792
- background-color: rgba(255, 255, 255, 0.25);
793
- }
794
-
795
- .bg-bubbles li:nth-child(5) {
796
- left: 70%;
797
- }
798
-
799
- .bg-bubbles li:nth-child(6) {
800
- left: 80%;
801
- width: 120px;
802
- height: 120px;
803
- -webkit-animation-delay: 3s;
804
- animation-delay: 3s;
805
- background-color: rgba(255, 255, 255, 0.2);
806
- }
807
-
808
- .bg-bubbles li:nth-child(7) {
809
- left: 32%;
810
- width: 160px;
811
- height: 160px;
812
- -webkit-animation-delay: 7s;
813
- animation-delay: 7s;
814
- }
815
-
816
- .bg-bubbles li:nth-child(8) {
817
- left: 55%;
818
- width: 20px;
819
- height: 20px;
820
- -webkit-animation-delay: 15s;
821
- animation-delay: 15s;
822
- -webkit-animation-duration: 40s;
823
- animation-duration: 40s;
824
- }
825
-
826
- .bg-bubbles li:nth-child(9) {
827
- left: 25%;
828
- width: 10px;
829
- height: 10px;
830
- -webkit-animation-delay: 2s;
831
- animation-delay: 2s;
832
- -webkit-animation-duration: 40s;
833
- animation-duration: 40s;
834
- background-color: rgba(255, 255, 255, 0.3);
835
- }
836
-
837
- .bg-bubbles li:nth-child(10) {
838
- left: 90%;
839
- width: 160px;
840
- height: 160px;
841
- -webkit-animation-delay: 11s;
842
- animation-delay: 11s;
843
- }
844
- .logofooter{
845
- font-size: 12px;
846
- color:#fff;
847
- width:150px;
848
- margin-left: 17px;
849
- }
850
- .logocontent{
851
- font-size: 14px;
852
- color:#fff;
853
- width:150px;
854
- margin: 3px -15px;
855
- }
856
- .imglogo {
857
- background:url(../../../static/logo.png);
858
- background-size:100%;
859
- }
860
- .logoew {
861
- width:120px;
862
- height:120px;
863
- float:right;
864
- margin-right:8.5%;
865
- margin-top:10px;
866
- }
867
-
868
- @-webkit-keyframes square {
869
- 0% {
870
- -webkit-transform: translateY(0);
871
- transform: translateY(0);
872
- }
873
- 100% {
874
- -webkit-transform: translateY(-700px) rotate(600deg);
875
- transform: translateY(-700px) rotate(600deg);
876
- }
877
- }
878
-
879
- @keyframes square {
880
- 0% {
881
- -webkit-transform: translateY(0);
882
- transform: translateY(0);
883
- }
884
- 100% {
885
- -webkit-transform: translateY(-700px) rotate(600deg);
886
- transform: translateY(-700px) rotate(600deg);
887
- }
888
- }
889
519
  </style>