Browse Source

card 1 增加参数 gap

wangqin
Joe 11 months ago
parent
commit
ef31a9f6b5
  1. 7
      ruoyi-ui/src/views/JiHeExpressway/components/Card1/index.vue

7
ruoyi-ui/src/views/JiHeExpressway/components/Card1/index.vue

@ -1,7 +1,7 @@
<template>
<BorderRadiusImage class='Card' borderRadius="2px"
borderColor="linear-gradient(360deg, rgba(55, 231, 255, 0.3), rgba(55, 231, 255, 0))" borderWidth="2px">
<div class="info">
<div class="info" :style="{ gap }">
<p v-for="(item, index) in keyMap" :key="index">
<span>{{ item.label }}: </span>
<span>
@ -83,6 +83,10 @@ export default {
type: String,
default: "修改"
},
gap: {
type: String,
default: "6px"
},
},
data() {
return {
@ -116,7 +120,6 @@ export default {
flex-direction: column;
// align-items: center;
// justify-content: space-between;
gap: 6px;
>p {
height: 21px;

Loading…
Cancel
Save