Home > front end >  How to display text viewer shows a larger version
How to display text viewer shows a larger version

Time:09-23

<: img SRC="https://bbs.csdn.net/topics/item.thumbnailPath" : the key="item. ImageId" : data - SRC="https://bbs.csdn.net/topics/item.originalImagePath" data - the content=aaaaaa "& gt;


Vue in preview thumbnail images, when click on the thumbnail popup a larger version, want to see a larger version, and display a text on the image, used to caption, on the lower left corner of the images, how to display? With the data - the content doesn't work, what should use?
Thank you for the help of ~

CodePudding user response:

When or view a larger version, forced to join inside a div is used to display text content, how do I get is a larger version?

CodePudding user response:

Click on the thumbnail of the assignment when the current id is active, and write it with the larger image v - show="item. Id===active"

I am a thumbnail
I am a big picture
Thumbnail id and large circulation id corresponding to a larger default - show all hidden v="item. Id===active", when click the picture to show the corresponding figure,

Data () {
Active: "'
}
  • Related