HTML5作业:施华洛世奇-网站设计--官网设计

1、引言

 

你是否有过相关设计结课作业,课程设计无处下手,网页要求的总数量太多?没有合适的模板?数据库,java,python,vue,html作业复杂工程量过大?毕设毫无头绪等等一系列问题。你想要解决的问题,在微信公众号“coding加油站”中全部会得到解决

2、作品介绍

施华洛世奇-网站设计采用html5,css3技术来实现,符合所学知识体系,适用于常见的作业以及课程设计,需要获取更多的作品,请关注微信公众号:coding加油站,获取,如需更多资料,可在微信后台留言。欢迎大家来提问,交流学习。

2.1、作品简介方面 

施华洛世奇-网站设计采用常规方式来实现,符合绝大部分的要求。代码配置有相关文档讲解,如需从代码中学到知识点,那么这个作品将是你的不二之选

2.2、作品二次开发工具

此作品代码相对简单,基本使用课堂中所学知识点来完成,只需要修改相关的介绍文字,一些图片,就可以改为自己独一无二的代码,网页作品下载后可使用任意编辑软件(例如:DW、HBuilder、NotePAD 、Vscode 、Sublime 、Webstorm 所有编辑器均可使用),java,python等相关作业使用自己常使用的工具亦可完成相关二次开发。

2.3、作品技术介绍

html网页作品技术方面:使用CSS制作了网页背景图、鼠标经过及选中导航变色效果、下划线等相关技术来美化相关界面,部分采用了javascript来做校验。 使用html5,以及css3等相关技术完成技术的布局,在本作品中,会使用常见的布局,常见的浮动布局,flex布局都会有使用到哦。在操作方面上运用了html5和css3,采用了div+css,使用浮动(float)布局较多,可学到浮动布局,以及如何清除浮动等功能,同时还有单独的登录注册界面,可以用来使用为注册登录的作业

3.视频演示:

【coding加油站】HTML官网设计实现

4.部分代码:

