the effect I want is this:
my code:
<div class="abs">
<div class="items" v-for="item in dataTable">
<span v-for="mul in item.mul" :style="{top:myTop}">
<i>{{mul.name}}</i>
</span>
</div>
</div>
myTop:"5px",
dataHeader:["","","",""],
dataNumber:[6,5,4,3,2,1],
dataTable:[
{
mul:[
{
name:"",
rank:[5]
},
{
name:"",
rank:[2]
}
]
},
]
question:
< span 5px for = "mul in item.mul": style= "{top:myTop}" >
the problem now is the style that shares 5px. I don"t want to do this. I want one 5px and another 80px. How can I change it?