/**
- 调用系统分享
*/
function shareSystem(){
outSet('调用系统分享');
var msg={content:sharecontent.value};
if('iOS'==plus.os.name){//iOS平台添加链接地址
msg.href='http://www.dcloud.io0/';
}
msg.type='image'
// plus.gallery.save( "https://bjetxgzv.cdn.bspapp.com/VKCEYUGU-uni-app-doc/6b971f70-4f31-11eb-bd01-97bc1429a9ff.png", function (e) {
// outSet(e.path)
msg.thumbs=['https://bjetxgzv.cdn.bspapp.com/VKCEYUGU-uni-app-doc/6b971f70-4f31-11eb-bd01-97bc1429a9ff.png']
outLine(JSON.stringify(msg));
plus.share.sendWithSystem?plus.share.sendWithSystem(msg, function(){
outLine('Success');
console.log('Success');
}, function(e){
outLine('Failed: '+JSON.stringify(e));
console.log('Failed: '+JSON.stringify(e));
}):shareSystemNativeJS();
// } );
// msg.pictures=['https://bjetxgzv.cdn.bspapp.com/VKCEYUGU-uni-app-doc/6b971f70-4f31-11eb-bd01-97bc1429a9ff.png']
}