Commit eb33475f by sunchao

重要公告样式调整

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