1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
| <template>
| <GlobalWindow
| :title="title"
| width="500px"
| :withFooter="false"
| :visible.sync="visible"
| :confirm-working="isWorking"
| @confirm="confirm"
| >
| <div class="box">
| <div class="box_row" v-for="(item, index) in list" :key="index">
| <div class="box_row_icon">
| <i class="el-icon-warning"></i>
| </div>
| <div class="box_row_content">
| <div class="box_row_content_title">{{item.title}}</div>
| <div class="box_row_content_desc">{{item.info}}</div>
| </div>
| </div>
| </div>
| </GlobalWindow>
| </template>
|
| <script>
| import BaseOpera from '@/components/base/BaseOpera'
| import GlobalWindow from '@/components/common/GlobalWindow'
|
| export default {
| name: 'riskCaseReminder',
| extends: BaseOpera,
| components: { GlobalWindow },
| data () {
| return {
| list: []
| }
| },
| methods: {
| async open(title, target) {
| this.title = title
| this.list = target
| this.visible = true
| }
| }
| }
| </script>
|
| <style lang="scss" scoped>
| .box {
| width: 100%;
| .box_row {
| width: 100%;
| padding: 15px;
| box-sizing: border-box;
| background-color: #ececec;
| border-radius: 10px;
| display: flex;
| align-items: center;
| background-color: rgba(239,239,239,1);
| margin-bottom: 15px;
| &:last-child {
| margin: 0 !important;
| }
| .box_row_icon {
| flex-shrink: 0;
| width: 34px;
| height: 34px;
| border-radius: 50%;
| display: flex;
| align-items: center;
| justify-content: center;
| margin-right: 17px;
| background-color: rgba(251,115,115,0.29);
| .el-icon-warning {
| color: #FB7373;
| font-size: 19px;
| }
| }
| .box_row_content {
| flex: 1;
| .box_row_content_title {
| color: rgba(16,16,16,1);
| font-size: 16px;
| }
| .box_row_content_desc {
| color: rgba(154,154,154,1);
| font-size: 12px;
| margin-top: 9px;
| }
| }
| }
| }
| </style>
|
|