mirror of
https://github.com/continew-org/continew-admin-ui.git
synced 2025-10-01 14:57:11 +08:00
style: 优化分析页数据总览代码
This commit is contained in:
@@ -75,6 +75,7 @@ const { chartOption } = useChart((isDark: EChartsOption) => {
|
|||||||
data: chartData.value,
|
data: chartData.value,
|
||||||
type: 'line',
|
type: 'line',
|
||||||
showSymbol: false,
|
showSymbol: false,
|
||||||
|
smooth: true,
|
||||||
lineStyle: {
|
lineStyle: {
|
||||||
color: '#246EFF',
|
color: '#246EFF',
|
||||||
width: 2,
|
width: 2,
|
||||||
@@ -93,7 +94,7 @@ const getChartData = async () => {
|
|||||||
xAxis.value = ['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月']
|
xAxis.value = ['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月']
|
||||||
count.value = 88888
|
count.value = 88888
|
||||||
growth.value = 88.8
|
growth.value = 88.8
|
||||||
chartData.value = [10, 2, 4, 30, 21, 6, 7, 8, 1, 2, 3, 10]
|
chartData.value = [4, 5, 6, 2, 3, 4, 25, 21, 6, 7, 8, 1]
|
||||||
} finally {
|
} finally {
|
||||||
loading.value = false
|
loading.value = false
|
||||||
}
|
}
|
@@ -21,10 +21,10 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import Pv from './flow/Pv.vue'
|
import Pv from './Pv.vue'
|
||||||
import Ip from './flow/Ip.vue'
|
import Ip from './Ip.vue'
|
||||||
import Demo1 from './flow/Demo1.vue'
|
import Demo1 from './Demo1.vue'
|
||||||
import Demo2 from './flow/Demo2.vue'
|
import Demo2 from './Demo2.vue'
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped lang="less"></style>
|
<style scoped lang="less"></style>
|
@@ -30,7 +30,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import DataOverview from './components/DataOverview.vue'
|
import DataOverview from './components/DataOverview/index.vue'
|
||||||
import AccessTrend from './components/AccessTrend.vue'
|
import AccessTrend from './components/AccessTrend.vue'
|
||||||
import Os from './components/Os.vue'
|
import Os from './components/Os.vue'
|
||||||
import Browser from './components/Browser.vue'
|
import Browser from './components/Browser.vue'
|
||||||
|
Reference in New Issue
Block a user