This commit is contained in:
huangjinming 2022-12-21 16:16:49 +08:00
parent 8a841d8d26
commit 17a08a79f7

View File

@ -1,7 +1,18 @@
<template>
<div>
<div class="piece-top">
<div class="piece-left"></div>
<div :class="data.info.is_genesis ? 'piece-left' : 'piece-left-gen'">
<div>
<img
v-if="data.item_id"
width="214px"
:src="require('@/assets/market/hero/' + data.item_id + '.png')"
alt=""
/>
</div>
<div></div>
<div class="name"></div>
</div>
<div class="piece-right">
<div class="userinfo">
<div class="srabded">
@ -109,7 +120,13 @@ export default {
.piece-left {
width: 159px;
height: 177px;
background: url("../../assets/market/chip/bg-there.png") no-repeat;
background: url("../../assets/market/hero/type-1.png") no-repeat;
background-size: 100% 100%;
}
.piece-left-gen {
width: 159px;
height: 177px;
background: url("../../assets/market/hero/type-0.png") no-repeat;
background-size: 100% 100%;
}
</style>