qianlishi 3 years ago
parent 941001f46d
commit 85328005cd

@ -76,17 +76,17 @@
<span slot="label" class="icon"
><i class="el-icon-date icon"></i>图层</span
>
<div class="tools-item">
<span class="tools-item-icon">
<i class="iconfont iconkuangjia"></i>
</span>
<span class="tools-item-text">内联框架</span>
</div>
<div class="tools-item">
<div
v-for="(item, index) in layerWidget"
:key="'item' + index"
class="tools-item"
:class="widgetIndex == index ? 'is-active' : ''"
@click="layerClick(index)"
>
<span class="tools-item-icon">
<i class="iconfont iconkuangjia"></i>
<i class="iconfont" :class="item.icon"></i>
</span>
<span class="tools-item-text">内联框架</span>
<span class="tools-item-text">{{ item.label }}</span>
</div>
</el-tab-pane>
</el-tabs>
@ -463,7 +463,10 @@ export default {
this.activeName = "first";
this.widgetOptions = screenConfig["options"];
},
layerClick(index) {
this.widgetIndex = index;
this.widgetsClick(index);
},
//
setOptionsOnClickWidget(obj) {
console.log(obj);

Loading…
Cancel
Save