提交 7472523a authored 作者: lihuihui's avatar lihuihui

updata

上级 8d76a09e
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
<ul> <ul>
<li class="order-item" v-for="(item, index) in order" :key="index"> <li class="order-item" v-for="(item, index) in order" :key="index">
<div class="order-info"> <div class="order-info">
<div class="no-c"></div>
<img :src="item.product_image" /> <img :src="item.product_image" />
<div class="txt">{{item.product_name}}</div> <div class="txt">{{item.product_name}}</div>
</div> </div>
...@@ -77,6 +78,15 @@ export default { ...@@ -77,6 +78,15 @@ export default {
margin: 0.4rem 0; margin: 0.4rem 0;
} }
.order-info { .order-info {
position: relative;
.no-c{
position: absolute;
top: 0;
left: 0;
z-index: 9;
width: 100%;
height: 100%;
}
display: flex; display: flex;
img { img {
width: 2.4rem; width: 2.4rem;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论