diff --git a/src/assets/scss/modules/visual/personCategory.scss b/src/assets/scss/modules/visual/personCategory.scss index 509dc2aa..af300198 100644 --- a/src/assets/scss/modules/visual/personCategory.scss +++ b/src/assets/scss/modules/visual/personCategory.scss @@ -14,7 +14,8 @@ display: flex; // justify-content: space-around; justify-content: flex-start; - flex-wrap: wrap; + flex-wrap: nowrap; + // overflow-y: auto; min-height: 190px; .top-item-active { @@ -22,8 +23,9 @@ } .top-item { + flex: 0 0 280px; box-sizing: border-box; - width: 280px; + // width: 280px; height: 190px; padding: 10px 22px 14px 21px; // background: rgba(255, 255, 255, 0); diff --git a/src/views/modules/visual/basicinfo/personCategory/index.vue b/src/views/modules/visual/basicinfo/personCategory/index.vue index 3b0896bb..22c2d485 100644 --- a/src/views/modules/visual/basicinfo/personCategory/index.vue +++ b/src/views/modules/visual/basicinfo/personCategory/index.vue @@ -23,6 +23,7 @@ type="date" :clearable="false" @change="handleChangeDate" + :picker-options="pickerOptions" prefix-icon="el-icon-caret-bottom" placeholder="选择日期" value-format="yyyy-MM-dd"> @@ -30,38 +31,40 @@ -
-
-
- -
- {{ item.categoryName }} - {{ item.total }} + +
+
+
+ +
+ {{ item.categoryName }} + {{ item.total }} +
-
-
-
-
较上月
-
-
{{ "+"+ item.immigration }}
+
+
+
较上月
+
+
{{ "+"+ item.immigration }}
+
-
-
-
{{" "}}
-
-
{{ "-"+ item.emigration}}
+
+
{{" "}}
+
+
{{ "-"+ item.emigration}}
+
-
+ + +