Skip to content

Commit

Permalink
chore: update docs and example
Browse files Browse the repository at this point in the history
  • Loading branch information
lhlyu committed Jul 28, 2024
1 parent f65866e commit fe0f743
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

> A Vue 3 virtual waterfall component
![npm](https://img.shields.io/npm/v/%40lhlyu%2Fvue-virtual-waterfall)
[![npm](https://img.shields.io/npm/v/%40lhlyu%2Fvue-virtual-waterfall)](https://www.npmjs.com/package/@lhlyu/vue-virtual-waterfall)

[中文文档](./README.zh.md)

Expand Down
2 changes: 1 addition & 1 deletion README.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

> 一款vue3虚拟瀑布流组件
![npm](https://img.shields.io/npm/v/%40lhlyu%2Fvue-virtual-waterfall)
[![npm](https://img.shields.io/npm/v/%40lhlyu%2Fvue-virtual-waterfall)](https://www.npmjs.com/package/@lhlyu/vue-virtual-waterfall)

[English Doc](./README.md)

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@lhlyu/vue-virtual-waterfall",
"description": "vue3 virtual waterfall component",
"version": "1.0.6-beta.0",
"version": "1.0.6-beta.1",
"author": "lhlyu",
"repository": {
"type": "git",
Expand Down
14 changes: 12 additions & 2 deletions src/example/Example.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
<template>
<header>Vue瀑布流</header>
<header>
<strong>Vue瀑布流</strong>
<small>
<span class="badge text-bg-success">v{{ pkg.version }}</span>
</small>
</header>
<VirtualWaterfall
:virtual="waterfallOption.virtual"
:gap="waterfallOption.gap"
Expand Down Expand Up @@ -184,6 +189,7 @@
</template>

<script setup lang="ts">
import pkg from '../../package.json'
import VirtualWaterfall from '../vue-virtual-waterfall/virtual-waterfall.vue'
import Card from './Card.vue'
import useApp from './useApp.ts'
Expand Down Expand Up @@ -215,9 +221,13 @@ header {
justify-content: center;
width: 100%;
height: 72px;
font-size: 24px;
background-color: white;
border-bottom: 1px solid #f1f2f6;
strong {
font-size: 24px;
margin-right: 8px;
}
}
aside {
position: fixed;
Expand Down

0 comments on commit fe0f743

Please sign in to comment.