Browse Source

积分排名

master
jiangyy 4 years ago
parent
commit
548ff67e61
  1. BIN
      epmet-oper-web/src/assets/img/modules/wx-mini/index-set/page/news-pic2.png
  2. 87
      epmet-oper-web/src/assets/scss/modules/wx-mini/group.scss
  3. 242
      epmet-oper-web/src/assets/scss/modules/wx-mini/heart.scss
  4. 981
      epmet-oper-web/src/assets/scss/modules/wx-mini/index-set.scss
  5. 149
      epmet-oper-web/src/assets/scss/modules/wx-mini/issue.scss
  6. 587
      epmet-oper-web/src/assets/scss/modules/wx-mini/more copy.scss
  7. 502
      epmet-oper-web/src/assets/scss/modules/wx-mini/score.scss
  8. 151
      epmet-oper-web/src/assets/scss/modules/wx-mini/voice.scss
  9. 3
      epmet-oper-web/src/components/wx-index/cpt-item.vue
  10. 25
      epmet-oper-web/src/components/wx-index/group.vue
  11. 154
      epmet-oper-web/src/components/wx-index/heart.vue
  12. 6
      epmet-oper-web/src/components/wx-index/issue.vue
  13. 351
      epmet-oper-web/src/components/wx-index/score.vue
  14. 26
      epmet-oper-web/src/components/wx-index/voice.vue

BIN
epmet-oper-web/src/assets/img/modules/wx-mini/index-set/page/news-pic2.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 981 KiB

87
epmet-oper-web/src/assets/scss/modules/wx-mini/group.scss

@ -58,6 +58,7 @@
}
.no{
text-align: center;
font-size: 13px;
font-family: PingFang SC;
font-weight: bold;
@ -129,91 +130,7 @@
}
}
.d-group-no {
position: absolute;
left: 10px;
top: 0;
width: 25px;
height: 21px;
line-height: 21px;
text-align: center;
img {
position: absolute;
z-index: 10;
display: block;
left: 0;
top: 0;
width: 25px;
}
span {
position: relative;
z-index: 20;
font-size: 14px;
font-family: PingFang SC;
font-weight: bold;
font-style: italic;
color: rgba(255, 255, 255, 1);
}
}
.d-group-avatar {
position: relative;
margin: 30px auto 5px;
width: 60px;
height: 60px;
padding: 4px;
overflow: hidden;
border-radius: 100%;
box-shadow: 0px 3px 24px 0px rgba(211, 211, 211, 0.26);
img {
position: absolute;
display: block;
top: 0;
left: 0;
right: 0;
bottom: 0;
margin: auto;
width: 52px;
height: 52px;
border-radius: 100%;
}
}
.d-group-name {
@include toe;
width: 120px;
margin: 0 auto;
text-align: center;
font-size: 17px;
font-family: PingFang SC;
font-weight: 500;
color: rgba(51, 51, 51, 1);
line-height: 21px;
}
.d-group-info {
@include toe;
width: 140px;
margin: 0 auto;
text-align: center;
font-size: 13px;
font-family: PingFang SC;
font-weight: 500;
color: rgba(102, 102, 102, 1);
line-height: 21px;
}
.d-group-btn {
margin: 10px auto 20px;
width: 65px;
height: 25px;
line-height: 25px;
background: rgba(255, 76, 82, 1);
border-radius: 25px;
text-align: center;
font-size: 14px;
font-family: PingFang SC;
font-weight: 500;
color: rgba(255, 255, 255, 1);
}
}
}
}

242
epmet-oper-web/src/assets/scss/modules/wx-mini/heart.scss

@ -0,0 +1,242 @@
@import "@/assets/scss/c/config.scss";
@import "@/assets/scss/c/function.scss";
@import "@/assets/scss/c/anime.scss";
// 爱心互助-banner
.heart_banner {
position: relative;
margin-top: 10px;
padding: 10px 10px 15px 10px;
background-color: rgba(233, 233, 233, 0.26);
.subbanner {
position: relative;
height: 160px;
border-radius: 10px;
overflow: hidden;
> img {
width: 100%;
height: 160px;
}
.d-title {
margin-top:1px;
position: absolute;
border-radius: 5px;
top: 0;
right: 0;
width:230px;
padding: 0 10px;
background: rgb(255, 255, 255);
overflow: hidden;
.left-log {
vertical-align: middle;
z-index: 10;
width: 15px;
margin-bottom:3px;
}
.s-title {
line-height: 21px;
margin-left:4px;
margin-bottom:3px;
font-size: 12px;
font-family: PingFang SC;
font-weight: 500;
color: rgb(0, 0, 0);
vertical-align: middle;
}
.d-group-no {
position: absolute;
right: 10px;
top: 3px;
width: 50px;
height: 28px;
vertical-align: middle;
text-align: center;
img {
position: absolute;
z-index: 10;
left: 0;
top: 0;
width: 50px;
}
span {
position: relative;
z-index: 20;
vertical-align: middle;
font-size: 7px;
color: rgba(255, 255, 255, 1);
}
}
}
}
}
// 爱心互助最新活动
.heart_news {
position: relative;
margin-top: 10px;
width: 355px;
margin: 0 auto;
border-radius: 5px;
overflow: hidden;
background: rgba(255, 255, 255, 1);
.d-cpt-title {
position: relative;
margin: 10px 10px 0 10px;
padding: 7px 10px 13px;
font-size: 17px;
line-height: 15px;
font-family: PingFang SC;
font-weight: bold;
color: rgba(51, 51, 51, 1);
border-bottom: 1px solid #e7eeee;
&::before {
content: "";
position: absolute;
top: 7px;
left: 0;
width: 3px;
height: 15px;
background: rgba(230, 0, 0, 1);
border-radius: 3px;
}
.more{
position: absolute;
top:13px;
right:10px;
font-size: 13px;
font-weight: normal;
color: rgb(151, 150, 150);
}
}
.list {
padding: 0 10px;
.item {
position: relative;
padding: 5px 0;
height: 140px;
padding-left: 110px;
border-bottom: 1px solid #eee;
&:last-child {
border-bottom: none;
}
> img {
position: absolute;
width: 110px;
height: 120px;
left: 0;
top: 11px;
border-radius: 5px;
}
.d-news-title {
margin-left:7px;
height: 40px;
font-size: 16px;
font-family: PingFang SC;
font-weight: 500;
color: rgba(51, 51, 51, 1);
line-height: 20px;
overflow: hidden;
}
.d-news-time {
margin: 0 0 5px 7px;
font-size: 12px;
font-family: PingFang SC;
font-weight: normal;
color: rgb(141, 141, 141);
line-height: 17px;
overflow: hidden;
display: flex;
.d-news-time-title{
height: 20px ;
display:flex ;
align-items:center;
>img{
margin-right:2px;
width: 12px;
vertical-align: bottom;
}
>span{
vertical-align: bottom;
}
}
.d-news-time-item{
font-size: 13px;
width: 60%;
color: rgb(141, 141, 141);
> span {
vertical-align: bottom;
}
}
}
.d-news-adress {
margin: 0 0 7px 7px;
height: 20px;
font-size: 12px;
font-family: PingFang SC;
font-weight: normal;
color: rgb(141, 141, 141);
line-height: 20px;
overflow: hidden;
display:flex ;
align-items:center;
> img {
display: inline-block;
margin-right: 2px;
width: 12px;
vertical-align: bottom;
}
> span {
display: inline-block;
height: 100%;
max-width: 80%;
vertical-align: bottom;
}
}
.d-news-state {
margin: 0 0 7px 7px;
height: 20px;
font-size: 13px;
font-family: PingFang SC;
font-weight: normal;
color: rgb(141, 141, 141);
line-height: 20px;
overflow: hidden;
.d-news-state-limit{
font-family: PingFang SC;
padding:3px 10px;
font-weight: 500;
background-color: rgb(170, 169, 169);
color: rgb(58, 58, 58);
border-radius: 90px;
}
.d-news-state-act{
margin-left:10px;
font-family: PingFang SC;
padding:3px 10px;
font-weight: 500;
background-color: rgb(255, 195, 195);
color: rgb(255, 38, 38);
border-radius: 90px;
}
}
}
}
}

