0.0.7 • Published 7 months ago

@leokun/viewport-core v0.0.7

Weekly downloads
-
License
MIT
Repository
-
Last release
7 months ago

安装

pnpm install @leokun/viewport-core

import  Viewport { type Detail } from '@leokun/viewport-core';
import "@leokun/viewport-core/dist/style.css"

<Viewport v-model:value="datail" image-host="http://47.98.60.51:8999" width="700px" height="400px" :dpi="2140"  >
</Viewport>

props

  • is-big-screen {boolean} 是否是大屏,设置为fasle可以接受一个插槽
  • datail {Detail} 详情数据,支持双向绑定
  • image-host 图片baseurl
  • width 宽度 支持vw vh px 等
  • height 高度 支持vw vh px 等
  • dpi 展示比例,设为2140即可
0.0.7

7 months ago

0.0.6

7 months ago

0.0.5

7 months ago

0.0.4

7 months ago

0.0.3

7 months ago

0.0.2

8 months ago

0.0.1

8 months ago