public/html/compareprice.html
@@ -369,7 +369,7 @@ })(); function scanCode(str) { alert(str); app.coptest(str); } Vue.use(VueLazyload, { preLoad: 1.3,// @@ -377,7 +377,7 @@ loading: 'https://sr.ffquan.cn/cms_pic/20200612/brhjkf76vrkcrfpi79eg0.png', attempt: 1 }) new Vue({ var app= new Vue({ el: '#comprice', data:{ //posturl:'http://dfg.shop.com', @@ -392,8 +392,12 @@ { this.txtareatxt=''; }, coptest(str) { alert(str.data); }, fromcopy:function() { { uni.postMessage({ data: { action: 'copy'