瀏覽代碼

专利论文邀请及专利论文分享

jack 7 年之前
父節點
當前提交
d6f7870930
共有 2 個文件被更改,包括 11 次插入3 次删除
  1. 5 1
      app/js/paperShow.js
  2. 6 2
      app/js/patentShow.js

+ 5 - 1
app/js/paperShow.js

@ -614,7 +614,11 @@ mui.plusReady(function() {
614 614
			plus.nativeUI.closeWaiting();
615 615
			if(plus.storage.getItem('userid')) {
616 616
				//shareAddIntegral(2);
617
				plus.nativeUI.toast("成功分享论文信息", toastStyle);
617
				if(msg.content=="赶快认领,上千家企业正在期待与您合作") {
618
					shareAddIntegral(1);
619
				}else{
620
					plus.nativeUI.toast("成功分享论文信息", toastStyle);
621
				}
618 622
			}
619 623
		}, function(e) {
620 624
			plus.nativeUI.closeWaiting();

+ 6 - 2
app/js/patentShow.js

@ -606,8 +606,12 @@ mui.plusReady(function() {
606 606
		share.send(msg, function() {
607 607
			plus.nativeUI.closeWaiting();
608 608
			if(plus.storage.getItem('userid')) {
609
				//shareAddIntegral(2);
610
				plus.nativeUI.toast("成功分享专利信息", toastStyle);
609
				
610
				if(msg.content=="赶快认领,上千家企业正在期待与您合作") {
611
					shareAddIntegral(1);
612
				}else{
613
					plus.nativeUI.toast("成功分享专利信息", toastStyle);
614
				}
611 615
			}
612 616
		}, function(e) {
613 617
			plus.nativeUI.closeWaiting();