|
|
@ -11,7 +11,7 @@ |
|
|
</span> |
|
|
</span> |
|
|
</div> |
|
|
</div> |
|
|
<div class="calc-right-panel"> |
|
|
<div class="calc-right-panel"> |
|
|
<el-form label-position="right" class="property-panel-form" size="default" @submit.native.prevent> |
|
|
<el-form label-position="right" label-width="60" class="property-panel-form" size="default" @submit.native.prevent> |
|
|
<template v-for="(itemMeta, idx) in selectedObjectMeta"> |
|
|
<template v-for="(itemMeta, idx) in selectedObjectMeta"> |
|
|
|
|
|
|
|
|
<el-divider v-if="itemMeta.editor === '-'" /> |
|
|
<el-divider v-if="itemMeta.editor === '-'" /> |
|
|
@ -79,3 +79,65 @@ export default { |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
</script> |
|
|
</script> |
|
|
|
|
|
<style lang="less"> |
|
|
|
|
|
.property-panel-form{ |
|
|
|
|
|
margin: 0; |
|
|
|
|
|
font-size: 14px; |
|
|
|
|
|
color:#606266; |
|
|
|
|
|
.el-form-item--default{ |
|
|
|
|
|
margin:5px 3px 0 0; |
|
|
|
|
|
.el-form-item__label{ |
|
|
|
|
|
height: 20px; |
|
|
|
|
|
line-height: 22px; |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
.gui-toolbar { |
|
|
|
|
|
color: #333; |
|
|
|
|
|
background: #ffffff; |
|
|
|
|
|
border-top: 1px solid #dcdcdc; |
|
|
|
|
|
margin-top: 5px; |
|
|
|
|
|
|
|
|
|
|
|
.el-input-number.is-without-controls .el-input__wrapper { |
|
|
|
|
|
padding-left: 2px; |
|
|
|
|
|
padding-right: 2px; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.gui-row { |
|
|
|
|
|
display: flex; |
|
|
|
|
|
flex-direction: row; |
|
|
|
|
|
gap: 3px; |
|
|
|
|
|
padding: 3px 3px 3px 0; |
|
|
|
|
|
|
|
|
|
|
|
.gui-item-name { |
|
|
|
|
|
width: 26px; |
|
|
|
|
|
align-self: stretch; |
|
|
|
|
|
display: flex; |
|
|
|
|
|
align-items: center; |
|
|
|
|
|
justify-content: center; |
|
|
|
|
|
|
|
|
|
|
|
.el-icon { |
|
|
|
|
|
font-size: 16px; |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.gui-item { |
|
|
|
|
|
flex: 1; |
|
|
|
|
|
text-align: center; |
|
|
|
|
|
font-size: 12px; |
|
|
|
|
|
|
|
|
|
|
|
.el-input-number { |
|
|
|
|
|
width: 100%; |
|
|
|
|
|
|
|
|
|
|
|
.el-input__wrapper { |
|
|
|
|
|
background-color: #efefef; |
|
|
|
|
|
box-shadow: none |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
.el-divider{ |
|
|
|
|
|
margin: 5px 0; |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
</style> |