jack 8 年之前
父节点
当前提交
66636faeaf
共有 1 个文件被更改,包括 7 次插入11 次删除
  1. 7 11
      app/js/articleShow.js

+ 7 - 11
app/js/articleShow.js

@ -494,19 +494,15 @@ mui.plusReady(function() {
494 494
		var datatype = this.getAttribute("data-type");
495 495
		var ownerid = this.getAttribute("owner-id");
496 496
		if(datatype == 1) {
497
			mui.openWindow({
498
			url: '../html/professorArticle.html',
499
			id: 'html/professorArticle.html',
500
			show: {
501
				autoShow: false,
502
				aniShow: "slide-in-right",
503
			},
504
			extras: {
497
			plus.nativeUI.showWaiting();
498
			var webviewShow=plus.webview.create("../html/professorArticle.html", '../html/professorArticle.html', {}, {
505 499
				articleId: id,
506 500
				ownerid: ownerid,
507
			},
508
			createNew:true
509
		});
501
			});
502
			webviewShow.addEventListener("loaded", function() {
503
				setTimeout(function(){plus.webview.currentWebview().close()},2000)
504
				
505
			}, false);
510 506
		} else if(datatype == 2) {
511 507
			plus.nativeUI.showWaiting();
512 508
			plus.webview.create("../html/professorArticle.html", '../html/professorArticle.html', {}, {