首页的代码: 

					<div class="row">
						<div class="col-lg-2" style="border: 1px solid white;margin-left: 60px;"></div>
						<div class="col-lg-8" style="border: 1px solid white;">
							<ul class="col-lg-12" style="cursor: pointer;text-decoration: none;">
								<li class="col-lg-1 lb" style="width: 90px;right: 10px;"><a href="#" style="text-decoration: none;">新品上市</a></li>
								<li class="col-lg-1 lb" style="width: 80px;"><a href="#" style="text-decoration: none;">首饰</a></li>
								<li class="col-lg-1 lb" style="width: 90px;right: 10px;"><a href="#"style="text-decoration: none;">高级珠宝</a></li>
								<li class="col-lg-1 lb" style="width: 80px;"><a href="#"style="text-decoration: none;">腕表</a></li>
								<li class="col-lg-1 lb" style="width: 80px;right: 10px;"><a href="#"style="text-decoration: none;">配饰</a></li>
								<li class="col-lg-1 lb" style="width: 90px;right: 20px;"><a href="#"style="text-decoration: none;">装饰摆件</a></li>
								<li class="col-lg-1 lb" style="width: 90px;right: 10px;"><a href="#"style="text-decoration: none;">礼品中心</a></li>
								<li class="col-lg-1 lb" style="width: 90px;right: 10px;"><a href="#"style="text-decoration: none;">产品系列</a></li>
								<li class="col-lg-1 lb" style="width: 90px;right: 10px;"><a href="#"style="text-decoration: none;">潮流时尚</a></li>
								<li class="col-lg-1 lb" style="width: 80px;"><a href="#"style="text-decoration: none;">会籍</a></li>
							</ul>
						</div>
						<div class="col-lg-2" style="border: 1px solid white;"></div>
					</div>
					<div class="row head" style="border: 1px solid #f8f8f8; background-color: white;z-index: 999;">
						<div class="col-lg-2" style="border: 1px solid white;margin-left: 60px;">
							<img src="../Images/ProductLine/Images/te.png" >
							<span class="layui-icon layui-icon-location" style="font-size: 30px;margin-top: 100px;"></span>
						</div>
						<div class="col-lg-8" style="border: 1px solid white;margin-top: 30px;width: 950px;">
							<ul class="col-lg-12" style="cursor: pointer;">
								<li class="col-lg-1 lb" style="width: 90px;right: 10px;"><a href="#" style="text-decoration: none;">新品上市</a></li>
								<li class="col-lg-1 lb" style="width: 80px;"><a href="#"style="text-decoration: none;">首饰</a></li>
								<li class="col-lg-1 lb" style="width: 90px;right: 10px;"><a href="#"style="text-decoration: none;">高级珠宝</a></li>
								<li class="col-lg-1 lb" style="width: 80px;"><a href="#"style="text-decoration: none;">腕表</a></li>
								<li class="col-lg-1 lb" style="width: 80px;right: 10px;"><a href="#"style="text-decoration: none;">配饰</a></li>
								<li class="col-lg-1 lb" style="width: 90px;right: 20px;"><a href="#"style="text-decoration: none;">装饰摆件</a></li>
								<li class="col-lg-1 lb" style="width: 90px;right: 10px;"><a href="#"style="text-decoration: none;">礼品中心</a></li>
								<li class="col-lg-1 lb" style="width: 90px;right: 10px;"><a href="#"style="text-decoration: none;">产品系列</a></li>
								<li class="col-lg-1 lb" style="width: 90px;right: 10px;"><a href="#"style="text-decoration: none;">潮流时尚</a></li>
								<li class="col-lg-1 lb" style="width: 80px;"><a href="#"style="text-decoration: none;">会籍</a></li>
							</ul>
						</div>
						<div class="col-lg-2" style="border: 1px solid white; margin-top: 20px;width: 200px; margin-left: 1300px;margin-top: -60px;">
							<span class="layui-icon layui-icon-heart" style="font-size: 30px;"></span>
							<span class="layui-icon layui-icon-search" style="font-size: 30px;margin-left: 20px;"></span>
							<span class="layui-icon layui-icon-cart" style="font-size: 30px;margin-left: 20px;"></span>
						</div>
					</div>
				</div>
			</div>
		</header>
		
		<div class="container-fluid">
			<div class="row">
				<div class="swa-product_condition" style="">
					<hr style="margin: 0px;"/>
						<div class="col-lg-12">
							<div class="col-lg-3" style="line-height: 50px;"><a style="font-size: 1.4rem">主页</a>|<span>配饰</span></div>
							<div class="col-lg-2 col-lg-offset-7 " style="width: 200px;">
								<ul class="nav navbar-nav">
									<li class="dropdown">
										<a href="#" class="dropdown-toggle" data-toggle="dropdown">分类条件
											<b class="caret"></b>
										</a>
										<ul class="dropdown-menu nav navbar-nav " style="min-width:115px;">
											<li>
												<a href="#" >价格从低到高</a>
											</li>
											<li>
												<a href="#" >价格从高到低</a>
											</li>
											<li>
												<a href="#" >名字(升序)</a>
											</li>
											<li>
												<a href="#" >名字(降序)</a>
											</li>
										</ul>
									</li>
									
								</ul>
							</div>
						</div>
					<hr/>
				</div>
				<div style="width: 1390px;margin: 0px auto;">
					
					<!-- 单个商品 -->
					<div class="col-lg-4 swa-product_item" style="">
						<!-- 图片 -->
						<div class="swa-product_item_imgdiv" style="">
							<img class="swa-product_item_img" style="" src="../Images/Accessories/swarovski-iconic-swan-链坠--黑色--镀铑-swarovski-5347330.png">
						</div>
						<!-- 文字 -->
						<div class="swa-product_item_textCentet" style="">
							<div class="">
								<span class="swa-product_item_text_12" style="color: #ffffff;background: #C30932">−50%</span>
								<span class="swa-product_item_text_12" style="color: #ffffff;background: #757575">2&nbsp;色可选</span>
							</div>
							<div class="">
								<span class="swa-product_item_text_12" style="color:#c30b32;;">Sale</span>
								<span class="swa-product_item_text_12" style="color:#757575;;">中国专属系列</span>
							</div>
							<p class="swa-product_item_text_12" style="margin-block-start: 0em;margin-block-end: 0em;">Full Blessing Hulu 项链, 蓝色, 镀玫瑰金色调</p>
							<div class="">
								<span class="swa-product_item_text_12 swa-product_item_text_discount" style="">1,290.00&nbsp;¥</span>
								<span class="swa-product_item_text_12">645.00&nbsp;¥</span>
							</div>
						</div>
					</div>
					<div class="col-lg-4 swa-product_item" style="">
						<!-- 图片 -->
						<div class="swa-product_item_imgdiv" style="">
							<img class="swa-product_item_img" style="" src="../Images/Accessories/swarovski-iconic-swan-链坠--黑色--镀铑-swarovski-5347330.png">
						</div>
						<!-- 文字 -->
						<div class="swa-product_item_textCentet" style="">
							<div class="">
								<span class="swa-product_item_text_12" style="color: #ffffff;background: #C30932;">−50%</span>
								<span class="swa-product_item_text_12" style="color: #ffffff;background: #757575">2&nbsp;色可选</span>
							</div>
							<div class="">
								<span class="swa-product_item_text_12" style="color:#c30b32;;">Sale</span>
								<span class="swa-product_item_text_12" style="color:#757575;;">中国专属系列</span>
							</div>
							<p class="swa-product_item_text_12" style="margin-block-start: 0em;margin-block-end: 0em;">Full Blessing Hulu 项链, 蓝色, 镀玫瑰金色调</p>
							<div class="">
								<span class="swa-product_item_text_12 swa-product_item_text_discount" style="">1,290.00&nbsp;¥</span>
								<span class="swa-product_item_text_12">645.00&nbsp;¥</span>
							</div>
						</div>
					</div>
					<div class="col-lg-4 swa-product_item" style="">
						<!-- 图片 -->
						<div class="swa-product_item_imgdiv" style="">
							<img class="swa-product_item_img" style="" src="../Images/Accessories/swarovski-iconic-swan-链坠--黑色--镀铑-swarovski-5347330.png">
						</div>
						<!-- 文字 -->
						<div class="swa-product_item_textCentet" style="">
							<div class="">
								<span class="swa-product_item_text_12" style="color: #ffffff;background: #C30932">−50%</span>
								<span class="swa-product_item_text_12" style="color: #ffffff;background: #757575">2&nbsp;色可选</span>
							</div>
							<div class="">
								<span class="swa-product_item_text_12" style="color:#c30b32;;">Sale</span>
								<span class="swa-product_item_text_12" style="color:#757575;;">中国专属系列</span>
							</div>
							<p class="swa-product_item_text_12" style="margin-block-start: 0em;margin-block-end: 0em;">Full Blessing Hulu 项链, 蓝色, 镀玫瑰金色调</p>
							<div class="">
								<span class="swa-product_item_text_12 swa-product_item_text_discount" style="">1,290.00&nbsp;¥</span>
								<span class="swa-product_item_text_12">645.00&nbsp;¥</span>
							</div>
						</div>
					</div>
					<div class="col-lg-4 swa-product_item" style="">
						<!-- 图片 -->
						<div class="swa-product_item_imgdiv" style="">
							<img class="swa-product_item_img" style="" src="../Images/Accessories/swarovski-iconic-swan-链坠--黑色--镀铑-swarovski-5347330.png">
						</div>
						<!-- 文字 -->
						<div class="swa-product_item_textCentet" style="">
							<div class="">
								<span class="swa-product_item_text_12" style="color: #ffffff;background: #C30932">−50%</span>
								<span class="swa-product_item_text_12" style="color: #ffffff;background: #757575">2&nbsp;色可选</span>
							</div>
							<div class="">
								<span class="swa-product_item_text_12" style="color:#c30b32;;">Sale</span>
								<span class="swa-product_item_text_12" style="color:#757575;;">中国专属系列</span>
							</div>
							<p class="swa-product_item_text_12" style="margin-block-start: 0em;margin-block-end: 0em;">Full Blessing Hulu 项链, 蓝色, 镀玫瑰金色调</p>
							<div class="">
								<span class="swa-product_item_text_12 swa-product_item_text_discount" style="">1,290.00&nbsp;¥</span>
								<span class="swa-product_item_text_12">645.00&nbsp;¥</span>
							</div>
						</div>
					</div>

