第一次提交

master
Yossi 2 years ago
commit 575c544659

8
.idea/.gitignore vendored

@ -0,0 +1,8 @@
# Default ignored files
/shelf/
/workspace.xml
# Editor-based HTTP Client requests
/httpRequests/
# Datasource local storage ignored files
/dataSources/
/dataSources.local.xml

@ -0,0 +1,8 @@
<component name="ArtifactManager">
<artifact type="war" name="TeamWebProject">
<output-path>$PROJECT_DIR$/out/artifacts/TeamWebProject</output-path>
<root id="archive" name="TeamWebProject.war">
<element id="artifact" artifact-name="TeamWebProject exploded" />
</root>
</artifact>
</component>

@ -0,0 +1,17 @@
<component name="ArtifactManager">
<artifact type="exploded-war" name="TeamWebProject exploded">
<output-path>$PROJECT_DIR$/out/artifacts/TeamWebProject_exploded</output-path>
<root id="root">
<element id="javaee-facet-resources" facet="TeamWebProject/web/Web" />
<element id="directory" name="WEB-INF">
<element id="directory" name="classes">
<element id="module-output" name="TeamWebProject" />
</element>
<element id="directory" name="lib">
<element id="library" level="module" name="JUnit5.8.1" module-name="TeamWebProject" />
<element id="library" level="project" name="gson-2.9.0" />
</element>
</element>
</root>
</artifact>
</component>

@ -0,0 +1,9 @@
<component name="libraryTable">
<library name="gson-2.9.0">
<CLASSES>
<root url="jar://$PROJECT_DIR$/web/WEB-INF/lib/gson-2.9.0.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</component>

@ -0,0 +1,9 @@
<component name="libraryTable">
<library name="servlet-api">
<CLASSES>
<root url="jar://$PROJECT_DIR$/web/WEB-INF/lib/servlet-api.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</component>

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" default="true" project-jdk-name="1.8" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/out" />
</component>
</project>

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/TeamWebProject.iml" filepath="$PROJECT_DIR$/TeamWebProject.iml" />
</modules>
</component>
</project>

@ -0,0 +1,124 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="Palette2">
<group name="Swing">
<item class="com.intellij.uiDesigner.HSpacer" tooltip-text="Horizontal Spacer" icon="/com/intellij/uiDesigner/icons/hspacer.svg" removable="false" auto-create-binding="false" can-attach-label="false">
<default-constraints vsize-policy="1" hsize-policy="6" anchor="0" fill="1" />
</item>
<item class="com.intellij.uiDesigner.VSpacer" tooltip-text="Vertical Spacer" icon="/com/intellij/uiDesigner/icons/vspacer.svg" removable="false" auto-create-binding="false" can-attach-label="false">
<default-constraints vsize-policy="6" hsize-policy="1" anchor="0" fill="2" />
</item>
<item class="javax.swing.JPanel" icon="/com/intellij/uiDesigner/icons/panel.svg" removable="false" auto-create-binding="false" can-attach-label="false">
<default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3" />
</item>
<item class="javax.swing.JScrollPane" icon="/com/intellij/uiDesigner/icons/scrollPane.svg" removable="false" auto-create-binding="false" can-attach-label="true">
<default-constraints vsize-policy="7" hsize-policy="7" anchor="0" fill="3" />
</item>
<item class="javax.swing.JButton" icon="/com/intellij/uiDesigner/icons/button.svg" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="0" hsize-policy="3" anchor="0" fill="1" />
<initial-values>
<property name="text" value="Button" />
</initial-values>
</item>
<item class="javax.swing.JRadioButton" icon="/com/intellij/uiDesigner/icons/radioButton.svg" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" />
<initial-values>
<property name="text" value="RadioButton" />
</initial-values>
</item>
<item class="javax.swing.JCheckBox" icon="/com/intellij/uiDesigner/icons/checkBox.svg" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" />
<initial-values>
<property name="text" value="CheckBox" />
</initial-values>
</item>
<item class="javax.swing.JLabel" icon="/com/intellij/uiDesigner/icons/label.svg" removable="false" auto-create-binding="false" can-attach-label="false">
<default-constraints vsize-policy="0" hsize-policy="0" anchor="8" fill="0" />
<initial-values>
<property name="text" value="Label" />
</initial-values>
</item>
<item class="javax.swing.JTextField" icon="/com/intellij/uiDesigner/icons/textField.svg" removable="false" auto-create-binding="true" can-attach-label="true">
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
<preferred-size width="150" height="-1" />
</default-constraints>
</item>
<item class="javax.swing.JPasswordField" icon="/com/intellij/uiDesigner/icons/passwordField.svg" removable="false" auto-create-binding="true" can-attach-label="true">
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
<preferred-size width="150" height="-1" />
</default-constraints>
</item>
<item class="javax.swing.JFormattedTextField" icon="/com/intellij/uiDesigner/icons/formattedTextField.svg" removable="false" auto-create-binding="true" can-attach-label="true">
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
<preferred-size width="150" height="-1" />
</default-constraints>
</item>
<item class="javax.swing.JTextArea" icon="/com/intellij/uiDesigner/icons/textArea.svg" removable="false" auto-create-binding="true" can-attach-label="true">
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
<preferred-size width="150" height="50" />
</default-constraints>
</item>
<item class="javax.swing.JTextPane" icon="/com/intellij/uiDesigner/icons/textPane.svg" removable="false" auto-create-binding="true" can-attach-label="true">
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
<preferred-size width="150" height="50" />
</default-constraints>
</item>
<item class="javax.swing.JEditorPane" icon="/com/intellij/uiDesigner/icons/editorPane.svg" removable="false" auto-create-binding="true" can-attach-label="true">
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
<preferred-size width="150" height="50" />
</default-constraints>
</item>
<item class="javax.swing.JComboBox" icon="/com/intellij/uiDesigner/icons/comboBox.svg" removable="false" auto-create-binding="true" can-attach-label="true">
<default-constraints vsize-policy="0" hsize-policy="2" anchor="8" fill="1" />
</item>
<item class="javax.swing.JTable" icon="/com/intellij/uiDesigner/icons/table.svg" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
<preferred-size width="150" height="50" />
</default-constraints>
</item>
<item class="javax.swing.JList" icon="/com/intellij/uiDesigner/icons/list.svg" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="6" hsize-policy="2" anchor="0" fill="3">
<preferred-size width="150" height="50" />
</default-constraints>
</item>
<item class="javax.swing.JTree" icon="/com/intellij/uiDesigner/icons/tree.svg" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
<preferred-size width="150" height="50" />
</default-constraints>
</item>
<item class="javax.swing.JTabbedPane" icon="/com/intellij/uiDesigner/icons/tabbedPane.svg" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3">
<preferred-size width="200" height="200" />
</default-constraints>
</item>
<item class="javax.swing.JSplitPane" icon="/com/intellij/uiDesigner/icons/splitPane.svg" removable="false" auto-create-binding="false" can-attach-label="false">
<default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3">
<preferred-size width="200" height="200" />
</default-constraints>
</item>
<item class="javax.swing.JSpinner" icon="/com/intellij/uiDesigner/icons/spinner.svg" removable="false" auto-create-binding="true" can-attach-label="true">
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" />
</item>
<item class="javax.swing.JSlider" icon="/com/intellij/uiDesigner/icons/slider.svg" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" />
</item>
<item class="javax.swing.JSeparator" icon="/com/intellij/uiDesigner/icons/separator.svg" removable="false" auto-create-binding="false" can-attach-label="false">
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3" />
</item>
<item class="javax.swing.JProgressBar" icon="/com/intellij/uiDesigner/icons/progressbar.svg" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="0" hsize-policy="6" anchor="0" fill="1" />
</item>
<item class="javax.swing.JToolBar" icon="/com/intellij/uiDesigner/icons/toolbar.svg" removable="false" auto-create-binding="false" can-attach-label="false">
<default-constraints vsize-policy="0" hsize-policy="6" anchor="0" fill="1">
<preferred-size width="-1" height="20" />
</default-constraints>
</item>
<item class="javax.swing.JToolBar$Separator" icon="/com/intellij/uiDesigner/icons/toolbarSeparator.svg" removable="false" auto-create-binding="false" can-attach-label="false">
<default-constraints vsize-policy="0" hsize-policy="0" anchor="0" fill="1" />
</item>
<item class="javax.swing.JScrollBar" icon="/com/intellij/uiDesigner/icons/scrollbar.svg" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="6" hsize-policy="0" anchor="0" fill="2" />
</item>
</group>
</component>
</project>

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$" vcs="Git" />
</component>
</project>

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="WebContextManager">
<option name="state">
<map>
<entry key="file://$PROJECT_DIR$/web/css" value="file://$PROJECT_DIR$/web" />
<entry key="file://$PROJECT_DIR$/web/css/style.css" value="file://$PROJECT_DIR$/web" />
<entry key="file://$PROJECT_DIR$/web/messageBoard.html" value="file://$PROJECT_DIR$/web" />
</map>
</option>
</component>
</project>

@ -0,0 +1,41 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="JAVA_MODULE" version="4">
<component name="FacetManager">
<facet type="web" name="Web">
<configuration>
<descriptors>
<deploymentDescriptor name="web.xml" url="file://$MODULE_DIR$/web/WEB-INF/web.xml" />
</descriptors>
<webroots>
<root url="file://$MODULE_DIR$/web" relative="/" />
</webroots>
</configuration>
</facet>
</component>
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" name="servlet-api" level="project" />
<orderEntry type="library" name="gson-2.9.0" level="project" />
<orderEntry type="module-library">
<library name="JUnit5.8.1">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/org/junit/jupiter/junit-jupiter/5.8.1/junit-jupiter-5.8.1.jar!/" />
<root url="jar://$MAVEN_REPOSITORY$/org/junit/jupiter/junit-jupiter-api/5.8.1/junit-jupiter-api-5.8.1.jar!/" />
<root url="jar://$MAVEN_REPOSITORY$/org/opentest4j/opentest4j/1.2.0/opentest4j-1.2.0.jar!/" />
<root url="jar://$MAVEN_REPOSITORY$/org/junit/platform/junit-platform-commons/1.8.1/junit-platform-commons-1.8.1.jar!/" />
<root url="jar://$MAVEN_REPOSITORY$/org/apiguardian/apiguardian-api/1.1.2/apiguardian-api-1.1.2.jar!/" />
<root url="jar://$MAVEN_REPOSITORY$/org/junit/jupiter/junit-jupiter-params/5.8.1/junit-jupiter-params-5.8.1.jar!/" />
<root url="jar://$MAVEN_REPOSITORY$/org/junit/jupiter/junit-jupiter-engine/5.8.1/junit-jupiter-engine-5.8.1.jar!/" />
<root url="jar://$MAVEN_REPOSITORY$/org/junit/platform/junit-platform-engine/1.8.1/junit-platform-engine-1.8.1.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</orderEntry>
</component>
</module>

@ -0,0 +1,152 @@
<!DOCTYPE html>
<html lang="en">
<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="shortcut icon" href="img/github-red.png" type="image/x-icon"/>
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<div class="header">
<div class="header-logo">
<a href="index.html"><img src="img/HZUlogo.png"></a>
</div>
</div>
<div class="navbar">
<a href="index.html"><img class="button_home" src="img/home.png"> <span>首页</span></a>
<a href="HZUScenery.html"><img class="button_page" src="img/camera.png"> <span>惠院风光</span></a>
<!-- <a href="#"><img class="button_friends" src="img/github.png"> <span>小组介绍</span></a>-->
<a href="messageBoard.html" ><img class="button_ico" src="img/message-square.png"><span>留言板</span></a>
</div>
<div class="sceneryRow">
<div class="windowShades"> <!--各项大类图片-->
<div class="windowShadesContainer">
<!-- https://images.unsplash.com/photo-1558979158-65a1eaa08691?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1350&q=80 -->
<div id="imgOne" class="panel active" style="background-image:url('img/SceneryTestImg/imgOne/coverShow.jpg')">
<h3>旭日教学大楼</h3>
</div>
<!-- https://images.unsplash.com/photo-1572276596237-5db2c3e16c5d?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1350&q=80 -->
<div id="imgTwo" class="panel" style="background-image:url('img/SceneryTestImg/imgTwo/coverShow.jpg')">
<h3>电子楼</h3>
</div>
<div id="imgThree" class="panel" style="background-image:url('img/SceneryTestImg/imgThree/coverShow.jpg')">
<h3>特色建筑</h3>
</div>
<!-- https://images.unsplash.com/photo-1551009175-8a68da93d5f9?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1351&q=80 -->
<!-- <div class="panel" style="background-image:url('./images/WechatIMG431.jpeg')">
<h3>冬天的都市</h3>
</div> -->
<div id="imgFour" class="panel" style="background-image:url('img/SceneryTestImg/imgFour/coverShow.jpg')">
<h3>敦重明辨</h3>
</div>
</div>
</div>
<script src="js/script.js"></script>
<script src="js/jquery-3.6.0.js"></script>
<script>
/*实现百叶窗变化+AJAX*/
$(function () {
$(".panel").click(function () {
$(".panel").removeClass("active");
$(this).addClass("active");
/*完成百叶窗变化*/
/*使用AJAX显示详细信息*/
var id = $(this).attr("id");
// alert("当前点击图片的id为"+id);
$.ajax({
url:"imgDetailServlet",
data:{choseId:$(this).attr("id")}, /*得到点击图片的ID并传送给服务器*/
type:"GET",
success:function (serveData) {
// alert("imgPath="+serveData.imgPath+" detailTitle="+serveData.detailTitle+" detailText="+serveData.detailText);
//设置传送过来的数据
$(".detailText h1").html(serveData.detailTitle);
$(".detailText p").html(serveData.detailText);
// alert("从服务器得到的文本信息为:"+serveData.detailText);
$(".detailImg img").attr("src",serveData.imgPath);
// alert("设置图片路径为:"+serveData.imgPath);
//动画
$(".detailText").addClass("active");
},
dataType:"json"
});
})
/*第一次载入就进行请求*/
$.ajax({
url:"imgDetailServlet",
data:{choseId:"imgOne"}, /*得到点击图片的ID并传送给服务器*/
type:"GET",
success:function (serveData) {
// alert("imgPath="+serveData.imgPath+" detailTitle="+serveData.detailTitle+" detailText="+serveData.detailText);
//设置传送过来的数据
$(".detailText h1").html(serveData.detailTitle);
$(".detailText p").html(serveData.detailText);
// alert("从服务器得到的文本信息为:"+serveData.detailText);
$(".detailImg img").attr("src",serveData.imgPath);
// alert("设置图片路径为:"+serveData.imgPath);
//动画
$(".detailText").addClass("active");
},
dataType:"json"
});
})
</script>
<div class="imgDetailOuter">
<div class="detailImg">
<img src="img/SceneryTestImg/imgOne/1.jpg">
<!--实现图片手动轮播-->
<script>
$(function () {
$(".button").click(function () {
// alert($(this).attr("src"));
//思路:得到图片路径,轮换图片路径
var imgDom = $(".detailImg img");
var str = imgDom.attr("src");
// alert("得到的图片路径="+str);
var matchNum = str.match(/\d+/g);
if (matchNum<=1){
matchNum++;
}else if (matchNum>=2){ /*此处设置图片数*/
matchNum--;
}
// alert(matchNum);
var result = str.replace(/\d+/g,matchNum);
// alert("result="+result);
imgDom.attr("src",result);
})
})
</script>
</div>
<!-- <img class="refreshButton" src="img/SceneryTestImg/refresh-cw.png">-->
<button class="button" style="vertical-align:middle"><span>切换图片<img src="img/SceneryTestImg/refresh-cw.png"></span></button>
<div class="detailText">
<h1>旭日教学大楼</h1>
<p></p>
<!-- <p>旭日大楼正门前坐拥全校最大的广场——旭日广场,平时晚上会有部分协会在广场上举行日常活动。在双子楼未建成前,旭日大楼是许多学院的主要上课地点,大楼前后左右各有一个出入口,正门位于旭日广场。</p>-->
</div>
</div>
</div>
<div class="footer">
<div class="copyright">
Copyright © 2021-2022
<strong><a href="//www.zerotwo.red/" target="_blank">zerotwo.red</a></strong> All Rights Reserved. 备案号:<a target="_blank" rel="nofollow" href="https://beian.miit.gov.cn/">粤ICP备2021155110号</a>
</div>
</div>
</body>
</html>

@ -0,0 +1,85 @@
<!DOCTYPE html>
<html lang="en">
<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>
<div class="messageShow">
<div class="box">
<div class="left">
</div>
<div class="center">
<span>
2018
</span>
</div>
<div class="right">
千万不要放纵自己,给自己找借口。对自己严格一点儿,时间长了,自律便成为一种习惯,一种生活方式,你的人格和智慧也因此变得更加完美。
</div>
</div>
<div class="box">
<div class="left">
人生就那么短,不要为了变成别人喜欢的样子,委屈了自己。该开心时开心,想发泄就发泄。过好自己生活的第一件事,就是为自己而活。
</div>
<div class="center">
<span>
2019
</span>
</div>
<div class="right">
</div>
</div>
<div class="box">
<div class="left">
</div>
<div class="center">
<span>
2020
</span>
</div>
<div class="right">
如果我们质疑一个人扯谎,我们就应该伪装信任他,由于他会变得愈来愈神勇而有自信,并更斗胆地扯谎,最后会自己揭开自己的面具。
</div>
</div>
<div class="box">
<div class="left">
如果我们质疑一个人扯谎,我们就应该伪装信任他,由于他会变得愈来愈神勇而有自信,并更斗胆地扯谎,最后会自己揭开自己的面具。
</div>
<div class="center">
<span>
2021
</span>
</div>
<div class="right">
</div>
</div>
<div class="box">
<div class="left">
</div>
<div class="center">
<span>
2022
</span>
</div>
<div class="right">
没有谁天生是属于谁的,任何人来到你身边愿意为你停下脚步,都是一件值得珍惜的事。这世上什么东西都有个保质期,没有比心存感激更好的保质方法,爱是用心,不是敷衍。
</div>
</div>
</div>
</body>
</html>

