浏览代码

专家文章顶部图片样式

luyanan 8 年之前
父节点
当前提交
a13c0cef94
共有 4 个文件被更改,包括 8 次插入10 次删除
  1. 3 3
      app/css/app.css
  2. 4 1
      app/html/artical_01.html
  3. 1 6
      app/html/professorArticle.html
  4. 二进制
      app/images/default-art_top.jpg

+ 3 - 3
app/css/app.css

559

559

560
/***********************缺省页面*******************/
560
/***********************缺省页面*******************/
561
.nodatabox{width:100%;height: 100%; margin:50px auto;text-align: center;}
561
.nodatabox{width:100%;height: 100%; margin:50px auto;text-align: center;}
562
.nodatabox .picbox{width: 40%;margin: auto;}
562
.nodatabox .picbox{width: 40%;margin:20% auto 20px;}
563
.nodatabox .picbox .defpic{display:block;margin:auto;width:160px; height: 160px;background: url(../images/nodata.png) -6px 0 no-repeat;}
563
.nodatabox .picbox .defpic{display:block;margin:auto;width:160px; height: 160px;background: url(../images/nodata.png) -6px 0 no-repeat;}
564
.nodatabox .picbox .defpic.consult-pic{background-position: -232px -1320px;}/*咨询页面未登录*/
564
.nodatabox .picbox .defpic.consult-pic{background-position: -232px -1320px;}/*咨询页面未登录*/
565

565

566
.nodatabox .txtbox { margin:40px 0 10px 0;}
566
.nodatabox .txtbox { margin:20px 0 10px 0;}
567
.nodatabox .txtbox .currword{font-size: 14px;color: #999999;line-height: 14px;}
567
.nodatabox .txtbox .currword{font-size: 14px;color: #999999;line-height: 14px;}
568
.nodatabox .txtbox .currtip{ font-size:13px;color: #AAAAAA;}
568
.nodatabox .txtbox .currtip{ font-size:13px;color: #AAAAAA;}
569
.nodatabox .txtbox .keyword{ padding:0 6px;}
569
.nodatabox .txtbox .keyword{ padding:0 6px;}
590
	background: -moz-linear-gradient( rgba(0,0,0,0), rgba(0,0,0,0.2)); /* Firefox 3.6 - 15 */
590
	background: -moz-linear-gradient( rgba(0,0,0,0), rgba(0,0,0,0.2)); /* Firefox 3.6 - 15 */
591
	background: linear-gradient( rgba(0,0,0,0), rgba(0,0,0,0.2)); /* 标准的语法 */
591
	background: linear-gradient( rgba(0,0,0,0), rgba(0,0,0,0.2)); /* 标准的语法 */
592
}
592
}
593
.art_img{ width: 100%; height:200px ; overflow: hidden;background: url(../images/default-artical.jpg) center center no-repeat;background-size:100% auto;}
593
.art_img{ width: 100%; height:140px; overflow: hidden;background: url(../images/default-art_top.jpg) center center no-repeat;background-size:100% auto;}
594
#artical_topic{position: absolute;bottom:0;padding:6px 10px;font-size:18px;line-height:24px;color:#FFFFFF}
594
#artical_topic{position: absolute;bottom:0;padding:6px 10px;font-size:18px;line-height:24px;color:#FFFFFF}
595

595

596
#artical_sth{font-size:12px;line-height: 14px;color:#999999;}
596
#artical_sth{font-size:12px;line-height: 14px;color:#999999;}

+ 4 - 1
app/html/artical_01.html

19
</header>
19
</header>
20
<div class="mui-content">
20
<div class="mui-content">
21
	<div class="art_topicBox">
21
	<div class="art_topicBox">
22
		<img src="../images/banner/artical_01.jpg">
22
		<div class="art_img" style="background: url(../images/banner/artical_01.jpg) center center no-repeat; background-size:100% auto;">
23
			
24
		</div>
25
		
23
		<div class="art_topicbox">
26
		<div class="art_topicbox">
24
			<h4 id="artical_topic" ><!--title-->李光福:为核电安全发展护航  腐蚀防护任重道远<!--title--></h4>
27
			<h4 id="artical_topic" ><!--title-->李光福:为核电安全发展护航  腐蚀防护任重道远<!--title--></h4>
25
		</div>
28
		</div>

+ 1 - 6
app/html/professorArticle.html

14
			.mui-content {
14
			.mui-content {
15
				background: #FFFFFF;
15
				background: #FFFFFF;
16
			}
16
			}
17
			p{padding:0; margin: 0;text-indent: 0;}
18
			#main_content img{
17
			#main_content img{
19
				width:100%;
18
				width:100%;
20
			}
19
			}
33
					<span class="mui-pull-left" id="leaveWord">留言</span>
32
					<span class="mui-pull-left" id="leaveWord">留言</span>
34
				</div> 
33
				</div> 
35
			</div>
34
			</div>
36
			<!--<div class="attentbtn mui-pull-left">
37
				<em class="mui-iocn iconfont icon-favor" id="yesExpert"></em>
38
				<em class="mui-iocn iconfont icon-favorfill" style="display:none;" id="noExpert"></em>
39
				已经关注icon-favorfill
40
			</div>-->
41
		</nav>
35
		</nav>
42
		<div class="mui-content">
36
		<div class="mui-content">
43
			<div class="art_topicBox">
37
			<div class="art_topicBox">
38
				
44
				<div class="art_img" id="articleImg"></div>
39
				<div class="art_img" id="articleImg"></div>
45
				<div class="art_topicbox">
40
				<div class="art_topicbox">
46
					<h4 id="artical_topic"></h4>
41
					<h4 id="artical_topic"></h4>

二进制
app/images/default-art_top.jpg