style:业务申请
Showing
2 changed files
with
35 additions
and
15 deletions
... | @@ -81,14 +81,14 @@ | ... | @@ -81,14 +81,14 @@ |
81 | } | 81 | } |
82 | 82 | ||
83 | .ywsq-right { | 83 | .ywsq-right { |
84 | width: calc(100% - 270px); | 84 | width: calc(100% - 265px); |
85 | margin-left: 10px; | 85 | margin-left: 5px; |
86 | height: 100%; | 86 | height: 100%; |
87 | display: flex; | 87 | display: flex; |
88 | flex-direction: column; | 88 | flex-direction: column; |
89 | 89 | ||
90 | .right-type { | 90 | .right-type { |
91 | margin-bottom: 20px; | 91 | margin-bottom: 5px; |
92 | } | 92 | } |
93 | 93 | ||
94 | .right-title { | 94 | .right-title { |
... | @@ -171,13 +171,26 @@ | ... | @@ -171,13 +171,26 @@ |
171 | } | 171 | } |
172 | } | 172 | } |
173 | 173 | ||
174 | .registration { | ||
175 | li:hover { | ||
176 | border: 1px solid $borderColor !important; | ||
177 | color: $light-blue; | ||
178 | } | ||
179 | |||
180 | .cactive { | ||
181 | border: 1px solid $light-blue; | ||
182 | color: $light-blue; | ||
183 | } | ||
184 | } | ||
185 | |||
174 | .submit-button { | 186 | .submit-button { |
175 | padding: 15px 0; | 187 | padding: 15px 0; |
176 | text-align: center; | 188 | text-align: center; |
177 | background-color: #fff; | 189 | background-color: #fff; |
178 | } | 190 | } |
179 | } | 191 | } |
180 | .right-btn{ | 192 | |
193 | .right-btn { | ||
181 | text-align: center; | 194 | text-align: center; |
182 | margin-top: 20px; | 195 | margin-top: 20px; |
183 | } | 196 | } | ... | ... |
... | @@ -38,12 +38,13 @@ | ... | @@ -38,12 +38,13 @@ |
38 | </div> | 38 | </div> |
39 | <div v-if="n == -1"> | 39 | <div v-if="n == -1"> |
40 | <div class="right-title">登记情形</div> | 40 | <div class="right-title">登记情形</div> |
41 | <ul> | 41 | <ul class="registration"> |
42 | <li v-for="(item, index) in busList" :key="index"> | 42 | <li v-for="(item, index) in busList" @click="handleSelect(item)" :class="item.cselect ? 'cactive' : ''" |
43 | :key="index"> | ||
43 | <p> | 44 | <p> |
44 | {{ item.name }} | 45 | {{ item.name }} |
45 | </p> | 46 | </p> |
46 | <p :class="item.select ? 'active' : ''" @click="handleCollection(item)"> | 47 | <p :class="item.select ? 'active' : ''" @click.stop="handleCollection(item)"> |
47 | <i class="el-icon-star-off" :class="item.select ? 'active' : ''"></i> | 48 | <i class="el-icon-star-off" :class="item.select ? 'active' : ''"></i> |
48 | </p> | 49 | </p> |
49 | </li> | 50 | </li> |
... | @@ -51,9 +52,6 @@ | ... | @@ -51,9 +52,6 @@ |
51 | </div> | 52 | </div> |
52 | </div> | 53 | </div> |
53 | <div class="submit-button"> | 54 | <div class="submit-button"> |
54 | <el-button type="primary">选择不动产信息</el-button> | ||
55 | </div> | ||
56 | <div class="right-btn"> | ||
57 | <el-button type="primary" @click="btnClick()">选择不动产信息</el-button> | 55 | <el-button type="primary" @click="btnClick()">选择不动产信息</el-button> |
58 | </div> | 56 | </div> |
59 | </div> | 57 | </div> |
... | @@ -61,7 +59,7 @@ | ... | @@ -61,7 +59,7 @@ |
61 | </div> | 59 | </div> |
62 | </template> | 60 | </template> |
63 | <script> | 61 | <script> |
64 | import choiceDialog from "./components/choiceDialog.vue" | 62 | import choiceDialog from "./components/choiceDialog.vue" |
65 | export default { | 63 | export default { |
66 | data () { | 64 | data () { |
67 | return { | 65 | return { |
... | @@ -124,15 +122,18 @@ export default { | ... | @@ -124,15 +122,18 @@ export default { |
124 | busList: [ | 122 | busList: [ |
125 | { | 123 | { |
126 | name: '国有建设用地使用权 || 首次登记+ 以出让方式取得', | 124 | name: '国有建设用地使用权 || 首次登记+ 以出让方式取得', |
127 | select: false | 125 | select: false, |
126 | cselect: false, | ||
128 | }, | 127 | }, |
129 | { | 128 | { |
130 | name: '国有建设用地使用权 || 首次登记+ 以出让方式取得', | 129 | name: '国有建设用地使用权 || 首次登记+ 以出让方式取得', |
131 | select: false | 130 | select: false, |
131 | cselect: false, | ||
132 | }, | 132 | }, |
133 | { | 133 | { |
134 | name: '国有建设用地使用权 || 首次登记+ 以出让方式取得', | 134 | name: '国有建设用地使用权 || 首次登记+ 以出让方式取得', |
135 | select: false | 135 | select: false, |
136 | cselect: false, | ||
136 | } | 137 | } |
137 | ], | 138 | ], |
138 | isDialog: false, | 139 | isDialog: false, |
... | @@ -158,6 +159,12 @@ export default { | ... | @@ -158,6 +159,12 @@ export default { |
158 | handleCollection (item) { | 159 | handleCollection (item) { |
159 | item.select = !item.select | 160 | item.select = !item.select |
160 | }, | 161 | }, |
162 | handleSelect (item) { | ||
163 | this.busList.forEach(item => { | ||
164 | item.cselect = false | ||
165 | }) | ||
166 | item.cselect = !item.cselect | ||
167 | }, | ||
161 | handleTypeSelect (item) { | 168 | handleTypeSelect (item) { |
162 | this.typeList.forEach(item => { | 169 | this.typeList.forEach(item => { |
163 | if (item.select) item.select = false | 170 | if (item.select) item.select = false |
... | @@ -165,7 +172,7 @@ export default { | ... | @@ -165,7 +172,7 @@ export default { |
165 | this.$set(item, 'select', true) | 172 | this.$set(item, 'select', true) |
166 | }, | 173 | }, |
167 | // 选择不动产信息 | 174 | // 选择不动产信息 |
168 | btnClick(){ | 175 | btnClick () { |
169 | this.isDialog = true | 176 | this.isDialog = true |
170 | }, | 177 | }, |
171 | } | 178 | } | ... | ... |
-
Please register or sign in to post a comment