@ -0,0 +1,82 @@
*{
/* 初始化内外边距 */
margin: 0;
padding: 0;
}
body{
/* 弹性布局 文字居中 */
display: flex;
justify-content: center;
/* 背景颜色 */
background-color: rgb(164, 170, 206);
}
.messageShow{
width: 1000px;
/* 相对定位 */
position: relative;
top: 100px;
}
.messageShow::after{
content: "";
/* 绝对定位 */
position: absolute;
top: -100px;
left: 50%;
width: 5px;
z-index: -999;
height: 100%;
background-color: rgba(255, 0, 0, 0.5);
}
.box{
/* 相对定位 */
position: relative;
width: 100%;
height: 120px;
margin-bottom: 50px;
display: flex;
/*
*/
justify-content: space-between;
}
.left,.right{
position: relative;
width: 40%;
height: 120px;
/* background-color: rgba(255,255,255,.5); */
border-radius: 15px;
color: rgb(90, 90, 90);
text-align: center;
}
/* 页面范围内偶数的匹配元素 */
.box:nth-child(even) .left{
background-color: rgba(255, 255, 255,.4);
box-shadow: rgba(0, 0, 0,.3);
}
/* 页面范围内奇数的匹配元素 */
.box:nth-child(odd) .right{
background-color: rgba(255, 255, 255,.4);
box-shadow: rgba(0, 0, 0,.3);
}
.center{
width: 15%;
display: flex;
justify-content: center;
align-items: center;
}
/* >是子元素选择器 */
.center > span{
width: 120px;
border-radius: 10px;
text-align: center;
font: 900 24px '';
line-height: 50px;
background-color: #fff;
}

