Browse Source

👣 重构底层

master
wangxiang 3 years ago
parent
commit
9cbed95535
  1. 6
      kicc-ui/src/views/dashboard/analysis/components/GrowCard.vue
  2. 2
      kicc-ui/src/views/dashboard/analysis/components/SalesProductPie.vue
  3. 2
      kicc-ui/src/views/dashboard/analysis/components/VisitAnalysis.vue
  4. 2
      kicc-ui/src/views/dashboard/analysis/components/VisitAnalysisBar.vue
  5. 2
      kicc-ui/src/views/dashboard/analysis/components/VisitRadar.vue
  6. 2
      kicc-ui/src/views/dashboard/analysis/components/VisitSource.vue
  7. 2
      kicc-ui/src/views/dashboard/workbench/components/DynamicInfo.vue
  8. 2
      kicc-ui/src/views/dashboard/workbench/components/SaleRadar.vue
  9. 2
      kicc-ui/src/views/dashboard/workbench/index.vue

6
kicc-ui/src/views/dashboard/analysis/components/GrowCard.vue

@ -14,7 +14,11 @@
</template> </template>
<div class="py-4 px-4 flex justify-between"> <div class="py-4 px-4 flex justify-between">
<CountTo prefix="$" :startVal="1" :endVal="item.value" class="text-2xl" /> <CountTo prefix="$"
:startVal="1"
:endVal="item.value"
class="text-2xl"
/>
<Icon :icon="item.icon" :size="40"/> <Icon :icon="item.icon" :size="40"/>
</div> </div>

2
kicc-ui/src/views/dashboard/analysis/components/SalesProductPie.vue

@ -1,6 +1,6 @@
<template> <template>
<Card title="成交占比" :loading="loading"> <Card title="成交占比" :loading="loading">
<div ref="chartRef" :style="{ width, height }"></div> <div ref="chartRef" :style="{ width, height }"/>
</Card> </Card>
</template> </template>
<script lang="ts"> <script lang="ts">

2
kicc-ui/src/views/dashboard/analysis/components/VisitAnalysis.vue

@ -1,5 +1,5 @@
<template> <template>
<div ref="chartRef" :style="{ height, width }"></div> <div ref="chartRef" :style="{ height, width }"/>
</template> </template>
<script lang="ts"> <script lang="ts">
import { defineComponent, onMounted, ref, Ref } from 'vue'; import { defineComponent, onMounted, ref, Ref } from 'vue';

2
kicc-ui/src/views/dashboard/analysis/components/VisitAnalysisBar.vue

@ -1,5 +1,5 @@
<template> <template>
<div ref="chartRef" :style="{ height, width }"></div> <div ref="chartRef" :style="{ height, width }"/>
</template> </template>
<script lang="ts"> <script lang="ts">
import { defineComponent, onMounted, ref, Ref } from 'vue'; import { defineComponent, onMounted, ref, Ref } from 'vue';

2
kicc-ui/src/views/dashboard/analysis/components/VisitRadar.vue

@ -1,6 +1,6 @@
<template> <template>
<Card title="转化率" :loading="loading"> <Card title="转化率" :loading="loading">
<div ref="chartRef" :style="{ width, height }"></div> <div ref="chartRef" :style="{ width, height }"/>
</Card> </Card>
</template> </template>
<script lang="ts"> <script lang="ts">

2
kicc-ui/src/views/dashboard/analysis/components/VisitSource.vue

@ -1,6 +1,6 @@
<template> <template>
<Card title="访问来源" :loading="loading"> <Card title="访问来源" :loading="loading">
<div ref="chartRef" :style="{ width, height }"></div> <div ref="chartRef" :style="{ width, height }"/>
</Card> </Card>
</template> </template>
<script lang="ts"> <script lang="ts">

2
kicc-ui/src/views/dashboard/workbench/components/DynamicInfo.vue

@ -10,7 +10,7 @@
<template #description> <template #description>
{{ item.date }} {{ item.date }}
</template> </template>
<template #title> {{ item.name }} <span v-html="item.desc"> </span> </template> <template #title> {{ item.name }} <span v-html="item.desc"/> </template>
<template #avatar> <template #avatar>
<Icon :icon="item.avatar" :size="30"/> <Icon :icon="item.avatar" :size="30"/>
</template> </template>

2
kicc-ui/src/views/dashboard/workbench/components/SaleRadar.vue

@ -1,6 +1,6 @@
<template> <template>
<Card title="销售统计" :loading="loading"> <Card title="销售统计" :loading="loading">
<div ref="chartRef" :style="{ width, height }"></div> <div ref="chartRef" :style="{ width, height }"/>
</Card> </Card>
</template> </template>
<script lang="ts"> <script lang="ts">

2
kicc-ui/src/views/dashboard/workbench/index.vue

@ -10,7 +10,7 @@
<QuickNav :loading="loading" class="enter-y"/> <QuickNav :loading="loading" class="enter-y"/>
<Card class="!my-4 enter-y" :loading="loading"> <Card class="!my-4 enter-y" :loading="loading">
<img class="xl:h-50 h-30 mx-auto" src="../../../assets/images/illustration.svg" /> <img class="xl:h-50 h-30 mx-auto" src="../../../assets/images/illustration.svg">
</Card> </Card>
<SaleRadar :loading="loading" class="enter-y"/> <SaleRadar :loading="loading" class="enter-y"/>

Loading…
Cancel
Save