vue点击按钮预览图片,pdf,文件
<div style="width: 50%; display: inline-block; vertical-align: bottom">
<div class="tit-top">上传图片</div>
<div style="min-height: 151px">
<div
style="display: inline-block; position: relative"
v-for="(item, index) in info.businessImages"
:key="index"
>
//显示pdf
<template v-if="checkTestPic(item)">
<img
src="@/assets/images/pdf.jpg"
alt=""
class="imgsty"
@click