318-详情页标题tip(5个)
This commit is contained in:
parent
dd6d8018d8
commit
1aa48bd4e6
|
@ -9,7 +9,13 @@
|
||||||
<div class="algorithm-top-details">
|
<div class="algorithm-top-details">
|
||||||
<div class="left">
|
<div class="left">
|
||||||
<div class="top">
|
<div class="top">
|
||||||
<span class="name">{{ props.dataList.name }}</span>
|
<a-tooltip placement="top">
|
||||||
|
<template #title>{{ props.dataList.name }}</template>
|
||||||
|
<span class="name">
|
||||||
|
{{ props.dataList.name }}
|
||||||
|
</span>
|
||||||
|
</a-tooltip>
|
||||||
|
<!-- <span class="name">{{ props.dataList.name }}</span> -->
|
||||||
<div class="label-content">
|
<div class="label-content">
|
||||||
<p class="lable-father">
|
<p class="lable-father">
|
||||||
<span class="label">
|
<span class="label">
|
||||||
|
@ -137,12 +143,19 @@
|
||||||
}
|
}
|
||||||
.name {
|
.name {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
width: 10.2rem;
|
// width: 10.2rem;
|
||||||
// overflow: hidden;
|
// overflow: hidden;
|
||||||
// text-overflow: ellipsis;
|
// text-overflow: ellipsis;
|
||||||
// white-space: nowrap;
|
// white-space: nowrap;
|
||||||
font-size: 40px;
|
font-size: 40px;
|
||||||
margin-right: 20px;
|
margin-right: 20px;
|
||||||
|
max-width: 7rem;
|
||||||
|
text-overflow: -o-ellipsis-lastline;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
display: -webkit-box;
|
||||||
|
-webkit-line-clamp: 1;
|
||||||
|
-webkit-box-orient: vertical;
|
||||||
}
|
}
|
||||||
.label-content {
|
.label-content {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
|
@ -9,7 +9,13 @@
|
||||||
<div class="algorithm-top-details">
|
<div class="algorithm-top-details">
|
||||||
<div class="left">
|
<div class="left">
|
||||||
<div class="top">
|
<div class="top">
|
||||||
<span class="name">{{ props.dataList.name }}</span>
|
<a-tooltip placement="top">
|
||||||
|
<template #title>{{ props.dataList.name }}</template>
|
||||||
|
<span class="name">
|
||||||
|
{{ props.dataList.name }}
|
||||||
|
</span>
|
||||||
|
</a-tooltip>
|
||||||
|
<!-- <span class="name">{{ props.dataList.name }}</span> -->
|
||||||
<div class="label-content">
|
<div class="label-content">
|
||||||
<p class="lable-father">
|
<p class="lable-father">
|
||||||
<span class="label">{{ props.dataList.type }}</span>
|
<span class="label">{{ props.dataList.type }}</span>
|
||||||
|
@ -124,9 +130,18 @@
|
||||||
// max-width: 3.3rem;
|
// max-width: 3.3rem;
|
||||||
// overflow: hidden;
|
// overflow: hidden;
|
||||||
// text-overflow: ellipsis;
|
// text-overflow: ellipsis;
|
||||||
white-space: nowrap;
|
// white-space: nowrap;
|
||||||
font-size: 0.4rem;
|
font-size: 0.4rem;
|
||||||
margin-right: 0.2rem;
|
margin-right: 0.2rem;
|
||||||
|
font-size: 0.4rem;
|
||||||
|
margin-right: 0.2rem;
|
||||||
|
max-width: 7rem;
|
||||||
|
text-overflow: -o-ellipsis-lastline;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
display: -webkit-box;
|
||||||
|
-webkit-line-clamp: 1;
|
||||||
|
-webkit-box-orient: vertical;
|
||||||
}
|
}
|
||||||
.label-content {
|
.label-content {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
|
@ -9,7 +9,13 @@
|
||||||
<div class="algorithm-top-details">
|
<div class="algorithm-top-details">
|
||||||
<div class="left">
|
<div class="left">
|
||||||
<div class="top">
|
<div class="top">
|
||||||
<span class="name">{{ props.dataList.name }}</span>
|
<a-tooltip placement="top">
|
||||||
|
<template #title>{{ props.dataList.name }}</template>
|
||||||
|
<span class="name">
|
||||||
|
{{ props.dataList.name }}
|
||||||
|
</span>
|
||||||
|
</a-tooltip>
|
||||||
|
<!-- <span class="name">{{ props.dataList.name }}</span> -->
|
||||||
<div class="label-content">
|
<div class="label-content">
|
||||||
<p class="lable-father">
|
<p class="lable-father">
|
||||||
<span class="label">
|
<span class="label">
|
||||||
|
@ -140,9 +146,16 @@
|
||||||
// max-width: 3.3rem;
|
// max-width: 3.3rem;
|
||||||
// overflow: hidden;
|
// overflow: hidden;
|
||||||
// text-overflow: ellipsis;
|
// text-overflow: ellipsis;
|
||||||
white-space: nowrap;
|
// white-space: nowrap;
|
||||||
font-size: 0.4rem;
|
font-size: 0.4rem;
|
||||||
margin-right: 0.2rem;
|
margin-right: 0.2rem;
|
||||||
|
max-width: 7rem;
|
||||||
|
text-overflow: -o-ellipsis-lastline;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
display: -webkit-box;
|
||||||
|
-webkit-line-clamp: 1;
|
||||||
|
-webkit-box-orient: vertical;
|
||||||
}
|
}
|
||||||
.label-content {
|
.label-content {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
|
@ -9,7 +9,13 @@
|
||||||
<div class="algorithm-top-details">
|
<div class="algorithm-top-details">
|
||||||
<div class="left">
|
<div class="left">
|
||||||
<div class="top">
|
<div class="top">
|
||||||
<span class="name">{{ props.dataList.name }}</span>
|
<a-tooltip placement="top">
|
||||||
|
<template #title>{{ props.dataList.name }}</template>
|
||||||
|
<span class="name">
|
||||||
|
{{ props.dataList.name }}
|
||||||
|
</span>
|
||||||
|
</a-tooltip>
|
||||||
|
<!-- <span class="name">{{ props.dataList.name }}</span> -->
|
||||||
<div class="label-content">
|
<div class="label-content">
|
||||||
<p class="lable-father">
|
<p class="lable-father">
|
||||||
<span class="label">
|
<span class="label">
|
||||||
|
@ -139,9 +145,16 @@
|
||||||
// max-width: 3.3rem;
|
// max-width: 3.3rem;
|
||||||
// overflow: hidden;
|
// overflow: hidden;
|
||||||
// text-overflow: ellipsis;
|
// text-overflow: ellipsis;
|
||||||
white-space: nowrap;
|
// white-space: nowrap;
|
||||||
font-size: 0.4rem;
|
font-size: 0.4rem;
|
||||||
margin-right: 0.2rem;
|
margin-right: 0.2rem;
|
||||||
|
max-width: 7rem;
|
||||||
|
text-overflow: -o-ellipsis-lastline;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
display: -webkit-box;
|
||||||
|
-webkit-line-clamp: 1;
|
||||||
|
-webkit-box-orient: vertical;
|
||||||
}
|
}
|
||||||
.label-content {
|
.label-content {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
|
@ -9,7 +9,13 @@
|
||||||
<div class="algorithm-top-details">
|
<div class="algorithm-top-details">
|
||||||
<div class="left">
|
<div class="left">
|
||||||
<div class="top">
|
<div class="top">
|
||||||
<span class="name">{{ props.dataList.name }}</span>
|
<a-tooltip placement="top">
|
||||||
|
<template #title>{{ props.dataList.name }}</template>
|
||||||
|
<span class="name">
|
||||||
|
{{ props.dataList.name }}
|
||||||
|
</span>
|
||||||
|
</a-tooltip>
|
||||||
|
<!-- <span class="name">{{ props.dataList.name }}</span> -->
|
||||||
<div class="label-content">
|
<div class="label-content">
|
||||||
<p class="lable-father">
|
<p class="lable-father">
|
||||||
<span class="label">
|
<span class="label">
|
||||||
|
@ -140,9 +146,16 @@
|
||||||
// max-width: 3.3rem;
|
// max-width: 3.3rem;
|
||||||
// overflow: hidden;
|
// overflow: hidden;
|
||||||
// text-overflow: ellipsis;
|
// text-overflow: ellipsis;
|
||||||
white-space: nowrap;
|
// white-space: nowrap;
|
||||||
font-size: 0.4rem;
|
font-size: 0.4rem;
|
||||||
margin-right: 0.2rem;
|
margin-right: 0.2rem;
|
||||||
|
max-width: 7rem;
|
||||||
|
text-overflow: -o-ellipsis-lastline;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
display: -webkit-box;
|
||||||
|
-webkit-line-clamp: 1;
|
||||||
|
-webkit-box-orient: vertical;
|
||||||
}
|
}
|
||||||
.label-content {
|
.label-content {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
Loading…
Reference in New Issue