Merge remote-tracking branch 'origin/dev' into build
This commit is contained in:
		| @@ -9,7 +9,7 @@ | ||||
|       <div class="tab-content"> | ||||
|         <div class="tab-content__item" v-show="leftIndex === 0"> | ||||
|           <div class="item"> | ||||
|             <div class="title">居民好友统计</div> | ||||
|             <div class="title">群员统计</div> | ||||
|             <div class="item-top jmhy"> | ||||
|               <div class="item-top__item"> | ||||
|                 <h2>居民好友</h2> | ||||
| @@ -111,12 +111,12 @@ | ||||
|     </div> | ||||
|     <div class="middle"> | ||||
|       <div class="top"> | ||||
|         <PdGrid :instance="instance" @nodeClick="onNodeClick"></PdGrid> | ||||
|         <XyGrid :instance="instance" @nodeClick="onNodeClick"></XyGrid> | ||||
|       </div> | ||||
|       <div class="bottom"> | ||||
|         <div class="bottom-title"> | ||||
|           <img src="https://cdn.cunwuyun.cn/dvcp/dv/pddv/icon.png" /> | ||||
|           <h2>网格动态</h2> | ||||
|           <h2>警务群动态</h2> | ||||
|         </div> | ||||
|         <div class="bottom-list"> | ||||
|           <div class="item" v-for="item in dynamicList" :key="item.id"> | ||||
| @@ -127,7 +127,7 @@ | ||||
|       </div> | ||||
|     </div> | ||||
|     <div class="right"> | ||||
|       <div class="appPdDv-title">网格信息</div> | ||||
|       <div class="appPdDv-title">警务数据</div> | ||||
|       <div class="right-item top-wrapper"> | ||||
|         <div class="title" :title="girdInfo['网格名称']">{{ girdInfo['网格名称'] }}</div> | ||||
|         <div class="item-wrapper"> | ||||
| @@ -171,34 +171,18 @@ | ||||
|         </div> | ||||
|       </div> | ||||
|       <div class="right-item bottom-wrapper"> | ||||
|         <div class="title">积分排行</div> | ||||
|         <div class="item-wrapper"> | ||||
|           <div class="tab"> | ||||
|             <div :class="[rightIndex === 0 ? 'active' : '']" @click="rightIndex = 0">累计积分榜</div> | ||||
|             <div :class="[rightIndex === 1 ? 'active' : '']" @click="rightIndex = 1">上周积分榜</div> | ||||
|         <div class="title">警务群统计</div> | ||||
|         <div class="item-table"> | ||||
|           <div class="item-table__header"> | ||||
|             <span style="width: 110px">居民群</span> | ||||
|             <span style="flex: 1; text-align: center;">群主</span> | ||||
|             <span style="width: 60px; text-align: right;">群人数</span> | ||||
|           </div> | ||||
|           <div class="tab-content"> | ||||
|             <div class="tab-item" v-for="(item, index) in pointList" :key="index" v-show="rightIndex === 0"> | ||||
|               <div class="left" :class="'left'+ index">{{ index + 1 }}</div> | ||||
|               <div class="middel"> | ||||
|                 <div class="top"> | ||||
|                   <h2>{{ item.userName }}</h2> | ||||
|                   <!-- <span v-if="index === 0">网格长</span> --> | ||||
|                 </div> | ||||
|                 <p></p> | ||||
|               </div> | ||||
|               <i>{{ item.userIntegral }}</i> | ||||
|             </div> | ||||
|             <div class="tab-item" v-for="(item, index) in rankList" :key="index" v-show="rightIndex === 1"> | ||||
|               <div class="left" :class="'left'+ index">{{ index + 1 }}</div> | ||||
|               <div class="middel"> | ||||
|                 <div class="top"> | ||||
|                   <h2>{{ item.userName }}</h2> | ||||
|                   <!-- <span v-if="index === 0">网格长</span> --> | ||||
|                 </div> | ||||
|                 <p></p> | ||||
|               </div> | ||||
|               <i>{{ item.changeIntegral }}</i> | ||||
|           <div class="item-table__body"> | ||||
|             <div class="item-table__item" v-for="(item, index) in gridList" :key="index"> | ||||
|               <span style="width: 110px" :title="item.name">{{ item.name || '未命名群聊' }}</span> | ||||
|               <span style="flex: 1; text-align: center;">{{ item.ownerName }}</span> | ||||
|               <span style="width: 60px; text-align: right;">{{ item.personCount }}</span> | ||||
|             </div> | ||||
|           </div> | ||||
|         </div> | ||||
| @@ -209,7 +193,7 @@ | ||||
|  | ||||
| <script> | ||||
|   import DonutChart from './components/DonutChart' | ||||
|   import PdGrid from './components/PdGrid' | ||||
|   import XyGrid from './components/XyGrid' | ||||
|   import * as echarts from 'echarts' | ||||
|  | ||||
|   export default { | ||||
| @@ -223,13 +207,12 @@ | ||||
|  | ||||
|     components: { | ||||
|       DonutChart, | ||||
|       PdGrid | ||||
|       XyGrid | ||||
|     }, | ||||
|  | ||||
|     data () { | ||||
|       return { | ||||
|         leftIndex: 0, | ||||
|         rightIndex: 0, | ||||
|         dlIndex: 0, | ||||
|         qlIndex: 0, | ||||
|         currGirdName: '', | ||||
| @@ -241,9 +224,7 @@ | ||||
|         groupNumber: {}, | ||||
|         replyPercentage: {}, | ||||
|         groupChatNumber: {}, | ||||
|         dynamicList: [], | ||||
|         rankList: [], | ||||
|         pointList: [] | ||||
|         dynamicList: [] | ||||
|       } | ||||
|     }, | ||||
|  | ||||
| @@ -1120,9 +1101,6 @@ | ||||
|         } | ||||
|       } | ||||
|  | ||||
|       .middle-wrapper { | ||||
|         margin-bottom: 23px; | ||||
|  | ||||
|         .item-table { | ||||
|           position: relative; | ||||
|           height: 240px; | ||||
| @@ -1194,106 +1172,46 @@ | ||||
|             } | ||||
|           } | ||||
|         } | ||||
|  | ||||
|       .middle-wrapper { | ||||
|         margin-bottom: 23px; | ||||
|       } | ||||
|  | ||||
|       .bottom-wrapper { | ||||
|         .tab { | ||||
|           display: flex; | ||||
|           align-items: center; | ||||
|           height: 32px; | ||||
|           margin-bottom: 15px; | ||||
|           border: 1px solid #0E6EB5; | ||||
|  | ||||
|           div { | ||||
|             flex: 1; | ||||
|             line-height: 32px; | ||||
|             text-align: center; | ||||
|             color: #fff; | ||||
|             font-size: 14px; | ||||
|             cursor: pointer; | ||||
|             user-select: none; | ||||
|  | ||||
|             &.active { | ||||
|               background: #0F93B8; | ||||
|             } | ||||
|           } | ||||
|         } | ||||
|  | ||||
|         .tab-content { | ||||
|           height: 230px; | ||||
|           overflow-y: auto; | ||||
|           .tab-item { | ||||
|         .item-table { | ||||
|           .item-table__header { | ||||
|             display: flex; | ||||
|             align-items: center; | ||||
|             margin-bottom: 8px; | ||||
|             justify-content: space-between; | ||||
|             height: 40px; | ||||
|             padding: 0 24px; | ||||
|             color: #82C5FF; | ||||
|             font-size: 14px; | ||||
|             background: rgba(35,160,172,0.2000); | ||||
|           } | ||||
|  | ||||
|             &:last-child { | ||||
|               margin-bottom: 0; | ||||
|             } | ||||
|           .item-table__body { | ||||
|             height: 280px; | ||||
|             overflow-y: overlay; | ||||
|  | ||||
|             .left { | ||||
|               width: 22px; | ||||
|               height: 24px; | ||||
|               line-height: 24px; | ||||
|               text-align: center; | ||||
|             .item-table__item { | ||||
|               display: flex; | ||||
|               align-items: center; | ||||
|               justify-content: space-between; | ||||
|               height: 40px; | ||||
|               padding: 0 24px; | ||||
|               color: #fff; | ||||
|               font-size: 14px; | ||||
|               background: url(https://cdn.cunwuyun.cn/dvcp/dv/pddv/right-icon3.png); | ||||
|               background-size: 100% 100%; | ||||
|               background: rgba(35,160,172,0.2000); | ||||
|  | ||||
|               &.left0 { | ||||
|                 background: url(https://cdn.cunwuyun.cn/dvcp/dv/pddv/right-icon1.png); | ||||
|                 background-size: 100% 100%; | ||||
|               &:nth-of-type(2n - 1) { | ||||
|                 background: transparent; | ||||
|               } | ||||
|  | ||||
|               &.left1 { | ||||
|                 background: url(https://cdn.cunwuyun.cn/dvcp/dv/pddv/right-icon2.png); | ||||
|                 background-size: 100% 100%; | ||||
|               } | ||||
|             } | ||||
|  | ||||
|             i { | ||||
|               position: relative; | ||||
|               color: #fff; | ||||
|               font-size: 12px; | ||||
|               font-style: normal; | ||||
|               transform: translateY(50%); | ||||
|             } | ||||
|  | ||||
|             .middel { | ||||
|               width: 250px; | ||||
|               margin: 0 8px; | ||||
|  | ||||
|               p { | ||||
|                 width: 100%; | ||||
|                 height: 8px; | ||||
|                 background: linear-gradient(270deg, #51BF34 0%, #257718 100%); | ||||
|                 border: 1px solid; | ||||
|                 border-image: linear-gradient(270deg, rgba(96, 255, 99, 1), rgba(13, 156, 17, 1)) 1 1; | ||||
|               } | ||||
|  | ||||
|               .top { | ||||
|                 display: flex; | ||||
|                 align-items: center; | ||||
|                 margin-bottom: 4px; | ||||
|  | ||||
|                 h2 { | ||||
|                   margin-right: 4px; | ||||
|                   color: #FFFFFF; | ||||
|                   font-size: 14px; | ||||
|                 } | ||||
|  | ||||
|                 span { | ||||
|                   width: 48px; | ||||
|                   height: 20px; | ||||
|                   line-height: 20px; | ||||
|                   text-align: center; | ||||
|                   color: #2AF0F8; | ||||
|                   font-size: 12px; | ||||
|                   background: linear-gradient(180deg, rgba(69,210,218,0.2500) 0%, rgba(69,210,218,0.1000) 100%); | ||||
|                   border: 1px solid; | ||||
|                   border-image: linear-gradient(180deg, rgba(5, 185, 203, 1), rgba(73, 214, 207, 1)) 1 1; | ||||
|                 } | ||||
|               span { | ||||
|                 white-space: nowrap; | ||||
|                 overflow: hidden; | ||||
|                 text-overflow: ellipsis; | ||||
|               } | ||||
|             } | ||||
|           } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user