优化新建模型显示悬浮文字效果/优化展开收缩图片显示问题

This commit is contained in:
zhal 2022-08-29 15:37:33 +08:00
parent bd7352fe78
commit d7f7c5445e
2 changed files with 7 additions and 5 deletions

View File

@ -391,7 +391,7 @@
return { return {
loading: false, loading: false,
newwidth:'280px', newwidth:'280px',
newwidthtrue:true, newwidthtrue:false,
newtitle:'收起', newtitle:'收起',
mainHeight: (parseInt(this.$store.getters.getTopMainHeightFn) - (this.showFooter ? 45 : 0)) + 'px', mainHeight: (parseInt(this.$store.getters.getTopMainHeightFn) - (this.showFooter ? 45 : 0)) + 'px',
tableLoading: false, tableLoading: false,
@ -410,6 +410,7 @@
havingWritePerm: false,// havingWritePerm: false,//
havingRemovePerm: false,// havingRemovePerm: false,//
havingVersionManagePerm: false,// havingVersionManagePerm: false,//
imgPath: require('@/assets/double-arro-right.png'),
currRepositoryDetail: { currRepositoryDetail: {
name: '', name: '',
id: '', id: '',
@ -479,7 +480,7 @@
havingVersionManagePerm: false, havingVersionManagePerm: false,
havingWritePerm: false havingWritePerm: false
}, },
imgPath: ''
} }
}, },
created() { created() {
@ -682,9 +683,10 @@
} }
// //
that.newwidth ='28px'; /*that.newwidth ='28px';
that.newtitle = '展开'; that.newtitle = '展开';
that.imgPath=require('@/assets/double-arrow-left.png'); that.imgPath=require('@/assets/double-arrow-left.png');*/
that.imgPath=require('@/assets/double-arro-right.png');
} }
}).catch(error=>{ }).catch(error=>{
console.log(error); console.log(error);

View File

@ -21,7 +21,7 @@
:style="{opacity: item.opacity, filter: item.filter, cursor: item.cursor}" :style="{opacity: item.opacity, filter: item.filter, cursor: item.cursor}"
@click="item.clickFlag && createDesigner(item.app,item.category,item.method)"> @click="item.clickFlag && createDesigner(item.app,item.category,item.method)">
<div style="position: relative;top: 9px;"> <div style="position: relative;top: 9px;">
<div class="icon-div-repository" <div class="icon-div-repository" :title="item.methodName"
:style="{'background-color': item.icon.color}"> :style="{'background-color': item.icon.color}">
<i class="awsui-iconfont icon-dynamic-repository" <i class="awsui-iconfont icon-dynamic-repository"
v-html="item.icon.code"></i> v-html="item.icon.code"></i>