Plugins/Tencent/WeChat/scanQRCode.aspx
(开头部分) 3KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="scanQRCode.aspx.cs" Inherits="eFrameWork.WeChat.scanQRCode" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>分享</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<script src="../../../Scripts/jquery.js?ver=1.0.61"></script>
<script type="text/javascript" src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>
<script sr44c="http://res.wx.qq.com/open/js/jweixin-1.2.0.js"></script>
<script s66rc="http://res.wx.qq.com/open/js/jweixin-1.3.2.js"></script>
</head>
<script>
$(document).ready(function () {
var jsApiListArr = ["checkJsApi","scanQRCode", "onMenuShareTimeline", "onMenuShareAppMessage"];
//var jsApiListArr = ["checkJsApi", "onMenuShareTimeline", "onMenuShareAppMessage"];
wx.config({ debug: false, appId: "<%=shareData.appid %>", timestamp: "<%=shareData.timestamp %>", nonceStr: "<%=shareData.noncestr %>", signature: "<%=shareData.signature%>", jsApiList: jsApiListArr });
var shareData = {
title: "<%=shareData.title %>",
desc: "<%=shareData.desc %>",
link: "<%=shareData.link %>",
imgUrl: "<%=shareData.imgurl %>",
success: function (res) {
//alert('已分享');
},
cancel: function (res) {
},
fail: function (res) {
alert("AA:" + JSON.stringify(res));
}
};
wx.ready(function () {
wx.onMenuShareTimeline(shareData); //分享到朋友圈
wx.onMenuShareAppMessage(shareData);//发送给朋友
//wx.hideOptionMenu();
/*
wx.checkJsApi({
jsApiList: ['onMenuShareTimeline','scanQRCode'],
success: function(res) {
//alert("BB" + JSON.stringify(res));
}
});
*/
/*
wx.scanQRCode({needResult: 1,
scanType: ["qrCode","barCode"],
success: function (res){
alert(1);
//var result = res.resultStr;
//alert(res.resultStr);
alert(JSON.stringify(res));
},
error: function(res)
{
alert(JSON.stringify(res));
}
后面还有 44 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
