Browse Source

更新代码

cyz 3 years ago
parent
commit
34080bb854

+ 17 - 1
about_us.html

@@ -268,7 +268,7 @@
             </div>
         </div>
     </div>
-    <div class="box6-content">
+    <div class="box6-content pc">
         <div class="tool">
             <div class="title">News</div>
             <div class="page-box">
@@ -313,6 +313,22 @@
             </div>
         </div>
     </div>
+    <div class="box6-content mobile">
+        <div class="cards-box">
+            <div class="cards">
+                <div class="card">
+                    <div class="tag"></div>
+                    <div class="bg"></div>
+                    <div class="date">March 8, 20221</div>
+                    <div class="card-title">HungryPanda pays tribute to everyone who lives seriously</div>
+                    <div class="desc">On HungryPanda's platform, there are such a group of people. They are...</div>
+                    <div class="arrow">VIEW MORE<i class="fa fa-long-arrow-right" aria-hidden="true"></i></div>
+                </div>
+            </div>
+            <div onclick="lastPage2()" class="img first2"></div>
+            <div onclick="nextPage2()" class="img last2"></div>
+        </div>
+    </div>
     <!--头部-->
     <!--#include file="./components/footer1.html"-->
 </div>

+ 92 - 4
assets/style/about_us/index.css

@@ -358,7 +358,7 @@
     height: 1px;
     background: #e5e5e5;
     position: absolute;
-    top: calc(24.895vw + 1px);
+    top: 24.895vw;
     left: 0;
 }
 .aboutus-page .box5-content .card .split{
@@ -428,6 +428,10 @@
     box-sizing: border-box;
 }
 
