Browse Source

新模板修改

lilei 4 years ago
parent
commit
3f3687e46e

BIN
新模板/开业活动39.9/img/activeBg.jpg


BIN
新模板/开业活动39.9/img/headBg.jpg


+ 82 - 38
新模板/开业活动39.9/index.html

@@ -32,15 +32,32 @@
 							活动时间:2020-11-28 至 2020-12-28
 						</div>
 					</div>
+				</div>
+				<div class="zy-h5-main-active">
 					<!-- 活动内容 -->
 					<div class="zy-h5-active">
-						<img class="img-hdnr" src="./img/hdnr.png">
+						<div class="img-hdnr">套餐活动价:<span>39.9</span></div>
 						<div class="active-content">
-							<p>1.首次进店洗车送15元洗车券</p>
-							<p>2.首次进店保养就送一次顶级打蜡+清洁内饰+全车26项检测</p>
-							<p>3.办套餐卡就送60元保养代金券;</p>
-							<p>4.转介绍3个新客户,享受免费车内清洁一次;介绍5个以上客户,享受免费顶级打蜡一次;</p>
-							<p>5.全场所有项目均8.5折;</p>
+							<div class="active-item">
+								<div>顶级打蜡一次</div>
+								<div>门店价:<span>45</span></div>
+							</div>
+							<div class="active-item">
+								<div>精致洗车一次</div>
+								<div>门店价:<span>125</span></div>
+							</div>
+							<div class="active-item">
+								<div>内饰深度清洁</div>
+								<div>门店价:<span>120</span></div>
+							</div>
+							<div class="active-item">
+								<div>节气门清洗一次</div>
+								<div>门店价:<span>120</span></div>
+							</div>
+							<div class="active-item">
+								<div>26项安全检测一次</div>
+								<div>门店价:<span>158</span></div>
+							</div>
 						</div>
 						<div class="active-zy">注:所有活动最终解释权归门店所有</div>
 					</div>
@@ -50,12 +67,6 @@
 			<!--门店信息-->
 			<div class="zy-h5-store-info">
 				<div class="store-info-cont">
-					<div class="store-info-box">
-						<span>活动时间:</span>
-						<span id="store">
-							2020-11-20 至 2020-12-20
-						</span>
-					</div>
 					<div class="store-info-box">
 						<span>门店名称:</span>
 						<span id="store">
@@ -66,18 +77,18 @@
 						<span>门店电话:</span>
 						<span>
 							<a href="tel:400-1616-312">
-								<svg t="1589357171261" class="icon" style="vertical-align: sub;" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1184" width="16" height="16"><path d="M1020.765599 154.386263C1020.765599 89.326865 987.28345 57.088501 913.487954 37.054507 839.692583 17.020526 777.566181 3.165394 777.566181 3.165394 720.824641-10.981854 663.169494 23.635711 649.003341 80.452889L610.800805 233.675027C596.617668 290.560389 631.183258 348.098737 688.030695 362.272396 688.030695 362.272396 702.326846 366.678777 743.500477 375.919969 674.660513 559.358011 527.497727 691.361427 377.214242 745.028871 373.701051 730.938506 366.674793 702.757788 366.674793 702.757788 352.511387 645.951274 294.943405 611.289315 238.125689 625.455569L80.380247 664.785939C23.668179 678.925831-10.99544 736.57873 3.169215 793.389915L35.742252 923.532923C45.473616 980.250012 94.753824 1022.287923 152.863901 1022.287923 632.192772 1022.287923 1020.765599 633.715134 1020.765599 154.386263ZM121.897793 908.750484 87.987187 772.24241C85.504739 762.285654 91.648609 752.067042 101.527703 749.603912L259.273145 710.273542C269.212555 707.795389 279.364257 713.907789 281.856821 723.90528L302.608163 807.134381C309.284388 833.911333 336.103424 849.229037 358.537622 842.533069L358.537622 842.533069C590.664487 773.249875 773.382895 589.859611 841.784663 357.448461L841.784663 357.448461C848.891716 333.300864 827.631247 306.988082 794.011982 298.605863L709.17815 277.454424C699.177799 274.961048 693.114226 264.867589 695.618778 254.82252L733.821313 101.600394C736.30501 91.639055 746.508662 85.512531 756.418601 87.983366L902.466976 119.420589C919.560643 123.34343 933.351039 137.26732 933.351039 154.386263 933.351039 585.437409 583.914959 934.873401 152.863901 934.873401 137.544 934.873401 124.465783 923.717081 121.897793 908.750484Z" p-id="1185" fill="#1396dc"></path></svg>
 								<i id="tel">
 									400-1616-312 
 								</i>
