转发图片
This commit is contained in:
@@ -36,8 +36,8 @@ function shareAction(sb,bh) {
|
||||
msg.content=sharehrefDes;
|
||||
}
|
||||
}
|
||||
msg.thumbs=["_www/logo.png"];
|
||||
msg.pictures=["_www/logo.png"];
|
||||
msg.thumbs=[picUrl];
|
||||
msg.pictures=[picUrl];
|
||||
}else{
|
||||
if(pic&&pic.realUrl){
|
||||
msg.pictures=[pic.realUrl];
|
||||
|
||||
@@ -60,6 +60,7 @@ var shareUrl = BASE_PATH+"/news/newDetail?newsId=";
|
||||
var sharehrefTitle = "停车坐爱枫林晚,霜叶红于二月花";
|
||||
var sharehrefDes = "客观里面请!";
|
||||
var shareId='';
|
||||
var picUrl = '';
|
||||
|
||||
function onPlusReady() {
|
||||
var self = plus.webview.currentWebview();
|
||||
@@ -85,6 +86,7 @@ function onPlusReady() {
|
||||
$("#content").html(data.content)
|
||||
sharehrefTitle = data.title
|
||||
sharehrefDes = data.introduction
|
||||
picUrl = data.coverImg
|
||||
}
|
||||
},
|
||||
error:function(){
|
||||
|
||||
Reference in New Issue
Block a user