qiushang 1 year ago
parent
commit
09461cea8f
2 changed files with 9 additions and 8 deletions
  1. 3 2
      public/static/css/member.css
  2. 6 6
      resources/views/home/soft/electron/buy.blade.php

+ 3 - 2
public/static/css/member.css

@@ -263,7 +263,8 @@ p {
 	background-color: #eee;
 	height: 60px;
 	width: 100%;
-	margin-bottom: 15px;
+	margin-bottom: 10px;
+    border-radius: 30px;
 }
 
 .font-12 {
@@ -286,7 +287,7 @@ p {
 .vip-top {
 	height: 70px;
 	background: url('/static/logo/v-topbgs.png') no-repeat center center;
-	margin: 0 0 16px 0;
+	margin: 0 0 8px 0;
 	display: flex;
 	flex-wrap: nowrap;
 	justify-content: flex-end;

+ 6 - 6
resources/views/home/soft/electron/buy.blade.php

@@ -24,7 +24,7 @@
 <div class="v-right">
     @if(isset($ad) && $ad->logo)
         <div class="vip-banner">
-            <img src="{{$ad->logo}}" style="width: 100%; height: 100%;"/>
+            <img src="{{$ad->logo}}" style="width: 100%; height: 100%;border-radius:30px;"/>
         </div>
     @endif
 
@@ -36,12 +36,12 @@
                 <div>
                     <p class="vip-price">
                         ¥<span class="price-value" id="permanentPrice">{{ floatval($productInfo->price4)}}</span>
-                        @if($productInfo->market_price4)
+                        @if($productInfo->market_price4 > 0)
                             <span class="vip-market-price">¥{{ floatval($productInfo->market_price4) }}</span>
                         @endif
                     </p>
                     <p class="vip-desc vip-red">
-                        {{ $productInfo->desc_price4 ?: "超划算,热销中" }}
+                        {{ $productInfo->desc_price4 ?: "限时热销中" }}
                     </p>
                 </div>
             </div>
@@ -53,7 +53,7 @@
                 <div>
                     <p class="vip-price">
                         ¥<span class="price-value">{{ floatval($productInfo->price1) }}</span>
-                        @if($productInfo->market_price1)
+                        @if($productInfo->market_price1 > 0)
                             <span class="vip-market-price">¥{{ floatval($productInfo->market_price1) }}</span>
                         @endif
                     </p>
@@ -70,7 +70,7 @@
                 <div>
                     <p class="vip-price">
                         ¥<span class="price-value">{{ floatval($productInfo->price2) }}</span>
-                        @if($productInfo->market_price2)
+                        @if($productInfo->market_price2 > 0)
                             <span class="vip-market-price">¥{{ floatval($productInfo->market_price2) }}</span>
                         @endif
                     </p>
@@ -87,7 +87,7 @@
                 <div>
                     <p class="vip-price">
                         ¥<span class="price-value">{{ floatval($productInfo->price3) }}</span>
-                        @if($productInfo->market_price3)
+                        @if($productInfo->market_price3 > 0)
                             <span class="vip-market-price">¥{{ floatval($productInfo->market_price3) }}</span>
                         @endif
                     </p>