javascript - Problems with QR codes on ios phones in vue
曾经蜡笔没有小新
曾经蜡笔没有小新 2017-05-18 10:45:38
0
2
439

In the vue project, introduce a picture with a QR code

<img src="1.jpg" class="newImage">

But why can’t the function of scanning the QR code of the picture be brought up when long pressing the picture?
But such a QR code can appear on an Android phone?

What is the reason?

Picture style:

.newImage{

width:100%;
min-height: 100vh;
background-size:100%;

}

For example, this picture:

曾经蜡笔没有小新
曾经蜡笔没有小新

reply all(2)
大家讲道理

The function of long pressing the picture to call up the QR code of the scanned picture is a function packaged by third-party applications such as WeChat, QQ Browser, UC Browser, etc. It is not native to the system. iOS Safari and Android's native browsers do not have this function. Function

習慣沉默

There is a problem with the image positioning of the IOS QR code. . . It is actually positioned in the lower right corner of the relative picture. You can try long pressing on the lower right corner of the picture. You should be able to activate the function of scanning the QR code.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!