提交 1cf0003f authored 作者: xuyanwei's avatar xuyanwei

图片链接

上级 2588f589
......@@ -21,7 +21,7 @@
<ul>
<li v-for="(item,index) in liList" :key="index">
<h3 :class="`color-div${index%6+1}`">{{index<9?'0'+(index+1):index+1}}</h3>
<img :src="`./static/img/icon_0${index+1}.png`" alt="">
<!--<img :src="`./static/img/icon_0${index+1}.png`" alt="">-->
<div class="word">
<p><span>{{item.codeZh}}</span> <span>{{item.num}}道题</span></p>
<h2 @click="">查看</h2><!--code-->
......@@ -151,7 +151,7 @@
}
@for $i from 1 through 6 {
.color-div#{$i}{
/*background-image: url('./static/img/icon_0#{$i}.png');*/
background-image: url('../../../static/img/icon_0#{$i}.png');
background-size: contain;
}
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论