+								<svg t="1589357171261" class="icon" style="vertical-align: sub;" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1184" width="16" height="16"><path d="M1020.765599 154.386263C1020.765599 89.326865 987.28345 57.088501 913.487954 37.054507 839.692583 17.020526 777.566181 3.165394 777.566181 3.165394 720.824641-10.981854 663.169494 23.635711 649.003341 80.452889L610.800805 233.675027C596.617668 290.560389 631.183258 348.098737 688.030695 362.272396 688.030695 362.272396 702.326846 366.678777 743.500477 375.919969 674.660513 559.358011 527.497727 691.361427 377.214242 745.028871 373.701051 730.938506 366.674793 702.757788 366.674793 702.757788 352.511387 645.951274 294.943405 611.289315 238.125689 625.455569L80.380247 664.785939C23.668179 678.925831-10.99544 736.57873 3.169215 793.389915L35.742252 923.532923C45.473616 980.250012 94.753824 1022.287923 152.863901 1022.287923 632.192772 1022.287923 1020.765599 633.715134 1020.765599 154.386263ZM121.897793 908.750484 87.987187 772.24241C85.504739 762.285654 91.648609 752.067042 101.527703 749.603912L259.273145 710.273542C269.212555 707.795389 279.364257 713.907789 281.856821 723.90528L302.608163 807.134381C309.284388 833.911333 336.103424 849.229037 358.537622 842.533069L358.537622 842.533069C590.664487 773.249875 773.382895 589.859611 841.784663 357.448461L841.784663 357.448461C848.891716 333.300864 827.631247 306.988082 794.011982 298.605863L709.17815 277.454424C699.177799 274.961048 693.114226 264.867589 695.618778 254.82252L733.821313 101.600394C736.30501 91.639055 746.508662 85.512531 756.418601 87.983366L902.466976 119.420589C919.560643 123.34343 933.351039 137.26732 933.351039 154.386263 933.351039 585.437409 583.914959 934.873401 152.863901 934.873401 137.544 934.873401 124.465783 923.717081 121.897793 908.750484Z" p-id="1185" fill="#1396dc"></path></svg>
 							</a>
 					    </span>
 					</div>
 					<div class="store-info-box">
 						<span>门店地址:</span>
 						<span id="address">
-							<svg t="1587695882868" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1906" width="20" height="20"><path d="M514.529 140.428c-156.365 0-283.125 125.12-283.125 279.465s283.125 459.123 283.125 459.123 283.125-304.778 283.125-459.123-126.76-279.465-283.125-279.465z m0 418.533c-74.783 0-135.408-60.624-135.408-135.408s60.625-135.408 135.408-135.408 135.408 60.624 135.408 135.408c0 74.783-60.625 135.408-135.408 135.408z" p-id="1907" fill="#1296db"></path></svg>
 							陕西省西安市未央区北二环华帝金座A座
+							<svg t="1587695882868" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1906" width="22" height="22"><path d="M514.529 140.428c-156.365 0-283.125 125.12-283.125 279.465s283.125 459.123 283.125 459.123 283.125-304.778 283.125-459.123-126.76-279.465-283.125-279.465z m0 418.533c-74.783 0-135.408-60.624-135.408-135.408s60.625-135.408 135.408-135.408 135.408 60.624 135.408 135.408c0 74.783-60.625 135.408-135.408 135.408z" p-id="1907" fill="#1296db"></path></svg>
 					    </span>
 					</div>
 				</div>
@@ -213,13 +224,10 @@
 			padding: 0;
 			margin: 0;
 	    }
