system-clients 3.2.55 → 3.2.56

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.
File without changes
@@ -0,0 +1,2 @@
1
+ #Mon Mar 06 15:27:14 CST 2023
2
+ gradle.version=6.5.1
Binary file
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "system-clients",
3
- "version": "3.2.55",
3
+ "version": "3.2.56",
4
4
  "description": "系统基础框架",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -1,83 +1,83 @@
1
- <template>
2
- <div class="m-progress" style="width:100%">
3
- <div class="m-progress-outer">
4
- <div class="m-progress-inner">
5
- <div :class="['u-progress-bg', {'u-success-bg':getProgress(progress,width) >= 100}]" :style="{width: `${getProgress(progress,width) >= 100 ? 100:getProgress(progress,width)}%`,height: `${strokeWidth}px`}"></div>
6
- </div>
7
- </div>
8
- <div v-if="showInfo">
9
- <svg class="u-success" v-if="getProgress(progress,width)>=100" viewBox="64 64 896 896" data-icon="check-circle" aria-hidden="true" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 0 1-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z"></path></svg>
10
- <p class="u-progress-text" v-else>{{getProgress(progress,width)>=100 ? 100:getProgress(progress,width) }}%</p>
11
- </div>
12
- </div>
13
- </template>
14
- <script>
15
- export default {
16
- name: 'Progress',
17
- props: {
18
- width: { // 进度条总宽度
19
- type: Number,
20
- default: 100
21
- },
22
- progress: { // 当前进度
23
- type: Number,
24
- default: 0
25
- },
26
- strokeWidth: { // 进度条线的宽度
27
- type: Number,
28
- default: 13
29
- },
30
- showInfo: { // 是否显示进度数值或状态图标
31
- type: Boolean,
32
- default: true
33
- }
34
- },
35
-
36
- methods: {
37
- // 进度的转换
38
- getProgress(val1,val2){
39
- if (val1 === 0 || val2 === 0) {
40
- return 0
41
- }
42
- return (Math.round(val1/val2 * 10000) /100)
43
- },
44
- }
45
- }
46
- </script>
47
- <style lang="less" scoped>
48
- .m-progress {
49
- height: 13px;
50
- margin: 0 auto;
51
- display: flex;
52
- .m-progress-outer {
53
- width: 61%;
54
- .m-progress-inner {
55
- display: inline-block;
56
- width: 100%;
57
- background: #f1f0f0;
58
- border-radius: 13px;
59
- .u-progress-bg {
60
- // background: #1890FF;
61
- background: linear-gradient(to right, rgb(16, 142, 233), rgb(135, 208, 104));
62
- border-radius: 100px;
63
- transition: all .3s cubic-bezier(.08,.82,.17,1);
64
- }
65
- .u-success-bg {
66
- border-radius: 100px;
67
- background: #52C41A;
68
- }
69
- }
70
- }
71
- .u-success {
72
- width: 12px;
73
- height: 12px;
74
- fill: #52C41A;
75
- margin-left: 2px;
76
- }
77
- .u-progress-text {
78
- font-size: 12px;
79
- margin-left: 2px;
80
- color: rgba(0,0,0,.45);
81
- }
82
- }
83
- </style>
1
+ <template>
2
+ <div class="m-progress" style="width:100%">
3
+ <div class="m-progress-outer">
4
+ <div class="m-progress-inner">
5
+ <div :class="['u-progress-bg', {'u-success-bg':getProgress(progress,width) >= 100}]" :style="{width: `${getProgress(progress,width) >= 100 ? 100:getProgress(progress,width)}%`,height: `${strokeWidth}px`}"></div>
6
+ </div>
7
+ </div>
8
+ <div v-if="showInfo">
9
+ <svg class="u-success" v-if="getProgress(progress,width)>=100" viewBox="64 64 896 896" data-icon="check-circle" aria-hidden="true" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 0 1-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z"></path></svg>
10
+ <p class="u-progress-text" v-else>{{getProgress(progress,width)>=100 ? 100:getProgress(progress,width) }}%</p>
11
+ </div>
12
+ </div>
13
+ </template>
14
+ <script>
15
+ export default {
16
+ name: 'Progress',
17
+ props: {
18
+ width: { // 进度条总宽度
19
+ type: Number,
20
+ default: 100
21
+ },
22
+ progress: { // 当前进度
23
+ type: Number,
24
+ default: 0
25
+ },
26
+ strokeWidth: { // 进度条线的宽度
27
+ type: Number,
28
+ default: 13
29
+ },
30
+ showInfo: { // 是否显示进度数值或状态图标
31
+ type: Boolean,
32
+ default: true
33
+ }
34
+ },
35
+
36
+ methods: {
37
+ // 进度的转换
38
+ getProgress(val1,val2){
39
+ if (val1 === 0 || val2 === 0) {
40
+ return 0
41
+ }
42
+ return (Math.round(val1/val2 * 10000) /100)
43
+ },
44
+ }
45
+ }
46
+ </script>
47
+ <style lang="less" scoped>
48
+ .m-progress {
49
+ height: 13px;
50
+ margin: 0 auto;
51
+ display: flex;
52
+ .m-progress-outer {
53
+ width: 61%;
54
+ .m-progress-inner {
55
+ display: inline-block;
56
+ width: 100%;
57
+ background: #f1f0f0;
58
+ border-radius: 13px;
59
+ .u-progress-bg {
60
+ // background: #1890FF;
61
+ background: linear-gradient(to right, rgb(16, 142, 233), rgb(135, 208, 104));
62
+ border-radius: 100px;
63
+ transition: all .3s cubic-bezier(.08,.82,.17,1);
64
+ }
65
+ .u-success-bg {
66
+ border-radius: 100px;
67
+ background: #52C41A;
68
+ }
69
+ }
70
+ }
71
+ .u-success {
72
+ width: 12px;
73
+ height: 12px;
74
+ fill: #52C41A;
75
+ margin-left: 2px;
76
+ }
77
+ .u-progress-text {
78
+ font-size: 12px;
79
+ margin-left: 2px;
80
+ color: rgba(0,0,0,.45);
81
+ }
82
+ }
83
+ </style>
@@ -1,5 +1,5 @@
1
- // 分公司特殊组件页面注册
2
-
3
- exports.specialComp = {
4
- 'login': (resolve) => require(['./Login'], resolve)
5
- }
1
+ // 分公司特殊组件页面注册
2
+
3
+ exports.specialComp = {
4
+ 'login': (resolve) => require(['./Login'], resolve)
5
+ }