diff --git a/src/components/scStatistic/index.vue b/src/components/scStatistic/index.vue new file mode 100644 index 00000000..3a70cdab --- /dev/null +++ b/src/components/scStatistic/index.vue @@ -0,0 +1,67 @@ + + + + + + + diff --git a/src/style/pages.less b/src/style/pages.less index c4fbc7ed..5ff7d179 100644 --- a/src/style/pages.less +++ b/src/style/pages.less @@ -9,3 +9,8 @@ .user-info-main li i {margin-right: 10px;} .user-info-bottom {border-top: 1px solid #e6e6e6;} .user-info-bottom h2 {font-size: 14px;margin:15px 0;} + +/*static-table*/ +.static-table {border-collapse: collapse;width: 100%;font-size: 14px;margin-bottom: 45px;line-height: 1.5em;} +.static-table th {text-align: left;white-space: nowrap;color: #909399;font-weight: 400;border-bottom: 1px solid #dcdfe6;padding: 15px;max-width: 250px;} +.static-table td {border-bottom: 1px solid #dcdfe6;padding: 15px;max-width: 250px;color: #606266;} diff --git a/src/utils/tool.js b/src/utils/tool.js index 72fb9ede..ca33f893 100644 --- a/src/utils/tool.js +++ b/src/utils/tool.js @@ -73,7 +73,7 @@ const tool = { return fmt; }, /* 千分符 */ - thousands(num){ + groupSeparator(num){ num = num + ''; if(!num.includes('.')){ num += '.' diff --git a/src/views/vab/statistic.vue b/src/views/vab/statistic.vue new file mode 100644 index 00000000..0a76d649 --- /dev/null +++ b/src/views/vab/statistic.vue @@ -0,0 +1,137 @@ + + + + + + +