-		@media screen and (max-width: 360px) and (min-width: 321) {
-		    body{font-size: 14px}
+		body{
+			font: 16px/1.231 "Microsoft Yahei","Helvetica Neue",Helvetica Neue,Helvetica,Arial,Lantinghei SC,Hiragino Sans GB,sans-serif,Times New Roman;
 		}
 		
-		@media screen and (max-width: 320px) {
-		    body{font-size: 12px}
-		}
 		.wrapper{
 			position: relative;
 		}
@@ -228,18 +236,19 @@
 			color: #fff;
 			text-align: center;
 			padding: 10px 0;
-			background: crimson;
+			background: #bc1c38;
 		}
 		.countdown-des{
 			font-size: 13px;
 		}
 		.zy-h5-main{
 			position: relative;
-			padding-bottom: 7em;
+			overflow: hidden;
 			background: #c01b39;
 		}
 		.zy-h5-bgimg{
 			width: 100%;
+			float:left;
 		}
 		.zy-h5-title{
 			position: absolute;
@@ -250,7 +259,7 @@
 			color: #fff;
 		}
 		.img-title{
-			width: 58%;
+			width: 50%;
 		}
 		.store-name{
 			font-size: 1em;
@@ -258,8 +267,8 @@
 			align-items: center;
 			text-align:center;
 			justify-content: center;
-			margin-bottom:0.5em;
-			margin-top: 0em;
+			margin-bottom:1em;
+			margin-top: 0.3em;
 			font-weight:bold;
 		}
 		.store-name span{
@@ -267,7 +276,7 @@
 			margin: 0 0.2em;
 		}
 		.active-time{
-			width: 70%;
+			width: 65%;
 			margin:0 auto;
 			background: #ff7f00;
 			color: #ffff;
@@ -275,30 +284,54 @@
 			border-radius: 0.3em;
 			font-size: 0.8em;
 		}
+		.zy-h5-main-active{
+			background: #c01b39 url('./img/activeBg.jpg') no-repeat left top;
+		}
 		.zy-h5-active{
 			width:100%;
-			position: absolute;
-			left:0;
-			bottom: 1em;
 			color: #fff;
-			padding-top: 1.4em;
+			position:relative;
+			padding-top: 1.5em;
 		}
 		.img-hdnr{
-			width:35%;
-			position:absolute;
-			left:0;
-			top:0;
+			position: absolute;
+			left: 0;
+			top: 0;
+			background-image: linear-gradient(45deg,#fcc32c,#ff7f00);
+			border-radius: 0 100px 100px 0;
+			display: flex;
+			align-items: center;
+			justify-content: center;
+			padding: 0.3em 1.5em 0.3em 1em;
+			box-shadow: 0.1em 0.2em 0.3em #96172c;
+		}
+		.img-hdnr span{
+			font-size: 1.6em;
 		}
 		.active-content {
-			padding: 1em 2em 0.5em;
+			padding: 2em 2em 1em;
 			border: 0.3em solid #f39501;
 			width: 75%;
 			margin: 0 auto;
 			border-radius: 1em;
 			font-size: 0.8em;
 		}
-		.active-content p{
-			margin: 0.8em 0;
+		.active-content .active-item{
+			display: flex;
+			align-items:center;
+		}
+		.active-content .active-item > div:first-child{
+			width: 60%;
+			padding: 0.3em 0.5em;
+			font-size: 1.2em;
+		}
+		.active-content .active-item > div:last-child{
+			width:40%;
+		}
+		.active-content .active-item > div:last-child span{
+			font-size: 1.3em;
+			color: #fdcc72;
+			margin-right:0.1em;
 		}
 		.active-zy{
 			text-align:center;
@@ -345,8 +378,8 @@
 			overflow: hidden;
 		}
 		.zy-headPhoto-list > div{
-			width: 2em;
-			height: 2em;
+			width: 35px;
+			height: 35px;
 			overflow:hidden;
 			border-radius: 10em;
 			margin: 0.2em;
@@ -518,6 +551,17 @@
 			left: 25px!important;
 			top: 25px!important;
 		}
+		
+		@media screen and (max-width: 360px) and (min-width: 321) {
+		    body{font-size: 14px}
+		}
+		
+		@media screen and (max-width: 320px) {
+		    body{font-size: 12px}
+			.active-time{
+				width: 80%;
+			}
+		}
 	</style>
 	<script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
 	<script src="海报/theme/alert.js"></script>

+ 1 - 1
新模板/开业活动39.9/script.js

@@ -250,7 +250,7 @@ window.onload = function(){
 			success: function (res) {
 				if(res.status == 200){
 					const data = res.data.list
-					let html = `<div class="kh-list-tr kh-list-tr-head">
+					let html = `<div class="kh-list-tr">
 							<div class="kh-list-td">手机号</div>
 							<div class="kh-list-td">报名状态</div>
 						</div>`