[update] 修改bug80475

This commit is contained in:
lideqin
2024-01-22 13:38:07 +08:00
parent 31a2c9996d
commit 3b34babf0c
2 changed files with 29 additions and 1 deletions
@@ -13,7 +13,7 @@
<div class="content-wrapper">
<div class="left-wrapper">
<div v-for="(item, index) in nameArr" :key="item" class="name-div">
<a-button class="left-btn" :type="leftCurr === item ? 'primary' : ''" :disabled="index === 0" @click="leftChange(item)">{{ item }}</a-button>
<a-button class="left-btn" :type="leftCurr === item ? 'primary' : ''" :disabled="index === 0" @click="leftChange(item)" :title="item">{{ item }}</a-button>
</div>
</div>
<div class="right-wrapper">
@@ -370,8 +370,22 @@ export default {
display: flex;
flex-direction: column;
align-items: center;
.name-div {
width: calc(100% - 20px);
margin-right: 20px;
text-align: center;
}
.left-btn {
margin-bottom: 10px;
max-width: 100%;
/deep/ span {
width: 100%;
vertical-align: middle;
//display: inline-block;
overflow-x: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
}
}
.right-wrapper {
@@ -370,8 +370,22 @@ export default {
display: flex;
flex-direction: column;
align-items: center;
.name-div {
width: calc(100% - 20px);
margin-right: 20px;
text-align: center;
}
.left-btn {
margin-bottom: 10px;
max-width: 100%;
/deep/ span {
width: 100%;
vertical-align: middle;
//display: inline-block;
overflow-x: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
}
}
.right-wrapper {