26534
This commit is contained in:
@@ -58,7 +58,10 @@
|
|||||||
</span>
|
</span>
|
||||||
<div class="comments-vote">
|
<div class="comments-vote">
|
||||||
<div class="vote-item" v-for="(item, index) in data.voteList" :key="index">
|
<div class="vote-item" v-for="(item, index) in data.voteList" :key="index">
|
||||||
<span>{{ item.item }}:{{ item.content }}</span>
|
<div class="left">
|
||||||
|
<span>{{ item.item }}:</span>
|
||||||
|
<span>{{ item.content }}</span>
|
||||||
|
</div>
|
||||||
<i>{{ item.count }}</i>
|
<i>{{ item.count }}</i>
|
||||||
<em :style="{ width: item.percentage }"></em>
|
<em :style="{ width: item.percentage }"></em>
|
||||||
</div>
|
</div>
|
||||||
@@ -434,15 +437,32 @@ export default {
|
|||||||
position: relative;
|
position: relative;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
height: 64px;
|
padding: 24px 32px;
|
||||||
line-height: 64px;
|
|
||||||
margin-bottom: 16px;
|
margin-bottom: 16px;
|
||||||
padding: 0 32px;
|
|
||||||
background: #ffffff;
|
background: #ffffff;
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
border: 1px solid #95cbff;
|
border: 1px solid #95cbff;
|
||||||
|
|
||||||
|
.left {
|
||||||
|
display: flex;
|
||||||
|
flex: 1;
|
||||||
|
line-height: 1.2;
|
||||||
|
margin-right: 20px;
|
||||||
|
|
||||||
|
span {
|
||||||
|
word-break: break-word;
|
||||||
|
|
||||||
|
&:first-child {
|
||||||
|
flex-shrink: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
&:last-child {
|
||||||
|
flex: 1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
em {
|
em {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: 0;
|
left: 0;
|
||||||
@@ -453,6 +473,7 @@ export default {
|
|||||||
}
|
}
|
||||||
|
|
||||||
span {
|
span {
|
||||||
|
flex-shrink: 1;
|
||||||
position: relative;
|
position: relative;
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
color: #5b84b3;
|
color: #5b84b3;
|
||||||
|
|||||||
Reference in New Issue
Block a user