苏州百特电器有限公司网站设计

news2024/10/5 20:17:49

苏州百特电器有限公司网站设计

五一假期作业企业门户网站布局设计
基于 <div> 的企业门户网站设计
by 小喾苦

我这里仅仅是使用 html + css 来实现这个网站的效果,并不是宣传这个网站(现在这个网站已经过时并且无法进入)

实现效果

https://xkk1.github.io/programs/web/0/

苏州百特电器有限公司网站截图

具体实现

图片素材下载:

  • 蓝奏云: https://xiaokuku.lanzout.com/i2hed0ubegwj
  • 百度云(密码:xkk1):https://pan.baidu.com/s/1jsRneQ7a6jZZILr2fkojCQ?pwd=xkk1
  • 夸克网盘:https://pan.quark.cn/s/90e1cee55335

index.html

<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>苏州百特电器有限公司</title>
    <link rel="stylesheet" href="style.css">
</head>
<body>
    <!-- Header -->
    <div class="header w clearfix">
        <div class="logo"></div>
        <div class="start-search">
            <div class="start"><a href="#">中文</a> | <a href="#">ENGLISH</a></div>
            <div class="search">关键词:<input type="text"><button>&emsp;</button></div>
        </div>
    </div>
    <!-- 导航栏 -->
    <div class="navbar w">
        <ul class="clearfix">
            <li><a href="#">首页</a></li>
            <li><a href="#">关于我们</a></li>
            <li><a href="#">产品展示</a></li>
            <li><a href="#">新闻资讯</a></li>
            <li><a href="#">人才招聘</a></li>
            <li><a href="#">联系我们</a></li>
        </ul>
    </div>
    <!-- banFlash -->
    <div class="banFlash w" id="banFlash" onmouseover="onBanFlash=true" onmouseleave="onBanFlash=false"></div>
    <!-- wrapper -->
    <div class="wrapper w clearfix">
        <div class="m1Container">
            <div class="title clearfix">
                <div class="content">新闻中心</div>
                <div class="encontent">NEWS</div>
                <a href="#" class="more"></a>
            </div>
            <div class="picture"></div>
            <div class="txtList">
                <ul>
                    <li><a href="#" title="本公司正式上线欢迎您的访问">本公司正式上线欢迎您的访...</a><span>2016-09-18</span></li>
                    <li><a href="#" title="本公司正式上线欢迎您的访问">本公司正式上线欢迎您的访...</a><span>2016-09-18</span></li>
                    <li><a href="#" title="本公司正式上线欢迎您的访问">本公司正式上线欢迎您的访...</a><span>2016-09-18</span></li>
                    <li><a href="#" title="本公司正式上线欢迎您的访问">本公司正式上线欢迎您的访...</a><span>2016-09-18</span></li>
                    <li><a href="#" title="本公司正式上线欢迎您的访问">本公司正式上线欢迎您的访...</a><span>2016-09-18</span></li>
                </ul>
            </div>
        </div>
        <div class="m2Container">
            <div class="title">
                <div class="content">最新产品</div>
                <div class="encontent">PRODUCT</div>
                <a href="#" class="more"></a>
            </div>
            <div class="imgList" onmouseover="moving=false" onmouseleave="moving=true">
                <ul class="clearfix" id="imgList_ul">
                    <li><a href="#" style="background-image: url(img/ZW9016B.jpg);" title="ZW9016B"></a><a href="#">ZW9016B</a></li>
                    <li><a href="#" style="background-image: url(img/ZW9029.png);" title="ZW9029"></a><a href="#">ZW9029</a></li>
                    <li><a href="#" style="background-image: url(img/ZW9016A.png);" title="ZW9016A"></a><a href="#">ZW9016A</a></li>
                    <li><a href="#" style="background-image: url(img/ZW9003.png);" title="ZW9003"></a><a href="#">ZW9003</a></li>
                    <li><a href="#" style="background-image: url(img/ZW9005.png);" title="ZW9005"></a><a href="#">ZW9005</a></li>
                    <li><a href="#" style="background-image: url(img/ZW9009.png);" title="ZW9009"></a><a href="#">ZW9009</a></li>
                    <li><a href="#" style="background-image: url(img/ZW0603.jpg);" title="ZW0603"></a><a href="#">ZW0603</a></li>
                    <li><a href="#" style="background-image: url(img/ZW0410.png);" title="ZW0410"></a><a href="#">ZW0410</a></li>
                    <li><a href="#" style="background-image: url(img/ZW9005A%20with%20motorised%20brush.jpg);" title="ZW9005A with motorised brush"></a><a href="#">ZW9005A with motorised brush</a></li>
                    <li><a href="#" style="background-image: url(img/ZT0801.jpg);" title="ZT0801"></a><a href="#">ZT0801</a></li>
                    <li><a href="#" style="background-image: url(img/ZW9016B.jpg);" title="ZW9016B"></a><a href="#">ZW9016B</a></li>
                    <li><a href="#" style="background-image: url(img/ZW9029.png);" title="ZW9029"></a><a href="#">ZW9029</a></li>
                </ul>
            </div>
        </div>
        <div class="m3Container">
            <div class="picture"></div>
            <div class="content">
                <p>咨询热线:</p>
                <p>固定电话:0512-65787572</p>
                <p>Email:eva@better-vac.com</p>
            </div>
        </div>
    </div>
    <!-- footer -->
    <div class="footer w">版权所有&copy;2013 Suzhou Best Clean Electrical Co.,Ltd 苏ICP备88888888 技术支持:<a href="http://z2china.com/" target="_blank" rel="noopener noreferrer">中国万网</a></div>
    <script>
        var moving = true;
        var imgList_ul = document.getElementById("imgList_ul");
        var imgList_ul_right = 0;
        function move_imgList_ul() {
            if (moving) {
                imgList_ul.style.right = ++imgList_ul_right + "px";
                if (imgList_ul_right == 2200) {
                    imgList_ul_right = 0;
                }
            }
            setTimeout(move_imgList_ul, 35);
        }
        move_imgList_ul();

        var banFlash_div = document.getElementById("banFlash");
        var banFlash_picture_index = 1;
        var banFlash_picture_list = ["b1.png", "b2.png", "b3.png", "b4.jpg", "b5.jpg"];
        var onBanFlash = false;
        function change_banFlash_picture() {
            if (!onBanFlash) {
                banFlash_div.style.backgroundImage = "url(img/" + banFlash_picture_list[banFlash_picture_index] + ")";
                banFlash_picture_index++;
                if (banFlash_picture_index >= banFlash_picture_list.length) {
                    banFlash_picture_index = 0;
                }
            }
            setTimeout(change_banFlash_picture, 2500);
        }
        change_banFlash_picture();
    </script>
    <div id="author_info" style="margin-top: 666px;padding: 66px 10px; color: #fff; text-align: center; background-color: #159957; background-image: linear-gradient(120deg, #155799, #159957);">
