Setting.vue 8.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225
  1. <template>
  2. <div style="padding: 10px" class="setting" dis-hover>
  3. <Card title="Options" icon="ios-options" :padding="0" >
  4. <CellGroup>
  5. <Cell title="With Switch">
  6. <i-switch v-model="switchValue" slot="extra" />
  7. </Cell>
  8. <Cell title="With Switch">
  9. <i-switch v-model="switchValue" slot="extra" />
  10. </Cell>
  11. <Cell title="With Switch">
  12. <i-switch v-model="switchValue" slot="extra" />
  13. </Cell>
  14. </CellGroup>
  15. </Card>
  16. <Card title="Options" icon="ios-options" :padding="0" >
  17. <CellGroup>
  18. <Cell title="With Switch">
  19. <i-switch v-model="switchValue" slot="extra" />
  20. </Cell>
  21. </CellGroup>
  22. </Card>
  23. <Card title="Options" icon="ios-options" :padding="0" >
  24. <CellGroup>
  25. <Cell title="With Switch">
  26. <i-switch v-model="switchValue" slot="extra" />
  27. </Cell>
  28. <Cell title="With Switch">
  29. <i-switch v-model="switchValue" slot="extra" />
  30. </Cell>
  31. <Cell title="With Switch">
  32. <i-switch v-model="switchValue" slot="extra" />
  33. </Cell>
  34. </CellGroup>
  35. </Card>
  36. <Card title="Options" icon="ios-options" :padding="0" >
  37. <CellGroup>
  38. <Cell title="With Switch">
  39. <i-switch v-model="switchValue" slot="extra" />
  40. </Cell>
  41. <Cell title="With Switch">
  42. <i-switch v-model="switchValue" slot="extra" />
  43. </Cell>
  44. <Cell title="With Switch">
  45. <i-switch v-model="switchValue" slot="extra" />
  46. </Cell>
  47. </CellGroup>
  48. </Card>
  49. <Card title="Options" icon="ios-options" :padding="0" >
  50. <CellGroup>
  51. <Cell title="With Switch">
  52. <i-switch v-model="switchValue" slot="extra" />
  53. </Cell>
  54. <Cell title="With Switch">
  55. <i-switch v-model="switchValue" slot="extra" />
  56. </Cell>
  57. <Cell title="With Switch">
  58. <i-switch v-model="switchValue" slot="extra" />
  59. </Cell>
  60. </CellGroup>
  61. </Card>
  62. <Card title="Options" icon="ios-options" :padding="0" >
  63. <CellGroup>
  64. <Cell title="With Switch">
  65. <i-switch v-model="switchValue" slot="extra" />
  66. </Cell>
  67. <Cell title="With Switch">
  68. <i-switch v-model="switchValue" slot="extra" />
  69. </Cell>
  70. <Cell title="With Switch">
  71. <i-switch v-model="switchValue" slot="extra" />
  72. </Cell>
  73. </CellGroup>
  74. </Card>
  75. <Card title="Options" icon="ios-options" :padding="0" >
  76. <CellGroup>
  77. <Cell title="With Switch">
  78. <i-switch v-model="switchValue" slot="extra" />
  79. </Cell>
  80. <Cell title="With Switch">
  81. <i-switch v-model="switchValue" slot="extra" />
  82. </Cell>
  83. <Cell title="With Switch">
  84. <i-switch v-model="switchValue" slot="extra" />
  85. </Cell>
  86. </CellGroup>
  87. </Card>
  88. <Card title="Options" icon="ios-options" :padding="0" >
  89. <CellGroup>
  90. <Cell title="With Switch">
  91. <i-switch v-model="switchValue" slot="extra" />
  92. </Cell>
  93. <Cell title="With Switch">
  94. <i-switch v-model="switchValue" slot="extra" />
  95. </Cell>
  96. <Cell title="With Switch">
  97. <i-switch v-model="switchValue" slot="extra" />
  98. </Cell>
  99. </CellGroup>
  100. </Card>
  101. <Card title="Options" icon="ios-options" :padding="0" >
  102. <CellGroup>
  103. <Cell title="With Switch">
  104. <i-switch v-model="switchValue" slot="extra" />
  105. </Cell>
  106. <Cell title="With Switch">
  107. <i-switch v-model="switchValue" slot="extra" />
  108. </Cell>
  109. <Cell title="With Switch">
  110. <i-switch v-model="switchValue" slot="extra" />
  111. </Cell>
  112. </CellGroup>
  113. </Card>
  114. <Card title="Options" icon="ios-options" :padding="0" >
  115. <CellGroup>
  116. <Cell title="With Switch">
  117. <i-switch v-model="switchValue" slot="extra" />
  118. </Cell>
  119. <Cell title="With Switch">
  120. <i-switch v-model="switchValue" slot="extra" />
  121. </Cell>
  122. <Cell title="With Switch">
  123. <i-switch v-model="switchValue" slot="extra" />
  124. </Cell>
  125. </CellGroup>
  126. </Card>
  127. <Card title="Options" icon="ios-options" :padding="0" >
  128. <CellGroup>
  129. <Cell title="With Switch">
  130. <i-switch v-model="switchValue" slot="extra" />
  131. </Cell>
  132. <Cell title="With Switch">
  133. <i-switch v-model="switchValue" slot="extra" />
  134. </Cell>
  135. <Cell title="With Switch">
  136. <i-switch v-model="switchValue" slot="extra" />
  137. </Cell>
  138. </CellGroup>
  139. </Card>
  140. <Card title="Options" icon="ios-options" :padding="0" >
  141. <CellGroup>
  142. <Cell title="With Switch">
  143. <i-switch v-model="switchValue" slot="extra" />
  144. </Cell>
  145. <Cell title="With Switch">
  146. <i-switch v-model="switchValue" slot="extra" />
  147. </Cell>
  148. <Cell title="With Switch">
  149. <i-switch v-model="switchValue" slot="extra" />
  150. </Cell>
  151. </CellGroup>
  152. </Card>
  153. <Card title="Options" icon="ios-options" :padding="0" >
  154. <CellGroup>
  155. <Cell title="With Switch">
  156. <i-switch v-model="switchValue" slot="extra" />
  157. </Cell>
  158. <Cell title="With Switch">
  159. <i-switch v-model="switchValue" slot="extra" />
  160. </Cell>
  161. <Cell title="With Switch">
  162. <i-switch v-model="switchValue" slot="extra" />
  163. </Cell>
  164. </CellGroup>
  165. </Card>
  166. <Card title="Options" icon="ios-options" :padding="0" >
  167. <CellGroup>
  168. <Cell title="With Switch">
  169. <i-switch v-model="switchValue" slot="extra" />
  170. </Cell>
  171. <Cell title="With Switch">
  172. <i-switch v-model="switchValue" slot="extra" />
  173. </Cell>
  174. <Cell title="With Switch">
  175. <i-switch v-model="switchValue" slot="extra" />
  176. </Cell>
  177. </CellGroup>
  178. </Card>
  179. <Card title="Options" icon="ios-options" :padding="0" >
  180. <CellGroup>
  181. <Cell title="With Switch">
  182. <i-switch v-model="switchValue" slot="extra" />
  183. </Cell>
  184. <Cell title="With Switch">
  185. <i-switch v-model="switchValue" slot="extra" />
  186. </Cell>
  187. <Cell title="With Switch">
  188. <i-switch v-model="switchValue" slot="extra" />
  189. </Cell>
  190. </CellGroup>
  191. </Card>
  192. </div>
  193. </template>
  194. <script>
  195. export default {
  196. data(){
  197. return {
  198. switchValue: true,
  199. switch1:true
  200. }
  201. }
  202. }
  203. </script>
  204. <style scoped lang='scss'>
  205. .setting{
  206. margin-top:10px ;
  207. display: flex;
  208. flex-wrap: wrap;
  209. }
  210. /deep/ .ivu-card{
  211. background: #f8f8f9;
  212. width: 250px;
  213. height: 200px;
  214. margin: 10px;
  215. border-radius: 20px;
  216. .ivu-card:hover{
  217. box-shadow: darkgrey 2px 2px 2px 2px ;//边框阴影
  218. }
  219. }
  220. /deep/ .ivu-card-head{
  221. border-bottom: none;
  222. }
  223. </style>