|
|
@@ -456,6 +456,7 @@
|
|
|
<img :src="require('@assets/icon_gouwuchebtn@3x.png')" alt=""
|
|
|
class="add_to_cart_btn_img">
|
|
|
<div class="add_to_cart_btn_text">购物车</div>
|
|
|
+ <div class="shopping_cart_number">11</div>
|
|
|
</div>
|
|
|
<div v-if="info.couponPayment" @click="buy" class="status-texts">
|
|
|
立即兑换
|
|
|
@@ -2091,6 +2092,25 @@ export default {
|
|
|
display: flex;
|
|
|
justify-content: space-between;
|
|
|
|
|
|
+ .add_to_cart_btn_left {
|
|
|
+ position: relative;
|
|
|
+
|
|
|
+ .shopping_cart_number {
|
|
|
+ width: 19px;
|
|
|
+ height: 14px;
|
|
|
+ background: #FF4F50;
|
|
|
+ border-radius: 8px;
|
|
|
+ font-size: 10px;
|
|
|
+ font-weight: bold;
|
|
|
+ color: #FFFFFF;
|
|
|
+ line-height: 14px;
|
|
|
+ text-align: center;
|
|
|
+ position: absolute;
|
|
|
+ right: -7px;
|
|
|
+ top: 0
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
.add_to_cart_btn_img {
|
|
|
width: 24px;
|
|
|
height: 24px;
|
|
|
@@ -2500,5 +2520,4 @@ export default {
|
|
|
left: 16px;
|
|
|
top: calc(var(--safe-top) + 16px);
|
|
|
z-index: 90;
|
|
|
-}
|
|
|
-</style>
|
|
|
+}</style>
|