981
epmet-oper-web/src/assets/scss/modules/wx-mini/index-set.scss

File diff suppressed because it is too large

149
epmet-oper-web/src/assets/scss/modules/wx-mini/issue.scss

@ -0,0 +1,149 @@
@import "@/assets/scss/c/config.scss";
@import "@/assets/scss/c/function.scss";
@import "@/assets/scss/c/anime.scss";
// 党群议事-最新发布
.issue_news {
position: relative;
margin-top: 10px;
.d-cpt-wrap {
width: 355px;
margin: 0 auto;
border-radius: 5px;
overflow: hidden;
background: rgba(255, 255, 255, 1);
.d-cpt-title {
position: relative;
margin: 10px 10px 0 10px;
padding: 7px 10px 13px;
font-size: 17px;
line-height: 15px;
font-family: PingFang SC;
font-weight: bold;
color: rgba(51, 51, 51, 1);
border-bottom: 1px solid #e7eeee;
&::before {
content: "";
position: absolute;
top: 7px;
left: 0;
width: 3px;
height: 15px;
background: rgba(230, 0, 0, 1);
border-radius: 3px;
}
}
.list {
padding: 0 10px;
.item2 {
position: relative;
padding: 10px 0;
border-bottom: 1px solid #eee;
&:last-child {
border-bottom: none;
}
.d-news-title {
@include toe;
font-size: 17px;
font-family: PingFang SC;
font-weight: 500;
color: rgba(51, 51, 51, 1);
line-height: 24px;
}
.d-news-content {
@include toe;
padding: 3px 0;
font-size: 14px;
font-family: PingFang SC;
font-weight: 500;
color: rgba(51, 51, 51, 1);
line-height: 20px;
}
.d-news-info {
margin-top: 5px;
padding: 0 1px;
font-size: 13px;
line-height: 26px;
font-family: PingFang SC;
font-weight: 500;
color: rgba(153, 153, 153, 1);
overflow: hidden;
> img {
display: inline-block;
margin-right: 5px;
width: 26px;
vertical-align: bottom;
}
> span {
@include toe;
display: inline-block;
max-width: 70%;
vertical-align: bottom;
}
}
}
.item3 {
position: relative;
padding: 10px 0;
border-bottom: 1px solid #eee;
&:last-child {
border-bottom: none;
}
.d-news-title {
@include toe;
font-size: 17px;
font-family: PingFang SC;
font-weight: 500;
color: rgba(51, 51, 51, 1);
line-height: 24px;
}
.d-news-content {
@include toe;
padding: 3px 0;
font-size: 14px;
font-family: PingFang SC;
font-weight: 500;
color: rgba(51, 51, 51, 1);
line-height: 20px;
}
.d-news-info {
margin-top: 5px;
padding: 0 1px;
font-size: 13px;
line-height: 13px;
font-family: PingFang SC;
font-weight: 500;
color: rgba(153, 153, 153, 1);
overflow: hidden;
> img {
display: inline-block;
margin-right: 5px;
width: 13px;
vertical-align: bottom;
}
> span {
@include toe;
display: inline-block;
max-width: 70%;
vertical-align: bottom;
}
}
}
}
}
}

587
epmet-oper-web/src/assets/scss/modules/wx-mini/more copy.scss

