Share-Comp npm i ued-comp@latest import { ShareComp } from 'ued-comp'; Name Description Type Default src 图片路径 string -- url 需要访问的 url string -- desc 图片描述 string -- price 价格 string 1 type 样式类型,默认移动端 'pc' string -- beforeShowImg 打开图片弹窗前执行 Function -- afterClose 完全关闭图片弹窗后的回调 Function --