|
|
@ -20,12 +20,16 @@ |
|
|
> |
|
|
> |
|
|
<font v-if="xmProduct.productName.length >= 15"> |
|
|
<font v-if="xmProduct.productName.length >= 15"> |
|
|
<strong> |
|
|
<strong> |
|
|
产品: {{ xmProduct.productName.substring(0, 15) }}</strong |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-avatar class="top-icon" icon="el-icon-s-opportunity" style="background-color:#409EFF"></el-avatar> {{ xmProduct.productName.substring(0, 15) }}</strong |
|
|
></font |
|
|
></font |
|
|
> |
|
|
> |
|
|
<font type="danger" v-else> |
|
|
|
|
|
<strong> 产品: {{ xmProduct.productName }}</strong></font |
|
|
|
|
|
|
|
|
<div v-else> |
|
|
|
|
|
|
|
|
|
|
|
<font type="danger"> |
|
|
|
|
|
<strong> <el-avatar class="top-icon" icon="el-icon-s-opportunity" style="background-color:#409EFF"></el-avatar> 产品: {{ xmProduct.productName }}</strong></font |
|
|
> |
|
|
> |
|
|
|
|
|
</div> |
|
|
</span> |
|
|
</span> |
|
|
<span |
|
|
<span |
|
|
slot="title" |
|
|
slot="title" |
|
|
@ -34,10 +38,10 @@ |
|
|
:title="xmProduct.productName" |
|
|
:title="xmProduct.productName" |
|
|
> |
|
|
> |
|
|
<font v-if="xmProduct.productName.length >= 15"> |
|
|
<font v-if="xmProduct.productName.length >= 15"> |
|
|
产品: {{ xmProduct.productName.substring(0, 15) }}</font |
|
|
|
|
|
|
|
|
<el-avatar class="top-icon" icon="el-icon-s-opportunity" style="background-color:#409EFF"></el-avatar> 产品: {{ xmProduct.productName.substring(0, 15) }}</font |
|
|
> |
|
|
> |
|
|
<font type="danger" v-else> |
|
|
<font type="danger" v-else> |
|
|
产品: {{ xmProduct.productName }}</font |
|
|
|
|
|
|
|
|
<el-avatar class="top-icon" icon="el-icon-s-opportunity" style="background-color:#409EFF"></el-avatar> 产品: {{ xmProduct.productName }}</font |
|
|
> |
|
|
> |
|
|
</span> |
|
|
</span> |
|
|
</el-menu-item> |
|
|
</el-menu-item> |
|
|
@ -1027,6 +1031,7 @@ export default { |
|
|
padding-left: 0px !important; |
|
|
padding-left: 0px !important; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
/* 超过宽度则用...代替 */ |
|
|
/* 超过宽度则用...代替 */ |
|
|
.truncate { |
|
|
.truncate { |
|
|
overflow: hidden; |
|
|
overflow: hidden; |
|
|
|