From ec1ee929bab988aded0f80ebcaae2940dffd518a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E8=87=AA=E5=B8=A6=E5=A4=A7=E4=BD=AC=E6=B0=94=E5=9C=BA?=
<188633308@qq.com>
Date: Mon, 7 Jun 2021 10:22:45 +0800
Subject: [PATCH] =?UTF-8?q?update=20=E7=BB=9F=E8=AE=A1=E7=95=8C=E9=9D=A2?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
Web/src/assets/style/extend.less | 3 +
Web/src/assets/style/lib/form.less | 44 ++++
Web/src/assets/style/lib/radio.less | 11 -
.../business/statistics/summary/index.vue | 38 +++-
.../statistics/summary/tab1/charts.vue | 209 ++++++++++++++++++
.../statistics/summary/tab1/index.vue | 79 +++++++
.../statistics/summary/tab1/table.vue | 204 +++++++++++++++++
.../statistics/summary/tab2/charts.vue | 3 +
.../statistics/summary/tab2/index.vue | 25 +++
.../statistics/summary/tab2/table.vue | 3 +
Web/vue.config.js | 4 +-
11 files changed, 610 insertions(+), 13 deletions(-)
create mode 100644 Web/src/pages/business/statistics/summary/tab1/charts.vue
create mode 100644 Web/src/pages/business/statistics/summary/tab1/index.vue
create mode 100644 Web/src/pages/business/statistics/summary/tab1/table.vue
create mode 100644 Web/src/pages/business/statistics/summary/tab2/charts.vue
create mode 100644 Web/src/pages/business/statistics/summary/tab2/index.vue
create mode 100644 Web/src/pages/business/statistics/summary/tab2/table.vue
diff --git a/Web/src/assets/style/extend.less b/Web/src/assets/style/extend.less
index a1febd0..8925437 100644
--- a/Web/src/assets/style/extend.less
+++ b/Web/src/assets/style/extend.less
@@ -1,3 +1,6 @@
@import '~ant-design-vue/dist/antd.less';
@padding-xxs: 4px;
@padding-xl: 32px;
+body {
+ line-height: 1.42857143;
+}
diff --git a/Web/src/assets/style/lib/form.less b/Web/src/assets/style/lib/form.less
index ba167e9..aabf708 100644
--- a/Web/src/assets/style/lib/form.less
+++ b/Web/src/assets/style/lib/form.less
@@ -323,3 +323,47 @@
background: none;
}
}
+.yo-form-page {
+ .ant-form {
+ .ant-radio-button-wrapper {
+ margin-right: @padding-xs;
+ margin-bottom: @padding-xs;
+
+ border-left: @border-width-base @border-style-base @normal-color;
+ &:not(:first-child) {
+ &::before {
+ content: none;
+ }
+ }
+ }
+ }
+}
+.yo-filter-item {
+ display: flex;
+ flex-flow: row wrap;
+
+ margin-bottom: 0;
+ .ant-tag-checkable {
+ font-size: @font-size-base;
+ }
+ .ant-radio-button-wrapper {
+ border: 0 !important;
+ background-color: transparent;
+ &:hover {
+ color: @red-6;
+ }
+ }
+ .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled) {
+ border-color: @red-6;
+ background-color: @red-6;
+ &:hover {
+ border-color: @red-5;
+ background-color: @red-5;
+ }
+ &:active {
+ border-color: @red-7;
+ background-color: @red-7;
+ box-shadow: none;
+ }
+ }
+}
diff --git a/Web/src/assets/style/lib/radio.less b/Web/src/assets/style/lib/radio.less
index 1fb4871..92d3239 100644
--- a/Web/src/assets/style/lib/radio.less
+++ b/Web/src/assets/style/lib/radio.less
@@ -1,15 +1,4 @@
@import (reference) '~@/assets/style/extend.less';
-.ant-radio-button-wrapper {
- margin-right: @padding-xs;
- margin-bottom: @padding-xs;
-
- border-left: @border-width-base @border-style-base @normal-color;
- &:not(:first-child) {
- &::before {
- content: none;
- }
- }
-}
.ant-radio-button-wrapper-checked {
&:not(.ant-radio-button-wrapper-disabled),
&:not(.ant-radio-button-wrapper-disabled):hover {
diff --git a/Web/src/pages/business/statistics/summary/index.vue b/Web/src/pages/business/statistics/summary/index.vue
index 3feff78..35bc164 100644
--- a/Web/src/pages/business/statistics/summary/index.vue
+++ b/Web/src/pages/business/statistics/summary/index.vue
@@ -6,6 +6,20 @@
{{n}}
+