File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -242,6 +242,7 @@ export default {
242242 res .data .data .canBuy = this .checkCanBuy (res .data .data );
243243 res .data .data .isHave = this .isHaveGood (res .data .data );
244244 this .selectItem = res .data .data || {};
245+ console .log (this .selectItem );
245246 });
246247 },
247248 changeSelectItem (item ) {
Original file line number Diff line number Diff line change 2121 <i class =" el-icon-circle-check" v-if =" good.canBuy.level" ></i >
2222 <i class =" el-icon-circle-close" v-else ></i >
2323 </div >
24- <div class =" condition-item" :class =" { canBuy: good.canBuy. vip_limit }" >
24+ <div class =" condition-item" :class =" { canBuy: good.vip_limit }" v-if = " good.vip_limit !== 0 " >
2525 会员专属
26- <i class =" el-icon-circle-check" v-if =" good.canBuy. vip_limit" ></i >
26+ <i class =" el-icon-circle-check" v-if =" good.vip_limit" ></i >
2727 <i class =" el-icon-circle-close" v-else ></i >
2828 </div >
2929 <div class =" condition-item" :class =" { canBuy: good.canBuy.box_coin }" v-if =" good.price_boxcoin" >
@@ -243,10 +243,13 @@ export default {
243243 }
244244 .card {
245245 width: 500px ;
246- height: 500px ;
246+ height: 480px ;
247247 display: flex;
248248 justify- content: center;
249249 align- items: center;
250+ img{
251+ object- fit: cover;
252+ }
250253 .skeleton - container {
251254 background- color: #fff;
252255 padding: 10px ;
@@ -255,7 +258,7 @@ export default {
255258 }
256259 .buy - detail {
257260 width: 500px ;
258- height: 180px ;
261+ height: 200px ;
259262 display: flex;
260263 flex- direction: column;
261264 justify- content: space- between;
@@ -352,9 +355,9 @@ export default {
352355
353356 .good - comment {
354357 width: 500px ;
355- height: 77px ;
358+ height: 100px ;
356359 box- sizing: border- box;
357- padding: 6px 43px ;
360+ padding: 0 43px ;
358361 overflow: scroll;
359362 scrollbar- width: none;
360363 color: rgba (#fff, 0.75 );
Original file line number Diff line number Diff line change @@ -135,6 +135,7 @@ export default {
135135 .good - item- img {
136136 width: 120px ;
137137 height: 120px ;
138+ object- fit: cover;
138139 }
139140 .right {
140141 width: 240px ;
Original file line number Diff line number Diff line change @@ -135,7 +135,7 @@ export default {
135135 .good - item- img {
136136 width: 32vw ;
137137 height: 32vw ;
138- object- fit: contain ;
138+ object- fit: cover ;
139139 }
140140 .right {
141141 flex: 1 ;
You can’t perform that action at this time.
0 commit comments