This commit is contained in:
liuye
2022-09-28 15:12:13 +08:00
parent e27060f285
commit c9edab8515

View File

@@ -32,10 +32,10 @@
<u-icon name="arrow-down" color="#666" size="28" style="margin-left: 4px" /> <u-icon name="arrow-down" color="#666" size="28" style="margin-left: 4px" />
</AiAreaPicker> </AiAreaPicker>
</div> </div>
<div class="item" @click="showGateSelect=true"> <div class="item gateway-type" @click="showGateSelect=true">
<span v-if="gatewayId">{{gatewayName || '卡口选择'}}</span> <div v-if="gatewayId" class="gateway-name">{{gatewayName || '卡口选择'}}</div>
<span v-else>卡口选择</span> <u-icon name="arrow-down" color="#666" size="28" style="margin-left: 4px" v-if="gatewayId" />
<u-icon name="arrow-down" color="#666" size="28" style="margin-left: 4px" /> <span v-else>卡口选择<u-icon name="arrow-down" color="#666" size="28" style="margin-left: 4px" /></span>
</div> </div>
</div> </div>
</AiTopFixed> </AiTopFixed>
@@ -401,5 +401,23 @@ export default {
} }
} }
} }
.gateway-name {
width: calc(100% - 48px);
word-break: break-all;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
font-family: PingFangSC-Medium;
font-weight: 500;
font-size: 28px;
color: #666;
line-height: 40px;
}
.gateway-type {
display: flex;
justify-content: center;
}
} }
</style> </style>