b196a9fd by joe

保单查询

1 parent 7f539609
1 import api from '@/api/api'
2 import {
3 httpGet,
4 httpPost
5 } from '@/api/fetch-api.js'
6
7 // import InsuranceQuery from './components/insurance-query'
8
9 export default {
10 data() {
11 return {
12 activity: "m1",
13
14 insuranceForm: {
15 f1 : true,
16 f2 : true,
17 f3 : true,
18 f4 : true,
19 f5 : true,
20 }
21 }
22 },
23 methods: {
24 initData() { },
25 },
26 created() { },
27 components: {
28 // InsuranceQuery
29 }
30 }
1
2
3 .content {
4 display: flex;
5 }
6
7 .left-panel {
8 width: 12.833333rem ;
9 height: 42.333333rem ;
10 margin-left: 3.166667rem;
11
12 .separator {
13 margin:auto;
14 width: 10.5rem ;
15 height: .083333rem;
16 background-color: #dcdddd;
17 }
18 .menu-item {
19 height: 5.916667rem;
20 line-height: 5.916667rem;
21 font-size: 1.5rem ;
22 font-weight: bold;
23 color: #4c4948;
24 text-align: center;
25 cursor: pointer;
26
27 i {
28 display: inline-block;
29 width: 1.666667rem ;
30 height: 1.666667rem;
31 margin-right: 1.333333rem;
32 vertical-align: middle;
33 }
34 .m1 {
35 background: url("~@/assets/images/insurance-query/m1-unselect.png") no-repeat center center;
36 background-size: 100% 100%;
37 }
38 .m2 {
39 background: url("~@/assets/images/insurance-query/m2-unselect.png") no-repeat center center;
40 background-size: 100% 100%;
41 }
42 .m3 {
43 background: url("~@/assets/images/insurance-query/m3-unselect.png") no-repeat center center;
44 background-size: 100% 100%;
45 }
46 .m4 {
47 background: url("~@/assets/images/insurance-query/m4-unselect.png") no-repeat center center;
48 background-size: 100% 100%;
49 }
50 .m5 {
51 background: url("~@/assets/images/insurance-query/m5-unselect.png") no-repeat center center;
52 background-size: 100% 100%;
53 }
54 .m6 {
55 background: url("~@/assets/images/insurance-query/m6-unselect.png") no-repeat center center;
56 background-size: 100% 100%;
57 }
58 }
59 .menu-item.activity {
60 color: #f05a23 !important;
61
62 .m1 {
63 background: url("~@/assets/images/insurance-query/m1.png") no-repeat center center;
64 background-size: 100% 100%;
65 }
66 .m2 {
67 background: url("~@/assets/images/insurance-query/m2.png") no-repeat center center;
68 background-size: 100% 100%;
69 }
70 .m3 {
71 background: url("~@/assets/images/insurance-query/m3.png") no-repeat center center;
72 background-size: 100% 100%;
73 }
74 .m4 {
75 background: url("~@/assets/images/insurance-query/m4.png") no-repeat center center;
76 background-size: 100% 100%;
77 }
78 .m5 {
79 background: url("~@/assets/images/insurance-query/m5.png") no-repeat center center;
80 background-size: 100% 100%;
81 }
82 .m6 {
83 background: url("~@/assets/images/insurance-query/m6.png") no-repeat center center;
84 background-size: 100% 100%;
85 }
86
87 }
88 }
89
90 .min-panel {
91 margin-left: .666667rem;
92 width: 1.166667rem;
93
94 .item {
95 width: 1.166667rem ;
96 height: 6rem;
97 display: flex;
98 justify-content: flex-start;
99 align-items: center;
100 }
101
102 .activity .triangle {
103 width: .583333rem;
104 height: 1.166667rem ;
105 background: url("~@/assets/images/insurance-query/triangle.png") no-repeat center center;
106 background-size: 100% 100%;
107 }
108 }
109
110 .right-panel {
111 margin-left: 1.166667rem;
112 width: 64.166667rem ;
113 background-color: #ffffff;
114
115 .panel {
116 display: none;
117 }
118
119 .activity {
120 display: block !important;
121 }
122 }
123
124
125 /** 可以抽出来作为一个插件 **/
126 .cell-group {
127 margin-bottom: 1rem /* 12/12 */;
128 div{
129 font-size: 1rem /* 12/12 */;
130 color: #4c4948;
131 }
132
133 .w1 {
134 min-width: 9.166667rem /* 110/12 */;
135 text-align: center;
136 }
137
138 .w2 {
139 min-width: 6.25rem /* 75/12 */;
140 text-align: center;
141 }
142
143 .table-header {
144 width: 64.166667rem /* 770/12 */;
145 height: 2.5rem /* 30/12 */;
146 border-top-left-radius: .666667rem /* 8/12 */;
147 border-top-right-radius: .666667rem /* 8/12 */;
148 background-color: #f2f2f2;
149 display: flex;
150 align-items: center;
151
152 .normal-header {
153 width: 58.833333rem /* 706/12 */;
154 margin: auto;
155 display: flex;
156 justify-content: space-between;
157 align-items: center;
158
159 .title {
160 font-size: 1rem /* 12/12 */;
161 font-weight: bold;
162 color: #575453;
163 }
164
165 .guide {
166 transition: all 0.5s;
167 cursor: pointer;
168 width: 1rem /* 12/12 */;
169 height: .666667rem /* 8/12 */ ;
170 background: url("~@/assets/images/insurance-query/triangle-down.png") no-repeat center center;
171 background-size: 100% 100%;
172 }
173
174 .rotate180 {
175 transform: rotate(180deg);
176 transition: all 0.5s;
177 }
178 }
179 }
180
181 .table-content {
182 width: 64.166667rem /* 770/12 */;
183 height: auto;
184 display: inline-block;
185 border-bottom-left-radius: .666667rem /* 8/12 */;
186 border-bottom-right-radius: .666667rem /* 8/12 */;
187 border-left: solid .083333rem /* 1/12 */ #f2f2f2;
188 border-right: solid .083333rem /* 1/12 */ #f2f2f2;
189 border-bottom: solid .083333rem /* 1/12 */ #f2f2f2;
190 padding: 0 2.583333rem /* 31/12 */;
191 max-height: 41.666667rem /* 500/12 */;
192 transition: max-height ease-out 0.3s !important;
193 overflow: hidden;
194
195 .data-line {
196 height: 4.416667rem /* 53/12 */;
197 margin: auto;
198 display: flex;
199 justify-content: space-between;
200 align-items: center;
201
202 .cell1 {
203 width: 29.166667rem /* 350/12 */;
204 display: flex;
205 justify-content: space-between;
206 margin: auto;
207 }
208
209 .separator-v {
210 height: 2.5rem /* 30/12 */;
211 width: .166667rem /* 2/12 */;
212 background-color: #f2f2f2;
213 margin: 0 .916667rem /* 11/12 */;
214 }
215 }
216
217 .label span {
218 color: #f05a23;
219 margin-left: .583333rem /* 7/12 */;
220 cursor: pointer;
221 text-decoration: underline;
222 }
223
224 .separator-h {
225 width: 58.833333rem /* 706/12 */;
226 height: .083333rem /* 1/12 */;
227 background-color: #f2f2f2;
228 }
229 }
230 .orange {
231 background-color: #f05a23 !important;
232 div {
233 color: #ffffff;
234 }
235 }
236
237 .hide {
238 max-height: 0;
239 border-bottom:none;
240 }
241
242 }
243
244 .empty-line {
245 height: 1.333333rem /* 16/12 */;
246 }
...\ No newline at end of file ...\ No newline at end of file
...@@ -88,6 +88,14 @@ const routes = [ ...@@ -88,6 +88,14 @@ const routes = [
88 title: '' 88 title: ''
89 } 89 }
90 }, 90 },
91 {
92 path: '/custom/service',
93 name: 'customService',
94 component: () => import('./pages/custom-service/custom-service.vue'),
95 meta: {
96 title: '保单查询'
97 }
98 },
91 99
92 { 100 {
93 path: '/demo', 101 path: '/demo',
......