+.aboutus-page .box6-content.mobile{
+    display: none;
+}
+
 .aboutus-page .box6-content .tool{
     padding-top: 4.68vw;
     display: flex;
@@ -739,6 +743,7 @@
 
     .aboutus-page .box5-content.mobile {
         display: block;
+        height: auto;
     }
 
     .aboutus-page .box5-content .title {
@@ -810,14 +815,97 @@
         font-weight: 400;
         text-align: left;
         color: #242a30;
-        margin-top: 2.66vw 0 0 0;
+        margin: 2.66vw 0 0 0;
     }
 
-    .aboutus-page .box6-content{
+    .aboutus-page .box6-content.mobile{
+        display: block;
+        height: auto;
+        padding: 0;
+    }
+    .aboutus-page .box6-content.mobile .cards{
+        display: block;
+        position: unset;
+        height: 92.4vw;
+       padding-top: 19.46vw;
+    }
+    .aboutus-page .box6-content.mobile .card{
+        width: 53.33vw;
+        min-height: 53.33vw;
+        margin: 0 auto;
+        padding: 10.6vw 5.33vw 0 5.33vw;
+    }
+
+    .aboutus-page .box6-content.mobile .card:after{
+        left: 4vw;
+        width: 8vw;
+    }
+    .aboutus-page .box6-content.mobile .card:hover:after{
+        width: calc(100% - 4vw * 2);
+        left: 4vw;
+    }
+
+    .aboutus-page .box6-content.mobile .cards .card .date{
+        font-size: 3.2vw;
+    }
+
+    .aboutus-page .box6-content.mobile .cards .card .card-title{
+        font-size: 3.73vw;
+    }
+
+    .aboutus-page .box6-content.mobile .cards .card .desc{
+        font-size: 3.2vw;
+    }
+
+    .aboutus-page .box6-content.mobile .cards .card .arrow{
+        font-size: 2.1vw;
+        margin: 5.33vw auto;
+        border: 2px solid #242a30;
+        border-radius: 15px;
+        padding: 0 3.33vw;
+        line-height: 5.6vw;
+    }
+    .aboutus-page .box6-content.mobile .cards .card:hover .arrow{
+        border: 2px solid #008bff;
+    }
+
+    .aboutus-page .box6-content.mobile .first2{
+        width: 8vw;
+        height: 8vw;
+        background-image: url("../../../assets/images/about_us/arrow4.png");
+        position: absolute;
+        top: 50%;
+        left: 4vw;
+        background-size: 100% 100%;
+        transform: translateY(-50%);
+    }
+    .aboutus-page .box6-content.mobile .last2{
+        width: 8vw;
+        height: 8vw;
+        background-image: url("../../../assets/images/about_us/arrow4.png");
+        position: absolute;
+        top: 50%;
+        right: 4vw;
+        background-size: 100% 100%;
+        transform: translateY(-50%) rotate(180deg);
+    }
+
+    .aboutus-page .box6-content.mobile .first2.active{
+        background-image: url("../../../assets/images/about_us/arrow5.png")!important;
+        transform: rotate(180deg);
+    }
+    .aboutus-page .box6-content.mobile.active{
+        background-image: url("../../../assets/images/about_us/arrow5.png")!important;
+        transform: rotate(180deg);
+    }
+    .aboutus-page .box6-content.mobile .last2.active{
+        transform: rotate(0deg);
+    }
+
+    .aboutus-page .box6-content.pc{
         display: none;
     }
 
     .aboutus-page footer{
-        display: none;
     }
 }

+ 49 - 0
assets/style/common/index.css

@@ -39,3 +39,52 @@
 .list-box1 .accordion-button{
     padding: 4.93vw 4vw;
 }
+
+
+.list-box1 .title{
+    font-size: 4.8vw;
+    font-family: NexaBold, NexaBold-Regular;
+    font-weight: 400;
+    text-align: justifyLeft;
+    color: #242a30;
+    line-height: 9.6vw;
+}
+.list-box1 .link{
+    font-size: 3.73vw;
+    font-family: NexaBold, NexaBold-Regular;
+    font-weight: 400;
+    text-align: justifyLeft;
+    color: #97a5b0;
+    line-height: 7.46vw;
+}
+
+/* 全屏弹出层 */
+.full-screen{
+    position: fixed;
+    top: 0;
+    left: 0;
+    z-index: 1000;
+    height: 100%;
+    width: 100%;
+    background: white;
+    display: none;
+}
+
+.full-screen .header{
+    width: 100%;
+    height:15.73vw;
+    background: #008CFF;
+    display: flex;
+    align-items: center;
+    justify-content: space-between;
+    padding: 0 4vw;
+}
+
+.full-screen .header .logo{
+    width: 26.8vw;
+    height: 7.73vw;
+}
+.full-screen .header .close{
+    width: 4.66vw;
+    height: 4.66vw;
+}

+ 52 - 0
assets/style/footer1/index.css

@@ -1,6 +1,11 @@
 .footer-page{
    position: relative;
 }
+
+.footer-page.mobile{
+    display: none;
+}
+
 .footer-page .bg{
     position: absolute;
     top: -6.97vw;
@@ -70,6 +75,7 @@
     display: flex;
     justify-content: space-between;
     margin-top: 1.4vw;
+    color: #97a5b0;
 }
 .footer-page .bottom .copyright {
     font-size: 14px;
@@ -81,3 +87,49 @@
     width: 1.87vw;
     height: 1.87vw;
 }
+
+/*移动端*/
+@media screen and (max-width: 960px) {
+    .footer-page.mobile{
+        display: block;
+    }
+    .footer-page.mobile .bg{
+        padding: 6.97vw 4vw 5.33vw 4vw;
+        background-size: 100%;
+        height: auto;
+    }
+
+    .footer-page.pc{
+        display: none;
+    }
+
+    .footer-page.mobile .accordion-item{
+        border-top: none;
+        border-left:none;
+        border-right: none;
+    }
+
+    .footer-page.mobile .copyright{
+        margin: 8vw 0 0 4vw;
+        text-align: center;
+        font-size: 3.2vw;
+        font-family: NexaBold, NexaBold-Regular;
+        font-weight: 400;
+        color: #97a5b0;
+    }
+    .footer-page.mobile .down{
+        font-size: 6.4vw;
+        font-family: NexaBold, NexaBold-Regular;
+        font-weight: 400;
+        color: #018cff;
+        margin-bottom: 4vw;
+        text-align: center;
+    }
+    .footer-page.mobile .img-box{
+        display: flex;
+        justify-content: space-between;
+    }
+    .footer-page.mobile .img-box img{
+        width: 26vw;
+    }
+}

+ 2 - 49
assets/style/header1/index.css

@@ -1,6 +1,6 @@
 .header1-page {
   width: 100%;
-  height: 62px;
+  height: 70px;
   padding: 0 30px;
   box-sizing: border-box;
   display: flex;
@@ -115,7 +115,7 @@
 /*移动端*/
 @media screen and (max-width: 960px) {
   .header1-page {
-    height: 11.77vw;
+    height: 14vw;
     padding: 0 4vw;
   }
   .header1-page .logo-img {
@@ -133,50 +133,3 @@
     display: none;
   }
 }
-
-/* 全屏弹出层 */
-.full-screen{
-  position: fixed;
-  top: 0;
-  left: 0;
-  z-index: 1000;
-  height: 100%;
-  width: 100%;
-  background: white;
-  display: none;
-}
-
-.full-screen .header{
-  width: 100%;
-  height:15.73vw;
-  background: #008CFF;
-  display: flex;
-  align-items: center;
-  justify-content: space-between;
-  padding: 0 4vw;
-}
-
-.full-screen .header .logo{
-  width: 26.8vw;
-  height: 7.73vw;
-}
-.full-screen .header .close{
-  width: 4.66vw;
-  height: 4.66vw;
-}
-.full-screen .title{
-  font-size: 4.8vw;
-  font-family: NexaBold, NexaBold-Regular;
-  font-weight: 400;
-  text-align: justifyLeft;
-  color: #242a30;
-  line-height: 9.6vw;
-}
-.full-screen .link{
-  font-size: 3.73vw;
-  font-family: NexaBold, NexaBold-Regular;
-  font-weight: 400;
-  text-align: justifyLeft;
-  color: #97a5b0;
-  line-height: 7.46vw;
-}

+ 56 - 1
components/footer1.html

@@ -4,7 +4,7 @@
 		<link rel="stylesheet" href="../assets/style/footer1/index.css" />
 	</head>
 	<body>
-		<footer class="footer-page">
+		<footer class="footer-page pc">
 			<div class="bg">
 				<div class="content">
 					<div class="left">
@@ -48,6 +48,61 @@
 				</div>
 			</div>
 		</footer>
+		<footer class="footer-page mobile">
+			<div class="bg">
+				<div class="list-box1">
+					<div class="accordion">
+						<div class="accordion-item">
+							<h2 class="accordion-header" id="headingOne">
+								<button class="accordion-button collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#collapseOne" aria-expanded="true" aria-controls="collapseOne">
+									<span class="title">Partner with HungryPanda</span>
+								</button>
+							</h2>
+							<div id="collapseOne" class="accordion-collapse collapse" aria-labelledby="headingOne" data-bs-parent="#accordionExample">
+								<div class="accordion-body">
+									<div class="link">For Merchants</div>
+									<div class="link">For Riders</div>
+									<div class="link">For Talent</div>
+								</div>
+							</div>
+						</div>
+						<div class="accordion-item">
+							<h2 class="accordion-header" id="headingTwo">
+								<button class="accordion-button collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#collapseTwo" aria-expanded="false" aria-controls="collapseTwo">
+									<span class="title">Discover HungryPanda</span>
+								</button>
+							</h2>
+							<div id="collapseTwo" class="accordion-collapse collapse" aria-labelledby="headingTwo" data-bs-parent="#accordionExample">
+								<div class="accordion-body">
+									<div class="link">For Merchants</div>
+									<div class="link">For Riders</div>
+									<div class="link">For Talent</div>
+								</div>
+							</div>
+						</div>
+						<div class="accordion-item">
+							<h2 class="accordion-header" id="headingThree">
+								<button class="accordion-button collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#collapseThree" aria-expanded="false" aria-controls="collapseThree">
+									<span class="title">Products</span>
+								</button>
+							</h2>
+							<div id="collapseThree" class="accordion-collapse collapse" aria-labelledby="headingThree" data-bs-parent="#accordionExample">
+								<div class="accordion-body">
+									Products
+								</div>
+							</div>
+						</div>
+					</div>
+				</div>
+				<div class="copyright">© HungryPanda 2020-2022 Accessibility statement Terms and conditions</div>
+				<div class="down">Download the App</div>
+				<div class="img-box">
+					<img src="../assets/images/common/other-app1.png" />
+					<img src="../assets/images/common/other-app2.png" />
+					<img src="../assets/images/common/other-app3.png" />
+				</div>
+			</div>
+		</footer>
 		<script type="module" src="../assets/js/common/index.js"></script>
 	</body>
 </html>