From 3e7c1b2a387b2cf3f6019963557f8dfd0114cdc5 Mon Sep 17 00:00:00 2001 From: zhaojs <349234519@qq.com> Date: 星期四, 13 七月 2023 14:48:30 +0800 Subject: [PATCH] no message --- public/html/compareprice.html | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/public/html/compareprice.html b/public/html/compareprice.html index 31f16aa..5f9800d 100644 --- a/public/html/compareprice.html +++ b/public/html/compareprice.html @@ -367,6 +367,10 @@ size=size<=0?400:size; document.documentElement.style.fontSize = (size > 750 ? 750 : size) / 7.5 + 'px'; })(); + function scanCode(str) + { + alert(str); + } Vue.use(VueLazyload, { preLoad: 1.3,// error: 'https://sr.ffquan.cn/cms_pic/20200622/bro7s7f6vrkd3jat4ujg0.png', @@ -390,6 +394,10 @@ }, fromcopy:function() { + + navigator.clipboard.readText().then(function(clipText){ + alert(clipText); + }) uni.postMessage({ data: { action: 'copy' -- Gitblit v1.9.3