zhouwenxuan
2023-07-25 22f0e04d34f19aac857e25627343dff9a2542057
pages/tabBar/notice/detail.vue
@@ -32,7 +32,7 @@
            <view class="attache" v-if="isAllImg == 'no'">
               <view v-for="(item, index) in detailData.attachments" :key="index" >
                     <view  style="display: flex;margin-top: 10px;" v-if="item.suffix == 'jpg'|| item.suffix =='jpeg' || item.suffix =='png'"> 
                        <image  @click="previewSqs(item)" :src="item.attachment" style="width: 100rpx; height: 100rpx;margin-left: 5rpx;border: 3px solid #ccc;margin-right: 3px;"></image>
                        <image  @click="previewSqs(item,index)" :src="item.attachment" style="width: 100rpx; height: 100rpx;margin-left: 5rpx;border: 3px solid #ccc;margin-right: 3px;"></image>
                     </view>
                     <view style="display: flex;margin-top: 10px;" @click="openFile(item)" v-else>
                        <u-icon name="attach" color="#2979ff" size="20"></u-icon> {{item.attachementName}}