306f125d by zhangmeng

看板

1 parent c9aa2d5f
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
10 <div class="right"> 10 <div class="right">
11 <div class="rTop"> 11 <div class="rTop">
12 <div>领导重点关注</div> 12 <div>领导重点关注</div>
13 <div><img alt="" class="rTop-img" src="@/assets/image/more@2x.png"></div> 13 <div @click="handelView"><img alt="" class="rTop-img" src="@/assets/image/more@2x.png"></div>
14 </div> 14 </div>
15 <div class="rBotton"> 15 <div class="rBotton">
16 <ScrollingData :data="form.leaderinfo" :speed=".3"/> 16 <ScrollingData :data="form.leaderinfo" :speed=".3"/>
...@@ -85,6 +85,8 @@ ...@@ -85,6 +85,8 @@
85 </div> 85 </div>
86 </div> 86 </div>
87 </div> 87 </div>
88
89 <Information ref="InformationRef"></Information>
88 </div> 90 </div>
89 91
90 92
...@@ -95,9 +97,12 @@ import {autoToolTip} from "@/plugins/auto-toolTip"; ...@@ -95,9 +97,12 @@ import {autoToolTip} from "@/plugins/auto-toolTip";
95 import ScrollingData from './scrollingData.vue' 97 import ScrollingData from './scrollingData.vue'
96 import * as echarts from "echarts"; 98 import * as echarts from "echarts";
97 import * as api from "@/apiPc/common" 99 import * as api from "@/apiPc/common"
98 import {onMounted, ref, computed, onUnmounted, watch} from 'vue' 100 import {onMounted, ref, computed, onUnmounted, getCurrentInstance} from 'vue'
99 import {dayjs} from 'element-plus' 101 import {dayjs} from 'element-plus'
100 import {getYS000, getYS001, getYS002, getYS003, getYS004, getYS005} from '@/api/server.js' 102 import {getYS000, getYS001, getYS002, getYS003, getYS004, getYS005} from '@/api/server.js'
103 import Information from "/@/viewsPc/vip/components/information.vue";
104
105 const {proxy} = getCurrentInstance()
101 106
102 const props = defineProps({ 107 const props = defineProps({
103 type: { 108 type: {
...@@ -1294,6 +1299,10 @@ const clear = () => { ...@@ -1294,6 +1299,10 @@ const clear = () => {
1294 } 1299 }
1295 } 1300 }
1296 1301
1302 function handelView() {
1303 proxy.$refs['InformationRef'].open(form.value.leaderinfo)
1304 }
1305
1297 onUnmounted(() => { 1306 onUnmounted(() => {
1298 clearInterval(intervalA); 1307 clearInterval(intervalA);
1299 }) 1308 })
......
1 <template>
2 <el-dialog
3 v-model="showGroup" :append-to-body="true" :z-index="99999999999999999"
4 class="dialog"
5 draggable
6 title="领导重点关注"
7 width="33%"
8 >
9 <div class="son">
10 <p v-for="val in list" :key="val" class="row">
11 <span></span> {{ val }}
12 </p>
13 </div>
14
15 </el-dialog>
16 </template>
17
18 <script setup>
19 import {ref} from 'vue'
20
21 const list = ref([])
22 const showGroup = ref(false)
23
24
25 function open(row) {
26 debugger
27 showGroup.value = true
28 list.value = row
29
30 console.log(list.value)
31 }
32
33
34 defineExpose({
35 open
36 })
37 </script>
38
39 <style lang="scss">
40 .dialog {
41 background: url("@/assets/image/box03@2x.png") no-repeat center;
42 background-size: 100% 100%;
43 border: 1px solid #2969A4;
44 position: relative;
45 }
46
47 .son {
48 position: relative;
49 z-index: 99999999999999999999999;
50 }
51
52 .el-dialog__headerbtn .el-icon {
53 color: #fff;
54 font-size: 24px;
55 }
56
57
58 .row {
59 font-family: SimHei, serif;
60 font-weight: 400;
61 font-size: 20px;
62 color: #FFFFFF;
63 //height: 40px;
64 margin: 7px 0;
65
66 span {
67 display: inline-block;
68 width: calc(12 * 100vw / 1920);
69 height: calc(12 * 100vw / 1920);
70 background-color: #01D7F0;
71 transform: rotate(45deg);
72 margin-left: calc(3 * 100vw / 1920);
73 border-radius: calc(3 * 100vw / 1920);
74 }
75 }
76 </style>
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!