Przeglądaj źródła

论文专利用户跳转浏览页

luyanan 7 lat temu
rodzic
commit
eee27ed4d5

+ 2 - 14
app/html/paperShow.html

@ -12,19 +12,7 @@
12 12
		<style>
13 13
			html,body{height: 100%;margin:0;padding:0px;overflow: hidden;background: #FFFFFF;}
14 14
			.mui-content{height:100%;overflow: auto;background: #FFFFFF;}
15
			.invite{
16
   					margin-top: -13px;
17
    				border-radius: 4px;
18
				    display: inline-block;
19
				    line-height: normal;
20
				    position: absolute;
21
				    top: 50%;
22
				    right: 15px;
23
				    padding: 6px 8px;
24
				    background-color:#ff9900;
25
				    color: #fff;
26
				    font-size: 12px;
27
				}
15
			
28 16
		</style>
29 17
	</head>
30 18
@ -76,7 +64,7 @@
76 64
				</ul>
77 65
				<div class="madiaBlock">
78 66
					<div class="madiaTit">作者</div>
79
					<ul class="mui-table-view" id="aboutAuthors">
67
					<ul class="mui-table-view noactiveTab" id="aboutAuthors">
80 68
				       <!-- <li class="mui-table-view-cell">
81 69
				            <div class="flexCenter mui-clearfix">
82 70
				                <div class="madiaHead useHead"></div>

+ 1 - 14
app/html/patentShow.html

@ -12,19 +12,6 @@
12 12
		<style>
13 13
			html,body{height: 100%;margin:0;padding:0px;overflow: hidden;background: #FFFFFF;}
14 14
			.mui-content{height:100%;overflow: auto;background: #FFFFFF;}
15
			.invite{
16
   					margin-top: -13px;
17
    				border-radius: 4px;
18
				    display: inline-block;
19
				    line-height: normal;
20
				    position: absolute;
21
				    top: 50%;
22
				    right: 15px;
23
				    padding: 6px 8px;
24
				    background-color:#ff9900;
25
				    color: #fff;
26
				    font-size: 12px;
27
				}
28 15
		</style>
29 16
	</head>
30 17
@ -85,7 +72,7 @@
85 72
				</ul>
86 73
				<div class="madiaBlock">
87 74
					<div class="madiaTit">发明人</div>
88
					<ul class="mui-table-view" id="aboutAuthors">
75
					<ul class="mui-table-view noactiveTab" id="aboutAuthors">
89 76
				        <!--<li class="mui-table-view-cell">
90 77
				            <div class="flexCenter mui-clearfix">
91 78
				                <div class="madiaHead useHead"></div>

+ 1 - 1
app/html/useraiticleList.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
		<!-- 主页面内容容器 -->

+ 21 - 1
app/js/paperShow.js

@ -45,6 +45,26 @@ mui.plusReady(function() {
45 45
		}
46 46
	});
47 47
48
	//点击进入个人详情页面
49
	mui("#aboutAuthors").on("tap","li",function(){
50
		var oDataId =this.getAttribute("data-id");
51
		if(oDataId.substring(0,1)!="#"){
52
			mui.openWindow({
53
				url: '../html/userInforShow.html',
54
				id: 'html/userInforShow.html',
55
				show: {
56
					autoShow: false,
57
					aniShow: "slide-in-right",
58
				},
59
				extras: {
60
					proid: oDataId
61
				}
62
			});
63
		}else{
64
			
65
		}
66
	})
67
48 68
	function getRecourceMe() {
49 69
		mui.plusReady(function() {
50 70
			mui.ajax(baseUrl + '/ajax/ppaper/qo', {
@ -134,7 +154,7 @@ mui.plusReady(function() {
134 154
										if($proData.success) {
135 155
											var showPro = $proData.data;
136 156
											if(showPro.hasHeadImage == 1) {
137
												imgbg = "/images/head/" + showPro.id + "_l.jpg";
157
												imgbg = baseUrl + "/images/head/" + showPro.id + "_l.jpg";
138 158
											} else {
139 159
												imgbg = "../images/default-photo.jpg";
140 160
											}

+ 20 - 1
app/js/patentShow.js

@ -44,6 +44,25 @@ mui.plusReady(function() {
44 44
				
45 45
			}
46 46
		});
47
	//点击进入个人详情页面
48
	mui("#aboutAuthors").on("tap","li",function(){
49
		var oDataId =this.getAttribute("data-id");
50
		if(oDataId.substring(0,1)!="#"){
51
			mui.openWindow({
52
				url: '../html/userInforShow.html',
53
				id: 'html/userInforShow.html',
54
				show: {
55
					autoShow: false,
56
					aniShow: "slide-in-right",
57
				},
58
				extras: {
59
					proid: oDataId
60
				}
61
			});
62
		}else{
63
		}
64
	})
65
	
47 66
	function getRecourceMe() {
48 67
		mui.plusReady(function() {
49 68
			mui.ajax(baseUrl + '/ajax/ppatent/qo', {
@ -134,7 +153,7 @@ mui.plusReady(function() {
134 153
										if($proData.success){
135 154
											var showPro = $proData.data;
136 155
											if(showPro.hasHeadImage == 1) {
137
												imgbg = "/images/head/" + showPro.id + "_l.jpg";
156
												imgbg =  baseUrl + "/images/head/" + showPro.id + "_l.jpg";
138 157
											} else {
139 158
												imgbg = "../images/default-photo.jpg";
140 159
											}