luyanan лет назад: 7
Родитель
Сommit
6d9e0fae02
4 измененных файлов с 25 добавлено и 5 удалено
  1. 5 1
      app/js/cmpInforShow.js
  2. 5 1
      app/js/paperShow.js
  3. 5 1
      app/js/patentShow.js
  4. 10 2
      app/js/userInforShow.js

+ 5 - 1
app/js/cmpInforShow.js

@ -82,9 +82,13 @@ mui.ready(function() {
82 82
		mui('#likePro').on('tap', 'li', function() {
83 83
			var id = this.getAttribute("data-id");
84 84
			plus.nativeUI.showWaiting(); //显示原生等待框
85
			plus.webview.create("../html/cmpInforShow.html", 'cmpInforShow.html', {}, {
85
			var webviewShow1=plus.webview.create("../html/cmpInforShow.html", 'cmpInforShow.html', {}, {
86 86
				cmpId: id
87 87
			});
88
			webviewShow1.addEventListener("loaded", function() {
89
				setTimeout(function(){plus.webview.currentWebview().close()},1000)
90
				
91
			}, false);
88 92
		})
89 93
		mui('#relateArt').on('tap', 'li', function() {
90 94
			var id = this.getAttribute("data-id");

+ 5 - 1
app/js/paperShow.js

@ -909,9 +909,13 @@ mui('.commentBlock').on('tap', '.useHead,.h1Font', function() {
909 909
	mui("#paperList").on("tap", "li", function() {
910 910
			var id = this.getAttribute("data-id");
911 911
			plus.nativeUI.showWaiting();
912
			plus.webview.create("../html/paperShow.html", 'paperShow.html', {}, {
912
			var webviewShow1=plus.webview.create("../html/paperShow.html", 'paperShow.html', {}, {
913 913
				"paperId": id
914 914
			});
915
			webviewShow1.addEventListener("loaded", function() {
916
				setTimeout(function(){plus.webview.currentWebview().close()},1000)
917
				
918
			}, false);
915 919
		})
916 920
		mui("#patentList").on("tap", "li", function() {
917 921
			var id = this.getAttribute("data-id");

+ 5 - 1
app/js/patentShow.js

@ -894,8 +894,12 @@ mui('.commentBlock').on('tap', '.useHead,.h1Font', function() {
894 894
		mui("#patentList").on("tap", "li", function() {
895 895
			var id = this.getAttribute("data-id");
896 896
			plus.nativeUI.showWaiting();
897
			plus.webview.create("../html/patentShow.html", 'patentShow.html', {}, {
897
			var webviewShow1=plus.webview.create("../html/patentShow.html", 'patentShow.html', {}, {
898 898
				"patentId": id
899 899
			});
900
			webviewShow1.addEventListener("loaded", function() {
901
				setTimeout(function(){plus.webview.currentWebview().close()},1000)
902
				
903
			}, false);
900 904
		})
901 905
});

+ 10 - 2
app/js/userInforShow.js

@ -846,16 +846,24 @@ mui.plusReady(function() {
846 846
	mui("#evaluateShow").on("tap", ".urlhref", function() {
847 847
		var id = this.getAttribute("data-id");
848 848
		plus.nativeUI.showWaiting();
849
		plus.webview.create("../html/userInforShow.html", 'userInforShow.html', {}, {
849
		var webviewShow1=plus.webview.create("../html/userInforShow.html", 'userInforShow.html', {}, {
850 850
			"proid": id,
851 851
		});
852
		webviewShow1.addEventListener("loaded", function() {
853
				setTimeout(function(){plus.webview.currentWebview().close()},1000)
854
				
855
			}, false);
852 856
	})
853 857
	mui("#relatePro,#likePro").on("tap", "li", function() {
854 858
		var id = this.getAttribute("data-id");
855 859
		plus.nativeUI.showWaiting();
856
		plus.webview.create("../html/userInforShow.html", 'userInforShow.html', {}, {
860
		var webviewShow1=plus.webview.create("userInforShow.html", 'userInforShow.html', {}, {
857 861
			"proid": id,
858 862
		});
863
		webviewShow1.addEventListener("loaded", function() {
864
				setTimeout(function(){plus.webview.currentWebview().close()},1000)
865
				
866
			}, false);
859 867
	})
860 868
	mui("#relateArt").on("tap", "li", function() {
861 869
		var id = this.getAttribute("data-id");