admin管理员组

文章数量:1636810

// 安装
npm install @jiaminghi/data-view@2.10.0
// 挂载 (main.js)
import dataV from '@jiaminghi/data-view'
Vue.use(dataV)
// 使用
<div class="wrapper" v-for="(item, i) in dataList" :key="i">
        <div class="p" :title="item.name">{
   {
    item.name }}</div>
        <div class="img">
          <dv-percent-pond :config="item" style="width:90px;height:20px;" />
        </div>
        <div class="number">{
   {
    item.value }}%</div>
      </div>
// 样式
  .content {
   
    height: 220px;
    margin-top: 6px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    .wrapper {
   
      display: flex;
      height: 24px;
      align-items: center;
      width: 48%;
      margin: 4px 0;
      .p {
   
        width: 80px;
        text-align: left;
        margin-right: 5px;
        font-size: 14px;
        color

本文标签: 插件进度条vue