@ -2,130 +2,6 @@
@import "@/assets/scss/c/function.scss";
@import "@/assets/scss/c/anime.scss";
// 党建声音-轮播新闻
.mw-cpt-swiper {
position: relative;
.d-cpt-wrap {
padding: 10px 10px 15px 10px;
background-color: #fff;
.d-cpt-subwrap {
position: relative;
height: 160px;
border-radius: 10px;
overflow: hidden;
> img {
width: 100%;
height: 160px;
}
> div {
position: absolute;
bottom: 0;
left: 0;
right: 0;
height: 30px;
padding: 0 10px;
line-height: 30px;
background: rgba(0, 0, 0, 0.26);
overflow: hidden;
> span {
font-size: 14px;
font-family: PingFang SC;
font-weight: 500;
color: rgba(255, 255, 255, 1);
}
> i {
float: right;
position: relative;
top: 11px;
margin: 0 2px;
width: 5px;
height: 5px;
border-radius: 50%;
background: rgba(0, 0, 0, 0.26);
&.z-on {
background: rgba(255, 255, 255, 1);
}
}
}
}
}
}
// 爱心互助-banner
.mw-cpt-banner {
position: relative;
margin-top: 10px;
.d-cpt-wrap {
padding: 10px 10px 15px 10px;
background-color: rgba(233, 233, 233, 0.26);
.d-cpt-subwrap {
position: relative;
height: 160px;
border-radius: 10px;
overflow: hidden;
> img {
width: 100%;
height: 160px;
}
.d-title {
margin-top:1px;
position: absolute;
border-radius: 5px;
top: 0;
right: 0;
width:230px;
padding: 0 10px;
background: rgb(255, 255, 255);
overflow: hidden;
.left-log {
vertical-align: middle;
z-index: 10;
width: 15px;
margin-bottom:3px;
}
.s-title {
line-height: 21px;
margin-left:4px;
margin-bottom:3px;
font-size: 12px;
font-family: PingFang SC;
font-weight: 500;
color: rgb(0, 0, 0);
vertical-align: middle;
}
.d-group-no {
position: absolute;
right: 10px;
top: 3px;
width: 50px;
height: 28px;
vertical-align: middle;
text-align: center;
img {
position: absolute;
z-index: 10;
left: 0;
top: 0;
width: 50px;
}
span {
position: relative;
z-index: 20;
vertical-align: middle;
font-size: 7px;
color: rgba(255, 255, 255, 1);
}
}
}
}
}
}
// 我的消息
.mw-cpt-new_msg {
@ -153,358 +29,6 @@
}
}
// 党建声音-最新发布
.mw-cpt-cnt_news {
position: relative;
margin-top: 10px;
.d-cpt-wrap {
width: 355px;
margin: 0 auto;
border-radius: 5px;
overflow: hidden;
background: rgba(255, 255, 255, 1);
.d-cpt-title {
position: relative;
margin: 10px 10px 0 10px;
padding: 7px 10px 13px;
font-size: 17px;
line-height: 15px;
font-family: PingFang SC;
font-weight: bold;
color: rgba(51, 51, 51, 1);
border-bottom: 1px solid #e7eeee;
&::before {
content: "";
position: absolute;
top: 7px;
left: 0;
width: 3px;
height: 15px;
background: rgba(230, 0, 0, 1);
border-radius: 3px;
}
}
.list {
padding: 0 10px;
.item {
position: relative;
padding: 10px 0;
padding-left: 110px;
border-bottom: 1px solid #eee;
&:last-child {
border-bottom: none;
}
> img {
position: absolute;
width: 100px;
height: 55px;
left: 0;
top: 11px;
border-radius: 5px;
}
.d-news-title {
margin: 7px 0;
height: 40px;
font-size: 16px;
font-family: PingFang SC;
font-weight: 500;
color: rgba(51, 51, 51, 1);
line-height: 20px;
overflow: hidden;
}
.d-news-info {
margin-top: 17px;
margin-left: -110px;
padding: 0 1px;
font-size: 13px;
line-height: 13px;
font-family: PingFang SC;
font-weight: 500;
color: rgba(153, 153, 153, 1);
overflow: hidden;
> img {
display: inline-block;
margin-right: 5px;
width: 13px;
vertical-align: bottom;
}
> span {
@include toe;
display: inline-block;
max-width: 70%;
vertical-align: bottom;
}
}
}
.item2 {
position: relative;
padding: 10px 0;
border-bottom: 1px solid #eee;
&:last-child {
border-bottom: none;
}
.d-news-title {
@include toe;
font-size: 17px;
font-family: PingFang SC;
font-weight: 500;
color: rgba(51, 51, 51, 1);
line-height: 24px;
}
.d-news-content {
@include toe;
padding: 3px 0;
font-size: 14px;
font-family: PingFang SC;
font-weight: 500;
color: rgba(51, 51, 51, 1);
line-height: 20px;
}
.d-news-info {
margin-top: 5px;
padding: 0 1px;
font-size: 13px;
line-height: 26px;
font-family: PingFang SC;
font-weight: 500;
color: rgba(153, 153, 153, 1);
overflow: hidden;
> img {
display: inline-block;
margin-right: 5px;
width: 26px;
vertical-align: bottom;
}
> span {
@include toe;
display: inline-block;
max-width: 70%;
vertical-align: bottom;
}
}
}
.item3 {
position: relative;
padding: 10px 0;
border-bottom: 1px solid #eee;
&:last-child {
border-bottom: none;
}
.d-news-title {
@include toe;
font-size: 17px;
font-family: PingFang SC;
font-weight: 500;
color: rgba(51, 51, 51, 1);
line-height: 24px;
}
.d-news-content {
@include toe;
padding: 3px 0;
font-size: 14px;
font-family: PingFang SC;
font-weight: 500;
color: rgba(51, 51, 51, 1);
line-height: 20px;
}
.d-news-info {
margin-top: 5px;
padding: 0 1px;
font-size: 13px;
line-height: 13px;
font-family: PingFang SC;
font-weight: 500;
color: rgba(153, 153, 153, 1);
overflow: hidden;
> img {
display: inline-block;
margin-right: 5px;
width: 13px;
vertical-align: bottom;
}
> span {
@include toe;
display: inline-block;
max-width: 70%;
vertical-align: bottom;
}
}
}
}
}
}
// 爱心互助最新活动
.mw-cpt-heart_news {
position: relative;
margin-top: 10px;
.d-cpt-wrap {
width: 355px;
margin: 0 auto;
border-radius: 5px;
overflow: hidden;
background: rgba(255, 255, 255, 1);
.d-cpt-title {
position: relative;
margin: 10px 10px 0 10px;
padding: 7px 10px 13px;
font-size: 17px;
line-height: 15px;
font-family: PingFang SC;
font-weight: bold;
color: rgba(51, 51, 51, 1);
border-bottom: 1px solid #e7eeee;
&::before {
content: "";
position: absolute;
top: 7px;
left: 0;
width: 3px;
height: 15px;
background: rgba(230, 0, 0, 1);
border-radius: 3px;
}
.more{
position: absolute;
top:13px;
right:10px;
font-size: 13px;
font-weight: normal;
color: rgb(151, 150, 150);
}
}
.list {
padding: 0 10px;
.item {
position: relative;
padding: 5px 0;
height: 140px;
padding-left: 110px;
border-bottom: 1px solid #eee;
&:last-child {
border-bottom: none;
}
> img {
position: absolute;
width: 110px;
height: 120px;
left: 0;
top: 11px;
border-radius: 5px;
}
.d-news-title {
margin-left:7px;
height: 40px;
font-size: 16px;
font-family: PingFang SC;
font-weight: 500;
color: rgba(51, 51, 51, 1);
line-height: 20px;
overflow: hidden;
}
.d-news-time {
margin: 0 0 5px 7px;
font-size: 12px;
font-family: PingFang SC;
font-weight: normal;
color: rgb(141, 141, 141);
line-height: 17px;
overflow: hidden;
display: flex;
.d-news-time-title{
height: 20px ;
display:flex ;
align-items:center;
>img{
margin-right:2px;
width: 12px;
vertical-align: bottom;
}
>span{
vertical-align: bottom;
}
}
.d-news-time-item{
font-size: 13px;
width: 60%;
color: rgb(141, 141, 141);
> span {
vertical-align: bottom;
}
}
}
.d-news-adress {
margin: 0 0 7px 7px;
height: 20px;
font-size: 12px;
font-family: PingFang SC;
font-weight: normal;
color: rgb(141, 141, 141);
line-height: 20px;
overflow: hidden;
display:flex ;
align-items:center;
> img {
display: inline-block;
margin-right: 2px;
width: 12px;
vertical-align: bottom;
}
> span {
display: inline-block;
height: 100%;
max-width: 80%;
vertical-align: bottom;
}
}
.d-news-state {
margin: 0 0 7px 7px;
height: 20px;
font-size: 13px;
font-family: PingFang SC;
font-weight: normal;
color: rgb(141, 141, 141);
line-height: 20px;
overflow: hidden;
.d-news-state-limit{
font-family: PingFang SC;
padding:3px 10px;
font-weight: 500;
background-color: rgb(170, 169, 169);
color: rgb(58, 58, 58);
border-radius: 90px;
}
.d-news-state-act{
margin-left:10px;
font-family: PingFang SC;
padding:3px 10px;
font-weight: 500;
background-color: rgb(255, 195, 195);
color: rgb(255, 38, 38);
border-radius: 90px;
}
}
}
}
}
}
// 更多功能1
.mw-cpt-cnt_menus {
position: relative;
@ -740,117 +264,6 @@
}
}
//楼院小组-推荐小组
.mw-cpt-cnt_groups {
position: relative;
margin-top: 10px;
.d-cpt-wrap {
width: 100%;
// overflow-x: scroll;
overflow: hidden;
.list {
width: 1000px;
overflow: hidden;
.item {
position: relative;
float: left;
border-radius: 10px;
background-color: #ffffff;
margin-left: 10px;
width: 150px;
box-shadow: 0px 3px 24px 0px rgba(211, 211, 211, 0.26);
.d-group-no {
position: absolute;
left: 10px;
top: 0;
width: 25px;
height: 21px;
line-height: 21px;
text-align: center;
img {
position: absolute;
z-index: 10;
display: block;
left: 0;
top: 0;
width: 25px;
}
span {
position: relative;
z-index: 20;
font-size: 14px;
font-family: PingFang SC;
font-weight: bold;
font-style: italic;
color: rgba(255, 255, 255, 1);
}
}
.d-group-avatar {
position: relative;
margin: 30px auto 5px;
width: 60px;
height: 60px;
padding: 4px;
overflow: hidden;
border-radius: 100%;
box-shadow: 0px 3px 24px 0px rgba(211, 211, 211, 0.26);
img {
position: absolute;
display: block;
top: 0;
left: 0;
right: 0;
bottom: 0;
margin: auto;
width: 52px;
height: 52px;
border-radius: 100%;
}
}
.d-group-name {
@include toe;
width: 120px;
margin: 0 auto;
text-align: center;
font-size: 17px;
font-family: PingFang SC;
font-weight: 500;
color: rgba(51, 51, 51, 1);
line-height: 21px;
}
.d-group-info {
@include toe;
width: 140px;
margin: 0 auto;
text-align: center;
font-size: 13px;
font-family: PingFang SC;
font-weight: 500;
color: rgba(102, 102, 102, 1);
line-height: 21px;
}
.d-group-btn {
margin: 10px auto 20px;
width: 65px;
height: 25px;
line-height: 25px;
background: rgba(255, 76, 82, 1);
border-radius: 25px;
text-align: center;
font-size: 14px;
font-family: PingFang SC;
font-weight: 500;
color: rgba(255, 255, 255, 1);
}
}
}
}
}

