|
@@ -48,6 +48,12 @@
|
|
|
</div>
|
|
|
<div class="box-padding box-border-bottom">
|
|
|
<p class="box-title">字符</p>
|
|
|
+ <div class="base-property">
|
|
|
+ <div class="base-property-item">
|
|
|
+ <el-color-picker show-alpha class="fix-box-1" v-model="color"></el-color-picker>
|
|
|
+ </div>
|
|
|
+ <div class="base-property-item"></div>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
<div class="box-padding box-border-bottom">
|
|
|
<p class="box-title">显示图标</p>
|
|
@@ -69,6 +75,7 @@
|
|
|
</div>
|
|
|
</template>
|
|
|
<script>
|
|
|
+import { SColor } from "@persagy-web/draw";
|
|
|
import { imgBaseUrl, imgServeUpload } from "@/api/imageservice";
|
|
|
import bus from "@/bus/bus";
|
|
|
export default {
|
|
@@ -86,6 +93,16 @@ export default {
|
|
|
showBimRelation: true, // 显示与BIM坐标关系
|
|
|
};
|
|
|
},
|
|
|
+ computed: {
|
|
|
+ color: {
|
|
|
+ get: function () {
|
|
|
+ return this.EquipItem.color.toRgba();
|
|
|
+ },
|
|
|
+ set: function () {
|
|
|
+ this.EquipItem.color = new SColor(this.color);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
methods: {
|
|
|
// 设置宽
|
|
|
changeWidth(val) {
|