问题描述:css
这是一张图片,须要长按二维码部分识别。html
div:微信
<div class="img-bottom">></div>
样式:微信开发
.img-back{ width: 100%; top:15px; position: relative; height: 180px; background: url(images/tactus.jpg); background-repeat: no-repeat; background-size: 100% 100%; }
我这是将图片当作背景来作的,可是并无效果,长按住二维码部分不能跳出 微信识别二维码的菜单。url
正确的方式是要放在img组件中:code
<div><img src="images/cont_but.gif" class="img-bottom"></img></div>
这样就好了。。。htm
但愿对那些粗心的人有帮助。。。图片
关注微信开发,欢迎加好有交流:开发
qq群: 175677844it
微信: