0.3.2 • Published 5 months ago

ant3-ui v0.3.2

Weekly downloads
-
License
-
Repository
-
Last release
5 months ago
 "exports": {
   "./lib/style.css": {
     "import": "./lib/style.css",
     "require": "./lib/style.css"
   }
 },

复制组件

<x-copy>
     <a-tag>fasdfad发顺丰 </a-tag>
     <template #btn> 复制一下 </template>
</x-copy>

table组件

<template>
  <div class="user_list con">
    <x-table
      :dealResponse="dealResponse"
      :req="accountList"
      :showPage="false"
      :filterDict="searchDict"
    >
      <template v-slot:myTable="table">
        <a-table
          :data-source="table.data"
          :pagination="false"
          :columns="coloumns"
          :scroll="{
            y: `${table.tableH}px`,
          }"
        >
          <template #bodyCell="{ column, record }">
            <template v-if="column.key === 'action'">
              <a-space>
                <a-button type="primary">查看余额</a-button>
                <a-button >交易明细</a-button>
              </a-space>
            </template>
          </template>
        </a-table>
      </template>
    </x-table>
  </div>
</template>
<script setup lang="ts">
import { accountList } from "@/api";
import { coloumns, searchDict } from "./dict";
const dealResponse = (res: any) => {
  if (res.success) {
    return {
      list: res.data,
    };
  }
};
</script>
<style lang="less" scoped>
</style>
0.3.2

5 months ago

0.3.0

5 months ago

0.2.8

5 months ago

0.3.1

5 months ago

0.2.7

5 months ago

0.2.6

2 years ago

0.2.5

2 years ago

0.2.4

2 years ago

0.2.3

2 years ago

0.2.2

2 years ago

0.2.1

2 years ago

0.2.0

2 years ago

0.1.9

2 years ago

0.1.8

2 years ago

0.1.7

2 years ago

0.1.6

2 years ago

0.1.5

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago