fix: topoylogy 支持字体图标
This commit is contained in:
@@ -35,7 +35,7 @@
|
|||||||
class="btn"
|
class="btn"
|
||||||
>
|
>
|
||||||
<img :src="btn.data.image" v-if="btn.data.image">
|
<img :src="btn.data.image" v-if="btn.data.image">
|
||||||
<i v-else :class="`iconfont ${btn.icon}`"></i>
|
<i v-else :class="`nz-icon ${btn.data.iconName}`"></i>
|
||||||
</a>
|
</a>
|
||||||
<i v-if="item.group!=='General'" class="delIcon nz-icon nz-icon-delete" @click="tooltipDelete(btn)"></i>
|
<i v-if="item.group!=='General'" class="delIcon nz-icon nz-icon-delete" @click="tooltipDelete(btn)"></i>
|
||||||
</div>
|
</div>
|
||||||
@@ -382,6 +382,7 @@ export default {
|
|||||||
name: 'rectangleImg2',
|
name: 'rectangleImg2',
|
||||||
icon: '\ue730',
|
icon: '\ue730',
|
||||||
iconFamily: 'nz-icon',
|
iconFamily: 'nz-icon',
|
||||||
|
iconName: 'nz-icon-rectangle1',
|
||||||
iconColor: '#0c62e3'
|
iconColor: '#0c62e3'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -399,8 +400,9 @@ export default {
|
|||||||
paddingTop: 10,
|
paddingTop: 10,
|
||||||
paddingBottom: 10,
|
paddingBottom: 10,
|
||||||
name: 'rectangleImg2',
|
name: 'rectangleImg2',
|
||||||
icon: '\ue732',
|
icon: '\ue731',
|
||||||
iconFamily: 'nz-icon',
|
iconFamily: 'nz-icon',
|
||||||
|
iconName: 'nz-icon-EMAC1',
|
||||||
iconColor: '#0c62e3'
|
iconColor: '#0c62e3'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1632,8 +1634,8 @@ export default {
|
|||||||
data: {
|
data: {
|
||||||
text: 'rect',
|
text: 'rect',
|
||||||
rect: {
|
rect: {
|
||||||
width: 100,
|
width: 30,
|
||||||
height: 100
|
height: 20
|
||||||
},
|
},
|
||||||
paddingLeft: 10,
|
paddingLeft: 10,
|
||||||
paddingRight: 10,
|
paddingRight: 10,
|
||||||
@@ -1642,6 +1644,7 @@ export default {
|
|||||||
name: 'rectangleImg2',
|
name: 'rectangleImg2',
|
||||||
icon: '\ue730',
|
icon: '\ue730',
|
||||||
iconFamily: 'nz-icon',
|
iconFamily: 'nz-icon',
|
||||||
|
iconName: 'nz-icon-rectangle1',
|
||||||
iconColor: '#0c62e3'
|
iconColor: '#0c62e3'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -1651,16 +1654,17 @@ export default {
|
|||||||
data: {
|
data: {
|
||||||
text: 'rect',
|
text: 'rect',
|
||||||
rect: {
|
rect: {
|
||||||
width: 100,
|
width: 30,
|
||||||
height: 100
|
height: 30
|
||||||
},
|
},
|
||||||
paddingLeft: 10,
|
paddingLeft: 10,
|
||||||
paddingRight: 10,
|
paddingRight: 10,
|
||||||
paddingTop: 10,
|
paddingTop: 10,
|
||||||
paddingBottom: 10,
|
paddingBottom: 10,
|
||||||
name: 'rectangleImg2',
|
name: 'rectangleImg2',
|
||||||
icon: '\ue732',
|
icon: '\ue731',
|
||||||
iconFamily: 'nz-icon',
|
iconFamily: 'nz-icon',
|
||||||
|
iconName: 'nz-icon-EMAC1',
|
||||||
iconColor: '#0c62e3'
|
iconColor: '#0c62e3'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1434,7 +1434,8 @@ const cn = {
|
|||||||
folder: '目录',
|
folder: '目录',
|
||||||
selMod: '请为所有节点绑定module',
|
selMod: '请为所有节点绑定module',
|
||||||
none: '无',
|
none: '无',
|
||||||
previewExit: '继续编辑'
|
previewExit: '继续编辑',
|
||||||
|
iconColor: '图标颜色'
|
||||||
},
|
},
|
||||||
update: '更新'
|
update: '更新'
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -1439,7 +1439,8 @@ const en = {
|
|||||||
folder: 'Folder',
|
folder: 'Folder',
|
||||||
selMod: 'Please bind module for all nodes',
|
selMod: 'Please bind module for all nodes',
|
||||||
none: 'None',
|
none: 'None',
|
||||||
previewExit: 'Continue'
|
previewExit: 'Continue',
|
||||||
|
iconColor: 'Icon color'
|
||||||
},
|
},
|
||||||
update: '更新'
|
update: '更新'
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user