Browse Source

审核页面

JXDS18FUJT 1 year ago
parent
commit
d79bb2b8ec

BIN
cggw/ct_goods/img/btn1.png


BIN
cggw/ct_goods/img/btn2.png


BIN
cggw/ct_goods/img/good1.png


BIN
cggw/ct_goods/img/good_detail1.png


BIN
cggw/ct_goods/img/good_detail2.png


BIN
cggw/ct_goods/img/mini_good1.png


BIN
cggw/ct_goods/img/mini_good2.png


BIN
cggw/ct_goods/img/mini_good3.png


BIN
cggw/ct_goods/img/mini_good4.png


BIN
cggw/ct_goods/img/mini_good5.png


+ 225 - 0
cggw/ct_goods/index.html

@@ -0,0 +1,225 @@
+<!DOCTYPE html>
+<html lang="en">
+
+<head>
+    <meta charset="UTF-8">
+    <meta name="viewport" content="width=device-width, initial-scale=1.0">
+    <title>财仝驾考商品</title>
+    <style type="text/css">
+        * {
+            padding: 0;
+            margin: 0;
+            box-sizing: content-box;
+        }
+
+        .flex {
+            display: flex;
+        }
+
+        .inline-block {
+            display: inline-block;
+        }
+
+        .w-full {
+            width: 100%;
+        }
+
+        .w466 {
+            width: 466px;
+        }
+
+        .mt44 {
+            margin-top: 44px;
+        }
+
+        .mt109 {
+            margin-top: 109px;
+        }
+
+        .ml360 {
+            margin-left: 360px;
+        }
+
+        .ml40 {
+            margin-left: 40px;
+        }
+        .ml48{
+            margin-left: 48px;
+        }
+
+        .mr20 {
+            margin-right: 20px;
+        }
+
+        .ml25 {
+            margin-left: 25px;
+        }
+
+        .w28 {
+            width: 28px;
+        }
+
+        .font30 {
+            font-size: 30px;
+        }
+
+        .font40 {
+            font-size: 40px;
+        }
+
+        .font-blod {
+            font-weight: bold;
+        }
+
+        .text-red {
+            color: red;
+        }
+
+        .align-middle {
+            vertical-align: middle;
+        }
+
+        .pr15 {
+            padding-right: 15px;
+        }
+
+        .pl15 {
+            padding-left: 15px;
+        }
+
+        .pt8 {
+            padding-top: 8px;
+        }
+
+        .pb8 {
+            padding-bottom: 8px;
+        }
+
+        .mt8 {
+            margin-top: 8px;
+        }
+
+        .mt50 {
+            margin-top: 50px;
+        }
+
+        .h50 {
+            height: 50px;
+        }
+
+        .lh50 {
+            line-height: 50px;
+        }
+
+        .w45 {
+            width: 45px;
+        }
+
+        .text-center {
+            text-align: center;
+        }
+
+        .w54 {
+            width: 54px;
+        }
+
+        .w120 {
+            width: 120px;
+        }
+
+        .w214 {
+            width: 214px;
+        }
+
+        .w282 {
+            width: 282px;
+        }
+
+        .w1102 {
+            width: 1102px;
+        }
+
+        .round5 {
+            border-radius: 5px;
+        }
+    </style>
+</head>
+
+<body>
+    <div>
+        <div class="mt109 ml360 flex">
+            <div class="w28 mr20">
+                <img src="./img/mini_good1.png" class="w-full">
+                <img src="./img/mini_good2.png" class="w-full">
+                <img src="./img/mini_good3.png" class="w-full">
+                <img src="./img/mini_good4.png" class="w-full">
+                <img src="./img/mini_good5.png" class="w-full">
+            </div>
+            <img class="w466" src="./img/good1.png">
+            <div class="ml25">
+                <span class="font30 font-blod">福州 | 华威夜间模拟灯光全套(东南V5)</span>
+                <div class="align-middle">
+                    <span>价格:</span><span class="font40 text-red">¥ 35.00</span>
+                </div>
+                <div class=" mt8">
+                    <div>规格:<div style="
+                        border: 1px solid #5C6066;display: inline-block;" class="pr15 pl15 pt8 pb8">考场视频</div>
+                        <div style="
+                        border: 1px solid red;display: inline-block;color: red;" class="pr15 pl15 pt8 pb8">考场视频</div>
+                    </div>
+                </div>
+                <div class=" mt8 flex round5">
+                    <span class="lh50">数量:</span>
+                    <div class="h50  flex lh50">
+                        <div onclick="reduceQuantity1()" style="
+                            border: 1px solid #5C6066;border-top-left-radius: 5px;border-bottom-left-radius: 5px;cursor: pointer;"
+                            class="w45 h50 text-center inline-block ">-</div>
+
+                        <input value="1" class="w54 h50 inline-block text-center"
+                            style="border: 1px solid #5C6066;outline: none;border-left: none;border-right: none;"
+                            type="text" name="" id="quantity1">
+                        <div onclick="addQuantity1()" style="
+                            border: 1px solid #5C6066;border-top-right-radius: 5px;border-bottom-right-radius: 5px;cursor: pointer;"
+                            class="w45 h50 text-center inline-block">+</div>
+                        <span class="ml40">库存充足</span>
+
+                    </div>
+
+                </div>
+                <div class="mt44">
+                    <img class="w214" src="./img/btn1.png">
+                    <img class="w282" src="./img/btn2.png">
+                </div>
+
+
+            </div>
+        </div>
+        <div class="ml360 mt50">
+            <div>
+                <img class="w120" src="./img/good_detail1.png">
+            </div>
+            <div class="ml48 mt50"> <img class="w1102" src="./img/good_detail2.png"></div>
+
+           
+        </div>
+
+    </div>
+</body>
+<script>
+    function addQuantity1(){
+        document.getElementById('quantity1').value =Number( document.getElementById('quantity1').value)+1+''
+    }
+    function reduceQuantity1(){
+        if(Number( document.getElementById('quantity1').value)==0){
+            document.getElementById('quantity1').value='0'
+            return
+
+        }
+        document.getElementById('quantity1').value =Number( document.getElementById('quantity1').value)-1+''
+        
+    }
+    
+    
+</script>
+
+</html>

+ 2 - 2
ct_goods/index.html

@@ -172,14 +172,14 @@
                     <span class="lh50">数量:</span>
                     <div class="h50  flex lh50">
                         <div onclick="reduceQuantity1()" style="
-                            border: 1px solid #5C6066;border-top-left-radius: 5px;border-bottom-left-radius: 5px;"
+                            border: 1px solid #5C6066;border-top-left-radius: 5px;border-bottom-left-radius: 5px;cursor: pointer;"
                             class="w45 h50 text-center inline-block ">-</div>
 
                         <input value="1" class="w54 h50 inline-block text-center"
                             style="border: 1px solid #5C6066;outline: none;border-left: none;border-right: none;"
                             type="text" name="" id="quantity1">
                         <div onclick="addQuantity1()" style="
-                            border: 1px solid #5C6066;border-top-right-radius: 5px;border-bottom-right-radius: 5px;"
+                            border: 1px solid #5C6066;border-top-right-radius: 5px;border-bottom-right-radius: 5px;cursor: pointer;"
                             class="w45 h50 text-center inline-block">+</div>
                         <span class="ml40">库存充足</span>