502
epmet-oper-web/src/assets/scss/modules/wx-mini/score.scss

@ -0,0 +1,502 @@
@import "@/assets/scss/c/config.scss";
@import "@/assets/scss/c/function.scss";
@import "@/assets/scss/c/anime.scss";
// 积分银行-积分排行
.score_rank {
position: relative;
margin-top: 10px;
.score_rank_content {
width: 100%;
// overflow-x: scroll;
overflow: hidden;
.title {
position: relative;
margin: 10px 10px 0 10px;
padding: 7px 10px 13px;
font-size: 17px;
line-height: 15px;
font-family: PingFang SC;
font-weight: bold;
color: rgba(51, 51, 51, 1);
&::before {
content: "";
position: absolute;
top: 7px;
left: 0;
width: 3px;
height: 15px;
background: rgba(230, 0, 0, 1);
border-radius: 3px;
}
.more{
position: absolute;
top:13px;
right:10px;
font-size: 13px;
font-weight: normal;
color: rgb(151, 150, 150);
}
}
.rank_tabs{
margin:10px 20px;
display: flex;
background: #F8F8F8;
border-radius: 5px;
height: 40px;
justify-content: space-around;
padding:5px 0;
.tabs_1{
width:28%;
text-align: center;
height: 30px;
background: #FFFFFF;
box-shadow: 0px 4px 12px 0px rgba(63, 63, 63, 0.1);
border-radius: 5px;
font-size: 15px;
font-family: PingFang SC;
font-weight: bold;
color: #333333;
line-height: 30px;
}
.tabs_2{
width:28%;
text-align: center;
height: 30px;
font-size: 15px;
font-family: PingFang SC;
font-weight: 500;
color: #999999;
line-height: 30px;
}
}
}
}
//积分银行-党员积分排行榜
.score_party{
position: relative;
margin-top: 10px;
.score_party_content {
width: 100%;
overflow: hidden;
.title {
position: relative;
margin: 10px 10px 0 10px;
padding: 7px 10px 13px;
font-size: 17px;
line-height: 15px;
font-family: PingFang SC;
font-weight: bold;
color: rgba(51, 51, 51, 1);
&::before {
content: "";
position: absolute;
top: 7px;
left: 0;
width: 3px;
height: 15px;
background: rgba(230, 0, 0, 1.0);
border-radius: 3px;
}
}
.rank_tabs{
margin:0px 15px 0px;
display: flex;
padding:0px 0px;
.rank_title_left{
margin-left: 25px;
margin-top: 10px;
width:30%;
font-size: 16px;
text-align: center;
font-family: PingFang-SC;
padding:0px 0px 0px 0px;
font-weight: 600;
color: rgb(0, 0, 0);
}
.red_line{
height: 3px;
width: 30px;
background-color: red;
position: absolute;
margin-left: 56px;
margin-top: 33px;
border-radius:4px;
}
.rank_title_right{
margin-left: 70px;
margin-top: 12px;
width:30%;
font-size: 14px;
text-align: center;
font-family: PingFang-SC;
padding:0px 0px 0px 0px;
font-weight: 500;
color: rgb(171, 171, 171);
}
}
.m-box{
width: 328px;
height:100%;
//height: 480px;
background-color: white;
position: relative;
float: left;
border-radius: 10px;
margin: 0px 15px 0 15px;
padding-bottom: 7px;
box-shadow: 0px 3px 24px 0px rgba(211, 211, 211, 0.26);
.line{
width: 310px;
border-bottom: 1px solid #e7eeee;
margin-left: 15px;
margin-top: 26px;
margin-bottom: 7px;
position: relative;
}
.list6{
@include list;
width: 60px;
margin-left: 145px;
margin-top: 20px;
position: relative;
text-align: center;
font-size: 13px;
color: #b9b9b9;
margin-bottom:10px;
font-size: PingFang-SC;
}
.rank_img_score {
width: 327px;
height: 160px;
.item{
position: relative;
float: left;
border-radius: 10px;
background-color: white;
margin-left: 0px;
margin-top: 15px;
width: 33.33%;
.d-group-logo {
position: absolute;
left: 8px;
top: 74px;
width: 10px;
height: 10px;
line-height: 22px;
text-align: center;
.logo1{
@include img123;
background-color: #f14805;
left: 45px;
}
.logo2{
@include img123;
background-color: #ff0606;
left: 36px;
}
.logo3{
@include img123;
background-color: #ffa515;
left: 30px;
}
span {
position: absolute;
z-index: 10;
font-size: 16px;
font-style: italic;
color: white;
width:17px;
height: 17px;
margin-left: 50px;
position: absolute;
display: block;
}
}
.d-group-rank{
position: absolute;
padding-top: 1px;
font-style: italic;
.rank_1{
@include shuzi_123;
margin-left: 58px;
}
.rank_2{
@include shuzi_123;
margin-left: 48px;
}
.rank_3{
margin-left: 43px;
@include shuzi_123;
}
}
.d-group-name{
position: absolute;
font-family: PingFang-SC;
font-weight: 600;
.name_1{
margin-left: 47px;
@include name_123;
}
.name_2{
margin-left: 41px;
@include name_123;
}
.name_3{
margin-left: 28px;
@include name_123;
}
}
.d-group-score{
position: absolute;
font-family: PingFang-SC;
.score_1{
margin-left: 50px;
@include jifen;
}
.score_2{
margin-left: 42px;
@include jifen;
}
.score_3{
margin-left: 36px;
@include jifen;
}
}
.d-group-imgback{
position: absolute;
margin-top: 0.5px;
.back_1{
width:75px;
height: 75px;
left: 24px;
top: 9.5px;
@include img_123;
}
.back_2{
@include img_123;
width:88px;
height: 88px;
left: 9px;
top: 0px;
}
.back_3{
width:75px;
height: 75px;
left: 9px;
top: 9.5px;
@include img_123;
}
}
.d-group-img {
position: relative;
margin-top: 10px ;
width: 50px;
height: 50px;
margin-left: 0px;
.img1{
@include img_small12;
left: 28px;
right: 0;
bottom: 0;
}
.img2{
width: 79.5px;
height: 79.5px;
position: absolute;
display: block;
top: 19px;
left: 13.3px;
right: 0;
bottom: 0px;
margin: auto;
border-radius: 100%;
}
.img3{
@include img_small12;
left: 13px;
right: 5;
bottom: 5;
}
}
}
}
}
}
}
.rank_box{
height:100%;
background-color: white;
position: relative;
// border-radius: 10px;
// margin: 0px 15px 0 15px;
padding-bottom: 7px;
// box-shadow: 0px 3px 24px 0px rgba(211, 211, 211, 0.26);
.list_title{
display: flex;
justify-content: space-between;
padding:10px 10px 0 10px;
margin-top: 8px;
text-align: center;
color: #b9b9b9;
font-size: 12px;
}
.score_list{
margin-top:10px;
padding:0 10px;
.item{
display: flex;
height:40px;
line-height: 40px;
display: flex;
justify-content: space-between;
margin-top: 8px;
text-align: center;
.d-group-rank{
text-align: center;
font-style: italic;
>span{
font-family: PingFang-SC;
font-weight: 600;
font-size: 16px;
}
.span_rank1{
color: #E60000;
}
.span_rank2{
color: #F56A24;
}
.span_rank3{
color: #F6A33B;
}
}
.d-group-img{
text-align: center;
>img{
width: 28px;
height: 28px;
border-radius: 25px;
}
}
}
}
.score_no_border{
padding:0 20px;
}
}
.single{
width:100%;
margin:10px 0;
display: flex;
justify-content: space-around;
.single_bc{
width:45%;
height: 140px;
border-radius: 5px;
background: linear-gradient(-54deg, rgba(255, 248, 247, 0.56), rgba(255, 215, 208, 0.56));
.single_name{
margin:15px 0 0 10px;
font-size: 15px;
font-family: PingFang SC;
font-weight: bold;
color: #333333;
line-height: 23px;
height:35px;
>img{
width: 35px;
height: 35px;
border-radius: 50%;
}
>span{
margin-left:10px;
line-height: 30px;
}
}
.single_rank{
width:100%;
padding:10px 5px;
display: flex;
justify-content: space-around;
.single_rank_bc{
width:45%;
height: 65px;
border-radius: 5px;
padding:10px;
.score{
text-align: center;
.span_title{
font-size: 13px;
font-family: PingFang SC;
font-weight: bold;
color: #FFFFFF;
line-height: 23px;
}
.span_no{
font-size: 15px;
font-family: PingFang SC;
font-weight: bold;
color: #FFFFFF;
line-height: 23px;
}
}
.rank2_row2{
text-align: center;
font-size: 12px;
font-family: PingFang SC;
font-weight: 500;
color: #FFFFFF;
line-height: 24px;
}
}
.bc_left{
background: linear-gradient(-10deg, #2F93EE, #03C7EF);
}
.bc_right{
background: linear-gradient(0deg, #F6A43B, #F56923);
}
}
}
}

151
epmet-oper-web/src/assets/scss/modules/wx-mini/voice.scss

@ -0,0 +1,151 @@
@import "@/assets/scss/c/config.scss";
@import "@/assets/scss/c/function.scss";
@import "@/assets/scss/c/anime.scss";
// 党建声音-轮播新闻
.voice_swiper {
position: relative;
.d-cpt-wrap {
padding: 10px 10px 15px 10px;
background-color: #fff;
.d-cpt-subwrap {
position: relative;
height: 160px;
border-radius: 10px;
overflow: hidden;
> img {
width: 100%;
height: 160px;
}
> div {
position: absolute;
bottom: 0;
left: 0;
right: 0;
height: 30px;
padding: 0 10px;
line-height: 30px;
background: rgba(0, 0, 0, 0.26);
overflow: hidden;
> span {
font-size: 14px;
font-family: PingFang SC;
font-weight: 500;
color: rgba(255, 255, 255, 1);
}
> i {
float: right;
position: relative;
top: 11px;
margin: 0 2px;
width: 5px;
height: 5px;
border-radius: 50%;
background: rgba(0, 0, 0, 0.26);
&.z-on {
background: rgba(255, 255, 255, 1);
}
}
}
}
}
}
// 党建声音-最新发布
.voice_news {
position: relative;
margin-top: 10px;
.content {
width: 355px;
margin: 0 auto;
border-radius: 5px;
overflow: hidden;
background: rgba(255, 255, 255, 1);
.d-cpt-title {
position: relative;
margin: 10px 10px 0 10px;
padding: 7px 10px 13px;
font-size: 17px;
line-height: 15px;
font-family: PingFang SC;
font-weight: bold;
color: rgba(51, 51, 51, 1);
border-bottom: 1px solid #e7eeee;
&::before {
content: "";
position: absolute;
top: 7px;
left: 0;
width: 3px;
height: 15px;
background: rgba(230, 0, 0, 1);
border-radius: 3px;
}
}
.list {
padding: 0 10px;
.item {
position: relative;
padding: 10px 0;
border-bottom: 1px solid #eee;
&:last-child {
border-bottom: none;
}
> img {
position: absolute;
width: 100px;
height: 55px;
right: 0;
top: 11px;
border-radius: 5px;
}
.news_title {
margin: 7px 0;
width: 70%;
height: 40px;
font-size: 16px;
font-family: PingFang SC;
font-weight: 500;
color: rgba(51, 51, 51, 1);
line-height: 20px;
overflow: hidden;
}
.news_grid {
margin-top: 17px;
padding: 0 1px;
font-size: 13px;
line-height: 13px;
font-family: PingFang SC;
font-weight: 500;
color: rgba(153, 153, 153, 1);
overflow: hidden;
> img {
display: inline-block;
margin-right: 5px;
width: 13px;
vertical-align: bottom;
}
> span {
@include toe;
display: inline-block;
max-width: 70%;
vertical-align: bottom;
}
}
}
}
}
}

3
epmet-oper-web/src/components/wx-index/cpt-item.vue

@ -43,7 +43,8 @@
</div>
<!-- 积分银行积分排名党员积分排行 -->
<div v-else-if="item.componentFrontId==='resi-functionList-score-rank'||item.componentFrontId==='resi-functionList-top-party'">
<div v-else-if="item.componentFrontId==='resi-functionList-score-rank'||item.componentFrontId==='resi-functionList-top-party'
||item.componentFrontId==='resi-functionList-score-rank-2'">
<score :item=item
:isFocused=isFocused></score>
</div>

25
epmet-oper-web/src/components/wx-index/group.vue

@ -44,30 +44,7 @@
<span> 参观</span>
</div>
</div>
<!-- <div class="d-group-no">
<img v-if="subitem.ico"
:src="subitem.ico">
<img v-if="subindex === 0"
src="@/assets/img/modules/wx-mini/index-set/page/qi.png">
<img v-else
src="@/assets/img/modules/wx-mini/index-set/page/qi2.png">
<span>{{ subitem.no }}</span>
</div>
<div class="d-group-avatar">
<img v-if="subitem.avatar"
:src="subitem.avatar">
<img v-else
src="@/assets/img/modules/wx-mini/index-set/page/avatar.jpg">
</div>
<div class="d-group-name">{{ subitem.title }}</div>
<div class="d-group-info">
<span>{{ subitem.info1 }}</span>
</div>
<div class="d-group-info">
<span>{{ subitem.info2 }}</span>
<span>{{ subitem.info3 }}</span>
</div>
<div class="d-group-btn">加入</div> -->
</div>
</div>
</div>

154
epmet-oper-web/src/components/wx-index/heart.vue

@ -6,110 +6,104 @@
@click="focusCpt">
<!-- 爱心互助banner组件 -->
<div class="mw-cpt-banner"
v-if="item.componentFrontId==='resi-functionList-heart-banner'">
<div class="d-cpt-wrap">
<div class="d-cpt-subwrap">
<img v-if="item.demoData.pic"
:src="item.demoData.pic">
<img v-else
src="@/assets/img/modules/wx-mini/index-set/page/heart-banner.png">
<div class="d-title">
<img class="left-log"
src="@/assets/img/modules/wx-mini/index-set/heart-logo.png">
<span class="s-title">{{ item.demoData.title }}</span>
<div class="d-group-no">
<img src="@/assets/img/modules/wx-mini/index-set/heart-back.png">
<span>{{'点击进入'}}</span>
</div>
<div v-if="item.componentFrontId==='resi-functionList-heart-banner'"
class="heart_banner">
<div class="subbanner">
<img v-if="item.demoData.pic"
:src="item.demoData.pic">
<img v-else
src="@/assets/img/modules/wx-mini/index-set/page/heart-banner.png">
<div class="d-title">
<img class="left-log"
src="@/assets/img/modules/wx-mini/index-set/heart-logo.png">
<span class="s-title">{{ item.demoData.title }}</span>
<div class="d-group-no">
<img src="@/assets/img/modules/wx-mini/index-set/heart-back.png">
<span>{{'点击进入'}}</span>
</div>
</div>
</div>
</div>
<!-- 爱心互助最新活动组件 -->
<div class="mw-cpt-heart_news"
<div class="heart_news"
v-if="item.componentFrontId==='resi-functionList-heart-new'">
<div class="d-cpt-wrap">
<div class="d-cpt-title">最新活动
<div class="more">查看更多</div>
</div>
<div class="list">
<div class="item"
:key="subindex"
v-for="(subitem, subindex) in item.demoData.list">
<img v-if="subitem.pic"
:src="subitem.pic">
<img v-else
src="@/assets/img/modules/wx-mini/index-set/page/news-pic.png">
<div class="d-news-title">{{ subitem.title }}</div>
<div class="d-news-time">
<div class="d-news-time-title">
<img src="@/assets/img/modules/wx-mini/index-set/pavilion.png">
<span>活动时间</span>
</div>
<div class="d-news-time-item">
<span>{{ subitem.time1 }}</span>
<span>{{ subitem.time2 }}</span>
</div>
</div>
<div class="d-news-adress">
<div class="d-cpt-title">最新活动
<div class="more">查看更多</div>
</div>
<div class="list">
<div class="item"
:key="subindex"
v-for="(subitem, subindex) in item.demoData.list">
<img v-if="subitem.pic"
:src="subitem.pic">
<img v-else
src="@/assets/img/modules/wx-mini/index-set/page/news-pic.png">
<div class="d-news-title">{{ subitem.title }}</div>
<div class="d-news-time">
<div class="d-news-time-title">
<img src="@/assets/img/modules/wx-mini/index-set/pavilion.png">
<span>活动地点{{ subitem.adress }}</span>
<span>活动时间</span>
</div>
<div class="d-news-state">
<span class="d-news-state-limit">活动名额 12</span>
<span class="d-news-state-act">已报名 9</span>
<div class="d-news-time-item">
<span>{{ subitem.time1 }}</span>
<span>{{ subitem.time2 }}</span>
</div>
</div>
<div class="d-news-adress">
<img src="@/assets/img/modules/wx-mini/index-set/pavilion.png">
<span>活动地点{{ subitem.adress }}</span>
</div>
<div class="d-news-state">
<span class="d-news-state-limit">活动名额 12</span>
<span class="d-news-state-act">已报名 9</span>
</div>
</div>
</div>
</div>
<!-- 爱心互助历史回顾组件 -->
<div class="mw-cpt-heart_news"
<div class="heart_news"
v-if="item.componentFrontId==='resi-functionList-heart-history'">
<div class="d-cpt-wrap">
<div class="d-cpt-title">历史回顾
<div class="more">查看更多</div>
</div>
<div class="list">
<div class="item"
:key="subindex"
v-for="(subitem, subindex) in item.demoData.list">
<img v-if="subitem.pic"
:src="subitem.pic">
<img v-else
src="@/assets/img/modules/wx-mini/index-set/page/news-pic.png">
<div class="d-news-title">{{ subitem.title }}</div>
<div class="d-news-time">
<div class="d-news-time-title">
<img src="@/assets/img/modules/wx-mini/index-set/pavilion.png">
<span>活动时间</span>
</div>
<div class="d-news-time-item">
<span>{{ subitem.time1 }}</span>
<span>{{ subitem.time2 }}</span>
</div>
</div>
<div class="d-news-adress">
<div class="d-cpt-title">历史回顾
<div class="more">查看更多</div>
</div>
<div class="list">
<div class="item"
:key="subindex"
v-for="(subitem, subindex) in item.demoData.list">
<img v-if="subitem.pic"
:src="subitem.pic">
<img v-else
src="@/assets/img/modules/wx-mini/index-set/page/news-pic.png">
<div class="d-news-title">{{ subitem.title }}</div>
<div class="d-news-time">
<div class="d-news-time-title">
<img src="@/assets/img/modules/wx-mini/index-set/pavilion.png">
<span>活动地点{{ subitem.adress }}</span>
<span>活动时间</span>
</div>
<div class="d-news-time-item">
<span>{{ subitem.time1 }}</span>
<span>{{ subitem.time2 }}</span>
</div>
</div>
<div class="d-news-adress">
<img src="@/assets/img/modules/wx-mini/index-set/pavilion.png">
<span>活动地点{{ subitem.adress }}</span>
</div>
</div>
</div>
</div>
</div>
</template>
<script>
@ -132,4 +126,4 @@ export default {
}
}
</script>
<style lang="scss" src="@/assets/scss/modules/wx-mini/heart.scss"></style>

6
epmet-oper-web/src/components/wx-index/issue.vue

@ -5,7 +5,7 @@
@click="focusCpt">
<!-- 最新议题组件 -->
<div class="mw-cpt-cnt_news"
<div class="issue_news"
v-if="item.componentFrontId==='resi-functionList-hall-latestIssueList'">
<div class="d-cpt-wrap">
<div class="d-cpt-title">最新议题</div>
@ -28,7 +28,7 @@
</div>
</div>
<!-- 结案项目组件 -->
<div class="mw-cpt-cnt_news"
<div class="issue_news"
v-else-if="item.componentFrontId==='resi-functionList-hall-closedProjectList'">
<div class="d-cpt-wrap">
<div class="d-cpt-title">结案项目</div>
@ -72,4 +72,4 @@ export default {
}
}
</script>
<style lang="scss" src="@/assets/scss/modules/wx-mini/index-set.scss"></style>
<style lang="scss" src="@/assets/scss/modules/wx-mini/issue.scss"></style>

