mirari / v-viewer

Image viewer component for vue, supports rotation, scale, zoom and so on, based on viewer.js
https://mirari.cc/v-viewer/
MIT License
2.5k stars 295 forks source link

样式 #266

Closed zhengguodong closed 1 year ago

zhengguodong commented 1 year ago

可以对图片预览的大小进行样式调整吗

mirari commented 1 year ago

如果指的是初始大小比例,用initialCoverage https://github.com/fengyuanchen/viewerjs#initialcoverage

zhengguodong commented 1 year ago

如果指的是初始大小比例,用initialCoverage https://github.com/fengyuanchen/viewerjs#initialcoverage

就是预览时,所有图片统一宽高,能设置规定的长度

mirari commented 1 year ago

目前应该没有这样的配置

wen18732367572 commented 1 year ago

请问如何对工具栏大小进行设置

mirari commented 1 year ago

开头引入的css,可以直接换成自定义的样式文件,修改其中对工具栏样式的定义