diff --git a/src/App.vue b/src/App.vue index f65041d..a230686 100644 --- a/src/App.vue +++ b/src/App.vue @@ -14,7 +14,6 @@ export default { diff --git a/src/views/demo/chart.vue b/src/views/demo/chart.vue index 7e7ed85..7f720ff 100644 --- a/src/views/demo/chart.vue +++ b/src/views/demo/chart.vue @@ -672,8 +672,7 @@ export default { labelLine: ['同期', '环期'], circleColor: '#f92672', rayLineColor: '#f92672', - rayLineOffset: Math.PI * 1, - + rayLineOffset: Math.PI * 1 }, colors: ['#00baff', '#3de7c9'] diff --git a/src/views/demo/decoration.vue b/src/views/demo/decoration.vue index c03351d..dbcf3cd 100644 --- a/src/views/demo/decoration.vue +++ b/src/views/demo/decoration.vue @@ -1,39 +1,69 @@ @@ -49,6 +79,7 @@ export default { flex-direction: row; flex-wrap: wrap; justify-content: center; + padding-bottom: 100px; .decoration-container { position: relative; @@ -58,7 +89,14 @@ export default { margin-bottom: 20px; text-align: center; font-weight: bold; - line-height: 40px; + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + + .title { + text-indent: 0; + } } .decoration { diff --git a/src/views/demo/index.vue b/src/views/demo/index.vue index 46e6ac2..c6e4b06 100644 --- a/src/views/demo/index.vue +++ b/src/views/demo/index.vue @@ -40,8 +40,8 @@ export default { routerName: 'chart' }, { - title: 'Table', - routerName: 'table' + title: 'Other', + routerName: 'other' } ] } @@ -95,7 +95,8 @@ export default { width: 100%; height: 100%; overflow: scroll; - padding-top: 70px; + padding: 70px 100px 0px 100px; + box-sizing: border-box; } } diff --git a/src/views/demo/table.vue b/src/views/demo/other.vue similarity index 100% rename from src/views/demo/table.vue rename to src/views/demo/other.vue