</body>
</html>

style.css

/* CSS 初始化 */
/* 清除元素默认的内外边距 */
* {
    margin: 0;
    padding: 0;
}
/* 清除列表样式 */
li {
	list-style: none;
}
/* 声明清除浮动的样式 */
.clearfix:before,
.clearfix:after {
    content: "";
    display: table;
}
.clearfix:after {
    clear: both;
}
.clearfix {
    *zoom: 1; /* IE6、IE7专门清除浮动样式 */
}
body {
    min-width: 984px;
    color: #868686;
    font: 12px/1.7 Arial;
}
a {
    color: #868686;
    text-decoration: none;
}
a:hover {
    color: rgb(191, 0, 0);
}
/* 版心 */
.w {
	width: 984px;
	margin-left: auto;
    margin-right: auto;
}
.header {
    clear: both;
}
.logo {
    float: left;
    margin-top: 16px;
    margin-bottom: 16px;
    background-image: url(img/logo.png);
    width: 199px;
    height: 42px;
}
.start-search {
    margin-bottom: 1px;
}
.start-search .start {
    margin-top: 5px;
    text-align: right;
}
.start-search .search {
    text-align: right;
    margin-top: 15px;
}
.start-search .search button {
    font-size: 12px;
    margin-left: 4px;
    padding: 1px 8px 1px 8px;
    border: none;
    border-radius: 4px;
    color: white;
    background-color: #777;
    background-image: linear-gradient(180deg, #9D9D9D, #626262);
    border-bottom: 1px solid #A2A2A2;
}
/* 导航栏 */
.navbar {
    background: url(img/navABg.png) left center repeat-x;
}
.navbar>ul>li {
    width: 162px;
    float: left;
    padding-left: 2px;
    text-align: center;
    background-color: #E5E6E6;
    background: url(img/navLibg.png) left center no-repeat;
}
.navbar>ul>li:first-child {
    padding-left: 0;
    background: none;
}
.navbar>ul>li>a {
    line-height: 41px;
}
/* banFlash */
.banFlash {
    width: 984px;
    height: 337px;
    margin-top: 5px;
    margin-bottom: 5px;
    background-image: url(img/b2.png);
    transition-duration: 1s;
    -webkit-transition-duration: 1s;
    -moz-transition-duration: 1s;
    -o-transition-duration: 1s;
}
/* wrapper */
.wrapper>div {
    float: left;
}
.wrapper>div>.title {
    height: 32px;
    line-height: 30px;
    background: url(img/mmBg.png) repeat-x;
    padding: 0 5px 0 0;
}
.wrapper>div>.title>.content {
    background: none;
    height: 30px;
    border-bottom: #248596 2px solid;
    float: left;
    padding-right: 10px;
    padding-left: 10px;
    font-family: arial,helvetica,sans-serif;
    font-size: 14px;
    font-weight: bold;
    color: #000;
}
.wrapper>div>.title>.encontent {
    background: none;
    height: 30px;
    float: left;
    margin-left: -10px;
    font-family: arial,helvetica,sans-serif;
    /* font-size: 6px; */
    transform: scale(0.7); /* 用缩放来解决字体不能设置更小的问题 */
    font-weight: bold;
    color: #989898;
}
.wrapper>div>.title>a.more {
    float: right;
    margin-top: 10px;
    width: 34px;
    height: 13px;
    background-image: url(img/more.png);
}
.m1Container {
    width: 246px;
}
/* m1Container */
.m1Container>.picture {
    margin: 5px auto;
    width: 241px;
    height: 84px;
    background: url(img/newPictrue.png) no-repeat;
}
.wrapper>div>.txtList>ul>li>a {
    background: url(img/2.gif) left center no-repeat;
    padding-left: 15px;
}
.wrapper>div>.txtList>ul>li>span {
    float: right;
}
.wrapper>div>.txtList>ul>li {
    height: 27px;
    line-height: 27px;
    border-top: #dfdfdf 1px dashed;
}
.wrapper>div>.txtList>ul>li:first-child {
    border-top: none;
}
/* m2Container */
.m2Container {
    width: 440px;
    margin-left: 18px;
}
.imgList {
    overflow: hidden;
}
.imgList>ul {
    position: relative;
    right: 0px;
    width: 2860px;
}
.imgList>ul>li {
    float: left;
    width: 220px;
}
.imgList>ul>li>a:first-child {
    display: table-cell;
    width: 212px;
    height: 175px;
    border: 1px solid #DFDFDF;
    background-image: url(img/ZT0801.jpg);
    background-repeat: no-repeat;
    background-position: center center;

}
.imgList>ul>li>a:last-child {
    display: block;
    text-align: center;
}
/* m3Container */
.m3Container {
    width: 262px;
    margin-left: 18px;
}
.m3Container>.picture {
    margin: 25px auto 20px auto;
    width: 261px;
    height: 80px;
    background: url(img/contactPicture.png) no-repeat;
}
.m3Container>.content>p {
    margin: 10px 0;
}
/* footer */
.footer {
    text-align: center;
    border-top: #dedede 3px solid;
    background: #f7f7f7;
    margin-top: 10px;
    height: 40px;
    line-height: 36px;
}

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.coloradmin.cn/o/479668.html

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈,一经查实,立即删除!

相关文章

出差在外,远程访问企业局域网象过河ERP系统「内网穿透」

文章目录 概述1.查看象过河服务端端口2.内网穿透3. 异地公网连接4. 固定公网地址4.1 保留一个固定TCP地址4.2 配置固定TCP地址 5. 使用固定地址连接 转载自远程穿透文章&#xff1a;公网远程访问公司内网象过河ERP系统「内网穿透」 概述 ERP系统对于企业来说重要性不言而喻&am…

初识中央处理器CPU

目录 一、CPU功能 1.控制器功能 2.运算器功能 3.功能执行顺序 4.其他功能 二、CPU结构图 1.CPU与系统总线 2.CPU内部结构 3.运算器中的寄存器组 4.控制器中的寄存器组 三、执行指令的过程 1.指令周期的基本概念 2.完整的指令周期流程 3.数据通路 4.指令周期的数据…

React超级简单易懂全面的有关问题回答(面试)

目录 React事件机制&#xff1a; 2、React的事件和普通的HTML有什么不同&#xff1a; - 事件命名的规则不同&#xff0c;原生事件采用全小写&#xff0c;react事件采用小驼峰 3、React组件中怎么做事件代理&#xff1f;他的原理是什么&#xff1f; 4、React高阶组件、Rend…

【SpringBoot】 整合RabbitMQ 保证消息可靠性传递

生产者端 目录结构 导入依赖 修改yml 业务逻辑 测试结果 生产者端 目录结构 导入依赖 <dependencies><dependency><groupId>org.springframework.boot</groupId><artifactId>spring-boot-starter</artifactId></dependency>&…

无人机集群路径规划:淘金优化算法(Gold rush optimizer,GRO)提供MATLAB代码

一、淘金优化算法GRO 淘金优化算法&#xff08;Gold rush optimizer&#xff0c;GRO&#xff09;由Kamran Zolf于2023年提出&#xff0c;其灵感来自淘金热&#xff0c;模拟淘金者进行黄金勘探行为。 参考文献&#xff1a; K. Zolfi. Gold rush optimizer: A new population-ba…

Python小姿势 - #### Python技术博客:Python多线程编程

Python技术博客&#xff1a;Python多线程编程 你好&#xff0c;这里是自媒体技术博主Aurora&#xff0c;今天我想分享一下Python多线程编程。 首先&#xff0c;什么是多线程编程&#xff1f;多线程编程是一种让多个线程同时执行的编程方式&#xff0c;它可以让程序的执行更加高…

2023年华中杯C题计算结果

经过一晚上代码的编写&#xff0c;论文的写作&#xff0c;C题完整版论文已经发布&#xff0c; 注&#xff1a;蓝色字体为说明备注解释字体&#xff0c;不能出现在大家的论文里。黑色字体为论文部分&#xff0c;大家可以根据红色字体的注记进行摘抄。对应的详细的写作视频教程&…

推荐一款网站内链爬取python脚本

目标 使用 web-tools 提供的webSpider来爬取网站内链&#xff0c;并且将其导出。 webSpider介绍&#xff1a; 官网链接&#xff1a;https://web-tools.cn/web-spider 仓库地址&#xff1a;https://github.com/duerhong/web-spider Web Spider 专门用于爬取网站内链&#xf…

C++ srand()和rand()用法

参考C rand 与 srand 的用法 计算机的随机数都是由伪随机数&#xff0c;即是由小M多项式序列生成的&#xff0c;其中产生每个小序列都有一个初始值&#xff0c;即随机种子。&#xff08;注意&#xff1a; 小M多项式序列的周期是65535&#xff0c;即每次利用一个随机种子生成的随…

论文学习笔记:Transformer Attention Is All You Need

Transformer: Attention Is All You Need 2022 年年底&#xff0c;一个大语言模型 ChatGPT 横空出世&#xff0c;并且迅速点燃了普罗大众对 AI 的热情&#xff0c;短短两个月&#xff0c; ChatGPT 就成为了史上最快成为上亿月活的应用&#xff0c;并且持续受到关注&#xff0c…

【Vue2.0源码学习】变化侦测篇-Object的变化侦测

文章目录 1. 前言2. 使Object数据变得“可观测”3. 依赖收集3.1 什么是依赖收集3.2 何时收集依赖&#xff1f;何时通知依赖更新&#xff1f;3.3 把依赖收集到哪里 4. 依赖到底是谁5. 不足之处6. 总结 1. 前言 我们知道&#xff1a;数据驱动视图的关键点则在于我们如何知道数据发…

记录docker swarm的使用

在前面的几篇文章中我们依次学习了dockerfile、docker-compose的使用&#xff0c;接下来是docker有一个比较 重要的使用&#xff0c;docker swarm的使用&#xff0c;与dockerfile和docker-compose相比较而言&#xff0c;docker swarm是在 多个服务器或主机上创建容器集群服务准…

Leetcode——66. 加一

&#x1f4af;&#x1f4af;欢迎来到的热爱编程的小K的Leetcode的刷题专栏 文章目录 1、题目2、暴力模拟(自己的第一想法)3、官方题解 1、题目 给定一个由 整数 组成的 非空 数组所表示的非负整数&#xff0c;在该数的基础上加一。最高位数字存放在数组的首位&#xff0c; 数组…

CTF-PHP反序列化漏洞2-典型题目

作者&#xff1a;Eason_LYC 悲观者预言失败&#xff0c;十言九中。 乐观者创造奇迹&#xff0c;一次即可。 一个人的价值&#xff0c;在于他所拥有的。可以不学无术&#xff0c;但不能一无所有&#xff01; 技术领域&#xff1a;WEB安全、网络攻防 关注WEB安全、网络攻防。我的…

【纯属娱乐】随机森林预测双色球

目录 一、数据标准化二、预测代码三、后续 一、数据标准化 首先&#xff0c;我们需要对原始数据进行处理&#xff0c;将其转换为可用于机器学习的格式。我们可以将开奖号码中的红球和蓝球分开&#xff0c;将其转换为独热编码&#xff0c;然后将其与期数一起作为特征输入到机器…

ETL工具 - Kettle 查询、连接、统计、脚本算子介绍

一、 Kettle 上篇文章对 Kettle 流程、应用算子进行了介绍&#xff0c;本篇对查询、连接、统计、脚本算子进行讲解&#xff0c;下面是上篇文章的地址&#xff1a; ETL工具 - Kettle 流程、应用算子介绍 二、查询算子 数据输入使用 MySQL 表输入&#xff0c;表结构如下&#x…

给httprunnermanager接口自动化测试平台换点颜色瞧瞧

文章目录 一、背景1.1、修改注册表单的提示颜色1.2、修改后台代码&#xff1a;注册错误提示&#xff0c;最后提交注册&#xff0c;密码校验&#xff1b;1.3、修改了注册&#xff0c;那登录呢&#xff0c;也不能放过二、总结 一、背景 虽然咱给HttpRunnerManger引入进来&#xf…

【云台】开源版本SimpleBGC的电机驱动与控制方式

前言 最近想学习一下云台&#xff0c;发现资料确实还不太好找&#xff0c;比较有参考价值的是俄版的开源版本的云台代码&#xff0c;后面就不开源了&#xff0c;开源版本的是比较原始的算法&#xff0c;差不多是玩具级别的&#xff0c;不过还是决定学习一下&#xff0c;了解一…

PyCaret:低代码自动化的机器学习工具

PyCaret简介 随着ChatGPT和AI画图的大火&#xff0c;机器学习作为实现人工智能的底层技术被大众越来越多的认知&#xff0c;基于机器学习的产品也越来越多。传统的机器学习实现方法需要较强的编程能力和数据科学基础&#xff0c;这使得想零基础尝试机器学习变得非常困难。 机器…

Ucore lab5

实验目的 了解第一个用户进程创建过程了解系统调用框架的实现机制了解ucore如何实现系统调用sys_fork/sys_exec/sys_exit/sys_wait来进行进程管理 实验内容 练习0:已有实验代码改进 ​本实验中完成了用户进程的创建&#xff0c;能够对用户进程进行基本管理&#xff0c;并为…