Browse Source

修改专家学术领域字段限制

luyanan 7 years ago
parent
commit
6c1fa46f7f
4 changed files with 10 additions and 8 deletions
  1. 1 0
      css/share.css
  2. 6 5
      e/c.html
  3. 2 2
      e/p.html
  4. 1 1
      information.html

+ 1 - 0
css/share.css

@ -151,6 +151,7 @@ ul.tagList>li .h2Font{color: #666;}
151 151
.cardInfo .h1Font{font-size:16px;}
152 152
.cardInfo .h2Font{font-size:14px;color: #666;}
153 153
.cardInfo .h3Font{font-size:13px;line-height: 16px;color: #666;}
154
.cardInfo .icon-address{position:relative;top:-5px;}
154 155
155 156
.mainbox{width:100%;margin:10px auto;background: #FFFFFF;}
156 157
/*专家相关信息*/

+ 6 - 5
e/c.html

@ -27,7 +27,7 @@
27 27
				<div class="cardInfo">
28 28
					<p><span class="h1Font" id="companyName"></span><em class="authicon" id="authFlag"></em></p>
29 29
					<p class="ellipsisSty h2Font" id="industryShow"></p>
30
					<p class="h3Font"><em class="iconfontnew icon-address"></em> <span id="address"></span></p>
30
					<p class="h3Font" id="address"></p>
31 31
				</div>		
32 32
			</div>
33 33
		</div>
@ -130,10 +130,11 @@ $(document).ready(function() {
130 130
					}
131 131
					
132 132
					/*所在城市*/
133
					if($data.city) {
134
						document.getElementById("address").innerText = $data.city;
135
					} else {
136
						document.getElementById("address").parentNode.style.display = "none";
133
					if($data.city){
134
						document.getElementById("address").innerHTML ='<em class="mui-icon iconfontnew icon-address"></em> ' + $data.city;
135
					}
136
					else {
137
						document.getElementById("address").style.display = "none";
137 138
					}
138 139
139 140
					/*企业简介*/

+ 2 - 2
e/p.html

@ -23,7 +23,7 @@
23 23
				<div class="cardInfo">
24 24
					<p><span class="h1Font" id="proName"></span><em class="authiconNew" title="" id="proAuth"></em></p>
25 25
					<p class="ellipsisSty h2Font"id="proOther"></p>
26
					<p class="h3Font"><em class="mui-icon iconfontnew icon-address"></em> <span id="proAddress"></span></p>
26
					<p class="h3Font" id="proAddress"></p>
27 27
				</div>		
28 28
			</div>
29 29
		</div>
@ -156,7 +156,7 @@ $(document).ready(function() {
156 156
					var oStyS=autho($info.authType,$info.orgAuth,$info.authStatus);
157 157
					$("#proAuth").addClass(oStyS.sty); $("#proAuth").attr("title",oStyS.title);
158 158
					if($info.address){
159
						$("#proAddress").html($info.address);
159
						$("#proAddress").html('<em class="mui-icon iconfontnew icon-address"></em> ' + $info.address);
160 160
					}
161 161
					var proOther="";
162 162
					if($info.orgName){

+ 1 - 1
information.html

@ -150,7 +150,7 @@
150 150
					</div>
151 151
					<div class="modifybox form-item">
152 152
						<div class="col-w-12" style="position: relative;">
153
							<input type="text" class="frmcontype oinput" placeholder="请填写您研究的学科,如:腐蚀防护、石墨烯、纳米材料" data-pro="学术领域不得超过10个字"  data-num="20" data-fontSizeN="10" id="subject"/>
153
							<input type="text" class="frmcontype oinput" placeholder="请填写您研究的学科,如:腐蚀防护、石墨烯、纳米材料" data-pro="学术领域不得超过15个字"  data-num="20" data-fontSizeN="15" id="subject"/>
154 154
							<button type="button" class="frmcontype btnModel frmaddG addButton" id="subjectAdd">添加</button>
155 155
							<div class="form-drop keydrop">
156 156
								<ul>