分享二维码
diff --git a/src/main/resources/templates/apph5/visitorcode.html b/src/main/resources/templates/apph5/visitorcode.html
index 8dca106..c8fff9c 100644
--- a/src/main/resources/templates/apph5/visitorcode.html
+++ b/src/main/resources/templates/apph5/visitorcode.html
@@ -31,8 +31,8 @@
}, 60000);
$(function () {
-
-
+ var vistorId = $("#visitorid").val()
+ window.localStorage.setItem("vistorId",vistorId)
var qcode = $("#myText").val();
if (undefined != qcode && null != qcode && "" != qcode) {
var qrcode = new QRCode(document.getElementById("qrcode"), {
@@ -117,7 +117,9 @@
var toShare = document.getElementById("toShare")
toShare.onclick = function(){
- window.location.href = "file:///android_asset/www/share.html"
+ var vistorId = $("#visitorid").val()
+ window.localStorage.setItem("vistorId",vistorId)
+ alert("点击右上角进行分享")
}
// var shareQQ = document.getElementById("shareQQ");