jack 7 years ago
parent
commit
84a4d2e3eb

+ 1 - 1
app/html/searchListNew2.html

@ -39,7 +39,7 @@
39 39
			</div>
40 40
			<div class="rightnav filtered displayNone" id="sele">
41 41
				<!--选择筛选条件之后添加 filtered-->
42
				<a class="mui-icon iconfont icon-filter"><span class="mui-badge"></span></a><br />筛选
42
				<a class="mui-icon iconfont icon-filter"><span class="mui-badge" id="seler" style="display:none;"></span></a><br />筛选
43 43
			</div>
44 44
		</header>
45 45
		<div class="mui-content maincontent searchTab">

+ 5 - 0
app/html/userInforUpdate.html

@ -7,6 +7,11 @@
7 7
		<link href="../css/mui.min.css" rel="stylesheet" />
8 8
		<link href="../css/iconfont.css" rel="stylesheet" />
9 9
		<link href="../css/app.css" rel="stylesheet" />
10
		<style type="text/css">
11
			.infocon{
12
				display:none;
13
			}
14
		</style>
10 15
	</head>
11 16
12 17
	<body>

+ 1 - 1
app/html/userpaperList.html

@ -15,7 +15,7 @@
15 15
		<div class="maskBlack" id="maskBlack"></div>
16 16
		<header class="mui-bar mui-bar-nav toptitbox">
17 17
			<a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left topback"></a>
18
			<h1 class="mui-title toptit" id="professorName">专家名称</h1>
18
			<h1 class="mui-title toptit" id="professorName">他的论文</h1>
19 19
			<a class="mui-icon iconfont icon-moreandroid mui-pull-right button topmore" id="BtnMore"></a>
20 20
		</header>
21 21
		<!-- 主页面内容容器 -->

+ 1 - 1
app/html/userpatentList.html

@ -15,7 +15,7 @@
15 15
		<div class="maskBlack" id="maskBlack"></div>
16 16
		<header class="mui-bar mui-bar-nav toptitbox">
17 17
			<a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left topback"></a>
18
			<h1 class="mui-title toptit" id="professorName">专家名称</h1>
18
			<h1 class="mui-title toptit" id="professorName">他的专利</h1>
19 19
			<a class="mui-icon iconfont icon-moreandroid mui-pull-right button topmore" id="BtnMore"></a>
20 20
		</header>
21 21
		<!-- 主页面内容容器 -->

+ 1 - 1
app/html/userresourceList.html

@ -15,7 +15,7 @@
15 15
		<div class="maskBlack" id="maskBlack"></div>
16 16
		<header class="mui-bar mui-bar-nav toptitbox">
17 17
			<a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left topback"></a>
18
			<h1 class="mui-title toptit" id="professorName">专家名称</h1>
18
			<h1 class="mui-title toptit" id="professorName">他的资源</h1>
19 19
			<a class="mui-icon iconfont icon-moreandroid mui-pull-right button topmore" id="BtnMore"></a>
20 20
		</header>
21 21
		<!-- 主页面内容容器 -->

+ 4 - 1
app/js/cmpInforShow.js

@ -375,7 +375,10 @@ mui.ready(function() {
375 375
		})
376 376
		})
377 377
	}
378
	
378
	window.addEventListener("newId", function(event) {
379
		alert(1)
380
			plus.navigator.setStatusBarBackground( "#28b8fa" );
381
		})
379 382
	
380 383
	});
381 384


+ 9 - 0
app/js/moreItem.js

@ -102,5 +102,14 @@ mui.ready(function(){
102 102
		})
103 103
	})
104 104
	
105
	document.getElementsByClassName("topback")[0].addEventListener("tap",function(){
106
		alert(self.id);
107
		if(self.name=="org") {
108
			var web = plus.webview.getWebviewById("cmpInforShow.html");
109
				mui.fire(web, "newId",{
110
									rd: 1
111
								});
112
		}
113
	})
105 114
	})
106 115
})

+ 2 - 1
app/js/searchListNew2.js

@ -771,9 +771,10 @@ for(var n=0;n<6;n++) {
771 771
				}
772 772
			}
773 773
			if(m){
774
				document.getElementById('seler').style.display="block";
774 775
				document.getElementById("sele").getElementsByTagName("span")[0].innerHTML=m;
775 776
			}else{
776
				document.getElementById("sele").getElementsByTagName("span")[0].innerHTML="";
777
				document.getElementById('seler').style.display="none";
777 778
			}
778 779
				
779 780
			if(key3.subject == arry[1] && key3.industry == arry[2] && key3.address == arry[0]) {

+ 2 - 2
app/js/updateBasic-title.js

@ -56,8 +56,8 @@ mui.ready(function() {
56 56
					console.log(JSON.stringify(data))
57 57
					if(data.success) {
58 58
						plus.nativeUI.showWaiting();
59
							var web = plus.webview.getWebviewById("updateBasic.html");
60
							mui.fire(web, "newId", {
59
							var web1 = plus.webview.getWebviewById("updateBasic.html");
60
							mui.fire(web1, "newId", {
61 61
								rd: 1
62 62
							});
63 63
						mui.back();

+ 5 - 3
app/js/updateBasic.js

@ -13,8 +13,10 @@ mui.ready(function() {
13 13
					console.log(JSON.stringify(data));
14 14
					if(data.success) {
15 15
						plus.nativeUI.closeWaiting();
16
						if(!f1)
17
						ws.show("slide-in-right", 150);
16
						console.log(f1)
17
						if(!f1) {
18
							ws.show("slide-in-right", 150);
19
						}
18 20
						var $data = data.data;
19 21
						//头像					
20 22
						if($data.hasHeadImage) {
@ -82,7 +84,7 @@ mui.ready(function() {
82 84
		}
83 85
		personalMessage();
84 86
		window.addEventListener("newId", function(event) {
85
			fl = event.detail.rd;
87
			f1 = event.detail.rd;
86 88
			personalMessage();
87 89
		});
88 90
		//创建窗口

+ 1 - 0
app/js/userInforShow.js

@ -487,6 +487,7 @@ mui.plusReady(function() {
487 487
					ourl:self.id
488 488
				}
489 489
			});
490
			return;
490 491
		}
491 492
		if(this.className == "mui-icon iconfontnew icon-yishoucang") {
492 493
			cancelCollectionAbout(proId, '1');

+ 2 - 0
app/js/userInforUpdate.js

@ -47,6 +47,7 @@ mui.ready(function() {
47 47
		//项目经历
48 48
		var projectShow = function(obj) {
49 49
			if(obj.data.length > 0) {
50
				document.getElementById(obj.selector).parentNode.style.display="block";
50 51
				var arr = [];
51 52
				for(var i = 0; i < obj.data.length; i++) {
52 53
					if(obj.flag == 1) {
@ -69,6 +70,7 @@ mui.ready(function() {
69 70
		//荣誉奖项
70 71
		var honorShow = function(obj) {
71 72
			if(obj.data.length > 0) {
73
				document.getElementById(obj.selector).parentNode.style.display="block";
72 74
				var arr = [];	                  
73 75
				for(var i = 0; i < obj.data.length; i++) {
74 76