@ -0,0 +1,745 @@
/*--
Author: W3layouts
Author URL: http://w3layouts.com
License: Creative Commons Attribution 3.0 Unported
License URL: http://creativecommons.org/licenses/by/3.0/
--*/
/*--reset--*/
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,dl,dt,dd,ol,nav ul,nav li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline;}
article, aside, details, figcaption, figure,footer, header, hgroup, menu, nav, section {display: block;}
ol,ul{list-style:none;margin:0px;padding:0px;}
blockquote,q{quotes:none;}
blockquote:before,blockquote:after,q:before,q:after{content:'';content:none;}
table{border-collapse:collapse;border-spacing:0;}
/*--start editing from here--*/
a{text-decoration:none;}
.txt-rt{text-align:right;}/* text align right */
.txt-lt{text-align:left;}/* text align left */
.txt-center{text-align:center;}/* text align center */
.float-rt{float:right;}/* float right */
.float-lt{float:left;}/* float left */
.clear{clear:both;}/* clear float */
.pos-relative{position:relative;}/* Position Relative */
.pos-absolute{position:absolute;}/* Position Absolute */
.vertical-base{ vertical-align:baseline;}/* vertical align baseline */
.vertical-top{ vertical-align:top;}/* vertical align top */
nav.vertical ul li{ display:block;}/* vertical menu */
nav.horizontal ul li{ display: inline-block;}/* horizontal menu */
img{max-width:100%;}
/*--end reset--*/
body {
margin:0;
font-family: 'PT Sans', sans-serif;
}
h1,h2,h3,h4,h5,h6,input,p,a,select,button,textarea,label{
font-family: 'Josefin Sans', sans-serif;
margin:0;
font-weight:400;
}
.clear{clear:both;}
body a{
transition:0.5s all;
-webkit-transition:0.5s all;
-moz-transition:0.5s all;
-o-transition:0.5s all;
-ms-transition:0.5s all;
text-decoration: none;}
input[type="button"],input[type="submit"]{
transition:0.5s all;
-webkit-transition:0.5s all;
-moz-transition:0.5s all;
-o-transition:0.5s all;
-ms-transition:0.5s all;
}
h1,h2,h3,h4,h5,h6{
margin:0;
transition:0.5s all;
-webkit-transition:0.5s all;
-moz-transition:0.5s all;
-o-transition:0.5s all;
-ms-transition:0.5s all;
}
p{
margin:0;
}
ul{
margin:0;
padding:0;
}
.text-center {
text-align: center;
}
.agileits_w3layouts {
background:url(../images/banner.jpg)no-repeat;
background-size: cover;
background-attachment: fixed;
}
.wrap {
padding: 2.3em;
width: 37%;
margin: 2em auto;
background: rgba(16, 16, 16, 0.72);
}
h1.agile_head {
padding-top: 1em;
font-size: 2.8em;
text-transform: uppercase;
color: #fff;
font-weight: 600;
font-family: 'Josefin Sans', sans-serif;
letter-spacing: 6px;
line-height:1.5;
}
/* feedback-form*/
.w3layouts_main h2 {
font-size: 2em;
color: #1ec8e9;
text-align: center;
line-height: 1.5;
font-weight: 600;
letter-spacing: 1px;
text-transform: uppercase;
}
.agile_form h2 {
font-size: 0.9em;
color:#1ec8e9;
margin: 1em 0;
line-height: 1.5;
}
form.agile_form {
padding: 1em 0;
}
.w3layouts_main.wrap p ,.w3layouts_main.wrap h6{
color: #fff;
margin: 0 0 1.5em 0;
font-size: 1.2em;
text-align: center;
}
.w3layouts_main.wrap h6{
text-align:left;
}
.agile_form input[type=text]{
float:left;
}
.agile_form input[type=text]{
padding:0.9em 1em;
color: #fff;
width: 88%;
font-size:1em;
outline: none;
border: 1px solid #848484;
background: rgba(88, 88, 88, 0.08);
}
.agile_form input[type="email"] {
width: 94%;
padding: 0.9em 1em;
margin: 0em 0em 1em 0;
color: #fff;
font-size: 1em;
outline: none;
border: 1px solid #848484;
background: rgba(88, 88, 88, 0.08);
}
.agile_form textarea {
font-size: 0.85em;
color: #fff;
padding: 0.8em 1em;
margin-bottom: 1em;
width: 94.5%;
outline: none;
resize: none;
height: 7em;
border: 1px solid #848484;
background: rgba(88, 88, 88, 0.08);
}
.agile_form ul {
width: 43%;
list-style-type: none;
float: left;
margin:1em 1.6em;
position:relative;
}
.agile_form ul li {
color: #f5e7cc;
position: relative;
display: inline-block;
}
.agile_form ul li input[type=radio]{
position: absolute;
visibility: hidden;
}
.agile_form ul li label {
display: inline-block;
position: relative;
font-size: 1.1em;
padding: 0.5em 0em 0.5em 1em;
margin: 3em 0 0 0.8em;
z-index: 9;
cursor: pointer;
text-transform: capitalize;
-webkit-transition: all 0.25s linear;
}
.agile_form h4.w3ls-left {
display: inline;
float: left;
width: 24%;
font-size:1.1em;
letter-spacing:1px;
text-align:center;
background:#1ec8e9;
padding: 0.5em 0em;
margin-top: 3em;
position:relative;
border-radius:5px;
color:#fff;
}
.agile_form h4.w3ls-left:before {
position: absolute;
top: 12px;
right: -17px;
background: transparent;
content: "";
border-left: 10px solid transparent;
border-right: 10px solid transparent;
border-bottom: 14px solid#1ec8e9;
transform: rotate(90deg);
-webkit-transform: rotate(90deg);
-moz-transform: rotate(90deg);
-o-transform: rotate(90deg);
-ms-transform: rotate(90deg);
}
.agile_form h4.w3ls-right {
float: left;
text-align: center;
position: relative;
background: #1ec8e9;
padding: 0.5em 0em;
width: 24%;
font-size: 1.1em;
color: #fff;
margin-top: 3em;
letter-spacing: 1px;
border-radius: 5px;
}
h4.w3ls-right:after {
position: absolute;
top: 12px;
left: -17px;
background: transparent;
content: "";
border-left: 10px solid transparent;
border-right: 10px solid transparent;
border-bottom: 14px solid #1ec8e9;
transform: rotate(270deg);
-webkit-transform: rotate(270deg);
-moz-transform: rotate(270deg);
-o-transform: rotate(270deg);
-ms-transform: rotate(270deg);
}
.agile_form ul li label:hover {
color:#fff;
}
.checkbox {
position: relative;
padding-left: 38px !important;
cursor: pointer;
}
ul li .check {
display: block;
position: absolute;
border: 3px solid #fff;
border-radius: 100%;
height: 13px;
width: 13px;
top: 22%;
left: 26px;
z-index: 5;
transition: border .25s linear;
-webkit-transition: border .25s linear;
}
.agile_form ul li:hover .check {
border: 3px solid #1ec8e9;
}
.agile_form ul li .check::before {
display: block;
position: absolute;
content: '';
border-radius: 100%;
height: 5px;
width: 5px;
top: 4px;
left: 4px;
margin: auto;
transition: background 0.25s linear;
-webkit-transition: background 0.25s linear;
}
.agile_form input[type=radio]:checked ~ .check {
border: 3px solid #1ec8e9;
}
.agileits-rating {
margin: 1em 0 1.5em;
}
.agile_form input[type=radio]:checked ~ .check::before{
background: #eccff1;
}
.agileits-rating h5 {
color: #fff;
font-family: 'PT Sans', sans-serif;
font-size:1.1em;
font-weight:400;
}
.agile_form input[type=radio]:checked ~ label{
color: #FFC107;}
.textarea.w3l_summary {
min-height: 4em;
background: rgba(25, 5, 20, 0.48);
font-size: 0.85em;
}
.agile_form input[type="submit"] {
width:30%;
text-transform: uppercase;
outline: none;
border: none;
cursor: pointer;
color: #f5ecf1;
font-size:1em;
font-weight:600;
padding: 0.85em 0;
letter-spacing: 1px;
border-radius: 5px;
border: 1px solid #696867;
background: rgba(16, 16, 16, 0.47);
}
.agile_form input[type="submit"]:hover {
color: #f7f7f7;
background: rgb(30, 200, 233);
}
i.icon_agileits {
color: #000;
margin-right: 0.5em;
}
.agileits_copyright p {
font-size: 1em;
letter-spacing: 1px;
color: #fff;
padding-bottom: 2em;
line-height: 2;
}
.agileits_copyright a {
color: #fff;
}
.agileits_copyright a:hover {
color: #FFC107;
text-decoration: none;
}
/* // feedback-form*/
.icon1, .icon2 {
position: relative;
margin-top: 1.3em;
}
.icon1 i{
left: 0;
font-size: 1em;
letter-spacing: 1px;
position: absolute;
color: #fff;
top: -50%;
font-family: 'PT Sans', sans-serif;
}
.icon2 i {
left:0;
font-size: 1em;
letter-spacing: 1px;
position: absolute;
color: #fff;
top: -68%;
font-family: 'PT Sans', sans-serif;
}
.icon1.w3ls-name1 {
float: left;
width: 47%;
margin-right: 0.5em;
}
.icon1{
padding-bottom:1em!important;
}
.icon2{
float:right;
width:50%;
}
ul.agile_info_numlist li {
display: inline-block;
margin: 1em 1em;
}
.rem-w3 {
margin: 1.5em 0;
}
span.check-w3 {
float: left;
color: #fff;
font-size: 13.5px;
letter-spacing: 1px;
}
.rem-w3 a {
color: #fff;
float: right;
font-size: 13.5px;
letter-spacing: 1px;
}
.rem-w3 a:hover{
color: #dd4b39;
transition: 0.5s all;
-webkit-transition: 0.5s all;
-o-transition: 0.5s all;
-moz-transition: 0.5s all;
-ms-transition: 0.5s all;
}
.sub-main-w3 h6 {
color: #fff;
font-size: 14px;
letter-spacing: 1px;
margin: 10px 0;
}
/* -- Responsive code -- */
@media screen and (max-width: 1440px){
.wrap {
width: 40%;
}
}
@media screen and (max-width: 1366px){
.wrap {
padding: 2.5em;
width: 43%;
}
}
@media screen and (max-width: 1280px){
.wrap {
width: 45%;
}
}
@media screen and (max-width: 1080px){
.wrap {
width: 56%;
}
.w3layouts_main h2 {
font-size: 1.8em;
}
}
@media screen and (max-width: 1024px){
h1.agile_head {
font-size: 2.6em;
}
.wrap {
width: 57%;
}
.agile_form input[type="submit"] {
padding: 0.7em 0;
}
}
@media screen and (max-width: 991px){
.agile_form h4.w3ls-left,.agile_form h4.w3ls-right {
width: 23%;
}
.agile_form ul {
width: 44.6%;
}
}
@media screen and (max-width: 900px){
.wrap {
width: 62%;
}
}
@media screen and (max-width: 800px){
.wrap {
width: 70%;
}
}
@media screen and (max-width: 768px){
.wrap {
width: 73%;
}
}
@media screen and (max-width: 736px){
.wrap {
width: 76%;
}
h1.agile_head {
font-size: 2.4em;
}
}
@media screen and (max-width: 667px){
.w3layouts_main h2 {
font-size: 1.6em;
}
.agile_form h4.w3ls-left, .agile_form h4.w3ls-right {
width: 22%;
}
.agile_form ul li label {
margin: 3em 0 0 0.8em;
}
.agile_form input[type="email"] {
width: 93%;
}
.agile_form input[type=text] {
width: 86%;
}
.agile_form textarea {
width: 94%;
}
.agile_form ul {
margin: 1em 2.5em 0 1em;
}
}
@media screen and (max-width: 640px){
.agile_form ul {
width: 50.5%;
margin: 1em 0.8em 0 0.8em;
}
}
@media screen and (max-width: 600px){
h1.agile_head {
padding-top: 1.3em;
letter-spacing: 4px;
}
.agile_form input[type="email"] {
width: 92%;
}
.agile_form h4.w3ls-left, .agile_form h4.w3ls-right {
width: 100%;
}
.icon1.w3ls-name1,.icon2 {
width: 100%;
float: none;
margin:1em 0;
}
.icon1.w3ls-name1 i {
top: -35px;
}
.icon2 {
margin: 5.2em 0 0;
}
.icon2 i {
top: -35px;
}
.agile_form ul li label {
margin: 3em 0.8em 0;
}
.agile_form h4.w3ls-left {
margin-top: 1em;
}
.agileits-rating {
margin: 2em 0 1.5em;
}
.agile_form ul {
width: 100%;
margin: 1em 0;
text-align: center;
}
.agile_form input[type=text]{
width:92%;
}
.agile_form h4.w3ls-right{
margin-top:1em;
}
h4.w3ls-right:after {
top: -14px;
left: 90%;
width: 0;
transform: rotate(0deg);
-webkit-transform: rotate(0deg);
-moz-transform: rotate(0deg);
-o-transform: rotate(0deg);
-ms-transform: rotate(0deg);
}
.agile_form h4.w3ls-left:before {
width:0;
top: 38px;
left: 20px;
transform: rotate(180deg);
-webkit-transform: rotate(180deg);
-moz-transform: rotate(180deg);
-o-transform: rotate(180deg);
-ms-transform: rotate(180deg);
}
.agile_form textarea {
width: 93%;
}
}
@media screen and (max-width: 568px){
.wrap {
width: 74%;
}
.agile_form input[type="email"],.agile_form input[type=text] {
padding: 0.8em 1em;
width: 91%;
}
}
@media screen and (max-width: 480px){
h1.agile_head {
font-size: 2.2em;
}
.w3layouts_main h2 {
font-size: 1.4em;
}
.wrap {
margin: 1em auto;
width: 74%;
}
.agile_form input[type="submit"] {
margin-top: 1em;
font-size: 0.8em;
}
h1.agile_head {
font-size: 1.8em;
}
.w3layouts_main h3,.agile_form h2{
font-size: 0.9em;
}
ul li .check {
height: 10px;
width: 10px;
top: 11px;
}
.agile_form ul li .check::before {
height: 4px;
width: 4px;
top: 3px;
left: 3px;
}
h4.w3ls-right:after {
left: 87%;
}
.agileits_copyright p{
padding-bottom: 1em;
}
.agileits_copyright a{
padding:0;
}
.agileits_copyright p {
font-size: 15px;
padding: 1em;
}
.agile_form input[type="email"], .agile_form input[type=text] {
padding: 0.8em 1em;
width: 90%;
}
.agile_form textarea {
width: 91%;
}
.agile_form ul {
margin: 1em 0 0;
}
}
@media screen and (max-width: 414px){
.agileits_copyright p, .agileits_copyright a {
font-size: 14px;
}
.w3layouts_main h2 {
font-size: 1.2em;
}
.agile_form input[type="email"], .agile_form input[type=text] {
width: 88%;
}
.agile_form textarea {
width: 90%;
}
}
@media screen and (max-width: 384px){
.w3layouts_main h2 {
font-size: 1.1em;
}
.agileits_copyright p {
padding: 0.5em;
}
h1.agile_head {
font-size: 1.8em;
}
.wrap {
margin: 1.7em auto;
}
.agile_form ul li label {
margin: 3em 0.5em 0;
}
ul li .check {
left: 22px
}
.agileits_copyright p {
padding: 1em;
}
.agile_form input[type="email"], .agile_form input[type=text] {
width: 87%;
}
.agile_form textarea {
width: 89%;
}
}
@media screen and (max-width: 375px){
h1.agile_head {
letter-spacing: 1px;
}
.w3layouts_main h2 {
font-size: 1em;
}
.w3layouts_main.wrap p, .w3layouts_main.wrap h6 {
font-size: 1.1em;
}
.wrap {
padding: 2em;
}
}
@media screen and (max-width: 320px){
h1.agile_head {
padding-top: 0.5em;
}
.wrap {
padding: 1.5em;
margin: 1em auto;
}
h1.agile_head {
font-size: 1.7em;
letter-spacing: 2px;
}
.agile_form textarea {
height: 6em;
}
.agile_form ul li label {
margin: 3em 0.5em 0 0em;
}
ul li .check {
left: 13px;
}
.agile_form input[type="email"], .agile_form input[type=text] {
width: 89%;
}
.agile_form input[type=text], .agile_form input[type="email"] {
font-size: 0.7em;
}
.agile_form input[type="submit"] {
font-size: 0.7em;
}
.agileits_copyright p {
padding: .6em;
}
.w3layouts_main.wrap p, .w3layouts_main.wrap h6 {
font-size: 1em;
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 98 KiB

@ -0,0 +1,78 @@
<!--Author: W3layouts
Author URL: http://w3layouts.com
License: Creative Commons Attribution 3.0 Unported
License URL: http://creativecommons.org/licenses/by/3.0/-->
<!DOCTYPE html>
<html>
<head>
<title>Rate My Website Flat Responsive Template :: w3layouts</title>
<!-- custom-theme -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="Rate My Website Responsive web template, Bootstrap Web Templates, Flat Web Templates, Android Compatible web template, Smartphone Compatible web template, free webdesigns for Nokia, Samsung, LG, SonyEricsson, Motorola web design" />
<script type="application/x-javascript"> addEventListener("load", function() { setTimeout(hideURLbar, 0); }, false);
function hideURLbar(){ window.scrollTo(0,1); } </script>
<!-- //custom-theme -->
<link href="css/style.css" rel="stylesheet" type="text/css" media="all" />
<link href="//fonts.googleapis.com/css?family=Josefin+Sans:100,100i,300,300i,400,400i,600,600i,700,700i" rel="stylesheet">
<link href="//fonts.googleapis.com/css?family=PT+Sans:400,400i,700,700i" rel="stylesheet">
</head>
<body class="agileits_w3layouts">
<h1 class="agile_head text-center">Rate My Website</h1>
<div class="w3layouts_main wrap">
<h2>DO you like our new site?</h2>
<p>let us know your experience.</p>
<form action="#" method="post" class="agile_form">
<div class="icon1">
<i>Email</i>
<input placeholder="emailTest " name="Email" type="email" required="">
</div>
<div class="icon1 w3ls-name1">
<i>First Name</i>
<input placeholder=" " name="first name" type="text" required="">
</div>
<div class="icon2">
<i>Last Name</i>
<input placeholder=" " name="last name" type="text" required="">
</div>
<div class="clear"></div>
<!--评分-->
<!-- <div class="agileits-rating">-->
<!-- <h5>Please rate our site</h5>-->
<!-- <h4 class="w3ls-left">Not Bad</h4>-->
<!-- <ul class="agile_info_select">-->
<!-- <li><input type="radio" name="view" id="bad"> -->
<!-- <label for="bad">1</label>-->
<!-- <div class="check w3"></div>-->
<!-- </li>-->
<!-- <li><input type="radio" name="view" id="poor" checked="checked"> -->
<!-- <label for="poor">2</label>-->
<!-- <div class="check w3ls"></div>-->
<!-- </li>-->
<!-- <li><input type="radio" name="view" id="neutral"> -->
<!-- <label for="neutral">3</label>-->
<!-- <div class="check wthree"></div>-->
<!-- </li>-->
<!-- <li><input type="radio" name="view" id="good"> -->
<!-- <label for="good">4</label>-->
<!-- <div class="check w3_agileits"></div>-->
<!-- </li>-->
<!-- <li><input type="radio" name="view" id="excellent"> -->
<!-- <label for="excellent">5</label>-->
<!-- <div class="check w3_agileits"></div>-->
<!-- </li>-->
<!-- </ul>-->
<!-- <h4 class="w3ls-right">Excellent</h4>-->
<!-- <div class="clear"></div>-->
<!-- </div> -->
<h6>How would you suggest to improve it</h6>
<textarea class="w3l_summary" required=""></textarea>
<input type="submit" value="Submit">
</form>
</div>
<div class="agileits_copyright text-center">
<p>© 2017 Rate My Website. All rights reserved | Design by <a href="//w3layouts.com/" class="w3_agile">W3layouts</a></p>
</div>
</body>
</html>

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_4_0.xsd"
version="4.0">
</web-app>

@ -0,0 +1,534 @@
/*--
Author: W3layouts
Author URL: http://w3layouts.com
License: Creative Commons Attribution 3.0 Unported
License URL: http://creativecommons.org/licenses/by/3.0/
--*/
/*--reset--*/
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,dl,dt,dd,ol,nav ul,nav li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline;}
article, aside, details, figcaption, figure,footer, header, hgroup, menu, nav, section {display: block;}
ol,ul{list-style:none;margin:0px;padding:0px;}
blockquote,q{quotes:none;}
blockquote:before,blockquote:after,q:before,q:after{content:'';content:none;}
table{border-collapse:collapse;border-spacing:0;}
/*--start editing from here--*/
a{text-decoration:none;}
.clear{clear:both;}/* clear float */
.pos-relative{position:relative;}/* Position Relative */
.pos-absolute{position:absolute;}/* Position Absolute */
.vertical-base{ vertical-align:baseline;}/* vertical align baseline */
.vertical-top{ vertical-align:top;}/* vertical align top */
nav.vertical ul li{ display:block;}/* vertical menu */
nav.horizontal ul li{ display: inline-block;}/* horizontal menu */
img{max-width:100%;}
/*--end reset--*/
.messageBoardOuter{
width: 100%;
}
body {
margin:0;
font-family: 'PT Sans', sans-serif;
}
h1,h2,h3,h4,h5,h6,input,p,a,select,button,textarea,label{
font-family: 'Josefin Sans', sans-serif;
margin:0;
font-weight:400;
}
.clear{clear:both;}
body a{
transition:0.5s all;
-webkit-transition:0.5s all;
-moz-transition:0.5s all;
-o-transition:0.5s all;
-ms-transition:0.5s all;
text-decoration: none;}
input[type="button"],input[type="button"]{
transition:0.5s all;
-webkit-transition:0.5s all;
-moz-transition:0.5s all;
-o-transition:0.5s all;
-ms-transition:0.5s all;
}
h1,h2,h3,h4,h5,h6{
margin:0;
transition:0.5s all;
-webkit-transition:0.5s all;
-moz-transition:0.5s all;
-o-transition:0.5s all;
-ms-transition:0.5s all;
}
p{
margin:0;
}
ul{
margin:0;
padding:0;
}
.text-center {
text-align: center;
}
/* feedback-form*/
.agile_form h2 {
font-size: 0.9em;
color:#1ec8e9;
margin: 1em 0;
line-height: 1.5;
}
form.agile_form {
padding: 1em 0;
}
.agile_form input[type=text]{
float:left;
}
.agile_form input[type=text]{
padding:0.9em 1em;
color: #000000;
width: 88%;
font-size:1em;
outline: none;
border: 1px solid #848484;
background: rgba(88, 88, 88, 0.08);
}
.agile_form input[type="email"] {
width: 94%;
padding: 0.9em 1em;
margin: 0em 0em 1em 0;
color: #000000;
font-size: 1em;
outline: none;
border: 1px solid #848484;
background: rgba(88, 88, 88, 0.08);
}
.agile_form textarea {
font-size: 0.85em;
color: #000000;
padding: 0.8em 1em;
margin-bottom: 1em;
width: 94.5%;
outline: none;
resize: none;
height: 7em;
border: 1px solid #848484;
background: rgba(88, 88, 88, 0.08);
}
.agile_form ul {
width: 43%;
list-style-type: none;
float: left;
margin:1em 1.6em;
position:relative;
}
.agile_form ul li {
color: #f5e7cc;
position: relative;
display: inline-block;
}
.agile_form ul li input[type=radio]{
position: absolute;
visibility: hidden;
}
.agile_form ul li label {
display: inline-block;
position: relative;
font-size: 1.1em;
padding: 0.5em 0em 0.5em 1em;
margin: 3em 0 0 0.8em;
z-index: 9;
cursor: pointer;
text-transform: capitalize;
-webkit-transition: all 0.25s linear;
}
.agile_form h4.w3ls-left {
display: inline;
float: left;
width: 24%;
font-size:1.1em;
letter-spacing:1px;
text-align:center;
background:#1ec8e9;
padding: 0.5em 0em;
margin-top: 3em;
position:relative;
border-radius:5px;
color:#fff;
}
.agile_form h4.w3ls-left:before {
position: absolute;
top: 12px;
right: -17px;
background: transparent;
content: "";
border-left: 10px solid transparent;
border-right: 10px solid transparent;
border-bottom: 14px solid#1ec8e9;
transform: rotate(90deg);
-webkit-transform: rotate(90deg);
-moz-transform: rotate(90deg);
-o-transform: rotate(90deg);
-ms-transform: rotate(90deg);
}
.agile_form ul li label:hover {
color:#fff;
}
.checkbox {
position: relative;
padding-left: 38px !important;
cursor: pointer;
}
ul li .check {
display: block;
position: absolute;
border: 3px solid #fff;
border-radius: 100%;
height: 13px;
width: 13px;
top: 22%;
left: 26px;
z-index: 5;
transition: border .25s linear;
-webkit-transition: border .25s linear;
}
.agile_form ul li:hover .check {
border: 3px solid #1ec8e9;
}
.agile_form ul li .check::before {
display: block;
position: absolute;
content: '';
border-radius: 100%;
height: 5px;
width: 5px;
top: 4px;
left: 4px;
margin: auto;
transition: background 0.25s linear;
-webkit-transition: background 0.25s linear;
}
.agile_form input[type=radio]:checked ~ .check {
border: 3px solid #1ec8e9;
}
.agileits-rating {
margin: 1em 0 1.5em;
}
.agile_form input[type=radio]:checked ~ .check::before{
background: #eccff1;
}
.agileits-rating h5 {
color: #fff;
font-family: 'PT Sans', sans-serif;
font-size:1.1em;
font-weight:400;
}
.agile_form input[type=radio]:checked ~ label{
color: #FFC107;}
.textarea.w3l_summary {
min-height: 4em;
background: rgba(25, 5, 20, 0.48);
font-size: 0.85em;
}
.agile_form input[type="button"] {
width:50%;
text-transform: uppercase;
outline: none;
border: none;
cursor: pointer;
color: #eef5ec;
font-size:1em;
font-weight:600;
padding: 0.85em 0;
letter-spacing: 1px;
border-radius: 5px;
border: 1px solid #696867;
background: rgba(16, 16, 16, 0.47);
}
.agile_form input[type="button"]:hover:hover {
color: #2b2626;
background: rgb(230, 192, 85);
}
i.icon_agileits {
color: #000;
margin-right: 0.5em;
}
/* // feedback-form*/
/*表单文字*/
.icon1, .icon2 {
position: relative;
margin-top: 1.3em;
}
.icon1 i{
left: 0;
font-size: 1em;
letter-spacing: 1px;
position: absolute;
color: #000000;
top: -50%;
font-family: 'PT Sans', sans-serif;
}
.icon2 i {
left:0;
font-size: 1em;
letter-spacing: 1px;
position: absolute;
color: #000000;
top: -68%;
font-family: 'PT Sans', sans-serif;
}
.icon1.w3ls-name1 {
float: left;
width: 47%;
margin-right: 0.5em;
}
.icon1{
padding-bottom:1em!important;
}
.icon2{
float:right;
width:50%;
}
ul. li {
display: inline-block;
margin: 1em 1em;
}
. {
margin: 1.5em 0;
}
span. {
float: left;
color: #fff;
font-size: 13.5px;
letter-spacing: 1px;
}
. a {
color: #fff;
float: right;
font-size: 13.5px;
letter-spacing: 1px;
}
. a:hover{
color: #dd4b39;
transition: 0.5s all;
-webkit-transition: 0.5s all;
-o-transition: 0.5s all;
-moz-transition: 0.5s all;
-ms-transition: 0.5s all;
}
.sub-main-w3 h6 {
color: #fff;
font-size: 14px;
letter-spacing: 1px;
margin: 10px 0;
}
/* -- Responsive code -- */
@media screen and (max-width: 1024px){
.agile_form input[type="button"] {
padding: 0.7em 0;
}
}
@media screen and (max-width: 667px){
.agile_form ul li label {
margin: 3em 0 0 0.8em;
}
.agile_form input[type="email"] {
width: 93%;
}
.agile_form input[type=text] {
width: 86%;
}
.agile_form textarea {
width: 94%;
}
.agile_form ul {
margin: 1em 2.5em 0 1em;
}
}
@media screen and (max-width: 640px){
.agile_form ul {
width: 50.5%;
margin: 1em 0.8em 0 0.8em;
}
}
@media screen and (max-width: 600px){
.agile_form input[type="email"] {
width: 92%;
}
.icon1.w3ls-name1,.icon2 {
width: 100%;
float: none;
margin:1em 0;
}
.icon1.w3ls-name1 i {
top: -35px;
}
.icon2 {
margin: 5.2em 0 0;
}
.icon2 i {
top: -35px;
}
.agile_form ul li label {
margin: 3em 0.8em 0;
}
.agile_form h4.w3ls-left {
margin-top: 1em;
}
.agileits-rating {
margin: 2em 0 1.5em;
}
.agile_form ul {
width: 100%;
margin: 1em 0;
text-align: center;
}
.agile_form input[type=text]{
width:92%;
}
.agile_form h4.w3ls-left:before {
width:0;
top: 38px;
left: 20px;
transform: rotate(180deg);
-webkit-transform: rotate(180deg);
-moz-transform: rotate(180deg);
-o-transform: rotate(180deg);
-ms-transform: rotate(180deg);
}
.agile_form textarea {
width: 93%;
}
}
@media screen and (max-width: 1040px){
.icon1.w3ls-name1,.icon2 {
width: 100%;
}
}
@media screen and (max-width: 568px){
.agile_form input[type="email"],.agile_form input[type=text] {
padding: 0.8em 1em;
width: 91%;
}
}
@media screen and (max-width: 480px){
.agile_form input[type="button"] {
margin-top: 1em;
font-size: 0.8em;
}
ul li .check {
height: 10px;
width: 10px;
top: 11px;
}
.agile_form ul li .check::before {
height: 4px;
width: 4px;
top: 3px;
left: 3px;
}
.agile_form input[type="email"], .agile_form input[type=text] {
padding: 0.8em 1em;
width: 90%;
}
.agile_form textarea {
width: 91%;
}
.agile_form ul {
margin: 1em 0 0;
}
}
@media screen and (max-width: 414px){
.agile_form input[type="email"], .agile_form input[type=text] {
width: 88%;
}
.agile_form textarea {
width: 90%;
}
}
@media screen and (max-width: 384px){
.agile_form ul li label {
margin: 3em 0.5em 0;
}
ul li .check {
left: 22px
}
.agile_form input[type="email"], .agile_form input[type=text] {
width: 87%;
}
.agile_form textarea {
width: 89%;
}
}
@media screen and (max-width: 320px) {
.agile_form textarea {
height: 6em;
}
.agile_form ul li label {
margin: 3em 0.5em 0 0em;
}
ul li .check {
left: 13px;
}
.agile_form input[type="email"], .agile_form input[type=text] {
width: 89%;
}
.agile_form input[type=text], .agile_form input[type="email"] {
font-size: 0.7em;
}
.agile_form input[type="button"] {
font-size: 0.7em;
}
}

@ -0,0 +1,571 @@
* {
box-sizing: border-box;
}
/* body 样式 */
body {
font-family: Arial;
margin: 0;
/* 设置最大宽度 */
/*max-width: 1080px;*/
/* 页面居中 */
margin: auto;
/* 默认背景颜色 */
background-color:#f6f5f3 ;
}
/* 标题 */
/* 头部 */
.header {
padding: 30px;
text-align: left;
color: rgb(247, 162, 162);
min-height: 100px;
/* 设置背景图片 */
/* background-color: #b3080a;*/
background-image: url("../img/headBackground.png");
background-size: cover;
background-repeat: no-repeat;
}
.header-logo{
width: 1100px;
margin: auto;
}
.header-info{
margin: auto;
float: left;
}
/* 标题 */
.header h1 {
padding-left: 120px;
margin:auto;
font-size: 40px;
font-style: italic;
}
.header p{
font-style: italic;
font-size: 25px;
}
/* 导航 */
.navbar {
overflow: hidden;
background-color: rgb(239, 239, 240);
max-width: 1100px;
margin: auto;
}
/* 设置导航栏文本 */
/* 导航栏样式 */
.navbar a {
float: left;
display: block;
color: #000000;
transition-duration: 0.4s;
text-align:right;
padding: 14px 20px;
text-decoration: none;
display: flex;
flex-direction: row;
align-items: flex-end;
}
/* 右侧链接*/
/*.navbar a.right {*/
/* float: right;*/
/*}*/
/* 鼠标移动到链接的颜色 */
.navbar a:hover {
background-color: #50c9ff;
color: rgb(0, 0, 0);
font-weight: 700;
}
/* 列容器 */
/*装main和side的*/
.row {
display: -ms-flexbox; /* IE10 */
display: flex;
-ms-flex-wrap: wrap; /* IE10 */
flex-wrap: wrap;
max-width: 1100px;
margin: auto;
min-height: 800px;
}
/* 创建两个列 */
/* 边栏 */
.side {
-ms-flex: 30%; /* IE10 */
flex: 30%;
background-color: #f8f8f8;
padding: 20px;
/* 背景图片 */
}
/* 链接无下划线 */
a:link {text-decoration:none;}
a:visited {text-decoration:none;}
a:hover {text-decoration:none;}
a:active {text-decoration:underline;}
/* 主要的内容区域 */
.main {
/*-ms-flex: 70%; !* IE10 *!*/
flex: 70%;
background-color: white;
padding: 20px;
min-height: 800px;
}
/* 测试图片 */
.fakeimg {
background-color: rgba(115, 110, 110, 0.539);
width: 100%;
padding: 20px;
}
/* 底部 */
.footer {
padding: 15px;
text-align: center;
background: #a60e12;
font-size: 5px;
color: white;
}
.copyright a:link {
text-decoration:none;
color: #a4a4a4} /* unvisited link */
.copyright a:visited {text-decoration:none;
color: #a4a4a4
} /* visited link */
.copyright a:hover {text-decoration:underline;} /* mouse over link */
.copyright a:active {text-decoration:underline;} /* selected link */
/*首页================================*/
.map{
width: 200px;
height: auto;
}
.showSchoolItemContainer{
display: flex;
flex-direction: column;
}
.showSchoolItem{
margin-bottom: 50px;
height:auto;
width: 100%;
background-color: #ffffff;
}
.showSchoolItem img{
width: 100%;
}
/*首页================================*/
/* 底部-消除链接颜色 */
/* =================惠院风光css============= */
.fixTips{
top: 500px;
position: fixed;
}
/* 百叶窗 */
.windowShades{
/* 引入字体 */
font-family: 'Muli',sans-serif;
/* 弹性布局 水平 + 垂直居中 */
display: flex;
align-items: center;
justify-content: center;
/**/
/* 100%的窗口高度 */
/*height: 100vh;*/
height: 100%;
/* 溢出隐藏 */
overflow: hidden;
margin: 0;
background-color: #f2f2f4;
}
.windowShadesContainer{
display: flex;
width: 90vw;
/*height: 50%;*/
}
.panel{
/* 跟封面一样大小 */
background-size: cover;
/* 把封面图片居中 */
background-position: center;
background-repeat: no-repeat;
height: 80vh;
/* 边框圆角 */
border-radius: 50px;
color: #fff;
/* 鼠标放上变小手 */
cursor: pointer;
flex: 0.5;
margin: 10px;
/* 相对定位 */
position: relative;
-webkit-transition: all 700ms ease-in;
}
.panel h3{
font-size: 24px;
/* 绝对定位 */
position: absolute;
bottom: 20px;
left: 20px;
margin: 0;
opacity: 0;
}
.panel.active{
flex: 5;
}
.panel.active h3 {
opacity: 1;
transition: opacity 0.3s ease-in 0.4s;
}
@media (max-width:480px){
.windowShadesContainer{
width: 100vw;
}
.panel:nth-of-type(4),
.panel:nth-of-type(5){
display: none;
}
}
/* 百叶窗 end*/
/* 具体细节 */
.imgDetailOuter{
width: 100%;
display: flex;
flex-direction: row;
padding: 20px;
background-color: #f9f9fa;
/*margin: auto;*/
border-top-style: inset;
border-width: 10px;
margin-bottom: 100px;
}
.detailImg{
/*height: 400px;*/
/*width: 600px;*/
flex: 45%;/*设置弹性盒子占比*/
background-color: #f9f9fa;
/*border-style: dotted;*/
/*border-width: 5px;*/
overflow: hidden;
}
.detailImg img{
height: 400px;
width: 450px;
object-fit: cover;
/*overflow: hidden;*/
transform: scale(1.2);
}
/*切换图片按钮*/
.button {
display: inline-block;
border-radius: 4px;
background-color: #f6f6f8;
border: none;
color: #2b2b2c;
text-align: center;
font-size: 20px;
padding: 10px;
width: 50px;
transition: all 0.5s;
cursor: pointer;
margin: 0px;
/* */
/* object-fit: none;*/
}
.button span {
cursor: pointer;
display: inline-block;
position: relative;
transition: 0.5s;
}
.button span:after {
/*content: '»';*/
position: absolute;
opacity: 0;
top: 0;
right: -20px;
transition: 0.5s;
}
.button:hover span {
/*padding-right: 20px;*/
padding-top: 20px;
}
.button:hover span:after {
opacity: 1;
right: 0;
}
/*切换图片按钮*/
.refreshButton{
object-fit: none;
margin-right: 20px;
}
.detailText{
flex: 55%;
/*设置文本格式*/
letter-spacing:1px;
/*line-height:140%;!*行高*!*/
padding-left: 10px;
background-color: rgb(248, 248, 249);
}
/*设置浮现动画效果*/
/*.detailText{*/
/* opacity: 0.5;*/
/*}*/
/*.detailText.active{*/
/* opacity: 1;*/
/* transition: opacity 0.5s;*/
/*}*/
/*设置浮现动画效果*/
.detailText p{
/*设置文本缩进*/
text-indent:50px;
}
/* 具体细节 end */
.sceneryRow {
display: -ms-flexbox; /* IE10 */
display: flex;
-ms-flex-wrap: wrap; /* IE10 */
flex-wrap: wrap;
max-width: 1100px;
margin: auto;
background-color: #ffffff;
}
.sceneryMain {
/*-ms-flex: 70%; !* IE10 *!*/
flex: 100%;
background-color: white;
padding: 20px;
}
/* =================惠院风光css=========== */
/* =================留言板css=========== */
.messageShow{
width: 100%;
height: 800px;
/* 相对定位 */
position: relative;
/*top: 50px;*/
/*设置滚动条*/
overflow-y: scroll;
}
/*滚动条*/
.messageShow::-webkit-scrollbar{/*滚动条整体部分其中的属性有width,height,background,border等就和一个块级元素一样位置1*/
width:10px;
height:10px;
}
/*.messageShow::-webkit-scrollbar-button{!*滚动条两端的按钮可以用display:none让其不显示也可以添加背景图片颜色改变显示效果位置2*!*/
/*background:#fff;*/
/*}*/
.messageShow::-webkit-scrollbar-track{/*外层轨道可以用display:none让其不显示也可以添加背景图片颜色改变显示效果位置3*/
background:#f8f9fa;
}
.messageShow::-webkit-scrollbar-track-piece{/*内层轨道滚动条中间部分位置4*/
background:#f8f9fa;
}
.messageShow::-webkit-scrollbar-thumb{/*滚动条里面可以拖动的那部分位置5*/
background:#00000033;
border-radius:4px;
}
.messageShow::-webkit-scrollbar-corner {/*边角位置6*/
background:#c0c0c0;
}
/*.messageShow::-webkit-scrollbar-resizer {!*定义右下角拖动块的样式位置7*!*/
/*background:#FF0BEE;*/
/*}*/
.messageShow{
scrollbar-arrow-color: #f4ae21; /**//*三角箭头的颜色*/
scrollbar-face-color: #333; /**//*立体滚动条的颜色*/
scrollbar-3dlight-color: #666; /**//*立体滚动条亮边的颜色*/
scrollbar-highlight-color: #666; /**//*滚动条空白部分的颜色*/
scrollbar-shadow-color: #999; /**//*立体滚动条阴影的颜色*/
scrollbar-darkshadow-color: #666; /**//*立体滚动条强阴影的颜色*/
scrollbar-track-color: #666; /**//*立体滚动条背景颜色*/
scrollbar-base-color:#f8f8f8; /**//*滚动条的基本颜色*/
}
/*滚动条*/
.messageShow::after{
content: "";
/* 绝对定位 */
position: absolute;
top: -10px;
left: 50%;
width: 5px;
z-index: 1;
height: 110%;
background-color: rgb(248, 169, 171);
}
.box{
/* 相对定位 */
position: relative;
width: 100%;
/*height: 120px;*/
height: auto;
margin-bottom: 50px;
display: flex;
/*
*/
justify-content: space-between;
}
.left,.right{
position: relative;
width: 40%;
height: auto;
/* background-color: rgba(255,255,255,.5); */
border-radius: 15px;
color: rgb(167, 255, 243);
text-align: center;
padding: 10px;
}
/*时间位置*/
.sendTime{
position: relative;
float: right;
right: 0;
bottom: 0;
color: #1ec8e9;
margin-top: 10px;
}
/* 页面范围内偶数的匹配元素 */
.box:nth-child(even) .left{
background-color: rgb(120, 120, 244);
box-shadow: rgba(0, 0, 0,.3);
}
/* 页面范围内奇数的匹配元素 */
.box:nth-child(odd) .right{
background-color: rgb(120, 120, 244);
box-shadow: rgba(0, 0, 0,.3);
}
.center{
width: 15%;
display: flex;
justify-content: center;
align-items: center;
z-index: 2;
}
/* >是子元素选择器 */
.center > span{
width: 120px;
border-radius: 10px;
text-align: center;
font: 600 18px '';
line-height: 50px;
background-color: rgba(255, 196, 196, 0.5);
}
/*.messageShow{*/
/* height: 300px;*/
/* width: 600px;*/
/* background-color: #eccff1;*/
/* !*overflow-y:scroll;!*溢出设置滚条*!*!*/
/*}*/
/* =================留言板css=========== */
/* 响应式布局 - 在屏幕设备宽度尺寸小于 400px 时, 让导航栏目上下堆叠显示 */
@media screen and (max-width: 680px) {
.row {
flex-direction: column;
}
.navbar {
display: flex;
width: 100%;
flex-direction: column;
flex-wrap: wrap;
}
.navbar a{
display: flex;
justify-content: center;
width: 100%;
}
/* 响应式使字体变大 */
.navbar{
font-size: 21px;
font-weight: bold;
}
h2{
font-size: 50px;
}
h3{
font-size: 25px;
}
.main p{
font-size: 25px;
}
.main h5{
font-size: 30px;
}
.main h6{
font-size: 25px;
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 510 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 954 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 752 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 788 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 522 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 404 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 742 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 881 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 959 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 740 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 740 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 533 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 632 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 471 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 254 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 302 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 761 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 539 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 366 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 145 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 268 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 785 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 768 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 412 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 MiB

@ -0,0 +1,111 @@
<!DOCTYPE html>
<html lang="en">
<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="shortcut icon" href="img/github-red.png" type="image/x-icon"/>
<link rel="stylesheet" href="css/style.css">
<script type="text/javascript" src="https://api.map.baidu.com/api?v=1.0&type=webgl&ak=ZFtIhhfEofyIRxfmq5RrckWYWGYWmuG1"></script>
</head>
<body>
<div class="header">
<div class="header-logo">
<a href="index.html"><img src="img/HZUlogo.png"></a>
</div>
</div>
<div class="navbar">
<a href="index.html"><img class="button_home" src="img/home.png"> <span> 首页</span></a>
<a href="HZUScenery.html"><img class="button_page" src="img/camera.png"> <span> 惠院风光</span></a>
<!-- <a href="#"><img class="button_friends" src="img/github.png"> <span> 小组介绍</span></a>-->
<a href="messageBoard.html" ><img class="button_ico" src="img/message-square.png"><span> 留言板</span></a>
</div>
<div class="row">
<div class="side">
<h1 >学校简介</h1>
<p>惠州学院Huizhou University是广东省属全日制公办本科高校、普通本科转型试点高校、省市共建本科高校和省硕士学位授予立项建设单位、第二批省级双创示范基地和省创建国家教师教育创新实验区立项院校位于全国文明城市惠州。</p>
<!-- <p>惠州学院创办于1946年学校前身粤秀中学迁至惠阳丰湖书院后改办为“广东省立惠州师范学校”。1978年12月经国务院批准升格为专科院校更名为“惠阳师范专科学校”。1993年9月经广东省人民政府批准在惠阳师范专科学校、惠州教育学院、西北纺织学院惠州分院联合办学基础上成立专科层次的“惠州大学”。2000年3月经教育部批准升格为本科院校更名为"惠州学院"。</p>-->
<p>截至2020年9月学院有全日制在校生1.9万人学校有17个二级学院开设57个本科专业有专任教师1039名学校占地总面积2500亩。</p>
<!-- <h1>敦重明辨 求真致用</h1>-->
<!-- <p>惠州学院地处全国文明城市、国家历史文化名城、粤港澳大湾区重要节点城市——惠州,是省属全日制公办本科高校、普通本科转型试点高校、省市共建本科高校和省硕士学位授予立项建设单位、省第二批双创示范基地、省创建国家教师教育创新实验区立项院校、省第三批高校中华优秀传统文化传承基地、省高校“三全育人”体制机制建设试点单位。</p>-->
<!-- <h3>More</h3>-->
<!-- <h2>学校沿革</h2>-->
<!-- <p>沿革</p>-->
<!-- <p>沿革</p>-->
<!-- <p>沿革</p>-->
<h2>学校位置</h2>
<!--百度地图容器-->
<div style="width:280px;height:290px;border:#ccc solid 1px;" id="dituContent"></div>
<script type="text/javascript">
//创建和初始化地图函数:
function initMap(){
createMap();//创建地图
setMapEvent();//设置地图事件
// addMapControl();//向地图添加控件
}
//创建地图函数:
function createMap(){
var map = new BMapGL.Map("dituContent");//在百度地图容器中创建一个地图
var point = new BMapGL.Point(114.426327,23.04476);//定义一个中心点坐标
map.centerAndZoom(point,16);//设定地图的中心点和坐标并将地图显示在地图容器中
window.map = map;//将map变量存储在全局
}
//地图事件设置函数:
function setMapEvent(){
map.enableDragging();//启用地图拖拽事件,默认启用(可不写)
// map.enableScrollWheelZoom();//启用地图滚轮放大缩小
map.enableScrollWheelZoom(true);
map.enableDoubleClickZoom();//启用鼠标双击放大,默认启用(可不写)
map.enableKeyboard();//启用键盘上下左右键移动地图
}
//地图控件添加函数:
// function addMapControl(){
// //向地图中添加缩放控件
// var ctrl_nav = new BMap.NavigationControl({anchor:BMAP_ANCHOR_TOP_LEFT,type:BMAP_NAVIGATION_CONTROL_SMALL});
// map.addControl(ctrl_nav);
// //向地图中添加比例尺控件
// var ctrl_sca = new BMap.ScaleControl({anchor:BMAP_ANCHOR_BOTTOM_LEFT});
// map.addControl(ctrl_sca);
// }
initMap();//创建和初始化地图
</script>
<!-- <p>更多内容</p>-->
<!-- <div class="fakeimg" style="height:60px;">****</div><br>-->
<!-- <div class="fakeimg" style="height:60px;">***</div><br>-->
</div>
<div class="main">
<h2 style="text-align: center">美丽惠院</h2>
<div class="showSchoolItemContainer">
<div class="showSchoolItem">
<img src="img/school2.jpg">
</div>
<h2 style="text-align: center">校园地图</h2>
<div class="showSchoolItem">
<img src="img/hzuMapBig.jpg">
</div>
</div>
</div>
</div>
<div class="footer">
<div class="copyright">
Copyright © 2021-2022
<strong><a href="//www.zerotwo.red/" target="_blank">zerotwo.red</a></strong> All Rights Reserved. 备案号:<a target="_blank" rel="nofollow" href="https://beian.miit.gov.cn/">粤ICP备2021155110号</a>
</div>
</div>
</body>
</html>

@ -0,0 +1,16 @@
<%--
Created by IntelliJ IDEA.
User: Yossi
Date: 2022/6/6
Time: 16:36
To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
<title>$Title$</title>
</head>
<body>
$END$
</body>
</html>

File diff suppressed because it is too large Load Diff

@ -0,0 +1,30 @@
//使用js
// const panels = document.querySelectorAll('.panel');
//
// panels.forEach(panel =>{
// panel.addEventListener('click', ()=>{
// removeActiveClasses()
// panel.classList.add('active')
// })
// })
//
// function removeActiveClasses(){
// panels.forEach(panel =>{
// panel.classList.remove('active')
// })
// }
// 使用jQuery
// $(function () {
// $(".panel").click(function () {
// // $(".panel").removeClass("active");
// // $(this).addClass("active");
// alert("aaaa");
// })
// })

@ -0,0 +1,315 @@
<!DOCTYPE html>
<html lang="en">
<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="shortcut icon" href="img/github-red.png" type="image/x-icon"/>
<link rel="stylesheet" href="css/messageBoardCSS.css">
<link rel="stylesheet" href="css/style.css">
<script src="js/script.js"></script>
<script src="js/jquery-3.6.0.js"></script>
</head>
<body>
<div class="header">
<div class="header-logo">
<a href="index.html"><img src="img/HZUlogo.png"></a>
</div>
</div>
<div class="navbar">
<a href="index.html"><img class="button_home" src="img/home.png"> <span>首页</span></a>
<a href="HZUScenery.html"><img class="button_page" src="img/camera.png"> <span>惠院风光</span></a>
<!-- <a href="#"><img class="button_friends" src="img/github.png"> <span>小组介绍</span></a>-->
<a href="messageBoard.html" ><img class="button_ico" src="img/message-square.png"><span>留言板</span></a>
</div>
<div class="row">
<div class="main">
<div class="messageShow">
<div class="box">
<div class="left">
<span class="sendTime"></span>
</div>
<div class="center">
<span class="guestName">
殷宏禧
</span>
</div>
<div class="right">
生活就像海洋,只有意志坚定的人才能到达彼岸。
<span class="sendTime">---2022年06月10日 22:32:14</span>
</div>
</div>
<div class="box">
<div class="left">
天行健,君子以自强不息。
<span class="sendTime">---2022年06月10日 22:41:34</span>
</div>
<div class="center">
<span class="guestName">
叶仕鹏
</span>
</div>
<div class="right">
<span class="sendTime"></span>
</div>
</div>
<div class="box">
<div class="left">
<span class="sendTime"></span>
</div>
<div class="center">
<span class="guestName">
叶炜城
</span>
</div>
<div class="right">
逐梦世界舞台,问鼎人生精彩。
<span class="sendTime">---2022年06月11日 18:34:14</span>
</div>
</div>
</div>
<!-- <div class="messageShow">-->
<!-- <div class="guestMessage">-->
<!-- <h1 class="guestName">访问者1</h1>-->
<!-- <div class="messageText">-->
<!-- <p>说了什么。。。说了什么。。。说了什么。。。说了什么。。。说了什么。。。说了什么。。。说了什么。。。说了什么。。。</p>-->
<!-- </div>-->
<!-- <span class="sendTime">20220608</span>-->
<!-- </div>-->
<!-- </div>-->
</div>
<div class="side">
<div class="messageBoardOuter">
<form id="form" action="/TeamWebProject/GuestMessageServlet" method="post" class="agile_form">
<div class="icon1">
<i>*邮箱</i>
<input placeholder="xxxxxxxx@xxx.com" name="email" type="email" required="" value="">
</div>
<div class="icon1 w3ls-name1">
<i>*昵称</i>
<input placeholder="你的名字" name="nickname" type="text" required="" value="">
</div>
<div class="icon2">
<i>联系方式</i>
<input placeholder=" " name="contact" type="text" required="" value="">
</div>
<div class="clear"></div>
<h6>*说点什么吧</h6>
<textarea name="messageText" class="w3l_summary" required=""></textarea>
<input id="submitBtn" type="button" value="提交留言">
<script>
/*对用户表单的填写进行检查*/
$(function () {
/*检查邮箱*/
$("input[name=email]").blur(function () {
var email = $("input[name=email]").val();
var flag = false;
var message = "";
var myreg = /^([\.a-zA-Z0-9_-])+@([a-zA-Z0-9_-])+(\.[a-zA-Z0-9_-])+/;
if(email ==''){
message = "邮箱不能为空!";
}else if(!myreg.test(email)){
message = "请输入有效的邮箱地址!";
}else{
flag = true;
}
if(!flag){
//错误提示
$(".errorMessage").html(message);
$("#submitBtn").attr("disabled","disabled");
}else{
//正确提示
$(".errorMessage").html("");
$("#submitBtn").removeAttr("disabled");
}
});
//检查昵称
$("input[name=nickname]").blur(function () {
var email = $("input[name=nickname]").val();
var flag = false;
var message = "";
var myreg = /^[\u4e00-\u9fa5]|[a-zA-Z]$/;
if(email ==''){
message = "昵称不能为空!";
}else if(!myreg.test(email)){
message = "请输入有效的昵称3到16位不允许特殊符号";
}else{
flag = true;
}
if(!flag){
//错误提示
$(".errorMessage").html(message);
$("#submitBtn").attr("disabled","disabled");
}else{
//正确提示
$(".errorMessage").html("");
$("#submitBtn").removeAttr("disabled");
}
});
//检查文本长度
$("textarea[name=messageText]").blur(function () {
var email = $("textarea[name=messageText]").val();
var flag = false;
var message = "";
var myreg = /.{3,400}/;
if(email ==''){
message = "文章不能为空!";
}else if(!myreg.test(email)){
message = "请输入有效的文章3-400字符";
}else{
flag = true;
}
if(!flag){
//错误提示
$(".errorMessage").html(message);
$("#submitBtn").attr("disabled","disabled");
}else{
//正确提示
$(".errorMessage").html("");
$("#submitBtn").removeAttr("disabled");
}
});
})
</script>
</form>
<br>
<span style="font-size: 20px;color: red;font-weight: bold" class="errorMessage"></span>
<!-- <button id="submit">提交留言</button>-->
<!--使用AJAX提交表单并且实时刷新留言板&每次载入页面时进行刷新-->
<script>
$(function (){
// alert("页面加载完成,自动调用此方法:检测服务器是否存有留言");
$.ajax({
url: "GuestMessageServlet",
type: "post",
dataType: "text",
data: {"method":"load"},
success: function (result) {
if(result!=null){
// alert("得到服务器的数据为:"+result+"类型为"+typeof result);
/*将字符串转化为json对象数组*/
var jsonObjs = JSON.parse(result);
// alert("jsonObjs="+jsonObjs+"jsonObjs的数据类型为"+typeof jsonObjs);
for (var i = 0; i < jsonObjs.length; i++) {
var item = jsonObjs[i];
// alert("email="+item.email+" nickname="+item.nickname+" contact="+item.contact+" messageText="+item.messageText+" messageID="+item.messageID+" sendTime="+item.sendTime);
$(".messageShow").append("<div class=\"box\">\n" +
" <div class=\"left\">\n" +
" <span class=\"sendTime\"></span>\n" +
" </div>\n" +
" <div class=\"center\">\n" +
" <span class=\"guestName\">\n" +
" \n" +
" </span>\n" +
" </div>\n" +
" <div class=\"right\">\n" +
" \n" +
" <span class=\"sendTime\"></span>\n" +
" </div>\n" +
" </div>");
$(".box:last .guestName").text(item.nickname);
if (item.messageID % 2 != 0){
// alert("ID是奇数");
$(".box:last .right").html(item.messageText+"<p><span class=\"sendTime\">---"+item.sendTime+"</span>");
// $(".box:last .right .sendTime").text("item.sendTime");
}else {
// alert("ID是偶数");
$(".box:last .left").html(item.messageText+"<p><span class=\"sendTime\">---"+item.sendTime+"</span>");
// $(".box:last .left .sendTime").text("item.sendTime");
}
}
}
}
});
/*设置提交留言按钮*/
$("#submitBtn").click(function () {
if ($("input[name=email]").val()==""|$("input[name=nickname]").val()==""|$("textarea[name=messageText]").val()==""){
alert("请按要求填写信息");
return;
}
// $("#submitBtn").attr("disabled","true");
$.ajax({
url: "GuestMessageServlet",
type: "post",
dataType: "json",
data: $('#form').serialize(),
success: function (result) {
/*接收服务器的值*/
// alert("email="+result.email+" nickname="+result.nickname+" contact="+result.contact+" messageText="+result.messageText+" messageID="+result.messageID+" sendTime="+result.sendTime);
// alert("服务器传来的数据类型为="+typeof result);
//根据留言数量判断显示的位置
$(".messageShow").append("<div class=\"box\">\n" +
" <div class=\"left\">\n" +
" <span class=\"sendTime\"></span>\n" +
" </div>\n" +
" <div class=\"center\">\n" +
" <span class=\"guestName\">\n" +
" \n" +
" </span>\n" +
" </div>\n" +
" <div class=\"right\">\n" +
" \n" +
" <span class=\"sendTime\"></span>\n" +
" </div>\n" +
" </div>");
$(".box:last .guestName").text(result.nickname);
if (result.messageID % 2 != 0){
// alert("ID是奇数");
$(".box:last .right").html(result.messageText+"<p><span class=\"sendTime\">---"+result.sendTime+"</span>");
// $(".box:last .right .sendTime").text(result.sendTime);
}else {
// alert("ID是偶数");
$(".box:last .left").html(result.messageText+"<p><span class=\"sendTime\">---"+result.sendTime+"</span>");
// $(".box:last .left .sendTime").text(result.sendTime);
}
/*清空填好的值*/
$("#form")[0].reset();
}
})
// alert($('#form').serialize());
// $.getJSON("http://localhost:8080/TeamWebProject/GuestMessageServlet","action=jQuerySerialize&" +
// $("#form").serialize(),
// function (data) {
// });
})
})
</script>
</div>
</div>
</div>
<div class="footer">
<div class="copyright">
Copyright © 2021-2022
<strong><a href="//www.zerotwo.red/" target="_blank">zerotwo.red</a></strong> All Rights Reserved. 备案号:<a target="_blank" rel="nofollow" href="https://beian.miit.gov.cn/">粤ICP备2021155110号</a>
</div>
</div>
</body>
</html>

@ -0,0 +1,96 @@
package com.hongxi.pojo;
import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;
/**
* @author Hongxi Yin
* @version 1.0
* @date 2022/6/9 21:36
*/
public class GuestMessage {
private String email;
private String nickname;
private String contact;
private String messageText;
private String sendTime;
private static Integer messageNum = 0;
private int messageID;
public int getMessageID() {
return messageID;
}
public void setMessageID(int messageID) {
this.messageID = messageID;
}
public static Integer getMessageNum() {
return messageNum;
}
public static void setMessageNum(Integer messageNum) {
GuestMessage.messageNum = messageNum;
}
@Override
public String toString() {
return "GuestMessage{" +
"email='" + email + '\'' +
", nickname='" + nickname + '\'' +
", contact='" + contact + '\'' +
", messageText='" + messageText + '\'' +
'}';
}
public String getEmail() {
return email;
}
public void setEmail(String email) {
this.email = email;
}
public String getNickname() {
return nickname;
}
public void setNickname(String nickname) {
this.nickname = nickname;
}
public String getContact() {
return contact;
}
public void setContact(String contact) {
this.contact = contact;
}
public String getMessageText() {
return messageText;
}
public void setMessageText(String messageText) {
this.messageText = messageText;
}
public GuestMessage(String email, String nickname, String contact, String messageText) {
this.email = email;
this.nickname = nickname;
this.contact = contact;
this.messageText = messageText;
this.messageID = ++messageNum;
this.sendTime = getSendTime();
}
private static String getSendTime(){
LocalDateTime dateTime = LocalDateTime.now();
DateTimeFormatter formatter = DateTimeFormatter.ofPattern("yyyy年MM月dd日 HH:mm:ss");
return dateTime.format(formatter);
}
}

@ -0,0 +1,71 @@
package com.hongxi.pojo;
/**
* @author Hongxi Yin
* @version 1.0
* @date 2022/6/7 20:33
*/
public class ImgDetail {
private Integer imgId;
private String imgPath;
private String detailTitle;
private String detailText;
public ImgDetail(Integer imgId, String imgPath, String detailTitle) {
this.imgId = imgId;
this.imgPath = imgPath;
this.detailTitle = detailTitle;
this.detailText = "**此处显示的是默认文本****此处显示的是默认文本****此处显示的是默认文本****此处显示的是默认文本**" +
"**此处显示的是默认文本**<p>**此处显示的是默认文本****此处显示的是默认文本****此处显示的是默认文本**</p><p>**此处显示的是默认文本**" +
"**此处显示的是默认文本****此处显示的是默认文本**</P>";
}
public ImgDetail(Integer imgId, String imgPath, String detailTitle, String detailText) {
this.imgId = imgId;
this.imgPath = imgPath;
this.detailTitle = detailTitle;
this.detailText = detailText;
}
public Integer getImgId() {
return imgId;
}
public void setImgId(Integer imgId) {
this.imgId = imgId;
}
public String getImgPath() {
return imgPath;
}
public void setImgPath(String imgPath) {
this.imgPath = imgPath;
}
public String getDetailTitle() {
return detailTitle;
}
public void setDetailTitle(String detailTitle) {
this.detailTitle = detailTitle;
}
public String getDetailText() {
return detailText;
}
public void setDetailText(String detailText) {
this.detailText = detailText;
}
@Override
public String toString() {
return "imgDetail{" +
"imgId=" + imgId +
", imgPath='" + imgPath + '\'' +
", detailTitle='" + detailTitle + '\'' +
", detailText='" + detailText + '\'' +
'}';
}
}

@ -0,0 +1,83 @@
package com.hongxi.web;
import com.google.gson.Gson;
import com.google.gson.reflect.TypeToken;
import com.hongxi.pojo.GuestMessage;
import org.junit.jupiter.api.Test;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.io.PrintWriter;
import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;
import java.util.ArrayList;
import java.util.List;
/**
* @author Hongxi Yin
* @version 1.0
* @date 2022/6/9 21:38
*/
@WebServlet(name = "GuestMessageServlet" ,value = "/GuestMessageServlet")
public class GuestMessageServlet extends HttpServlet {
public static List<GuestMessage> guestMessageArrayList = null;
public Gson gson = new Gson();
static {
guestMessageArrayList = new ArrayList<>();
}
@Test
public void testTime(){
LocalDateTime dateTime = LocalDateTime.now();
DateTimeFormatter formatter = DateTimeFormatter.ofPattern("yyyy年MM月dd日 HH:mm:ss");
System.out.println(dateTime.format(formatter));
}
@Override
protected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
// 解决post请求中文乱码问题
// 一定要在获取请求参数之前调用才有效
req.setCharacterEncoding("UTF-8");
// 解决响应中文乱码
resp.setContentType("text/html; charset=UTF-8");
PrintWriter writer = resp.getWriter();
//为了防止刷新页面导致页面信息丢失
if ("load".equals(req.getParameter("method"))){
if (guestMessageArrayList!=null){
//List转json字符串
String s = gson.toJson(guestMessageArrayList);
System.out.println("List转json字符串为"+s);
System.out.println("发送给客户端的Json集合数组为"+s);
writer.write(s);
}
}else {
System.out.println("得到Message表单信息");
System.out.println("来宾名为="+req.getParameter("nickname"));
System.out.println("邮箱为="+req.getParameter("email"));
System.out.println("联系方式为="+req.getParameter("contact"));
System.out.println("留言内容="+req.getParameter("messageText"));
GuestMessage guestMessage = new GuestMessage(req.getParameter("email"), req.getParameter("nickname"), req.getParameter("contact"), req.getParameter("messageText"));
guestMessageArrayList.add(guestMessage);
System.out.println("目前留言个数为="+GuestMessage.getMessageNum()+"内容为="+guestMessage);
//转化为json并传回客户端
String s = gson.toJson(guestMessage);
System.out.println("传回客户端的值为:"+s);
System.out.println("====================================");
writer.write(s);
}
}
}

@ -0,0 +1,57 @@
package com.hongxi.web;
import com.google.gson.Gson;
import com.hongxi.pojo.ImgDetail;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.HashMap;
/**
* @author Hongxi Yin
* @version 1.0
* @date 2022/6/7 15:55
*/
@WebServlet(name = "imgDetailServlet", value="/imgDetailServlet")
public class imgDetailServlet extends HttpServlet {
HashMap<String, ImgDetail> imgDetails =null;
{
// 加载各图片路径和文本
// ArrayList<imgDetail> imgDetails = new ArrayList<>();
// imgDetails.add(new imgDetail(1,"/path","旭日教学大楼"));
imgDetails = new HashMap<>();
imgDetails.put("imgOne",new ImgDetail(1,"img/SceneryTestImg/imgOne/1.jpg","旭日教学大楼","<p>旭日大楼是第一教学楼,位于蓬瀛湖畔、正对图书馆、紧邻操场,是学校最早建成的教学楼之一。</p><p>旭日大楼正门前坐拥全校最大的广场——旭日广场,平时晚上会有部分协会在广场上举行日常活动。在双子楼未建成前,旭日大楼是许多学院的主要上课地点,大楼前后左右各有一个出入口,正门位于旭日广场。</p>"));
imgDetails.put("imgTwo",new ImgDetail(2,"img/SceneryTestImg/imgTwo/1.jpg","电子楼","电子楼是学校的第五教学楼,也是电子、地旅、信息科学技术学院的主要教学楼。位于音乐楼对面,田家炳大楼旁,楼高六层。"));
imgDetails.put("imgThree",new ImgDetail(3,"img/SceneryTestImg/imgThree/1.jpg","特色建筑","惠州学院始祖丰湖书院,也就是今天西湖“聚贤堂”十二先生祠,千百年来,它相伴于惠州西湖。西湖的山水灵气、书院的人文气息、王守仁的遗迹、薛侃讲学传播的印迹,为惠州积聚了丰厚的文化底蕴。伊秉绶的楹联“学焉得其性之所近,览者将有感于斯文”,宋湘的名联“人文古邹鲁,山水小蓬瀛”,这些都历历在册,光华耀目。从西湖迁来的惠州学院,与金山湖山水气脉相连,它秉承先哲的精神风范,肩负弘扬惠州文化的历史使命,终将铸成一座名山,为后人景仰。"));
imgDetails.put("imgFour",new ImgDetail(4,"img/SceneryTestImg/imgFour/1.jpg","阆苑储英,人竞向学",
"<p>“阆苑储英” 出自清代名儒、曾任溥仪老师、丰湖书院山长的梁鼎芬18591919为丰湖书院撰写的楹联 “水湄山晖,平湖聚秀;春华秋实,阆苑储英。”</p>\n" +
"<p>“人竞向学”出自清代惠州知府程含章17631832的《增广丰湖书院膏火碑记》 “进所属俊髦士,延师教之。为之正其趋向,发其志气,增其书舍,厚其膏火,严其考课,亲为讲解文字。于是从者云集,人竞向学矣。”</p>\n" +
"<p>校训意为学院以优越的环境聚集和培养优秀人才,师生以好学笃行的精神开展学习与探索。</p>"));
}
@Override
protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
//解决中文乱码,设置响应文本格式
resp.setContentType("text/html; charset=UTF-8");
System.out.println("接收到AJAX请求");
String id = req.getParameter("choseId");
System.out.println("====id是"+id);
//服务器匹配接收到的id并以json形式发送给客户端
Gson gson = new Gson();
String imgDetailJsonString = gson.toJson(imgDetails.get(id));
System.out.println(imgDetailJsonString);
//发送给客户端
resp.getWriter().write(imgDetailJsonString);
System.out.println(id+"发送完成");
}
}

@ -0,0 +1,152 @@
<!DOCTYPE html>
<html lang="en">
<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="shortcut icon" href="img/github-red.png" type="image/x-icon"/>
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<div class="header">
<div class="header-logo">
<a href="index.html"><img src="img/HZUlogo.png"></a>
</div>
</div>
<div class="navbar">
<a href="index.html"><img class="button_home" src="img/home.png"> <span>首页</span></a>
<a href="HZUScenery.html"><img class="button_page" src="img/camera.png"> <span>惠院风光</span></a>
<!-- <a href="#"><img class="button_friends" src="img/github.png"> <span>小组介绍</span></a>-->
<a href="messageBoard.html" ><img class="button_ico" src="img/message-square.png"><span>留言板</span></a>
</div>
<div class="sceneryRow">
<div class="windowShades"> <!--各项大类图片-->
<div class="windowShadesContainer">
<!-- https://images.unsplash.com/photo-1558979158-65a1eaa08691?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1350&q=80 -->
<div id="imgOne" class="panel active" style="background-image:url('img/SceneryTestImg/imgOne/coverShow.jpg')">
<h3>旭日教学大楼</h3>
</div>
<!-- https://images.unsplash.com/photo-1572276596237-5db2c3e16c5d?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1350&q=80 -->
<div id="imgTwo" class="panel" style="background-image:url('img/SceneryTestImg/imgTwo/coverShow.jpg')">
<h3>电子楼</h3>
</div>
<div id="imgThree" class="panel" style="background-image:url('img/SceneryTestImg/imgThree/coverShow.jpg')">
<h3>特色建筑</h3>
</div>
<!-- https://images.unsplash.com/photo-1551009175-8a68da93d5f9?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1351&q=80 -->
<!-- <div class="panel" style="background-image:url('./images/WechatIMG431.jpeg')">
<h3>冬天的都市</h3>
</div> -->
<div id="imgFour" class="panel" style="background-image:url('img/SceneryTestImg/imgFour/coverShow.jpg')">
<h3>敦重明辨</h3>
</div>
</div>
</div>
<script src="js/script.js"></script>
<script src="js/jquery-3.6.0.js"></script>
<script>
/*实现百叶窗变化+AJAX*/
$(function () {
$(".panel").click(function () {
$(".panel").removeClass("active");
$(this).addClass("active");
/*完成百叶窗变化*/
/*使用AJAX显示详细信息*/
var id = $(this).attr("id");
// alert("当前点击图片的id为"+id);
$.ajax({
url:"imgDetailServlet",
data:{choseId:$(this).attr("id")}, /*得到点击图片的ID并传送给服务器*/
type:"GET",
success:function (serveData) {
// alert("imgPath="+serveData.imgPath+" detailTitle="+serveData.detailTitle+" detailText="+serveData.detailText);
//设置传送过来的数据
$(".detailText h1").html(serveData.detailTitle);
$(".detailText p").html(serveData.detailText);
// alert("从服务器得到的文本信息为:"+serveData.detailText);
$(".detailImg img").attr("src",serveData.imgPath);
// alert("设置图片路径为:"+serveData.imgPath);
//动画
$(".detailText").addClass("active");
},
dataType:"json"
});
})
/*第一次载入就进行请求*/
$.ajax({
url:"imgDetailServlet",
data:{choseId:"imgOne"}, /*得到点击图片的ID并传送给服务器*/
type:"GET",
success:function (serveData) {
// alert("imgPath="+serveData.imgPath+" detailTitle="+serveData.detailTitle+" detailText="+serveData.detailText);
//设置传送过来的数据
$(".detailText h1").html(serveData.detailTitle);
$(".detailText p").html(serveData.detailText);
// alert("从服务器得到的文本信息为:"+serveData.detailText);
$(".detailImg img").attr("src",serveData.imgPath);
// alert("设置图片路径为:"+serveData.imgPath);
//动画
$(".detailText").addClass("active");
},
dataType:"json"
});
})
</script>
<div class="imgDetailOuter">
<div class="detailImg">
<img src="img/SceneryTestImg/imgOne/1.jpg">
<!--实现图片手动轮播-->
<script>
$(function () {
$(".button").click(function () {
// alert($(this).attr("src"));
//思路:得到图片路径,轮换图片路径
var imgDom = $(".detailImg img");
var str = imgDom.attr("src");
// alert("得到的图片路径="+str);
var matchNum = str.match(/\d+/g);
if (matchNum<=1){
matchNum++;
}else if (matchNum>=2){ /*此处设置图片数*/
matchNum--;
}
// alert(matchNum);
var result = str.replace(/\d+/g,matchNum);
// alert("result="+result);
imgDom.attr("src",result);
})
})
</script>
</div>
<!-- <img class="refreshButton" src="img/SceneryTestImg/refresh-cw.png">-->
<button class="button" style="vertical-align:middle"><span>切换图片<img src="img/SceneryTestImg/refresh-cw.png"></span></button>
<div class="detailText">
<h1>旭日教学大楼</h1>
<p></p>
<!-- <p>旭日大楼正门前坐拥全校最大的广场——旭日广场,平时晚上会有部分协会在广场上举行日常活动。在双子楼未建成前,旭日大楼是许多学院的主要上课地点,大楼前后左右各有一个出入口,正门位于旭日广场。</p>-->
</div>
</div>
</div>
<div class="footer">
<div class="copyright">
Copyright © 2021-2022
<strong><a href="//www.zerotwo.red/" target="_blank">zerotwo.red</a></strong> All Rights Reserved. 备案号:<a target="_blank" rel="nofollow" href="https://beian.miit.gov.cn/">粤ICP备2021155110号</a>
</div>
</div>
</body>
</html>

@ -0,0 +1,85 @@
<!DOCTYPE html>
<html lang="en">
<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>
<div class="messageShow">
<div class="box">
<div class="left">
</div>
<div class="center">
<span>
2018
</span>
</div>
<div class="right">
千万不要放纵自己,给自己找借口。对自己严格一点儿,时间长了,自律便成为一种习惯,一种生活方式,你的人格和智慧也因此变得更加完美。
</div>
</div>
<div class="box">
<div class="left">
人生就那么短,不要为了变成别人喜欢的样子,委屈了自己。该开心时开心,想发泄就发泄。过好自己生活的第一件事,就是为自己而活。
</div>
<div class="center">
<span>
2019
</span>
</div>
<div class="right">
</div>
</div>
<div class="box">
<div class="left">
</div>
<div class="center">
<span>
2020
</span>
</div>
<div class="right">
如果我们质疑一个人扯谎,我们就应该伪装信任他,由于他会变得愈来愈神勇而有自信,并更斗胆地扯谎,最后会自己揭开自己的面具。
</div>
</div>
<div class="box">
<div class="left">
如果我们质疑一个人扯谎,我们就应该伪装信任他,由于他会变得愈来愈神勇而有自信,并更斗胆地扯谎,最后会自己揭开自己的面具。
</div>
<div class="center">
<span>
2021
</span>
</div>
<div class="right">
</div>
</div>
<div class="box">
<div class="left">
</div>
<div class="center">
<span>
2022
</span>
</div>
<div class="right">
没有谁天生是属于谁的,任何人来到你身边愿意为你停下脚步,都是一件值得珍惜的事。这世上什么东西都有个保质期,没有比心存感激更好的保质方法,爱是用心,不是敷衍。
</div>
</div>
</div>
</body>
</html>

@ -0,0 +1,82 @@
*{
/* 初始化内外边距 */
margin: 0;
padding: 0;
}
body{
/* 弹性布局 文字居中 */
display: flex;
justify-content: center;
/* 背景颜色 */
background-color: rgb(164, 170, 206);
}
.messageShow{
width: 1000px;
/* 相对定位 */
position: relative;
top: 100px;
}
.messageShow::after{
content: "";
/* 绝对定位 */
position: absolute;
top: -100px;
left: 50%;
width: 5px;
z-index: -999;
height: 100%;
background-color: rgba(255, 0, 0, 0.5);
}
.box{
/* 相对定位 */
position: relative;
width: 100%;
height: 120px;
margin-bottom: 50px;
display: flex;
/*
*/
justify-content: space-between;
}
.left,.right{
position: relative;
width: 40%;
height: 120px;
/* background-color: rgba(255,255,255,.5); */
border-radius: 15px;
color: rgb(90, 90, 90);
text-align: center;
}
/* 页面范围内偶数的匹配元素 */
.box:nth-child(even) .left{
background-color: rgba(255, 255, 255,.4);
box-shadow: rgba(0, 0, 0,.3);
}
/* 页面范围内奇数的匹配元素 */
.box:nth-child(odd) .right{
background-color: rgba(255, 255, 255,.4);
box-shadow: rgba(0, 0, 0,.3);
}
.center{
width: 15%;
display: flex;
justify-content: center;
align-items: center;
}
/* >是子元素选择器 */
.center > span{
width: 120px;
border-radius: 10px;
text-align: center;
font: 900 24px '';
line-height: 50px;
background-color: #fff;
}

@ -0,0 +1,745 @@
/*--
Author: W3layouts
Author URL: http://w3layouts.com
License: Creative Commons Attribution 3.0 Unported
License URL: http://creativecommons.org/licenses/by/3.0/
--*/
/*--reset--*/
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,dl,dt,dd,ol,nav ul,nav li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline;}
article, aside, details, figcaption, figure,footer, header, hgroup, menu, nav, section {display: block;}
ol,ul{list-style:none;margin:0px;padding:0px;}
blockquote,q{quotes:none;}
blockquote:before,blockquote:after,q:before,q:after{content:'';content:none;}
table{border-collapse:collapse;border-spacing:0;}
/*--start editing from here--*/
a{text-decoration:none;}
.txt-rt{text-align:right;}/* text align right */
.txt-lt{text-align:left;}/* text align left */
.txt-center{text-align:center;}/* text align center */
.float-rt{float:right;}/* float right */
.float-lt{float:left;}/* float left */
.clear{clear:both;}/* clear float */
.pos-relative{position:relative;}/* Position Relative */
.pos-absolute{position:absolute;}/* Position Absolute */
.vertical-base{ vertical-align:baseline;}/* vertical align baseline */
.vertical-top{ vertical-align:top;}/* vertical align top */
nav.vertical ul li{ display:block;}/* vertical menu */
nav.horizontal ul li{ display: inline-block;}/* horizontal menu */
img{max-width:100%;}
/*--end reset--*/
body {
margin:0;
font-family: 'PT Sans', sans-serif;
}
h1,h2,h3,h4,h5,h6,input,p,a,select,button,textarea,label{
font-family: 'Josefin Sans', sans-serif;
margin:0;
font-weight:400;
}
.clear{clear:both;}
body a{
transition:0.5s all;
-webkit-transition:0.5s all;
-moz-transition:0.5s all;
-o-transition:0.5s all;
-ms-transition:0.5s all;
text-decoration: none;}
input[type="button"],input[type="submit"]{
transition:0.5s all;
-webkit-transition:0.5s all;
-moz-transition:0.5s all;
-o-transition:0.5s all;
-ms-transition:0.5s all;
}
h1,h2,h3,h4,h5,h6{
margin:0;
transition:0.5s all;
-webkit-transition:0.5s all;
-moz-transition:0.5s all;
-o-transition:0.5s all;
-ms-transition:0.5s all;
}
p{
margin:0;
}
ul{
margin:0;
padding:0;
}
.text-center {
text-align: center;
}
.agileits_w3layouts {
background:url(../images/banner.jpg)no-repeat;
background-size: cover;
background-attachment: fixed;
}
.wrap {
padding: 2.3em;
width: 37%;
margin: 2em auto;
background: rgba(16, 16, 16, 0.72);
}
h1.agile_head {
padding-top: 1em;
font-size: 2.8em;
text-transform: uppercase;
color: #fff;
font-weight: 600;
font-family: 'Josefin Sans', sans-serif;
letter-spacing: 6px;
line-height:1.5;
}
/* feedback-form*/
.w3layouts_main h2 {
font-size: 2em;
color: #1ec8e9;
text-align: center;
line-height: 1.5;
font-weight: 600;
letter-spacing: 1px;
text-transform: uppercase;
}
.agile_form h2 {
font-size: 0.9em;
color:#1ec8e9;
margin: 1em 0;
line-height: 1.5;
}
form.agile_form {
padding: 1em 0;
}
.w3layouts_main.wrap p ,.w3layouts_main.wrap h6{
color: #fff;
margin: 0 0 1.5em 0;
font-size: 1.2em;
text-align: center;
}
.w3layouts_main.wrap h6{
text-align:left;
}
.agile_form input[type=text]{
float:left;
}
.agile_form input[type=text]{
padding:0.9em 1em;
color: #fff;
width: 88%;
font-size:1em;
outline: none;
border: 1px solid #848484;
background: rgba(88, 88, 88, 0.08);
}
.agile_form input[type="email"] {
width: 94%;
padding: 0.9em 1em;
margin: 0em 0em 1em 0;
color: #fff;
font-size: 1em;
outline: none;
border: 1px solid #848484;
background: rgba(88, 88, 88, 0.08);
}
.agile_form textarea {
font-size: 0.85em;
color: #fff;
padding: 0.8em 1em;
margin-bottom: 1em;
width: 94.5%;
outline: none;
resize: none;
height: 7em;
border: 1px solid #848484;
background: rgba(88, 88, 88, 0.08);
}
.agile_form ul {
width: 43%;
list-style-type: none;
float: left;
margin:1em 1.6em;
position:relative;
}
.agile_form ul li {
color: #f5e7cc;
position: relative;
display: inline-block;
}
.agile_form ul li input[type=radio]{
position: absolute;
visibility: hidden;
}
.agile_form ul li label {
display: inline-block;
position: relative;
font-size: 1.1em;
padding: 0.5em 0em 0.5em 1em;
margin: 3em 0 0 0.8em;
z-index: 9;
cursor: pointer;
text-transform: capitalize;
-webkit-transition: all 0.25s linear;
}
.agile_form h4.w3ls-left {
display: inline;
float: left;
width: 24%;
font-size:1.1em;
letter-spacing:1px;
text-align:center;
background:#1ec8e9;
padding: 0.5em 0em;
margin-top: 3em;
position:relative;
border-radius:5px;
color:#fff;
}
.agile_form h4.w3ls-left:before {
position: absolute;
top: 12px;
right: -17px;
background: transparent;
content: "";
border-left: 10px solid transparent;
border-right: 10px solid transparent;
border-bottom: 14px solid#1ec8e9;
transform: rotate(90deg);
-webkit-transform: rotate(90deg);
-moz-transform: rotate(90deg);
-o-transform: rotate(90deg);
-ms-transform: rotate(90deg);
}
.agile_form h4.w3ls-right {
float: left;
text-align: center;
position: relative;
background: #1ec8e9;
padding: 0.5em 0em;
width: 24%;
font-size: 1.1em;
color: #fff;
margin-top: 3em;
letter-spacing: 1px;
border-radius: 5px;
}
h4.w3ls-right:after {
position: absolute;
top: 12px;
left: -17px;
background: transparent;
content: "";
border-left: 10px solid transparent;
border-right: 10px solid transparent;
border-bottom: 14px solid #1ec8e9;
transform: rotate(270deg);
-webkit-transform: rotate(270deg);
-moz-transform: rotate(270deg);
-o-transform: rotate(270deg);
-ms-transform: rotate(270deg);
}
.agile_form ul li label:hover {
color:#fff;
}
.checkbox {
position: relative;
padding-left: 38px !important;
cursor: pointer;
}
ul li .check {
display: block;
position: absolute;
border: 3px solid #fff;
border-radius: 100%;
height: 13px;
width: 13px;
top: 22%;
left: 26px;
z-index: 5;
transition: border .25s linear;
-webkit-transition: border .25s linear;
}
.agile_form ul li:hover .check {
border: 3px solid #1ec8e9;
}
.agile_form ul li .check::before {
display: block;
position: absolute;
content: '';
border-radius: 100%;
height: 5px;
width: 5px;
top: 4px;
left: 4px;
margin: auto;
transition: background 0.25s linear;
-webkit-transition: background 0.25s linear;
}
.agile_form input[type=radio]:checked ~ .check {
border: 3px solid #1ec8e9;
}
.agileits-rating {
margin: 1em 0 1.5em;
}
.agile_form input[type=radio]:checked ~ .check::before{
background: #eccff1;
}
.agileits-rating h5 {
color: #fff;
font-family: 'PT Sans', sans-serif;
font-size:1.1em;
font-weight:400;
}
.agile_form input[type=radio]:checked ~ label{
color: #FFC107;}
.textarea.w3l_summary {
min-height: 4em;
background: rgba(25, 5, 20, 0.48);
font-size: 0.85em;
}
.agile_form input[type="submit"] {
width:30%;
text-transform: uppercase;
outline: none;
border: none;
cursor: pointer;
color: #f5ecf1;
font-size:1em;
font-weight:600;
padding: 0.85em 0;
letter-spacing: 1px;
border-radius: 5px;
border: 1px solid #696867;
background: rgba(16, 16, 16, 0.47);
}
.agile_form input[type="submit"]:hover {
color: #f7f7f7;
background: rgb(30, 200, 233);
}
i.icon_agileits {
color: #000;
margin-right: 0.5em;
}
.agileits_copyright p {
font-size: 1em;
letter-spacing: 1px;
color: #fff;
padding-bottom: 2em;
line-height: 2;
}
.agileits_copyright a {
color: #fff;
}
.agileits_copyright a:hover {
color: #FFC107;
text-decoration: none;
}
/* // feedback-form*/
.icon1, .icon2 {
position: relative;
margin-top: 1.3em;
}
.icon1 i{
left: 0;
font-size: 1em;
letter-spacing: 1px;
position: absolute;
color: #fff;
top: -50%;
font-family: 'PT Sans', sans-serif;
}
.icon2 i {
left:0;
font-size: 1em;
letter-spacing: 1px;
position: absolute;
color: #fff;
top: -68%;
font-family: 'PT Sans', sans-serif;
}
.icon1.w3ls-name1 {
float: left;
width: 47%;
margin-right: 0.5em;
}
.icon1{
padding-bottom:1em!important;
}
.icon2{
float:right;
width:50%;
}
ul.agile_info_numlist li {
display: inline-block;
margin: 1em 1em;
}
.rem-w3 {
margin: 1.5em 0;
}
span.check-w3 {
float: left;
color: #fff;
font-size: 13.5px;
letter-spacing: 1px;
}
.rem-w3 a {
color: #fff;
float: right;
font-size: 13.5px;
letter-spacing: 1px;
}
.rem-w3 a:hover{
color: #dd4b39;
transition: 0.5s all;
-webkit-transition: 0.5s all;
-o-transition: 0.5s all;
-moz-transition: 0.5s all;
-ms-transition: 0.5s all;
}
.sub-main-w3 h6 {
color: #fff;
font-size: 14px;
letter-spacing: 1px;
margin: 10px 0;
}
/* -- Responsive code -- */
@media screen and (max-width: 1440px){
.wrap {
width: 40%;
}
}
@media screen and (max-width: 1366px){
.wrap {
padding: 2.5em;
width: 43%;
}
}
@media screen and (max-width: 1280px){
.wrap {
width: 45%;
}
}
@media screen and (max-width: 1080px){
.wrap {
width: 56%;
}
.w3layouts_main h2 {
font-size: 1.8em;
}
}
@media screen and (max-width: 1024px){
h1.agile_head {
font-size: 2.6em;
}
.wrap {
width: 57%;
}
.agile_form input[type="submit"] {
padding: 0.7em 0;
}
}
@media screen and (max-width: 991px){
.agile_form h4.w3ls-left,.agile_form h4.w3ls-right {
width: 23%;
}
.agile_form ul {
width: 44.6%;
}
}
@media screen and (max-width: 900px){
.wrap {
width: 62%;
}
}
@media screen and (max-width: 800px){
.wrap {
width: 70%;
}
}
@media screen and (max-width: 768px){
.wrap {
width: 73%;
}
}
@media screen and (max-width: 736px){
.wrap {
width: 76%;
}
h1.agile_head {
font-size: 2.4em;
}
}
@media screen and (max-width: 667px){
.w3layouts_main h2 {
font-size: 1.6em;
}
.agile_form h4.w3ls-left, .agile_form h4.w3ls-right {
width: 22%;
}
.agile_form ul li label {
margin: 3em 0 0 0.8em;
}
.agile_form input[type="email"] {
width: 93%;
}
.agile_form input[type=text] {
width: 86%;
}
.agile_form textarea {
width: 94%;
}
.agile_form ul {
margin: 1em 2.5em 0 1em;
}
}
@media screen and (max-width: 640px){
.agile_form ul {
width: 50.5%;
margin: 1em 0.8em 0 0.8em;
}
}
@media screen and (max-width: 600px){
h1.agile_head {
padding-top: 1.3em;
letter-spacing: 4px;
}
.agile_form input[type="email"] {
width: 92%;
}
.agile_form h4.w3ls-left, .agile_form h4.w3ls-right {
width: 100%;
}
.icon1.w3ls-name1,.icon2 {
width: 100%;
float: none;
margin:1em 0;
}
.icon1.w3ls-name1 i {
top: -35px;
}
.icon2 {
margin: 5.2em 0 0;
}
.icon2 i {
top: -35px;
}
.agile_form ul li label {
margin: 3em 0.8em 0;
}
.agile_form h4.w3ls-left {
margin-top: 1em;
}
.agileits-rating {
margin: 2em 0 1.5em;
}
.agile_form ul {
width: 100%;
margin: 1em 0;
text-align: center;
}
.agile_form input[type=text]{
width:92%;
}
.agile_form h4.w3ls-right{
margin-top:1em;
}
h4.w3ls-right:after {
top: -14px;
left: 90%;
width: 0;
transform: rotate(0deg);
-webkit-transform: rotate(0deg);
-moz-transform: rotate(0deg);
-o-transform: rotate(0deg);
-ms-transform: rotate(0deg);
}
.agile_form h4.w3ls-left:before {
width:0;
top: 38px;
left: 20px;
transform: rotate(180deg);
-webkit-transform: rotate(180deg);
-moz-transform: rotate(180deg);
-o-transform: rotate(180deg);
-ms-transform: rotate(180deg);
}
.agile_form textarea {
width: 93%;
}
}
@media screen and (max-width: 568px){
.wrap {
width: 74%;
}
.agile_form input[type="email"],.agile_form input[type=text] {
padding: 0.8em 1em;
width: 91%;
}
}
@media screen and (max-width: 480px){
h1.agile_head {
font-size: 2.2em;
}
.w3layouts_main h2 {
font-size: 1.4em;
}
.wrap {
margin: 1em auto;
width: 74%;
}
.agile_form input[type="submit"] {
margin-top: 1em;
font-size: 0.8em;
}
h1.agile_head {
font-size: 1.8em;
}
.w3layouts_main h3,.agile_form h2{
font-size: 0.9em;
}
ul li .check {
height: 10px;
width: 10px;
top: 11px;
}
.agile_form ul li .check::before {
height: 4px;
width: 4px;
top: 3px;
left: 3px;
}
h4.w3ls-right:after {
left: 87%;
}
.agileits_copyright p{
padding-bottom: 1em;
}
.agileits_copyright a{
padding:0;
}
.agileits_copyright p {
font-size: 15px;
padding: 1em;
}
.agile_form input[type="email"], .agile_form input[type=text] {
padding: 0.8em 1em;
width: 90%;
}
.agile_form textarea {
width: 91%;
}
.agile_form ul {
margin: 1em 0 0;
}
}
@media screen and (max-width: 414px){
.agileits_copyright p, .agileits_copyright a {
font-size: 14px;
}
.w3layouts_main h2 {
font-size: 1.2em;
}
.agile_form input[type="email"], .agile_form input[type=text] {
width: 88%;
}
.agile_form textarea {
width: 90%;
}
}
@media screen and (max-width: 384px){
.w3layouts_main h2 {
font-size: 1.1em;
}
.agileits_copyright p {
padding: 0.5em;
}
h1.agile_head {
font-size: 1.8em;
}
.wrap {
margin: 1.7em auto;
}
.agile_form ul li label {
margin: 3em 0.5em 0;
}
ul li .check {
left: 22px
}
.agileits_copyright p {
padding: 1em;
}
.agile_form input[type="email"], .agile_form input[type=text] {
width: 87%;
}
.agile_form textarea {
width: 89%;
}
}
@media screen and (max-width: 375px){
h1.agile_head {
letter-spacing: 1px;
}
.w3layouts_main h2 {
font-size: 1em;
}
.w3layouts_main.wrap p, .w3layouts_main.wrap h6 {
font-size: 1.1em;
}
.wrap {
padding: 2em;
}
}
@media screen and (max-width: 320px){
h1.agile_head {
padding-top: 0.5em;
}
.wrap {
padding: 1.5em;
margin: 1em auto;
}
h1.agile_head {
font-size: 1.7em;
letter-spacing: 2px;
}
.agile_form textarea {
height: 6em;
}
.agile_form ul li label {
margin: 3em 0.5em 0 0em;
}
ul li .check {
left: 13px;
}
.agile_form input[type="email"], .agile_form input[type=text] {
width: 89%;
}
.agile_form input[type=text], .agile_form input[type="email"] {
font-size: 0.7em;
}
.agile_form input[type="submit"] {
font-size: 0.7em;
}
.agileits_copyright p {
padding: .6em;
}
.w3layouts_main.wrap p, .w3layouts_main.wrap h6 {
font-size: 1em;
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 98 KiB

@ -0,0 +1,78 @@
<!--Author: W3layouts
Author URL: http://w3layouts.com
License: Creative Commons Attribution 3.0 Unported
License URL: http://creativecommons.org/licenses/by/3.0/-->
<!DOCTYPE html>
<html>
<head>
<title>Rate My Website Flat Responsive Template :: w3layouts</title>
<!-- custom-theme -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="Rate My Website Responsive web template, Bootstrap Web Templates, Flat Web Templates, Android Compatible web template, Smartphone Compatible web template, free webdesigns for Nokia, Samsung, LG, SonyEricsson, Motorola web design" />
<script type="application/x-javascript"> addEventListener("load", function() { setTimeout(hideURLbar, 0); }, false);
function hideURLbar(){ window.scrollTo(0,1); } </script>
<!-- //custom-theme -->
<link href="css/style.css" rel="stylesheet" type="text/css" media="all" />
<link href="//fonts.googleapis.com/css?family=Josefin+Sans:100,100i,300,300i,400,400i,600,600i,700,700i" rel="stylesheet">
<link href="//fonts.googleapis.com/css?family=PT+Sans:400,400i,700,700i" rel="stylesheet">
</head>
<body class="agileits_w3layouts">
<h1 class="agile_head text-center">Rate My Website</h1>
<div class="w3layouts_main wrap">
<h2>DO you like our new site?</h2>
<p>let us know your experience.</p>
<form action="#" method="post" class="agile_form">
<div class="icon1">
<i>Email</i>
<input placeholder="emailTest " name="Email" type="email" required="">
</div>
<div class="icon1 w3ls-name1">
<i>First Name</i>
<input placeholder=" " name="first name" type="text" required="">
</div>
<div class="icon2">
<i>Last Name</i>
<input placeholder=" " name="last name" type="text" required="">
</div>
<div class="clear"></div>
<!--评分-->
<!-- <div class="agileits-rating">-->
<!-- <h5>Please rate our site</h5>-->
<!-- <h4 class="w3ls-left">Not Bad</h4>-->
<!-- <ul class="agile_info_select">-->
<!-- <li><input type="radio" name="view" id="bad"> -->
<!-- <label for="bad">1</label>-->
<!-- <div class="check w3"></div>-->
<!-- </li>-->
<!-- <li><input type="radio" name="view" id="poor" checked="checked"> -->
<!-- <label for="poor">2</label>-->
<!-- <div class="check w3ls"></div>-->
<!-- </li>-->
<!-- <li><input type="radio" name="view" id="neutral"> -->
<!-- <label for="neutral">3</label>-->
<!-- <div class="check wthree"></div>-->
<!-- </li>-->
<!-- <li><input type="radio" name="view" id="good"> -->
<!-- <label for="good">4</label>-->
<!-- <div class="check w3_agileits"></div>-->
<!-- </li>-->
<!-- <li><input type="radio" name="view" id="excellent"> -->
<!-- <label for="excellent">5</label>-->
<!-- <div class="check w3_agileits"></div>-->
<!-- </li>-->
<!-- </ul>-->
<!-- <h4 class="w3ls-right">Excellent</h4>-->
<!-- <div class="clear"></div>-->
<!-- </div> -->
<h6>How would you suggest to improve it</h6>
<textarea class="w3l_summary" required=""></textarea>
<input type="submit" value="Submit">
</form>
</div>
<div class="agileits_copyright text-center">
<p>© 2017 Rate My Website. All rights reserved | Design by <a href="//w3layouts.com/" class="w3_agile">W3layouts</a></p>
</div>
</body>
</html>

Binary file not shown.

Binary file not shown.

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_4_0.xsd"
version="4.0">
</web-app>

@ -0,0 +1,534 @@
/*--
Author: W3layouts
Author URL: http://w3layouts.com
License: Creative Commons Attribution 3.0 Unported
License URL: http://creativecommons.org/licenses/by/3.0/
--*/
/*--reset--*/
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,dl,dt,dd,ol,nav ul,nav li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline;}
article, aside, details, figcaption, figure,footer, header, hgroup, menu, nav, section {display: block;}
ol,ul{list-style:none;margin:0px;padding:0px;}
blockquote,q{quotes:none;}
blockquote:before,blockquote:after,q:before,q:after{content:'';content:none;}
table{border-collapse:collapse;border-spacing:0;}
/*--start editing from here--*/
a{text-decoration:none;}
.clear{clear:both;}/* clear float */
.pos-relative{position:relative;}/* Position Relative */
.pos-absolute{position:absolute;}/* Position Absolute */
.vertical-base{ vertical-align:baseline;}/* vertical align baseline */
.vertical-top{ vertical-align:top;}/* vertical align top */
nav.vertical ul li{ display:block;}/* vertical menu */
nav.horizontal ul li{ display: inline-block;}/* horizontal menu */
img{max-width:100%;}
/*--end reset--*/
.messageBoardOuter{
width: 100%;
}
body {
margin:0;
font-family: 'PT Sans', sans-serif;
}
h1,h2,h3,h4,h5,h6,input,p,a,select,button,textarea,label{
font-family: 'Josefin Sans', sans-serif;
margin:0;
font-weight:400;
}
.clear{clear:both;}
body a{
transition:0.5s all;
-webkit-transition:0.5s all;
-moz-transition:0.5s all;
-o-transition:0.5s all;
-ms-transition:0.5s all;
text-decoration: none;}
input[type="button"],input[type="button"]{
transition:0.5s all;
-webkit-transition:0.5s all;
-moz-transition:0.5s all;
-o-transition:0.5s all;
-ms-transition:0.5s all;
}
h1,h2,h3,h4,h5,h6{
margin:0;
transition:0.5s all;
-webkit-transition:0.5s all;
-moz-transition:0.5s all;
-o-transition:0.5s all;
-ms-transition:0.5s all;
}
p{
margin:0;
}
ul{
margin:0;
padding:0;
}
.text-center {
text-align: center;
}
/* feedback-form*/
.agile_form h2 {
font-size: 0.9em;
color:#1ec8e9;
margin: 1em 0;
line-height: 1.5;
}
form.agile_form {
padding: 1em 0;
}
.agile_form input[type=text]{
float:left;
}
.agile_form input[type=text]{
padding:0.9em 1em;
color: #000000;
width: 88%;
font-size:1em;
outline: none;
border: 1px solid #848484;
background: rgba(88, 88, 88, 0.08);
}
.agile_form input[type="email"] {
width: 94%;
padding: 0.9em 1em;
margin: 0em 0em 1em 0;
color: #000000;
font-size: 1em;
outline: none;
border: 1px solid #848484;
background: rgba(88, 88, 88, 0.08);
}
.agile_form textarea {
font-size: 0.85em;
color: #000000;
padding: 0.8em 1em;
margin-bottom: 1em;
width: 94.5%;
outline: none;
resize: none;
height: 7em;
border: 1px solid #848484;
background: rgba(88, 88, 88, 0.08);
}
.agile_form ul {
width: 43%;
list-style-type: none;
float: left;
margin:1em 1.6em;
position:relative;
}
.agile_form ul li {
color: #f5e7cc;
position: relative;
display: inline-block;
}
.agile_form ul li input[type=radio]{
position: absolute;
visibility: hidden;
}
.agile_form ul li label {
display: inline-block;
position: relative;
font-size: 1.1em;
padding: 0.5em 0em 0.5em 1em;
margin: 3em 0 0 0.8em;
z-index: 9;
cursor: pointer;
text-transform: capitalize;
-webkit-transition: all 0.25s linear;
}
.agile_form h4.w3ls-left {
display: inline;
float: left;
width: 24%;
font-size:1.1em;
letter-spacing:1px;
text-align:center;
background:#1ec8e9;
padding: 0.5em 0em;
margin-top: 3em;
position:relative;
border-radius:5px;
color:#fff;
}
.agile_form h4.w3ls-left:before {
position: absolute;
top: 12px;
right: -17px;
background: transparent;
content: "";
border-left: 10px solid transparent;
border-right: 10px solid transparent;
border-bottom: 14px solid#1ec8e9;
transform: rotate(90deg);
-webkit-transform: rotate(90deg);
-moz-transform: rotate(90deg);
-o-transform: rotate(90deg);
-ms-transform: rotate(90deg);
}
.agile_form ul li label:hover {
color:#fff;
}
.checkbox {
position: relative;
padding-left: 38px !important;
cursor: pointer;
}
ul li .check {
display: block;
position: absolute;
border: 3px solid #fff;
border-radius: 100%;
height: 13px;
width: 13px;
top: 22%;
left: 26px;
z-index: 5;
transition: border .25s linear;
-webkit-transition: border .25s linear;
}
.agile_form ul li:hover .check {
border: 3px solid #1ec8e9;
}
.agile_form ul li .check::before {
display: block;
position: absolute;
content: '';
border-radius: 100%;
height: 5px;
width: 5px;
top: 4px;
left: 4px;
margin: auto;
transition: background 0.25s linear;
-webkit-transition: background 0.25s linear;
}
.agile_form input[type=radio]:checked ~ .check {
border: 3px solid #1ec8e9;
}
.agileits-rating {
margin: 1em 0 1.5em;
}
.agile_form input[type=radio]:checked ~ .check::before{
background: #eccff1;
}
.agileits-rating h5 {
color: #fff;
font-family: 'PT Sans', sans-serif;
font-size:1.1em;
font-weight:400;
}
.agile_form input[type=radio]:checked ~ label{
color: #FFC107;}
.textarea.w3l_summary {
min-height: 4em;
background: rgba(25, 5, 20, 0.48);
font-size: 0.85em;
}
.agile_form input[type="button"] {
width:50%;
text-transform: uppercase;
outline: none;
border: none;
cursor: pointer;
color: #eef5ec;
font-size:1em;
font-weight:600;
padding: 0.85em 0;
letter-spacing: 1px;
border-radius: 5px;
border: 1px solid #696867;
background: rgba(16, 16, 16, 0.47);
}
.agile_form input[type="button"]:hover:hover {
color: #2b2626;
background: rgb(230, 192, 85);
}
i.icon_agileits {
color: #000;
margin-right: 0.5em;
}
/* // feedback-form*/
/*表单文字*/
.icon1, .icon2 {
position: relative;
margin-top: 1.3em;
}
.icon1 i{
left: 0;
font-size: 1em;
letter-spacing: 1px;
position: absolute;
color: #000000;
top: -50%;
font-family: 'PT Sans', sans-serif;
}
.icon2 i {
left:0;
font-size: 1em;
letter-spacing: 1px;
position: absolute;
color: #000000;
top: -68%;
font-family: 'PT Sans', sans-serif;
}
.icon1.w3ls-name1 {
float: left;
width: 47%;
margin-right: 0.5em;
}
.icon1{
padding-bottom:1em!important;
}
.icon2{
float:right;
width:50%;
}
ul. li {
display: inline-block;
margin: 1em 1em;
}
. {
margin: 1.5em 0;
}
span. {
float: left;
color: #fff;
font-size: 13.5px;
letter-spacing: 1px;
}
. a {
color: #fff;
float: right;
font-size: 13.5px;
letter-spacing: 1px;
}
. a:hover{
color: #dd4b39;
transition: 0.5s all;
-webkit-transition: 0.5s all;
-o-transition: 0.5s all;
-moz-transition: 0.5s all;
-ms-transition: 0.5s all;
}
.sub-main-w3 h6 {
color: #fff;
font-size: 14px;
letter-spacing: 1px;
margin: 10px 0;
}
/* -- Responsive code -- */
@media screen and (max-width: 1024px){
.agile_form input[type="button"] {
padding: 0.7em 0;
}
}
@media screen and (max-width: 667px){
.agile_form ul li label {
margin: 3em 0 0 0.8em;
}
.agile_form input[type="email"] {
width: 93%;
}
.agile_form input[type=text] {
width: 86%;
}
.agile_form textarea {
width: 94%;
}
.agile_form ul {
margin: 1em 2.5em 0 1em;
}
}
@media screen and (max-width: 640px){
.agile_form ul {
width: 50.5%;
margin: 1em 0.8em 0 0.8em;
}
}
@media screen and (max-width: 600px){
.agile_form input[type="email"] {
width: 92%;
}
.icon1.w3ls-name1,.icon2 {
width: 100%;
float: none;
margin:1em 0;
}
.icon1.w3ls-name1 i {
top: -35px;
}
.icon2 {
margin: 5.2em 0 0;
}
.icon2 i {
top: -35px;
}
.agile_form ul li label {
margin: 3em 0.8em 0;
}
.agile_form h4.w3ls-left {
margin-top: 1em;
}
.agileits-rating {
margin: 2em 0 1.5em;
}
.agile_form ul {
width: 100%;
margin: 1em 0;
text-align: center;
}
.agile_form input[type=text]{
width:92%;
}
.agile_form h4.w3ls-left:before {
width:0;
top: 38px;
left: 20px;
transform: rotate(180deg);
-webkit-transform: rotate(180deg);
-moz-transform: rotate(180deg);
-o-transform: rotate(180deg);
-ms-transform: rotate(180deg);
}
.agile_form textarea {
width: 93%;
}
}
@media screen and (max-width: 1040px){
.icon1.w3ls-name1,.icon2 {
width: 100%;
}
}
@media screen and (max-width: 568px){
.agile_form input[type="email"],.agile_form input[type=text] {
padding: 0.8em 1em;
width: 91%;
}
}
@media screen and (max-width: 480px){
.agile_form input[type="button"] {
margin-top: 1em;
font-size: 0.8em;
}
ul li .check {
height: 10px;
width: 10px;
top: 11px;
}
.agile_form ul li .check::before {
height: 4px;
width: 4px;
top: 3px;
left: 3px;
}
.agile_form input[type="email"], .agile_form input[type=text] {
padding: 0.8em 1em;
width: 90%;
}
.agile_form textarea {
width: 91%;
}
.agile_form ul {
margin: 1em 0 0;
}
}
@media screen and (max-width: 414px){
.agile_form input[type="email"], .agile_form input[type=text] {
width: 88%;
}
.agile_form textarea {
width: 90%;
}
}
@media screen and (max-width: 384px){
.agile_form ul li label {
margin: 3em 0.5em 0;
}
ul li .check {
left: 22px
}
.agile_form input[type="email"], .agile_form input[type=text] {
width: 87%;
}
.agile_form textarea {
width: 89%;
}
}
@media screen and (max-width: 320px) {
.agile_form textarea {
height: 6em;
}
.agile_form ul li label {
margin: 3em 0.5em 0 0em;
}
ul li .check {
left: 13px;
}
.agile_form input[type="email"], .agile_form input[type=text] {
width: 89%;
}
.agile_form input[type=text], .agile_form input[type="email"] {
font-size: 0.7em;
}
.agile_form input[type="button"] {
font-size: 0.7em;
}
}

@ -0,0 +1,571 @@
* {
box-sizing: border-box;
}
/* body 样式 */
body {
font-family: Arial;
margin: 0;
/* 设置最大宽度 */
/*max-width: 1080px;*/
/* 页面居中 */
margin: auto;
/* 默认背景颜色 */
background-color:#f6f5f3 ;
}
/* 标题 */
/* 头部 */
.header {
padding: 30px;
text-align: left;
color: rgb(247, 162, 162);
min-height: 100px;
/* 设置背景图片 */
/* background-color: #b3080a;*/
background-image: url("../img/headBackground.png");
background-size: cover;
background-repeat: no-repeat;
}
.header-logo{
width: 1100px;
margin: auto;
}
.header-info{
margin: auto;
float: left;
}
/* 标题 */
.header h1 {
padding-left: 120px;
margin:auto;
font-size: 40px;
font-style: italic;
}
.header p{
font-style: italic;
font-size: 25px;
}
/* 导航 */
.navbar {
overflow: hidden;
background-color: rgb(239, 239, 240);
max-width: 1100px;
margin: auto;
}
/* 设置导航栏文本 */
/* 导航栏样式 */
.navbar a {
float: left;
display: block;
color: #000000;
transition-duration: 0.4s;
text-align:right;
padding: 14px 20px;
text-decoration: none;
display: flex;
flex-direction: row;
align-items: flex-end;
}
/* 右侧链接*/
/*.navbar a.right {*/
/* float: right;*/
/*}*/
/* 鼠标移动到链接的颜色 */
.navbar a:hover {
background-color: #50c9ff;
color: rgb(0, 0, 0);
font-weight: 700;
}
/* 列容器 */
/*装main和side的*/
.row {
display: -ms-flexbox; /* IE10 */
display: flex;
-ms-flex-wrap: wrap; /* IE10 */
flex-wrap: wrap;
max-width: 1100px;
margin: auto;
min-height: 800px;
}
/* 创建两个列 */
/* 边栏 */
.side {
-ms-flex: 30%; /* IE10 */
flex: 30%;
background-color: #f8f8f8;
padding: 20px;
/* 背景图片 */
}
/* 链接无下划线 */
a:link {text-decoration:none;}
a:visited {text-decoration:none;}
a:hover {text-decoration:none;}
a:active {text-decoration:underline;}
/* 主要的内容区域 */
.main {
/*-ms-flex: 70%; !* IE10 *!*/
flex: 70%;
background-color: white;
padding: 20px;
min-height: 800px;
}
/* 测试图片 */
.fakeimg {
background-color: rgba(115, 110, 110, 0.539);
width: 100%;
padding: 20px;
}
/* 底部 */
.footer {
padding: 15px;
text-align: center;
background: #a60e12;
font-size: 5px;
color: white;
}
.copyright a:link {
text-decoration:none;
color: #a4a4a4} /* unvisited link */
.copyright a:visited {text-decoration:none;
color: #a4a4a4
} /* visited link */
.copyright a:hover {text-decoration:underline;} /* mouse over link */
.copyright a:active {text-decoration:underline;} /* selected link */
/*首页================================*/
.map{
width: 200px;
height: auto;
}
.showSchoolItemContainer{
display: flex;
flex-direction: column;
}
.showSchoolItem{
margin-bottom: 50px;
height:auto;
width: 100%;
background-color: #ffffff;
}
.showSchoolItem img{
width: 100%;
}
/*首页================================*/
/* 底部-消除链接颜色 */
/* =================惠院风光css============= */
.fixTips{
top: 500px;
position: fixed;
}
/* 百叶窗 */
.windowShades{
/* 引入字体 */
font-family: 'Muli',sans-serif;
/* 弹性布局 水平 + 垂直居中 */
display: flex;
align-items: center;
justify-content: center;
/**/
/* 100%的窗口高度 */
/*height: 100vh;*/
height: 100%;
/* 溢出隐藏 */
overflow: hidden;
margin: 0;
background-color: #f2f2f4;
}
.windowShadesContainer{
display: flex;
width: 90vw;
/*height: 50%;*/
}
.panel{
/* 跟封面一样大小 */
background-size: cover;
/* 把封面图片居中 */
background-position: center;
background-repeat: no-repeat;
height: 80vh;
/* 边框圆角 */
border-radius: 50px;
color: #fff;
/* 鼠标放上变小手 */
cursor: pointer;
flex: 0.5;
margin: 10px;
/* 相对定位 */
position: relative;
-webkit-transition: all 700ms ease-in;
}
.panel h3{
font-size: 24px;
/* 绝对定位 */
position: absolute;
bottom: 20px;
left: 20px;
margin: 0;
opacity: 0;
}
.panel.active{
flex: 5;
}
.panel.active h3 {
opacity: 1;
transition: opacity 0.3s ease-in 0.4s;
}
@media (max-width:480px){
.windowShadesContainer{
width: 100vw;
}
.panel:nth-of-type(4),
.panel:nth-of-type(5){
display: none;
}
}
/* 百叶窗 end*/
/* 具体细节 */
.imgDetailOuter{
width: 100%;
display: flex;
flex-direction: row;
padding: 20px;
background-color: #f9f9fa;
/*margin: auto;*/
border-top-style: inset;
border-width: 10px;
margin-bottom: 100px;
}
.detailImg{
/*height: 400px;*/
/*width: 600px;*/
flex: 45%;/*设置弹性盒子占比*/
background-color: #f9f9fa;
/*border-style: dotted;*/
/*border-width: 5px;*/
overflow: hidden;
}
.detailImg img{
height: 400px;
width: 450px;
object-fit: cover;
/*overflow: hidden;*/
transform: scale(1.2);
}
/*切换图片按钮*/
.button {
display: inline-block;
border-radius: 4px;
background-color: #f6f6f8;
border: none;
color: #2b2b2c;
text-align: center;
font-size: 20px;
padding: 10px;
width: 50px;
transition: all 0.5s;
cursor: pointer;
margin: 0px;
/* */
/* object-fit: none;*/
}
.button span {
cursor: pointer;
display: inline-block;
position: relative;
transition: 0.5s;
}
.button span:after {
/*content: '»';*/
position: absolute;
opacity: 0;
top: 0;
right: -20px;
transition: 0.5s;
}
.button:hover span {
/*padding-right: 20px;*/
padding-top: 20px;
}
.button:hover span:after {
opacity: 1;
right: 0;
}
/*切换图片按钮*/
.refreshButton{
object-fit: none;
margin-right: 20px;
}
.detailText{
flex: 55%;
/*设置文本格式*/
letter-spacing:1px;
/*line-height:140%;!*行高*!*/
padding-left: 10px;
background-color: rgb(248, 248, 249);
}
/*设置浮现动画效果*/
/*.detailText{*/
/* opacity: 0.5;*/
/*}*/
/*.detailText.active{*/
/* opacity: 1;*/
/* transition: opacity 0.5s;*/
/*}*/
/*设置浮现动画效果*/
.detailText p{
/*设置文本缩进*/
text-indent:50px;
}
/* 具体细节 end */
.sceneryRow {
display: -ms-flexbox; /* IE10 */
display: flex;
-ms-flex-wrap: wrap; /* IE10 */
flex-wrap: wrap;
max-width: 1100px;
margin: auto;
background-color: #ffffff;
}
.sceneryMain {
/*-ms-flex: 70%; !* IE10 *!*/
flex: 100%;
background-color: white;
padding: 20px;
}
/* =================惠院风光css=========== */
/* =================留言板css=========== */
.messageShow{
width: 100%;
height: 800px;
/* 相对定位 */
position: relative;
/*top: 50px;*/
/*设置滚动条*/
overflow-y: scroll;
}
/*滚动条*/
.messageShow::-webkit-scrollbar{/*滚动条整体部分其中的属性有width,height,background,border等就和一个块级元素一样位置1*/
width:10px;
height:10px;
}
/*.messageShow::-webkit-scrollbar-button{!*滚动条两端的按钮可以用display:none让其不显示也可以添加背景图片颜色改变显示效果位置2*!*/
/*background:#fff;*/
/*}*/
.messageShow::-webkit-scrollbar-track{/*外层轨道可以用display:none让其不显示也可以添加背景图片颜色改变显示效果位置3*/
background:#f8f9fa;
}
.messageShow::-webkit-scrollbar-track-piece{/*内层轨道滚动条中间部分位置4*/
background:#f8f9fa;
}
.messageShow::-webkit-scrollbar-thumb{/*滚动条里面可以拖动的那部分位置5*/
background:#00000033;
border-radius:4px;
}
.messageShow::-webkit-scrollbar-corner {/*边角位置6*/
background:#c0c0c0;
}
/*.messageShow::-webkit-scrollbar-resizer {!*定义右下角拖动块的样式位置7*!*/
/*background:#FF0BEE;*/
/*}*/
.messageShow{
scrollbar-arrow-color: #f4ae21; /**//*三角箭头的颜色*/
scrollbar-face-color: #333; /**//*立体滚动条的颜色*/
scrollbar-3dlight-color: #666; /**//*立体滚动条亮边的颜色*/
scrollbar-highlight-color: #666; /**//*滚动条空白部分的颜色*/
scrollbar-shadow-color: #999; /**//*立体滚动条阴影的颜色*/
scrollbar-darkshadow-color: #666; /**//*立体滚动条强阴影的颜色*/
scrollbar-track-color: #666; /**//*立体滚动条背景颜色*/
scrollbar-base-color:#f8f8f8; /**//*滚动条的基本颜色*/
}
/*滚动条*/
.messageShow::after{
content: "";
/* 绝对定位 */
position: absolute;
top: -10px;
left: 50%;
width: 5px;
z-index: 1;
height: 110%;
background-color: rgb(248, 169, 171);
}
.box{
/* 相对定位 */
position: relative;
width: 100%;
/*height: 120px;*/
height: auto;
margin-bottom: 50px;
display: flex;
/*
*/
justify-content: space-between;
}
.left,.right{
position: relative;
width: 40%;
height: auto;
/* background-color: rgba(255,255,255,.5); */
border-radius: 15px;
color: rgb(167, 255, 243);
text-align: center;
padding: 10px;
}
/*时间位置*/
.sendTime{
position: relative;
float: right;
right: 0;
bottom: 0;
color: #1ec8e9;
margin-top: 10px;
}
/* 页面范围内偶数的匹配元素 */
.box:nth-child(even) .left{
background-color: rgb(120, 120, 244);
box-shadow: rgba(0, 0, 0,.3);
}
/* 页面范围内奇数的匹配元素 */
.box:nth-child(odd) .right{
background-color: rgb(120, 120, 244);
box-shadow: rgba(0, 0, 0,.3);
}
.center{
width: 15%;
display: flex;
justify-content: center;
align-items: center;
z-index: 2;
}
/* >是子元素选择器 */
.center > span{
width: 120px;
border-radius: 10px;
text-align: center;
font: 600 18px '';
line-height: 50px;
background-color: rgba(255, 196, 196, 0.5);
}
/*.messageShow{*/
/* height: 300px;*/
/* width: 600px;*/
/* background-color: #eccff1;*/
/* !*overflow-y:scroll;!*溢出设置滚条*!*!*/
/*}*/
/* =================留言板css=========== */
/* 响应式布局 - 在屏幕设备宽度尺寸小于 400px 时, 让导航栏目上下堆叠显示 */
@media screen and (max-width: 680px) {
.row {
flex-direction: column;
}
.navbar {
display: flex;
width: 100%;
flex-direction: column;
flex-wrap: wrap;
}
.navbar a{
display: flex;
justify-content: center;
width: 100%;
}
/* 响应式使字体变大 */
.navbar{
font-size: 21px;
font-weight: bold;
}
h2{
font-size: 50px;
}
h3{
font-size: 25px;
}
.main p{
font-size: 25px;
}
.main h5{
font-size: 30px;
}
.main h6{
font-size: 25px;
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 510 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 954 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 752 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 788 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 522 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 404 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 742 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 881 KiB

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save