351
epmet-oper-web/src/components/wx-index/score.vue

@ -5,132 +5,273 @@
@click="focusCpt">
<!-- 积分银行-积分排行组件 -->
<div class="mw-cpt-score_rank"
<div class="score_rank"
v-if="item.componentFrontId==='resi-functionList-score-rank'">
<div class="d-cpt-wrap">
<div class="d-cpt-title">积分排行榜</div>
<div class="rank_title">
<span class="rank_title_total">总排名</span>
<span class="rank_title_week">本周排名</span>
<span class="rank_title_month">本月排名</span>
<div class="score_rank_content">
<div class="title">积分排名
<div class="more">查看更多</div>
</div>
<div class="list">
<div class="item"
:key="subindex"
v-for="(subitem, subindex) in item.demoData.list">
<div class="logo">
<img v-if="subitem.ico"
:src="subitem.ico">
<img v-if="subindex === 0"
src="@/assets/img/modules/wx-mini/index-set/page/score_rank_1.png">
<img v-if="subindex === 1"
src="@/assets/img/modules/wx-mini/index-set/page/score_rank_2.png">
<img v-if="subindex === 2"
src="@/assets/img/modules/wx-mini/index-set/page/score_rank_3.png">
<span v-else>{{ subitem.subindex }}</span>
<div class="rank_tabs">
<span class="tabs_1">总排名</span>
<span class="tabs_2">本周排名</span>
<span class="tabs_2">本月排名</span>
</div>
<div class="rank_box">
<div class="list_title">
<div>排名</div>
<div>头像</div>
<div>姓名</div>
<div>当月积分</div>
</div>
<!--更多排名-->
<div class="score_list score_no_border">
<div class="item"
:key="subindex"
v-for="(subitem,subindex) in item.demoData.list">
<div class="d-group-rank">
<span v-if="subitem.rank===1"
class="span_rank1">{{subitem.rank}}</span>
<span v-else-if="subitem.rank===2"
class="span_rank2">{{subitem.rank}}</span>
<span v-else-if="subitem.rank===3"
class="span_rank3">{{subitem.rank}}</span>
<span v-else>{{subitem.rank}}</span>
</div>
<div class="d-group-img">
<img v-if="subitem.rank===1"
src="../../assets/img/modules/wx-mini/index-set/page/good.jpg"
class="list3_img1">
<img v-if="subitem.rank===2"
src="../../assets/img/modules/wx-mini/index-set/page/girl.jpg"
class="list3_img1">
<img v-if="subitem.rank===3"
src="../../assets/img/modules/wx-mini/index-set/page/duck.jpg"
class="list3_img1">
<img v-if="subitem.rank===4"
src="../../assets/img/modules/wx-mini/index-set/page/good.jpg"
class="list3_img1">
<img v-if="subitem.rank===5"
src="../../assets/img/modules/wx-mini/index-set/page/duck.jpg"
class="list3_img1">
</div>
<div>
<span>{{subitem.name}}</span>
</div>
<div>
<span>{{subitem.score}}</span>
</div>
</div>
</div>
<div class="name">{{ subitem.name }}</div>
<div class="score">{{ subitem.score }}</div>
</div>
</div>
</div>
<!-- 积分银行-积分排行2 -->
<div class="score_rank"
v-if="item.componentFrontId==='resi-functionList-score-rank-2'">
<div class="score_rank_content">
<div class="title">积分排名
<div class="more">查看更多</div>
</div>
<div class="single">
<div class="single_bc">
<div class="single_name">
<img src="../../assets/img/modules/wx-mini/index-set/page/duck.jpg">
<span>{{item.demoData.info1.title1}}</span>
</div>
<div class="single_rank">
<div class="single_rank_bc bc_left">
<div class="score">
<span class="span_title">No.</span>
<span class="span_no">{{item.demoData.info1.no1}}</span>
</div>
<div class="rank2_row2">支部排名</div>
</div>
<div class="single_rank_bc bc_right">
<div class="score">
<span class="span_title">No.</span>
<span class="span_no">{{item.demoData.info1.no2}}</span>
</div>
<div class="rank2_row2">平台排名</div>
</div>
</div>
</div>
<div class="single_bc">
<div class="single_name">
<span>{{item.demoData.info2.title1}}</span>
</div>
<div class="single_rank">
<div class="single_rank_bc bc_left">
<div class="score">
<span class="span_title">No.</span>
<span class="span_no">{{item.demoData.info1.no1}}</span>
</div>
<div class="rank2_row2">本区排名</div>
</div>
<div class="single_rank_bc bc_right">
<div class="score">
<span class="span_title">No.</span>
<span class="span_no">{{item.demoData.info1.no2}}</span>
</div>
<div class="rank2_row2">平台排名</div>
</div>
</div>
</div>
</div>
<div class="rank_tabs">
<span class="tabs_1">身边党员</span>
<span class="tabs_2">社区党员</span>
<span class="tabs_2">平台党员</span>
</div>
<div class="rank_box">
<div class="list_title">
<div>排名</div>
<div>头像</div>
<div>姓名</div>
<div>当月积分</div>
</div>
<!--更多排名-->
<div class="score_list score_no_border">
<div class="item"
:key="subindex"
v-for="(subitem,subindex) in item.demoData.list">
<div class="d-group-rank">
<span v-if="subitem.rank===1"
class="span_rank1">{{subitem.rank}}</span>
<span v-else-if="subitem.rank===2"
class="span_rank2">{{subitem.rank}}</span>
<span v-else-if="subitem.rank===3"
class="span_rank3">{{subitem.rank}}</span>
<span v-else>{{subitem.rank}}</span>
</div>
<div class="d-group-img">
<img v-if="subitem.rank===1"
src="../../assets/img/modules/wx-mini/index-set/page/good.jpg"
class="list3_img1">
<img v-if="subitem.rank===2"
src="../../assets/img/modules/wx-mini/index-set/page/girl.jpg"
class="list3_img1">
<img v-if="subitem.rank===3"
src="../../assets/img/modules/wx-mini/index-set/page/duck.jpg"
class="list3_img1">
<img v-if="subitem.rank===4"
src="../../assets/img/modules/wx-mini/index-set/page/good.jpg"
class="list3_img1">
<img v-if="subitem.rank===5"
src="../../assets/img/modules/wx-mini/index-set/page/duck.jpg"
class="list3_img1">
</div>
<div>
<span>{{subitem.name}}</span>
</div>
<div>
<span>{{subitem.score}}</span>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- 党员积分排行组件 -->
<div class="mw-cpt-party"
<div class="score_party"
v-else-if="item.componentFrontId==='resi-functionList-top-party'">
<div class="d-cpt-wrap">
<div class="d-cpt-title">党员积分排行榜</div>
<div class="score_party_content">
<div class="title">党员积分排</div>
<div class="m-box">
<div class="rank_title">
<div class="rank_tabs">
<p class="rank_title_left">身边党员</p>
<div class="red_line"></div>
<p class="rank_title_right">社区党员</p>
</div>
<div class="rank_img_score">
<div class="list">
<!--:key,列表循环的唯一标识符 -->
<div class="item"
:key="subindex"
v-for="(subitem, subindex) in item.demoData.list1">
<div class="d-group-logo">
<div v-if="subindex === 0"
class="logo1"></div>
<div v-if="subindex === 1"
class="logo2"></div>
<div v-if="subindex === 2"
class="logo3"></div>
</div>
<!--:key,列表循环的唯一标识符 -->
<div class="item"
:key="subindex"
v-for="(subitem, subindex) in item.demoData.list1">
<div class="d-group-logo">
<div v-if="subindex === 0"
class="logo1"></div>
<div v-if="subindex === 1"
class="logo2"></div>
<div v-if="subindex === 2"
class="logo3"></div>
</div>
<div class="d-group-rank">
<span v-if="subindex===0"
class="rank_1">2</span>
<span v-if="subindex===1"
class="rank_2">1</span>
<span v-if="subindex===2"
class="rank_3">3</span>
<div class="d-group-rank">
<span v-if="subindex===0"
class="rank_1">2</span>
<span v-if="subindex===1"
class="rank_2">1</span>
<span v-if="subindex===2"
class="rank_3">3</span>
</div>
</div>
<div class="d-group-imgback">
<div v-if="subindex === 0"
class="back_1"></div>
<div v-if="subindex === 1"
class="back_2"></div>
<div v-if="subindex === 2"
class="back_3"></div>
</div>
<div class="d-group-img">
<img v-if="subindex === 0"
class="img1"
src="../../assets/img/modules/wx-mini/index-set/page/girl.jpg">
<img v-if="subindex === 1"
class="img2"
src="../../assets/img/modules/wx-mini/index-set/page/duck.jpg">
<img v-if="subindex === 2"
class="img3"
src="../../assets/img/modules/wx-mini/index-set/page/girl.jpg">
</div>
<div class="d-group-imgback">
<div v-if="subindex === 0"
class="back_1"></div>
<div v-if="subindex === 1"
class="back_2"></div>
<div v-if="subindex === 2"
class="back_3"></div>
</div>
<div class="d-group-img">
<img v-if="subindex === 0"
class="img1"
src="../../assets/img/modules/wx-mini/index-set/page/girl.jpg">
<img v-if="subindex === 1"
class="img2"
src="../../assets/img/modules/wx-mini/index-set/page/duck.jpg">
<img v-if="subindex === 2"
class="img3"
src="../../assets/img/modules/wx-mini/index-set/page/girl.jpg">
</div>
<div class="d-group-score">
<span v-if="subindex===0"
class="score_1">{{subitem.title1}}</span>
<span v-if="subindex===1"
class="score_2">{{subitem.title2}}</span>
<span v-if="subindex===2"
class="score_3">{{subitem.title3}}</span>
</div>
<div class="d-group-score">
<span v-if="subindex===0"
class="score_1">{{subitem.title1}}</span>
<span v-if="subindex===1"
class="score_2">{{subitem.title2}}</span>
<span v-if="subindex===2"
class="score_3">{{subitem.title3}}</span>
</div>
<div class="d-group-name">
<div class="d-group-name">
<span v-if="subindex===0"
class="name_1">{{subitem.info1}}</span>
<span v-if="subindex===1"
class="name_2">{{subitem.info2}}</span>
<span v-if="subindex===2"
class="name_3">{{subitem.info3}}</span>
<span v-if="subindex===0"
class="name_1">{{subitem.info1}}</span>
<span v-if="subindex===1"
class="name_2">{{subitem.info2}}</span>
<span v-if="subindex===2"
class="name_3">{{subitem.info3}}</span>
</div>
</div>
</div>
</div>
<!--更多-标题-->
<div class="list-more">
<ul class="list1">
<li class="list_1">排名</li>
<li class="list_1">头像</li>
<li class="list_1">姓名</li>
<li class="list_2">当月积分</li>
</ul>
</div>
<!--更多排名-->
<div class="rank_more_score">
<div class="list">
<div class="rank_box">
<div class="list_title">
<div>排名</div>
<div>头像</div>
<div>姓名</div>
<div>当月积分</div>
</div>
<div class="score_list">
<div class="item"
:key="subindex"
v-for="(subitem,subindex) in item.demoData.list2">
@ -138,23 +279,26 @@
<span>{{subitem.rank}}</span>
</div>
<div class="d-group-img">
<img v-if="subindex===1"
<img v-if="subindex===0"
src="../../assets/img/modules/wx-mini/index-set/page/good.jpg"
class="list3_img1">
<img v-if="subindex===2"
<img v-if="subindex===1"
src="../../assets/img/modules/wx-mini/index-set/page/girl.jpg"
class="list3_img1">
<img v-if="subindex===3"
<img v-if="subindex===2"
src="../../assets/img/modules/wx-mini/index-set/page/duck.jpg"
class="list3_img1">
<img v-if="subindex===3"
src="../../assets/img/modules/wx-mini/index-set/page/good.jpg"
class="list3_img1">
<img v-if="subindex===4"
src="../../assets/img/modules/wx-mini/index-set/page/duck.jpg"
class="list3_img1">
</div>
<div class="d-group-name">
<div>
<span>{{subitem.name}}</span>
</div>
<div class="d-group-score">
<div>
<span>{{subitem.score}}</span>
</div>
</div>
@ -185,6 +329,9 @@ export default {
isFocused: Boolean,
item: Object
},
mounted () {
console.log(this.item)
},
methods: {
focusCpt () {
@ -193,4 +340,4 @@ export default {
}
}
</script>
<style lang="scss" src="@/assets/scss/modules/wx-mini/index-set.scss"></style>
<style lang="scss" src="@/assets/scss/modules/wx-mini/score.scss"></style>

26
epmet-oper-web/src/components/wx-index/voice.vue

@ -6,7 +6,7 @@
@click="focusCpt">
<!-- 党建声音-轮播图组件 -->
<div class="mw-cpt-swiper"
<div class="voice_swiper"
v-if="item.componentFrontId==='resi-topList-voice-hotNewsSwiper'">
<div class="d-cpt-wrap">
<div class="d-cpt-subwrap">
@ -14,32 +14,32 @@
:src="item.demoData.pic">
<img v-else
src="@/assets/img/modules/wx-mini/index-set/page/swiper-bg.png">
<div>
<!-- <div>
<span>{{ item.demoData.title }}</span>
<i></i>
<i></i>
<i></i>
<i class="z-on"></i>
</div>
</div> -->
</div>
</div>
</div>
<!-- 党建声音-最新发布 -->
<div class="mw-cpt-cnt_news"
<div class="voice_news"
v-else-if="item.componentFrontId==='resi-functionList-voice-newsList'">
<div class="d-cpt-wrap">
<div class="content">
<div class="d-cpt-title">党建声音</div>
<div class="list">
<div class="item"
:key="subindex"
v-for="(subitem, subindex) in item.demoData.list">
<div class="news_title">{{ subitem.title }}</div>
<img v-if="subitem.pic"
:src="subitem.pic">
<img v-else
src="@/assets/img/modules/wx-mini/index-set/page/news-pic.png">
<div class="d-news-title">{{ subitem.title }}</div>
<div class="d-news-info">
src="@/assets/img/modules/wx-mini/index-set/page/news-pic2.png">
<div class="news_grid">
<img src="@/assets/img/modules/wx-mini/index-set/pavilion.png">
<span>来源{{ subitem.author }}</span>
<span class="f-fr">{{ subitem.date }}</span>
@ -49,9 +49,9 @@
</div>
</div>
<!-- 党建声音-特色文章组件 -->
<div class="mw-cpt-cnt_news"
<div class="voice_news"
v-else-if="item.componentFrontId==='resi-functionList-voice-newsList2'">
<div class="d-cpt-wrap">
<div class="content">
<div class="d-cpt-title">党建声音</div>
<div class="list">
<div class="item"
@ -61,8 +61,8 @@
:src="subitem.pic">
<img v-else
src="@/assets/img/modules/wx-mini/index-set/page/news-pic.png">
<div class="d-news-title">{{ subitem.title }}</div>
<div class="d-news-info">
<div class="news_title">{{ subitem.title }}</div>
<div class="news_grid">
<img src="@/assets/img/modules/wx-mini/index-set/pavilion.png">
<span>来源{{ subitem.author }}</span>
<span class="f-fr">{{ subitem.date }}</span>
@ -96,4 +96,4 @@ export default {
}
}
</script>
<style lang="scss" src="@/assets/scss/modules/wx-mini/voice.scss"></style>

Loading…
Cancel
Save