Home > front end > Using v - vue viewer opened the preview picture why not show in the front
Using v - vue viewer opened the preview picture why not show in the front
Time:09-24
<: img SRC="https://bbs.csdn.net/topics/item.small" : the key="item. ImageId" : data - SRC="https://bbs.csdn.net/topics/item.big" style="weight: 50 px; Height: 50 px;">
Data () { Return { ImageList: [], Options: { Url: 'data - the SRC' }, }
GetImageList () { The getImage (). Then (response=& gt; { The response data=https://bbs.csdn.net/topics/response.data.map ((item, index)=> { Item. Big=item. Path Item. Small=item. Path Return the item }) Enclosing imageList=response. The data; }); }, Address with the same picture, multiple images in the form of the thumbnail display:
Click a single picture viewer is the size of the original image, click on the individual images but when previewing the entire page is not shown in the front, the need to turn off the current page to view the preview picture, is this why?
CodePudding user response:
Level, adjust the two z - the index attribute can be solved