提交 1e33d334 编写于 作者: guangjun.yang's avatar guangjun.yang

图标半像素问题

上级 c40ef1ed
...@@ -72,7 +72,7 @@ ...@@ -72,7 +72,7 @@
<li @click="coopDetails(item, 2)" v-if="item.directoryList.length" class="item tk"> <li @click="coopDetails(item, 2)" v-if="item.directoryList.length" class="item tk">
<img src="../images/course/icon-tk-1.png" alt=""> <img src="../images/course/icon-tk-1.png" alt="">
<span>题库</span> <span>题库</span>
<img v-if="item.bindDirectoryCardStatus" class="buy" src="../images/course/icon-buy.png" alt=""> <img v-if="!item.bindDirectoryCardStatus" class="buy" src="../images/course/icon-buy.png" alt="">
</li> </li>
</ul> </ul>
</div> </div>
...@@ -500,7 +500,7 @@ export default { ...@@ -500,7 +500,7 @@ export default {
border: 1px solid #3B86FD; border: 1px solid #3B86FD;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
box-sizing: border-box; box-sizing: content-box;
& > img { & > img {
width: 14px; width: 14px;
height: 14px; height: 14px;
...@@ -513,10 +513,10 @@ export default { ...@@ -513,10 +513,10 @@ export default {
.buy { .buy {
position: absolute; position: absolute;
top: 0; top: 0;
right: 0.01rem; right: -0.6px;
z-index: 3; z-index: 3;
width: 34px; width: 34px;
height: 15px; height: 16px;
} }
} }
.item-pre { .item-pre {
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册