登录界面的代码:

		<div id="st-container" class="st-container st-effect-3">
			<div class="st-pusher">
				<div class="st-content">
					<div class="st-content-inner">
						<main id="main" data-currency-iso-code="CNY">
							<div class="introduction">
								<div class="introduction__text">
									<div class="headline headline--hl1 introduction__hl1">
										我的帐户</div>
									<div class="headline headline--hl13 introduction__hl13">
										欢迎</div>
									<div class="text text--copy15 introduction__copy15">
										请在此管理您的个人资料并查阅会籍级别状况、奖励和所购产品。</div>
								</div>
								<div class="spacer"></div>
							</div>
							<div class="container">
								
								<div class="row  js-fixed-col-heigt-wechat">
									<div class="col-xs-12 col-sm-6">
										<form id="loginForm" class="js-block-submit js-loginForm" action="" method="post">
											<div class="form-intro form-spacing">
												<div class="form-intro__headline">
													<div class="headline headline--hl15">
														我已有在线帐户</div>
												</div>
											</div>
											<div class="spacer"></div>
											<div class="form-login-checkout ">
												<div class="form-spacing">
													<div class="form-molecule form-labelled-input-text untransformed form-group">
														<div class="form-group ">
															<span class="form-label form-text form-text--fe01">
																<span class="form-label form-text form-text--fe01">
																	电邮地址<span aria-hidden="true" class="form-label__mandatory">&nbsp;*</span>
																</span>
															</span>
															<span class="">
																<span class="form-input-text untransformed">
																	<input id="" name="" class="form-input-text__input form-text--fe19" type="email" value="" /></span>
															</span>
														</div>
													</div>
												</div>

												<div class="form-spacing form-spacing--small">
													<div class="form-molecule form-labelled-input-password form-group">
														<div class="form-group ">
															<span class="form-label form-text form-text--fe01">
																<span class="form-label form-text form-text--fe01">
																	密码<span aria-hidden="true" class="form-label__mandatory">&nbsp;*</span>
																</span>
															</span>
															<span class="">
																<span class="form-input-password js-form-input-password untransformed">
																	<input id="" name="j_password" class="form-input-password__input form-text--fe19"
																	 type="password" value="" />
																</span>
															</span>
														</div>
													</div>
												</div>
												<!-- <div class="form-spacing">
													<div class="link-wrapper">
														<a class="link link--link5 text-uppercase js-password-forgotten" data-text-content="忘记密码" data-url="/zh-CN/login/pw/request"
														 data-cbox-title="忘记密码?">
															<span class="link__text">忘记密码</span>
														</a>
													</div>
												</div> -->
											</div>

											<!-- <div class="row">
												<div class="col-xs-12 form-spacing">
													<div class="form-molecule form-captioned-checkbox">
														<label for="j_rememberme">
															<span class="va-table">

																<span class="va-cell">
																	<input id="j_rememberme" aria-required="true" class="form-checkbox fold-out-trigger" name="j_rememberme"
																	 type="checkbox" />
																</span>
																<span class="va-cell form-captioned-checkbox__text form-captioned-checkbox__text--left">
																	<span class="form-text form-text--fe04">
																		记住我
																	</span>
																</span>
															</span>
														</label>
													</div>
												</div>
											</div> -->
											<input type="hidden" name="failureUrlCode" value="LOGIN_FAIL" />
											<div class="form-submit text-center">
												<button class="form-submit__submit js-button js-trackingdata-loginattempt" type="submit">
													登录</button>
												<div class="spacer"></div>
												<div class="text text--copy5 font-futuralig">还不是 Swarovski Club 的会员? <a href="Regist.html">请在此注册</a></div>
											</div>
										</form>
										<!-- <div class="form-wechat js-ciam-web-component" data-target-url="/my-account/" data-token-url="">
											<h5 class="heading-side-lines">
												or</h5>
											<div style="display: none;" id="signIn">
											</div>
											<div style="display: none;" id="returnSocial">
											</div>
											<div style="display: none;" id="emailVerificationNotification"></div>

											<button id="wechat" class="form-submit__submit button-wechat  link--social link--social-wechat-white js-social-login"
											 type="button" disabled="disabled">
												<span class="link__icon--left link__icon"></span>
												<span class="link__icon--text">
													微信账号登录
												</span>
											</button>
										</div>
 -->
 
 
										</div>
									<div class="col-xs-12 col-sm-6">
										<div class="register-section">
											<div class="container-fluid fold-out-group fold-out-exclusive-checkboxes register-section__fold-out js-registerContainer">
												<div class="form-intro form-spacing">
													<div class="form-intro__headline">
														<div class="headline headline--hl15">
															首次登录吗?
														</div>
													</div>
													<div class="form-intro__subheadline">
														<div class="form-text form-text--fe09">
															如要激活您的在线帐户,只须输入您的电邮地址和 Swarovski Club(前称 Be Swarovski)或 SCS 会员编号。然后选择密码。
														</div>
													</div>
												</div>

如需更多对代码请关注公众号(coding加油站)获取。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值