Commit eb33475f by sunchao

重要公告样式调整

parent e09540b9
......@@ -562,4 +562,15 @@ export class LifeCommonService {
}
return date;
}
getName(str){
if(str == 'S2'){
return 'S2体系'
}else if(str == 'S1'){
return 'S1分部'
}else if(str == 'S3'){
return 'S3纵队'
}else {
return ''
}
}
}
<div class="wrapper">
<div class="headWrapper">
<div class="title">
<div class="title" style="color: #333;">
{{titleDeatil}}
</div>
<div class="announcement_at_top">
<!-- 上海银盾保险经纪有限公司&nbsp;&nbsp; -->
{{announcementLists?.announcementAt}}
发布日期:{{announcementLists?.announcementAt}}
</div>
</div>
<div class="announcementItem">
<div class="announcement_title">
<!-- <span class="announcement_type">【{{announcementLists?.announcementTypeName}}】</span> -->
<span [innerHtml]="announcementLists?.title |safeHtml"></span>
<!-- <span [innerHtml]="announcementLists?.title |safeHtml"></span> -->
</div>
<div [innerHtml]="announcementLists?.content | safeHtml" class="announcement_content"></div>
<div [innerHtml]="announcementLists?.content | safeHtml" class="announcement_content rich_media_content"></div>
<!-- <div class="announcement_at">上海银盾保险经纪有限公司 &nbsp;&nbsp;{{announcementLists?.announcementAt}}</div> -->
</div>
</div>
\ No newline at end of file
......@@ -48,9 +48,9 @@
text-align: center;
line-height: 50px;
font-size: 40px;
color: #0c5c90;
}
.title{
margin-bottom: 8px;
font-size: 16px;
// font-weight: bold;
overflow: hidden;
......
......@@ -10,7 +10,7 @@
<div style="font-size: 18px;margin: 5px auto;text-align: center;">战队成员</div>
<div class="content_wrapper memberList">
<ul style="border: none;background: #e7eef5;border-radius: 5px;">
<li>姓名</li>
<li style="padding-left: 5px;">姓名/团队</li>
<li>级别</li>
<li class="sex">性别</li>
<li>手机号</li>
......@@ -25,9 +25,9 @@
<span style="color:#333;font-size: 14px;font-weight: normal;">{{i+1}} </span>
<i style="margin-left: 10px;font-style: normal;">{{teamMemberItem.system}}</i>
</li>
<li style="font-weight: bold;" [ngStyle]="{'color':teamMemberItem.systemType == 'S2'?'#f7484a':'#22609c'}">{{teamMemberItem.systemType}}</li>
<li class="sex">/</li>
<li>/</li>
<li style="font-weight: bold;" [ngStyle]="{'color':teamMemberItem.systemType == 'S2'?'#f7484a':'#22609c'}">{{lifeCommonService.getName(teamMemberItem.systemType)}}</li>
<li class="sex">-</li>
<li>-</li>
<li><i class="iconfont icon-ar-r" style="color: #a4a4a4;font-size: 12px;" ></i></li>
</ul>
<ul *ngFor="let teamMemberItem of teamMemberList;index as i;" [routerLink]="['/member_detail',teamMemberItem.practitionerId]">
......
......@@ -64,7 +64,7 @@
li{
float: left;
width: 18%;
text-align: center;
text-align: left;
margin:0 1%;
position: relative;
overflow: hidden;
......@@ -125,10 +125,12 @@
border-bottom: 1px #ddd solid;
border-radius: 0;
li{
width: 25%;
width: 25%;
text-align: left;
}
li:nth-child(1){
width: 20%;
padding-left: 10px;
}
li:nth-child(4){
width: 28%;
......
......@@ -39,4 +39,5 @@ export class MemberListComponent implements OnInit {
goToList(itemInfo) {
window.location.href = `https://${window.location.host}/ydLife/member_list/${itemInfo.systemType}?sid=${itemInfo.sid}`
}
}
......@@ -85,7 +85,7 @@
<div style="font-size: 18px;margin: 5px auto;text-align: center;">战队成员</div>
<div class="content_wrapper memberList">
<ul style="border: none;background: #e7eef5;border-radius: 5px;">
<li>姓名/团队</li>
<li style="padding-left: 5px;">姓名/团队</li>
<li>级别</li>
<li class="sex">性别</li>
<li>手机号</li>
......@@ -100,9 +100,9 @@
<span style="color:#333;font-size: 14px;font-weight: normal;">{{i+1}} </span>
<i style="margin-left: 10px;font-style: normal;">{{teamMemberItem.system}}</i>
</li>
<li style="font-weight: bold;" [ngStyle]="{'color':teamMemberItem.systemType == 'S2'?'#f7484a':'#22609c'}">{{teamMemberItem.systemType}}</li>
<li class="sex">/</li>
<li>/</li>
<li style="font-weight: bold;" [ngStyle]="{'color':teamMemberItem.systemType == 'S2'?'#f7484a':'#22609c'}">{{lifeCommonService.getName(teamMemberItem.systemType)}}</li>
<li class="sex">-</li>
<li>-</li>
<li><i class="iconfont icon-ar-r" style="color: #a4a4a4;font-size: 12px;" ></i></li>
</ul>
<ul *ngFor="let teamMemberItem of teamMemberList;index as i;" [routerLink]="['/member_detail',teamMemberItem.practitionerId]">
......
......@@ -153,10 +153,12 @@
border-bottom: 1px #ddd solid;
border-radius: 0;
li{
width: 25%;
width: 25%;
text-align: left;
}
li:nth-child(1){
width: 20%;
padding-left: 10px;
}
li:nth-child(4){
width: 28%;
......
......@@ -4,4 +4,6 @@
}
.rich_media_content .list-paddingleft-1, .rich_media_content .list-paddingleft-2, .rich_media_content .list-paddingleft-3 {
padding-left: 2.2em;
color: #333;
font-size: 16px;
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment