Commit 3c2c98cf authored by WBY1026's avatar WBY1026

完善卡片大小

parent c12acbbd
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
v-for="(item, index) in nodeItemList" v-for="(item, index) in nodeItemList"
:key="index" :key="index"
class="super-flow__node" class="super-flow__node"
style="position: relative;margin: 10px auto;box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3)!important;" style="position: relative;margin: 10px auto; margin-top: 30px; box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3)!important;"
:style="{width: item.value().width + 'px', height: item.value().height + 'px' }" :style="{width: item.value().width + 'px', height: item.value().height + 'px' }"
@mousedown="evt => nodeItemMouseDown(evt, item.value)" @mousedown="evt => nodeItemMouseDown(evt, item.value)"
> >
...@@ -36,7 +36,11 @@ ...@@ -36,7 +36,11 @@
placeholder="请输入图片地址" placeholder="请输入图片地址"
v-model="backgroundUrl"> v-model="backgroundUrl">
</el-input> --> </el-input> -->
<el-button type="success" icon="el-icon-refresh-left" @click="showBackGroundPage">更换背景图片</el-button> <el-button
style="
margin-top: 300px; "
type="success"
@click="showBackGroundPage">更换背景</el-button>
</div> </div>
<!-- 最外层,加滚轮监听函数 --> <!-- 最外层,加滚轮监听函数 -->
...@@ -379,16 +383,16 @@ export default { ...@@ -379,16 +383,16 @@ export default {
{ {
label: '架子', label: '架子',
value: () => ({ value: () => ({
width: 150, width: 66,
height: 50, height: 33,
meta: { meta: {
label: '架子', label: '架子',
name: '架子', name: '架子',
flowName: '数值', flowName: '数值',
flowValue: '0', flowValue: '0',
img: require("./graph/服务器.png"), img: require("./graph/服务器正常.png"),
commonImg: require("./graph/服务器.png"), commonImg: require("./graph/服务器正常.png"),
errImg: require("./graph/服务器err.png") errImg: require("./graph/服务器报错.png")
} }
}) })
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment