分享到QQ,微信,微博等
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>分享到QQ,微信,微博等</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-
scalable=0">
<meta name="format-detection" content="telephone=no">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<link rel="stylesheet" type="text/css" href="$!webPath/resources/mobile/css/common.css" />
<link rel="stylesheet" type="text/css" href="$!webPath/resources/mobile/css/hfc_style.css" />
<script type="text/javascript" src="$!webPath/resources/mobile/js/jquery-1.9.1.js" ></script>
<script type="text/javascript" src="$!webPath/resources/mobile/js/init.js" ></script>
<script type="text/javascript" src="$!webPath/resources/mobile/js/ShareSDK.js" ></script>
<script>
#set($jq="$")
function init()
{
//1、配置平台信息,有开放平台账号系统的平台需要自行去申请账号(平台字段参考:http://wiki.mob.com/社交平
台配置项说明/)
var platformConfig = {};
//以下是示例
//新浪微博
var sinaConf = {};
sinaConf["app_key"] = "2717668240";
sinaConf["app_secret"] = "5ee75ee64e6c767b4dff75914cba7645";
sinaConf["redirect_uri"] = "http://www.huifencheng.com";
platformConfig[${jq}sharesdk.PlatformID.SinaWeibo] = sinaConf;
//微信
var weixinConf = {};
weixinConf["app_id"] = "wx91a7749c7046a780";
weixinConf["app_secret"] = "3a0c4da1aedb7b2bbb064f6f71b76fe3";
platformConfig[${jq}sharesdk.PlatformID.WechatPlatform] = weixinConf;
//QQ
var qqConf = {};
qqConf["app_id"] = "1105241169";
qqConf["app_key"] = "6YyDlsuRR6qUgSJY";
platformConfig[${jq}sharesdk.PlatformID.QQPlatform] = qqConf;
//2、初始化ShareSDK
${jq}sharesdk.initSDKAndSetPlatfromConfig("1083c05e733ae", platformConfig);
}
function shareWeibo(){
var params = {
"text" : "分享到QQ,微信,微博等,
"title" : "分享到QQ,微信,微博等",
"imageUrl" : "http://www.huifencheng.cn/statics/images/img3/logo1.jpg",
"url" : "$!webPath/m/seller/register.htm?uid=$!user.id",
"titleUrl" : "$!webPath/m/seller/invite_register.htm?uid=$!user.id",
"description" : "分享到QQ,微信,微博等",
"site" : "分享到QQ,微信,微博等",
"siteUrl" : "http://www.huifencheng.com",
"type" : ${jq}sharesdk.ContentType.Auto
};
${jq}sharesdk.showShareMenu(null, params, 100, 100, function (reqID, platform, state, shareInfo, error)
{
});
}
</script>
<script type="text/javascript" src="$!webPath/resources/mobilestyle/script/alert.js"></script></head>
<body οnlοad="init()" >
<div class="userCenterPage">
<div class="public_top" style="background:#ffffff;">
分享到QQ,微信,微博等
</div>
<div class="top">
<div class="balance_list">
<span class="text">¥#if(!$balance) 0.0 #else $balance #end</span>
<span class="text">¥#if(!$sellerAvailableBalance) 0.0 #else
$sellerAvailableBalance #end</span>
<span class="text text_b">¥#if(!$sellerFreezeBlance) 0.0 #else
$sellerFreezeBlance #end</span>
<div class="messageBox">
<a href="$!webPath/m/seller/predeposit_log.htm" class="text_w">分享到QQ,微信,微博等</a>
<div class="settingBox">
<a href="$!webPath/m/seller/setting.htm">
<span class="icon_setting"></span>
</a>
</div>
<div class="functionSection">
<a href="$!webPath/m/seller/seller_cash.htm">
<span class="icon_money2"></span>分享到QQ,微信,微博等
<a href="$!webPath/m/seller/account_safe.htm">
<span class="icon_protect"></span>分享到QQ,微信,微博等
<a href="$!webPath/m/seller/account_certification.htm">
<span class="icon_card"></span>分享到QQ,微信,微博等
<a href="$!webPath/m/seller/bank_card_list.htm">
<span class="icon_bankcard"></span>分享到QQ,微信,微博等
#if($!jsapiconfig)
<a href="javascript:alert('请点击微信左上角图标进行分享');" class="no_arrow">
#else
<a href="javascript:shareWeibo();" class="no_arrow">
#end
<a href="$!webPath/m/setting_helps.htm">
<span class="icon_question"></span>分享到QQ,微信,微博等
</div>
</div>
</body>
本文地址:http://lianchengexpo.xrbh.cn/quote/11280.html
迅博思语资讯 http://lianchengexpo.xrbh.cn/ , 查看更多
特别提示:本信息由相关企业自行提供,真实性未证实,仅供参考。请谨慎采用,风险自负。