作者 乔爽

update

<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$" vcs="Git" />
</component>
</project>
\ No newline at end of file
... ...
*{
padding: 0 ;
margin: 0 ;
line-height: 1;
}
... ...
.container {
width: 100%;
display: flex;
flex-flow: column;
align-items: center;
justify-content: center;
}
.top{
width: 7.5rem;
/*height: 1.5rem;*/
background-color: #F7F7F7;
display: flex;
flex-flow: column;
align-items: center;
justify-content: center;
}
.top_t{
width: 6.86rem;
height: 0.8rem;
display: flex;
align-items: center;
justify-content: space-between;
}
.top_t_left{
width: 1.2rem;
display: flex;
justify-content: space-between;
align-items: center;
}
.top_t_left_text{
font-size:0.3rem;
font-family:PingFang-SC-Medium;
font-weight:500;
color:rgba(166,16,16,1);
}
.icon-caidan{
}
/*中部*/
.top_t_middle{
width: 1.2rem;
height: 0.5rem;
display: flex;
}
.top_t_middle img{
width: 100%;
height: 100%;
}
/*右边*/
.top_t_right{
width: 1.2rem;
display: flex;
justify-content: space-between;
align-items: center;
}
.icon-10{
}
.top_t_right_pic{
width: 0.4rem;
height: 0.4rem;
display: flex;
-webkit-border-radius: 50%;
-moz-border-radius: 50%;
border-radius: 50%;
}
.top_t_right_pic img{
width: 100%;
height: 100%;
-webkit-border-radius: 50%;
-moz-border-radius: 50%;
border-radius: 50%;
}
/*-----底部------*/
.top_d{
width: 5.56rem;
display: flex;
padding-bottom: 0.03rem;
border-bottom: 1px solid #999999;
margin: 0.3rem 0 0.2rem 0;
}
.top_d_input{
width: 5rem;
text-align: center;
border: none;
outline: none;
background-color: #F7F7F7;
font-size: 0.3rem;
box-sizing: border-box;
padding: 0 0.2rem;
}
.top_d_input::placeholder{
color: #999999;
}
/*----------------------------- 轮播图 -----------------------------------*/
.banner{
width: 6.86rem;
height: 3rem;
background-color: red;
-webkit-border-radius: 0.1rem;
-moz-border-radius: 0.1rem;
border-radius: 0.1rem;
margin-top: 0.23rem;
}
/*----------------------------- 最新 -----------------------------------*/
.new{
margin-top: 0.54rem;
display: flex;
flex-flow: column;
align-items: center;
justify-content: center;
}
.new_e{
font-size: 0.14rem;
color: #A61010;
}
.new_c{
margin-bottom: 0.2rem;
margin-top: 0.08rem;
font-size: 0.3rem;
color: #333333;
}
.new_video_item{
width: 6.86rem;
display: flex;
justify-content: space-between;
}
.new_video{
width: 3.2rem;
/*height: 2.1rem;*/
background:rgba(255,255,255,1);
box-shadow:0 0.01rem 0.06rem 0 rgba(102,102,102,0.14);
border-radius: 0.1rem;
display: flex;
flex-flow: column;
justify-content: center;
align-items: center;
}
.new_video_top{
width: 3.2rem;
height: 1.7rem;
display: flex;
border-top-left-radius: 0.1rem;
border-top-right-radius: 0.1rem;
}
.new_video_top img{
border-top-left-radius: 0.1rem;
border-top-right-radius: 0.1rem;
width: 100%;
height: 100%;
}
.new_video_bottom{
width: 2.8rem;
height: 0.4rem;
display: flex;
align-items: center;
justify-content: space-between;
position: relative;
}
.new_video_bottom_name{
width: 2rem;
position: absolute;
left: 0.4rem;
font-size:0.2rem;
font-family:PingFang-SC-Medium;
font-weight:500;
color:rgba(51,51,51,1);
text-align: center;
-webkit-box-orient: vertical;
-webkit-line-clamp: 1;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.new_video_bottom_right{
font-size: 0.3rem;
font-family:FZHCJW--GB1-0;
font-weight:400;
color:rgba(166,16,16,1);
}
/*大视频*/
.new_video_big{
margin-top: 0.25rem;
width: 6.86rem;
height: 3.6rem;
background:rgba(255,255,255,1);
box-shadow:0 0.01rem 0.06rem 0 rgba(116,116,116,0.14);
border-radius: 0.1rem;
display: flex;
flex-flow: column;
align-items: center;
justify-content: space-between;
}
.new_video_big_pic{
width: 6.86rem;
height: 3.2rem;
display: flex;
border-radius: 0.1rem 0.1rem 0 0;
}
.new_video_big_pic img{
width: 100%;
height: 100%;
border-radius: 0.1rem 0.1rem 0 0;
}
.new_video_big_bottom{
width: 6rem;
/*height: 0.4rem;*/
display: flex;
align-items: center;
justify-content: space-between;
position: relative;
}
.new_video_big_name_text{
width: 5.2rem;
position: absolute;
left: 0.4rem;
font-size:0.2rem;
font-family:PingFang-SC-Medium;
font-weight:500;
color:rgba(51,51,51,1);
text-align: center;
-webkit-box-orient: vertical;
-webkit-line-clamp: 1;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.video{
margin-top: 0.24rem;
display: flex;
flex-flow: column;
align-items: center;
justify-content: center;
}
.item_pic{
width: 6.86rem;
display: flex;
justify-content: space-between;
}
.pic_box{
width: 3.2rem;
/*height: 2.2rem;*/
background:rgba(255,255,255,1);
box-shadow:0 0.01rem 0.06rem 0 rgba(102,102,102,0.14);
border-radius: 0.1rem;
display: flex;
flex-flow: column;
align-items: center;
justify-content: center;
}
.pic_box_top{
width: 3.2rem;
height: 1.7rem;
display: flex;
border-radius: 0.1rem 0.1rem 0 0;
}
.pic_box_top img{
width: 100%;
height: 100%;
border-radius: 0.1rem 0.1rem 0 0;
}
.pic_box_bottom{
height: 0.4rem;
font-size: 0.24rem;
font-family:PingFang-SC-Medium;
font-weight:500;
color:rgba(51,51,51,1);
display: flex;
align-items: center;
justify-content: center;
}
.video_more{
margin-top: 0.33rem;
font-size: 0.14rem;
font-family:Moon20-Regular;
font-weight:400;
color:rgba(166,16,16,1);
position: relative;
display: flex;
align-items: center;
flex-flow: column;
justify-content: center;
}
.video_more:last-child{
margin-bottom: 0.6rem;
}
.video_more:before{
content: "";
width: 0.8rem;
height:0.02rem;
background-color: #E8E8E8;
position: absolute;
top: 0.32rem;
}
/*title*/
.title{
display: flex;
flex-flow: column;
align-items: center;
justify-content: space-between;
}
.marin_top{
margin-top: 0.31rem ;
}
.between{
width: 2.6rem;
justify-content: space-between;
}
.show{
display: flex;
flex-flow: column;
align-items: center;
justify-content: center;
}
.show_time{
width: 6.86rem;
display: flex;
}
.show_time_year{
display: flex;
}
.show_time_month{
display: flex;
}
... ...
.container{
position: relative;
}
.mid{
display: flex;
flex-flow: column;
align-items: center;
justify-content: center;
}
.mask{
width: 7.5rem;
height: 100%;
background-color: #ffffff;
opacity: 0.9;
position: fixed;
top: 1.69rem;
z-index: 999;
display: flex;
align-items: center;
}
.pop{
position: absolute;
left:0;
right: 0;
z-index: 999;
display: flex;
flex-flow: column;
align-items: center;
justify-content: center;
font-size: 0.48rem;
font-family:PingFang-SC-Bold;
font-weight:bold;
}
.pop_color{
color:rgba(166,16,16,1);
}
.pop_text{
padding: 0.42rem;
}
... ...
.container {
width: 100%;
display: flex;
flex-flow: column;
align-items: center;
justify-content: center;
}
.top{
width: 7.5rem;
/*height: 1.5rem;*/
background-color: #F7F7F7;
display: flex;
flex-flow: column;
align-items: center;
justify-content: center;
}
.top_t{
width: 6.86rem;
height: 0.8rem;
display: flex;
align-items: center;
justify-content: space-between;
}
.top_t_left{
width: 1.2rem;
display: flex;
justify-content: space-between;
align-items: center;
}
.top_t_left_text{
font-size:0.3rem;
font-family:PingFang-SC-Medium;
font-weight:500;
color:rgba(166,16,16,1);
}
.icon-caidan{
}
/*中部*/
.top_t_middle{
width: 1.2rem;
height: 0.5rem;
display: flex;
}
.top_t_middle img{
width: 100%;
height: 100%;
}
/*右边*/
.top_t_right{
width: 1.2rem;
display: flex;
justify-content: space-between;
align-items: center;
}
.icon-10{
}
.top_t_right_pic{
width: 0.4rem;
height: 0.4rem;
display: flex;
-webkit-border-radius: 50%;
-moz-border-radius: 50%;
border-radius: 50%;
}
.top_t_right_pic img{
width: 100%;
height: 100%;
-webkit-border-radius: 50%;
-moz-border-radius: 50%;
border-radius: 50%;
}
/*-----底部------*/
.top_d{
width: 5.56rem;
display: flex;
padding-bottom: 0.03rem;
border-bottom: 1px solid #999999;
margin: 0.3rem 0 0.2rem 0;
}
.top_d_input{
width: 5rem;
text-align: center;
border: none;
outline: none;
background-color: #F7F7F7;
font-size: 0.3rem;
box-sizing: border-box;
padding: 0 0.2rem;
}
.top_d_input::placeholder{
color: #999999;
}
/*轮播图*/
.banner{
width: 7.5rem;
height: 3rem;
display: flex;
}
/*简介*/
.intro{
width: 6.86rem;
display: flex;
flex-flow: column;
position: relative;
}
.intro_title{
margin-top: 1.26rem;
font-size: 0.36rem;
font-family:PingFang-SC-Bold;
font-weight:bold;
color:rgba(51,51,51,1);
/*line-height:36px;*/
}
.intro_box{
width: 6.86rem;
height: 1.2rem;
background:rgba(255,255,255,1);
box-shadow:0 0.05rem 0.16rem 0 rgba(79,79,79,0.1);
border-radius: 0.1rem;
position: absolute;
top: -0.32rem;
z-index: 999;
display: flex;
align-items: center;
box-sizing: border-box;
padding: 0 0.4rem;
justify-content: space-between;
}
.intro_box_name{
font-size: 0.3rem;
font-family:PingFang-SC-Bold;
font-weight:bold;
color:rgba(51,51,51,1);
/*line-height:24px;*/
}
.intro_box_name_pinyin{
margin-top: 0.2rem;
}
.intro_attention{
font-size: 0.24rem;
font-family:PingFang-SC-Medium;
font-weight:500;
color:rgba(51,51,51,1);
/*line-height:36px;*/
}
.intro_attention_title{
width: 1.42rem;
height: 0.34rem;
line-height: 0.34rem;
text-align: center;
background:rgba(166,16,16,0);
border: 0.02rem solid rgba(166, 16, 16, 1);
border-radius: 0.01rem;
}
.number{
margin-top: 0.2rem;
display: flex;
justify-content: space-between;
}
.intro_small{
margin-top: 0.28rem;
font-size: 0.18rem;
font-family:MicrosoftYaHei;
font-weight:400;
color:rgba(51,51,51,1);
line-height: 0.3rem;
}
.correlation{
margin-top: 0.52rem;
width: 6.86rem;
display: flex;
flex-flow: column;
font-size: 0.24rem;
font-family:PingFang-SC-Medium;
font-weight:500;
color:rgba(51,51,51,1);
line-height: 0.3rem;
}
.correlation_top{
display: flex;
justify-content: space-between;
}
.correlation_box{
margin-top: 0.2rem;
display: flex;
justify-content: space-between;
}
.correlation_top_right{
font-size: 0.2rem;
font-family:PingFang-SC-Medium;
font-weight:500;
color:rgba(153,153,153,1);
line-height: 0.3rem;
}
.correlation_bottom{
width: 3.2rem;
height: 2.1rem;
background:rgba(255,255,255,1);
box-shadow:0 0.01rem 0 0 rgba(102,102,102,0.14);
border-radius:0.1rem;
}
.correlation_bottom_img{
width: 3.2rem;
height: 1.7rem;
display: flex;
border-radius: 0.1rem 0.1rem 0 0;
}
.correlation_bottom_img img{
width: 100%;
height: 100%;
border-radius: 0.1rem 0.1rem 0 0;
}
.correlation_bottom_title{
height: 0.4rem;
display: flex;
align-items: center;
justify-content: center;
/*text-align: center;*/
}
.big{
margin-top: 0.2rem;
width: 6.86rem;
font-size: 0.24rem;
font-family:PingFang-SC-Medium;
font-weight:500;
color:rgba(51,51,51,1);
line-height: 0.3rem;
}
.small{
margin-top: 0.1rem;
width: 6.86rem;
font-size: 0.18rem;
font-family:PingFang-SC-Medium;
font-weight:500;
color:rgba(51,51,51,1);
line-height: 0.3rem;
}
/*动态*/
.dynamic{
width: 6.86rem;
}
.dynamic_title{
margin-top: 0.4rem;
font-size: 0.36rem;
font-family:PingFang-SC-Bold;
font-weight:bold;
color:rgba(51,51,51,1);
line-height: 0.36rem;
}
.dynamic_item{
margin-top: 0.2rem;
display: flex;
justify-content: space-between;
}
.dynamic_item_title{
font-size: 0.24rem;
font-family:PingFang-SC-Medium;
font-weight:500;
color:rgba(51,51,51,1);
line-height: 0.3rem;
}
.dynamic_item_time{
font-size: 0.24rem;
font-family:PingFang-SC-Medium;
font-weight:500;
color:rgba(153,153,153,1);
line-height: 0.3rem;
}
.dynamic_name{
width: 5rem;
display: flex;
justify-content: space-between;
margin-top: 0.2rem;
margin-left: 0.8rem;
font-size: 0.18rem;
font-family:PingFang-SC-Medium;
font-weight:500;
color:rgba(51,51,51,1);
line-height: 0.3rem;
}
.production{
width: 6.86rem;
}
.production_title{
margin-top: 0.4rem;
font-size: 0.36rem;
font-family:PingFang-SC-Bold;
font-weight:bold;
color:rgba(51,51,51,1);
line-height: 0.36rem;
}
.production_category{
margin-top: 0.27rem;
display: flex;
justify-content: space-around;
font-size: 0.24rem;
font-family:PingFang-SC-Bold;
font-weight:bold;
color:rgba(51,51,51,1);
line-height: 0.36rem;
}
.production_box{
display: flex;
justify-content: space-between;
margin-top: 0.27rem;
margin-bottom: 1rem;
}
.production_box_big{
width: 3.2rem;
height: 2.5rem;
background:rgba(255,255,255,1);
box-shadow:0 0.02rem 0 0 rgba(102,102,102,0.14);
border-radius:0.1rem;
}
.production_box_big_pic{
width: 3.2rem;
height: 1.7rem;
border-radius: 0.1rem 0.1rem 0 0;
display: flex;
}
.production_box_big_pic img{
width: 100%;
height: 100%;
border-radius: 0.1rem 0.1rem 0 0;
}
.production_box_big_title{
display: flex;
flex-flow: column;
align-items: center;
justify-content: center;
}
.title_big{
font-size: 0.2rem;
font-family:MicrosoftYaHei;
font-weight:400;
color:rgba(51,51,51,1);
line-height: 0.3rem;
}
.title_small{
width: 3rem;
font-size: 0.14rem;
font-family:MicrosoftYaHei;
font-weight:400;
color:rgba(153,153,153,1);
line-height: 0.24rem;
-webkit-box-orient: vertical;
-webkit-line-clamp: 1;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
... ...
/**
* Swiper 4.4.6
* Most modern mobile touch slider and framework with hardware accelerated transitions
* http://www.idangero.us/swiper/
*
* Copyright 2014-2018 Vladimir Kharlampidi
*
* Released under the MIT License
*
* Released on: December 19, 2018
*/
.swiper-container {
margin: 0 auto;
position: relative;
overflow: hidden;
list-style: none;
padding: 0;
/* Fix of Webkit flickering */
z-index: 1;
}
.swiper-container-no-flexbox .swiper-slide {
float: left;
}
.swiper-container-vertical > .swiper-wrapper {
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-webkit-flex-direction: column;
-ms-flex-direction: column;
flex-direction: column;
}
.swiper-wrapper {
position: relative;
width: 100%;
height: 100%;
z-index: 1;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-transition-property: -webkit-transform;
transition-property: -webkit-transform;
-o-transition-property: transform;
transition-property: transform;
transition-property: transform, -webkit-transform;
-webkit-box-sizing: content-box;
box-sizing: content-box;
}
.swiper-container-android .swiper-slide,
.swiper-wrapper {
-webkit-transform: translate3d(0px, 0, 0);
transform: translate3d(0px, 0, 0);
}
.swiper-container-multirow > .swiper-wrapper {
-webkit-flex-wrap: wrap;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
}
.swiper-container-free-mode > .swiper-wrapper {
-webkit-transition-timing-function: ease-out;
-o-transition-timing-function: ease-out;
transition-timing-function: ease-out;
margin: 0 auto;
}
.swiper-slide {
-webkit-flex-shrink: 0;
-ms-flex-negative: 0;
flex-shrink: 0;
width: 100%;
height: 100%;
position: relative;
-webkit-transition-property: -webkit-transform;
transition-property: -webkit-transform;
-o-transition-property: transform;
transition-property: transform;
transition-property: transform, -webkit-transform;
}
.swiper-slide-invisible-blank {
visibility: hidden;
}
/* Auto Height */
.swiper-container-autoheight,
.swiper-container-autoheight .swiper-slide {
height: auto;
}
.swiper-container-autoheight .swiper-wrapper {
-webkit-box-align: start;
-webkit-align-items: flex-start;
-ms-flex-align: start;
align-items: flex-start;
-webkit-transition-property: height, -webkit-transform;
transition-property: height, -webkit-transform;
-o-transition-property: transform, height;
transition-property: transform, height;
transition-property: transform, height, -webkit-transform;
}
/* 3D Effects */
.swiper-container-3d {
-webkit-perspective: 1200px;
perspective: 1200px;
}
.swiper-container-3d .swiper-wrapper,
.swiper-container-3d .swiper-slide,
.swiper-container-3d .swiper-slide-shadow-left,
.swiper-container-3d .swiper-slide-shadow-right,
.swiper-container-3d .swiper-slide-shadow-top,
.swiper-container-3d .swiper-slide-shadow-bottom,
.swiper-container-3d .swiper-cube-shadow {
-webkit-transform-style: preserve-3d;
transform-style: preserve-3d;
}
.swiper-container-3d .swiper-slide-shadow-left,
.swiper-container-3d .swiper-slide-shadow-right,
.swiper-container-3d .swiper-slide-shadow-top,
.swiper-container-3d .swiper-slide-shadow-bottom {
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
pointer-events: none;
z-index: 10;
}
.swiper-container-3d .swiper-slide-shadow-left {
background-image: -webkit-gradient(linear, right top, left top, from(rgba(0, 0, 0, 0.5)), to(rgba(0, 0, 0, 0)));
background-image: -webkit-linear-gradient(right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
background-image: -o-linear-gradient(right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
background-image: linear-gradient(to left, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
}
.swiper-container-3d .swiper-slide-shadow-right {
background-image: -webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, 0.5)), to(rgba(0, 0, 0, 0)));
background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
background-image: -o-linear-gradient(left, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
background-image: linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
}
.swiper-container-3d .swiper-slide-shadow-top {
background-image: -webkit-gradient(linear, left bottom, left top, from(rgba(0, 0, 0, 0.5)), to(rgba(0, 0, 0, 0)));
background-image: -webkit-linear-gradient(bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
background-image: -o-linear-gradient(bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
background-image: linear-gradient(to top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
}
.swiper-container-3d .swiper-slide-shadow-bottom {
background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.5)), to(rgba(0, 0, 0, 0)));
background-image: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
background-image: -o-linear-gradient(top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
}
/* IE10 Windows Phone 8 Fixes */
.swiper-container-wp8-horizontal,
.swiper-container-wp8-horizontal > .swiper-wrapper {
-ms-touch-action: pan-y;
touch-action: pan-y;
}
.swiper-container-wp8-vertical,
.swiper-container-wp8-vertical > .swiper-wrapper {
-ms-touch-action: pan-x;
touch-action: pan-x;
}
.swiper-button-prev,
.swiper-button-next {
position: absolute;
top: 50%;
width: 27px;
height: 44px;
margin-top: -22px;
z-index: 10;
cursor: pointer;
background-size: 27px 44px;
background-position: center;
background-repeat: no-repeat;
}
.swiper-button-prev.swiper-button-disabled,
.swiper-button-next.swiper-button-disabled {
opacity: 0.35;
cursor: auto;
pointer-events: none;
}
.swiper-button-prev,
.swiper-container-rtl .swiper-button-next {
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%23007aff'%2F%3E%3C%2Fsvg%3E");
left: 10px;
right: auto;
}
.swiper-button-next,
.swiper-container-rtl .swiper-button-prev {
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23007aff'%2F%3E%3C%2Fsvg%3E");
right: 10px;
left: auto;
}
.swiper-button-prev.swiper-button-white,
.swiper-container-rtl .swiper-button-next.swiper-button-white {
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%23ffffff'%2F%3E%3C%2Fsvg%3E");
}
.swiper-button-next.swiper-button-white,
.swiper-container-rtl .swiper-button-prev.swiper-button-white {
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23ffffff'%2F%3E%3C%2Fsvg%3E");
}
.swiper-button-prev.swiper-button-black,
.swiper-container-rtl .swiper-button-next.swiper-button-black {
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%23000000'%2F%3E%3C%2Fsvg%3E");
}
.swiper-button-next.swiper-button-black,
.swiper-container-rtl .swiper-button-prev.swiper-button-black {
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23000000'%2F%3E%3C%2Fsvg%3E");
}
.swiper-button-lock {
display: none;
}
.swiper-pagination {
position: absolute;
text-align: center;
-webkit-transition: 300ms opacity;
-o-transition: 300ms opacity;
transition: 300ms opacity;
-webkit-transform: translate3d(0, 0, 0);
transform: translate3d(0, 0, 0);
z-index: 10;
}
.swiper-pagination.swiper-pagination-hidden {
opacity: 0;
}
/* Common Styles */
.swiper-pagination-fraction,
.swiper-pagination-custom,
.swiper-container-horizontal > .swiper-pagination-bullets {
bottom: 10px;
left: 0;
width: 100%;
}
/* Bullets */
.swiper-pagination-bullets-dynamic {
overflow: hidden;
font-size: 0;
}
.swiper-pagination-bullets-dynamic .swiper-pagination-bullet {
-webkit-transform: scale(0.33);
-ms-transform: scale(0.33);
transform: scale(0.33);
position: relative;
}
.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active {
-webkit-transform: scale(1);
-ms-transform: scale(1);
transform: scale(1);
}
.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-main {
-webkit-transform: scale(1);
-ms-transform: scale(1);
transform: scale(1);
}
.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev {
-webkit-transform: scale(0.66);
-ms-transform: scale(0.66);
transform: scale(0.66);
}
.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev-prev {
-webkit-transform: scale(0.33);
-ms-transform: scale(0.33);
transform: scale(0.33);
}
.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next {
-webkit-transform: scale(0.66);
-ms-transform: scale(0.66);
transform: scale(0.66);
}
.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next-next {
-webkit-transform: scale(0.33);
-ms-transform: scale(0.33);
transform: scale(0.33);
}
.swiper-pagination-bullet {
width: 8px;
height: 8px;
display: inline-block;
border-radius: 100%;
background: #000;
opacity: 0.2;
}
button.swiper-pagination-bullet {
border: none;
margin: 0;
padding: 0;
-webkit-box-shadow: none;
box-shadow: none;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
}
.swiper-pagination-clickable .swiper-pagination-bullet {
cursor: pointer;
}
.swiper-pagination-bullet-active {
opacity: 1;
background: #007aff;
}
.swiper-container-vertical > .swiper-pagination-bullets {
right: 10px;
top: 50%;
-webkit-transform: translate3d(0px, -50%, 0);
transform: translate3d(0px, -50%, 0);
}
.swiper-container-vertical > .swiper-pagination-bullets .swiper-pagination-bullet {
margin: 6px 0;
display: block;
}
.swiper-container-vertical > .swiper-pagination-bullets.swiper-pagination-bullets-dynamic {
top: 50%;
-webkit-transform: translateY(-50%);
-ms-transform: translateY(-50%);
transform: translateY(-50%);
width: 8px;
}
.swiper-container-vertical > .swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet {
display: inline-block;
-webkit-transition: 200ms top, 200ms -webkit-transform;
transition: 200ms top, 200ms -webkit-transform;
-o-transition: 200ms transform, 200ms top;
transition: 200ms transform, 200ms top;
transition: 200ms transform, 200ms top, 200ms -webkit-transform;
}
.swiper-container-horizontal > .swiper-pagination-bullets .swiper-pagination-bullet {
margin: 0 4px;
}
.swiper-container-horizontal > .swiper-pagination-bullets.swiper-pagination-bullets-dynamic {
left: 50%;
-webkit-transform: translateX(-50%);
-ms-transform: translateX(-50%);
transform: translateX(-50%);
white-space: nowrap;
}
.swiper-container-horizontal > .swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet {
-webkit-transition: 200ms left, 200ms -webkit-transform;
transition: 200ms left, 200ms -webkit-transform;
-o-transition: 200ms transform, 200ms left;
transition: 200ms transform, 200ms left;
transition: 200ms transform, 200ms left, 200ms -webkit-transform;
}
.swiper-container-horizontal.swiper-container-rtl > .swiper-pagination-bullets-dynamic .swiper-pagination-bullet {
-webkit-transition: 200ms right, 200ms -webkit-transform;
transition: 200ms right, 200ms -webkit-transform;
-o-transition: 200ms transform, 200ms right;
transition: 200ms transform, 200ms right;
transition: 200ms transform, 200ms right, 200ms -webkit-transform;
}
/* Progress */
.swiper-pagination-progressbar {
background: rgba(0, 0, 0, 0.25);
position: absolute;
}
.swiper-pagination-progressbar .swiper-pagination-progressbar-fill {
background: #007aff;
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
-webkit-transform: scale(0);
-ms-transform: scale(0);
transform: scale(0);
-webkit-transform-origin: left top;
-ms-transform-origin: left top;
transform-origin: left top;
}
.swiper-container-rtl .swiper-pagination-progressbar .swiper-pagination-progressbar-fill {
-webkit-transform-origin: right top;
-ms-transform-origin: right top;
transform-origin: right top;
}
.swiper-container-horizontal > .swiper-pagination-progressbar,
.swiper-container-vertical > .swiper-pagination-progressbar.swiper-pagination-progressbar-opposite {
width: 100%;
height: 4px;
left: 0;
top: 0;
}
.swiper-container-vertical > .swiper-pagination-progressbar,
.swiper-container-horizontal > .swiper-pagination-progressbar.swiper-pagination-progressbar-opposite {
width: 4px;
height: 100%;
left: 0;
top: 0;
}
.swiper-pagination-white .swiper-pagination-bullet-active {
background: #ffffff;
}
.swiper-pagination-progressbar.swiper-pagination-white {
background: rgba(255, 255, 255, 0.25);
}
.swiper-pagination-progressbar.swiper-pagination-white .swiper-pagination-progressbar-fill {
background: #ffffff;
}
.swiper-pagination-black .swiper-pagination-bullet-active {
background: #000000;
}
.swiper-pagination-progressbar.swiper-pagination-black {
background: rgba(0, 0, 0, 0.25);
}
.swiper-pagination-progressbar.swiper-pagination-black .swiper-pagination-progressbar-fill {
background: #000000;
}
.swiper-pagination-lock {
display: none;
}
/* Scrollbar */
.swiper-scrollbar {
border-radius: 10px;
position: relative;
-ms-touch-action: none;
background: rgba(0, 0, 0, 0.1);
}
.swiper-container-horizontal > .swiper-scrollbar {
position: absolute;
left: 1%;
bottom: 3px;
z-index: 50;
height: 5px;
width: 98%;
}
.swiper-container-vertical > .swiper-scrollbar {
position: absolute;
right: 3px;
top: 1%;
z-index: 50;
width: 5px;
height: 98%;
}
.swiper-scrollbar-drag {
height: 100%;
width: 100%;
position: relative;
background: rgba(0, 0, 0, 0.5);
border-radius: 10px;
left: 0;
top: 0;
}
.swiper-scrollbar-cursor-drag {
cursor: move;
}
.swiper-scrollbar-lock {
display: none;
}
.swiper-zoom-container {
width: 100%;
height: 100%;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-box-pack: center;
-webkit-justify-content: center;
-ms-flex-pack: center;
justify-content: center;
-webkit-box-align: center;
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
text-align: center;
}
.swiper-zoom-container > img,
.swiper-zoom-container > svg,
.swiper-zoom-container > canvas {
max-width: 100%;
max-height: 100%;
-o-object-fit: contain;
object-fit: contain;
}
.swiper-slide-zoomed {
cursor: move;
}
/* Preloader */
.swiper-lazy-preloader {
width: 42px;
height: 42px;
position: absolute;
left: 50%;
top: 50%;
margin-left: -21px;
margin-top: -21px;
z-index: 10;
-webkit-transform-origin: 50%;
-ms-transform-origin: 50%;
transform-origin: 50%;
-webkit-animation: swiper-preloader-spin 1s steps(12, end) infinite;
animation: swiper-preloader-spin 1s steps(12, end) infinite;
}
.swiper-lazy-preloader:after {
display: block;
content: '';
width: 100%;
height: 100%;
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20viewBox%3D'0%200%20120%20120'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20xmlns%3Axlink%3D'http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink'%3E%3Cdefs%3E%3Cline%20id%3D'l'%20x1%3D'60'%20x2%3D'60'%20y1%3D'7'%20y2%3D'27'%20stroke%3D'%236c6c6c'%20stroke-width%3D'11'%20stroke-linecap%3D'round'%2F%3E%3C%2Fdefs%3E%3Cg%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(30%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(60%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(90%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(120%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(150%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.37'%20transform%3D'rotate(180%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.46'%20transform%3D'rotate(210%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.56'%20transform%3D'rotate(240%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.66'%20transform%3D'rotate(270%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.75'%20transform%3D'rotate(300%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.85'%20transform%3D'rotate(330%2060%2C60)'%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
background-position: 50%;
background-size: 100%;
background-repeat: no-repeat;
}
.swiper-lazy-preloader-white:after {
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20viewBox%3D'0%200%20120%20120'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20xmlns%3Axlink%3D'http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink'%3E%3Cdefs%3E%3Cline%20id%3D'l'%20x1%3D'60'%20x2%3D'60'%20y1%3D'7'%20y2%3D'27'%20stroke%3D'%23fff'%20stroke-width%3D'11'%20stroke-linecap%3D'round'%2F%3E%3C%2Fdefs%3E%3Cg%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(30%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(60%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(90%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(120%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(150%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.37'%20transform%3D'rotate(180%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.46'%20transform%3D'rotate(210%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.56'%20transform%3D'rotate(240%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.66'%20transform%3D'rotate(270%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.75'%20transform%3D'rotate(300%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.85'%20transform%3D'rotate(330%2060%2C60)'%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
}
@-webkit-keyframes swiper-preloader-spin {
100% {
-webkit-transform: rotate(360deg);
transform: rotate(360deg);
}
}
@keyframes swiper-preloader-spin {
100% {
-webkit-transform: rotate(360deg);
transform: rotate(360deg);
}
}
/* a11y */
.swiper-container .swiper-notification {
position: absolute;
left: 0;
top: 0;
pointer-events: none;
opacity: 0;
z-index: -1000;
}
.swiper-container-fade.swiper-container-free-mode .swiper-slide {
-webkit-transition-timing-function: ease-out;
-o-transition-timing-function: ease-out;
transition-timing-function: ease-out;
}
.swiper-container-fade .swiper-slide {
pointer-events: none;
-webkit-transition-property: opacity;
-o-transition-property: opacity;
transition-property: opacity;
}
.swiper-container-fade .swiper-slide .swiper-slide {
pointer-events: none;
}
.swiper-container-fade .swiper-slide-active,
.swiper-container-fade .swiper-slide-active .swiper-slide-active {
pointer-events: auto;
}
.swiper-container-cube {
overflow: visible;
}
.swiper-container-cube .swiper-slide {
pointer-events: none;
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
z-index: 1;
visibility: hidden;
-webkit-transform-origin: 0 0;
-ms-transform-origin: 0 0;
transform-origin: 0 0;
width: 100%;
height: 100%;
}
.swiper-container-cube .swiper-slide .swiper-slide {
pointer-events: none;
}
.swiper-container-cube.swiper-container-rtl .swiper-slide {
-webkit-transform-origin: 100% 0;
-ms-transform-origin: 100% 0;
transform-origin: 100% 0;
}
.swiper-container-cube .swiper-slide-active,
.swiper-container-cube .swiper-slide-active .swiper-slide-active {
pointer-events: auto;
}
.swiper-container-cube .swiper-slide-active,
.swiper-container-cube .swiper-slide-next,
.swiper-container-cube .swiper-slide-prev,
.swiper-container-cube .swiper-slide-next + .swiper-slide {
pointer-events: auto;
visibility: visible;
}
.swiper-container-cube .swiper-slide-shadow-top,
.swiper-container-cube .swiper-slide-shadow-bottom,
.swiper-container-cube .swiper-slide-shadow-left,
.swiper-container-cube .swiper-slide-shadow-right {
z-index: 0;
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
}
.swiper-container-cube .swiper-cube-shadow {
position: absolute;
left: 0;
bottom: 0px;
width: 100%;
height: 100%;
background: #000;
opacity: 0.6;
-webkit-filter: blur(50px);
filter: blur(50px);
z-index: 0;
}
.swiper-container-flip {
overflow: visible;
}
.swiper-container-flip .swiper-slide {
pointer-events: none;
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
z-index: 1;
}
.swiper-container-flip .swiper-slide .swiper-slide {
pointer-events: none;
}
.swiper-container-flip .swiper-slide-active,
.swiper-container-flip .swiper-slide-active .swiper-slide-active {
pointer-events: auto;
}
.swiper-container-flip .swiper-slide-shadow-top,
.swiper-container-flip .swiper-slide-shadow-bottom,
.swiper-container-flip .swiper-slide-shadow-left,
.swiper-container-flip .swiper-slide-shadow-right {
z-index: 0;
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
}
.swiper-container-coverflow .swiper-wrapper {
/* Windows 8 IE 10 fix */
-ms-perspective: 1200px;
}
... ...
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>首页</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<link rel="stylesheet" type="text/css" href="css/common.css">
<link rel="stylesheet" type="text/css" href="css/index.css">
<link rel="stylesheet" type="text/css" href="https://at.alicdn.com/t/font_1037215_u8m5zjdi1u.css">
<script src="js/base.js"></script>
<script src="js/jquery.min.js"></script>
<link rel="stylesheet" href="css/swiper.css">
<style>
.icon-caidan{
font-size: 0.5rem;
}
.icon-magnifier{
color: #999999;
}
.icon-bofangshipin{
font-size: 0.38rem;
}
.swiper-container {
width: 100%;
height: 100%;
}
.swiper-slide {
text-align: center;
font-size: 18px;
background: #fff;
/* Center slide text vertically */
display: -webkit-box;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-box-pack: center;
-ms-flex-pack: center;
-webkit-justify-content: center;
justify-content: center;
-webkit-box-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
border-right: 0.1rem;
}
.swiper-slide img{
width: 100%;
height: 100%;
border-radius: 0.1rem;
}
</style>
</head>
<script src="js/swiper.js"></script>
<body>
<div class="container">
<div class="top">
<!--顶部菜单-->
<div class="top_t">
<!--左-->
<div class="top_t_left">
<!--中文字-->
<div class="top_t_left_text">
</div>
<!--菜单图标-->
<div class="iconfont icon-caidan"></div>
</div>
<!--中-->
<div class="top_t_middle">
<img src="images/peke.png">
</div>
<!--右-->
<div class="top_t_right">
<!--铃声-->
<div class="iconfont icon-10"></div>
<!--头像-->
<div class="top_t_right_pic">
<img src="images/1.png">
</div>
</div>
</div>
<!--底部搜索-->
<div class="top_d">
<div class="iconfont icon-magnifier"></div>
<input class="top_d_input" placeholder="搜索音乐/作品/风格">
</div>
</div>
<!--轮播图-->
<div class="banner">
<!-- Swiper -->
<div class="swiper-container">
<div class="swiper-wrapper">
<div class="swiper-slide">
<img src="images/banner_1.png">
</div>
<div class="swiper-slide">
<img src="images/banner_2.png">
</div>
<div class="swiper-slide">
<img src="images/banner_3.png">
</div>
</div>
<!-- Add Pagination -->
<div class="swiper-pagination"></div>
</div>
</div>
<!--最新-->
<div class="new">
<div class="new_e">
The latest
</div>
<div class="new_c">
最新
</div>
<!--最新小视频窗口-->
<div class="new_video_item">
<div class="new_video">
<div class="new_video_top">
<img src="images/peke.png">
</div>
<div class="new_video_bottom">
<div class="iconfont icon-bofangshipin"></div>
<div class="new_video_bottom_right">
</div>
<div class="new_video_bottom_name">
小猪佩奇
小猪佩奇
小猪佩奇
</div>
</div>
</div>
<div class="new_video">
<div class="new_video_top">
<img src="images/peke.png">
</div>
<div class="new_video_bottom">
<div class="iconfont icon-bofangshipin"></div>
<div class="new_video_bottom_right">
</div>
<div class="new_video_bottom_name">
小猪佩奇
小猪佩奇
小猪佩奇
</div>
</div>
</div>
</div>
<!--最新打视频窗口-->
<div class="new_video_big">
<div class="new_video_big_pic">
<img src="images/peke.png">
</div>
<div class="new_video_big_bottom">
<div class="iconfont icon-bofangshipin"></div>
<div class="new_video_bottom_right">
</div>
<div class="new_video_big_name_text">
小猪佩奇
小猪佩奇
小猪佩奇
小猪佩奇
小猪佩奇
小猪佩奇
小猪佩奇
小猪佩奇
小猪佩奇
小猪佩奇
小猪佩奇
小猪佩奇
</div>
</div>
</div>
</div>
<!--视频-->
<div class="video">
<div class="new_e">
Video
</div>
<div class="new_c">
视频
</div>
<div class="item_pic">
<!--图片盒子-->
<div class="pic_box">
<!--图片-->
<div class="pic_box_top">
<img src="images/peke.png">
</div>
<!--文字-->
<div class="pic_box_bottom">
某某主题
</div>
</div>
<div class="pic_box">
<!--图片-->
<div class="pic_box_top">
<img src="images/peke.png">
</div>
<!--文字-->
<div class="pic_box_bottom">
某某主题
</div>
</div>
</div>
<!--更多-->
<div class="video_more">
MORE
</div>
</div>
<!--文章-->
<div class="title">
<div class="new_e marin_top">
Article
</div>
<div class="new_c">
文章
</div>
<div class="item_pic">
<!--图片盒子-->
<div class="pic_box">
<!--图片-->
<div class="pic_box_top">
<img src="images/peke.png">
</div>
<!--文字-->
<div class="pic_box_bottom between">
<p>某某主题</p>
<p>2019.1.12</p>
</div>
</div>
<div class="pic_box">
<!--图片-->
<div class="pic_box_top">
<img src="images/peke.png">
</div>
<!--文字-->
<div class="pic_box_bottom between">
<p>某某主题</p>
<p>2019.1.12</p>
</div>
</div>
</div>
<!--更多-->
<div class="video_more">
MORE
</div>
</div>
<!--演出-->
<div class="show">
<div class="new_e marin_top">
Performance
</div>
<div class="new_c">
演出
</div>
<!--演出时间筛选-->
<div class="show_time">
<!--年-->
<div class="show_time_year">
</div>
<!--月-->
<div class="show_time_month">
</div>
</div>
<div class="item_pic">
<!--图片盒子-->
<div class="pic_box">
<!--图片-->
<div class="pic_box_top">
<img src="images/peke.png">
</div>
<!--文字-->
<div class="pic_box_bottom between">
<p>某某主题</p>
<p>2019.1.12</p>
</div>
</div>
<div class="pic_box">
<!--图片-->
<div class="pic_box_top">
<img src="images/peke.png">
</div>
<!--文字-->
<div class="pic_box_bottom between">
<p>某某主题</p>
<p>2019.1.12</p>
</div>
</div>
</div>
<!--更多-->
<div class="video_more">
MORE
</div>
</div>
</div>
</body>
<script>
var swiper = new Swiper('.swiper-container',{
loop: true, // 循环模式选项
// autoplay: {
// delay: 1000,
// disableOnInteraction: false,
// },
pagination: {
el: '.swiper-pagination',
},
});
</script>
</html>
... ...
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>首页</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<link rel="stylesheet" type="text/css" href="css/common.css">
<link rel="stylesheet" type="text/css" href="css/index.css">
<link rel="stylesheet" type="text/css" href="css/index_2.css">
<link rel="stylesheet" type="text/css" href="https://at.alicdn.com/t/font_1037215_u8m5zjdi1u.css">
<script src="js/base.js"></script>
<script src="js/jquery.min.js"></script>
<link rel="stylesheet" href="css/swiper.css">
<style>
.icon-caidan{
font-size: 0.5rem;
}
.icon-magnifier{
color: #999999;
}
.icon-bofangshipin{
font-size: 0.38rem;
}
.swiper-container {
width: 100%;
height: 100%;
}
.swiper-slide {
text-align: center;
font-size: 18px;
background: #fff;
/* Center slide text vertically */
display: -webkit-box;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-box-pack: center;
-ms-flex-pack: center;
-webkit-justify-content: center;
justify-content: center;
-webkit-box-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
border-right: 0.1rem;
}
.swiper-slide img{
width: 100%;
height: 100%;
border-radius: 0.1rem;
}
</style>
</head>
<script src="js/swiper.js"></script>
<body>
<div class="container">
<div class="top">
<!--顶部菜单-->
<div class="top_t">
<!--左-->
<div class="top_t_left">
<!--中文字-->
<div class="top_t_left_text">
</div>
<!--菜单图标-->
<div class="iconfont icon-caidan"></div>
</div>
<!--中-->
<div class="top_t_middle">
<img src="images/peke.png">
</div>
<!--右-->
<div class="top_t_right">
<!--铃声-->
<div class="iconfont icon-10"></div>
<!--头像-->
<div class="top_t_right_pic">
<img src="images/1.png">
</div>
</div>
</div>
<!--底部搜索-->
<div class="top_d">
<div class="iconfont icon-magnifier"></div>
<input class="top_d_input" placeholder="搜索音乐/作品/风格">
</div>
</div>
<!--轮播图-->
<div class="banner">
<!-- Swiper -->
<div class="swiper-container">
<div class="swiper-wrapper">
<div class="swiper-slide">
<img src="images/banner_1.png">
</div>
<div class="swiper-slide">
<img src="images/banner_2.png">
</div>
<div class="swiper-slide">
<img src="images/banner_3.png">
</div>
</div>
<!-- Add Pagination -->
<div class="swiper-pagination"></div>
</div>
</div>
<!--最新-->
<div class="new">
<div class="new_e">
The latest
</div>
<div class="new_c">
最新
</div>
<!--最新小视频窗口-->
<div class="new_video_item">
<div class="new_video">
<div class="new_video_top">
<img src="images/peke.png">
</div>
<div class="new_video_bottom">
<div class="iconfont icon-bofangshipin"></div>
<div class="new_video_bottom_right">
</div>
<div class="new_video_bottom_name">
小猪佩奇
小猪佩奇
小猪佩奇
</div>
</div>
</div>
<div class="new_video">
<div class="new_video_top">
<img src="images/peke.png">
</div>
<div class="new_video_bottom">
<div class="iconfont icon-bofangshipin"></div>
<div class="new_video_bottom_right">
</div>
<div class="new_video_bottom_name">
小猪佩奇
小猪佩奇
小猪佩奇
</div>
</div>
</div>
</div>
<!--最新打视频窗口-->
<div class="new_video_big">
<div class="new_video_big_pic">
<img src="images/peke.png">
</div>
<div class="new_video_big_bottom">
<div class="iconfont icon-bofangshipin"></div>
<div class="new_video_bottom_right">
</div>
<div class="new_video_big_name_text">
小猪佩奇
小猪佩奇
小猪佩奇
小猪佩奇
小猪佩奇
小猪佩奇
小猪佩奇
小猪佩奇
小猪佩奇
小猪佩奇
小猪佩奇
小猪佩奇
</div>
</div>
</div>
</div>
<!--视频-->
<div class="video">
<div class="new_e">
Video
</div>
<div class="new_c">
视频
</div>
<div class="item_pic">
<!--图片盒子-->
<div class="pic_box">
<!--图片-->
<div class="pic_box_top">
<img src="images/peke.png">
</div>
<!--文字-->
<div class="pic_box_bottom">
某某主题
</div>
</div>
<div class="pic_box">
<!--图片-->
<div class="pic_box_top">
<img src="images/peke.png">
</div>
<!--文字-->
<div class="pic_box_bottom">
某某主题
</div>
</div>
</div>
<!--更多-->
<div class="video_more">
MORE
</div>
</div>
<!--文章-->
<div class="title">
<div class="new_e marin_top">
Article
</div>
<div class="new_c">
文章
</div>
<div class="item_pic">
<!--图片盒子-->
<div class="pic_box">
<!--图片-->
<div class="pic_box_top">
<img src="images/peke.png">
</div>
<!--文字-->
<div class="pic_box_bottom between">
<p>某某主题</p>
<p>2019.1.12</p>
</div>
</div>
<div class="pic_box">
<!--图片-->
<div class="pic_box_top">
<img src="images/peke.png">
</div>
<!--文字-->
<div class="pic_box_bottom between">
<p>某某主题</p>
<p>2019.1.12</p>
</div>
</div>
</div>
<!--更多-->
<div class="video_more">
MORE
</div>
</div>
<!--演出-->
<div class="show">
<div class="new_e marin_top">
Performance
</div>
<div class="new_c">
演出
</div>
<!--演出时间筛选-->
<div class="show_time">
<!--年-->
<div class="show_time_year">
</div>
<!--月-->
<div class="show_time_month">
</div>
</div>
<div class="item_pic">
<!--图片盒子-->
<div class="pic_box">
<!--图片-->
<div class="pic_box_top">
<img src="images/peke.png">
</div>
<!--文字-->
<div class="pic_box_bottom between">
<p>某某主题</p>
<p>2019.1.12</p>
</div>
</div>
<div class="pic_box">
<!--图片-->
<div class="pic_box_top">
<img src="images/peke.png">
</div>
<!--文字-->
<div class="pic_box_bottom between">
<p>某某主题</p>
<p>2019.1.12</p>
</div>
</div>
</div>
<!--更多-->
<div class="video_more">
MORE
</div>
</div>
<!--动态层-->
<div class="mask">
<div class="pop">
<div class="pop_text pop_color">
精选
</div>
<div class="pop_text">
动态
</div>
<div class="pop_text">
百科
</div>
</div>
<!--1111-->
</div>
</div>
</body>
<script>
var swiper = new Swiper('.swiper-container',{
loop: true, // 循环模式选项
// autoplay: {
// delay: 1000,
// disableOnInteraction: false,
// },
pagination: {
el: '.swiper-pagination',
},
});
</script>
</html>
... ...
/**
*
* @authors Your Name (you@example.org)
* @date 2018-11-09 13:59:47
* @version $Id$
*/
! function (a) {
function b() {
var Length = document.documentElement.clientWidth;
var baseWidth = Length <= 1024 ? Length : 1024 < Length ? 750 : '';
document.documentElement.style.fontSize = baseWidth / 750 * 100 + 'px';
}
window.addEventListener("DOMContentLoaded", function () {
b()
}, !1), window.addEventListener("resize", function () {
b()
}), b()
}(window);
//回退
window.onload = function(){
var $back = document.getElementsByClassName('back')[0];
if($back){
$back.onclick=function(){
window.history.back()
}
}
}
... ...
此 diff 太大无法显示。
此 diff 太大无法显示。
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>人物详情</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<link rel="stylesheet" type="text/css" href="css/common.css">
<link rel="stylesheet" type="text/css" href="css/rwxq.css">
<link rel="stylesheet" type="text/css" href="https://at.alicdn.com/t/font_1037215_tuxoqivait.css">
<link rel="stylesheet" href="css/swiper.css">
<script src="js/base.js"></script>
<script src="js/jquery.min.js"></script>
<style>
.icon-caidan{
font-size: 0.5rem;
}
.icon-magnifier{
color: #999999;
}
.swiper-container {
width: 100%;
height: 100%;
}
.swiper-slide {
text-align: center;
font-size: 18px;
background: #fff;
/* Center slide text vertically */
display: -webkit-box;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-box-pack: center;
-ms-flex-pack: center;
-webkit-justify-content: center;
justify-content: center;
-webkit-box-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
border-right: 0.1rem;
}
.swiper-slide img{
width: 100%;
height: 100%;
}
.swiper-pagination-fraction, .swiper-pagination-custom, .swiper-container-horizontal > .swiper-pagination-bullets {
bottom: 20px;
left: 0;
width: 100%;
}
.swiper-pagination-bullet-active {
opacity: 1;
background: #ffffff;
}
</style>
</head>
<body>
<div class="container">
<!--顶部菜单-->
<div class="top">
<!--顶部菜单-->
<div class="top_t">
<!--左-->
<div class="top_t_left">
<!--中文字-->
<div class="top_t_left_text">
</div>
<!--菜单图标-->
<div class="iconfont icon-caidan"></div>
</div>
<!--中-->
<div class="top_t_middle">
<img src="images/peke.png">
</div>
<!--右-->
<div class="top_t_right">
<!--铃声-->
<div class="iconfont icon-10"></div>
<!--头像-->
<div class="top_t_right_pic">
<img src="images/1.png">
</div>
</div>
</div>
<!--底部搜索-->
<div class="top_d">
<div class="iconfont icon-magnifier"></div>
<input class="top_d_input" placeholder="搜索音乐/作品/风格">
</div>
</div>
<!--轮播图-->
<div class="banner">
<!-- Swiper -->
<div class="swiper-container">
<div class="swiper-wrapper">
<div class="swiper-slide">
<img src="images/banner_1.png">
</div>
<div class="swiper-slide">
<img src="images/banner_2.png">
</div>
<div class="swiper-slide">
<img src="images/banner_3.png">
</div>
</div>
<!-- Add Pagination -->
<div class="swiper-pagination"></div>
</div>
</div>
<!--简介-->
<div class="intro">
<!--姓名框-->
<div class="intro_box">
<!--姓名-->
<div class="intro_box_name">
<p>王备</p>
<p class="intro_box_name_pinyin">WANG BEI</p>
</div>
<div class="intro_attention">
<p class="intro_attention_title">关注</p>
<p class="iconfont icon-dianzan number">11</p>
</div>
</div>
<!--简介标题-->
<div class="intro_title">
简介
</div>
<!--简介正文-->
<div class="intro_small">
王备,中国著名音乐制作人,【华语音乐家协会】理事,低调的音乐和艺术大师,曾为多部热门影视大片创作原声音乐。代表音乐作品有:《大旗英雄传》、《倚天屠龙记》、《香粉传奇》等。
</div>
</div>
<!--相关视频-->
<div class="correlation">
<div class="correlation_top">
<div class="correlation_top_left">
相关视频
</div>
<div class="correlation_top_right">
更多
</div>
</div>
<!--视频-->
<div class="correlation_box">
<div class="correlation_bottom">
<!--视频-->
<div class="correlation_bottom_img">
<img src="images/peke.png">
</div>
<!--文字-->
<div class="correlation_bottom_title">
第一个视频
</div>
</div>
<div class="correlation_bottom">
<!--视频-->
<div class="correlation_bottom_img">
<img src="images/peke.png">
</div>
<!--文字-->
<div class="correlation_bottom_title">
第一个视频
</div>
</div>
</div>
</div>
<!------------教育经历------------>
<div class="big">
教育经历
</div>
<!--内容-->
<div class="small">
华语音乐家协会理事
</div>
<!--职称-->
<div class="big">
职称
</div>
<!--职称内容-->
<div class="small">
华语音乐家协会理事
</div>
<!--称号-->
<div class="big">
称号
</div>
<!--称号内容-->
<div class="small">
低调的音乐和艺术大师
</div>
<!--主要成就-->
<div class="big">
主要成就
</div>
<!--成就内容-->
<div class="small">
《大旗英雄传》系列 <br>
《倚天屠龙记》系列 <br>
《大明帝国之夜来风雨》系列 <br>
《烟花三月》系列 <br>
《香粉传奇》系列 <br>
《天和局》系列 <br>
</div>
<!------------ 动态 ------------>
<div class="dynamic">
<div class="dynamic_title">
动态
</div>
<!--演出-->
<div class="dynamic_item">
<div class="dynamic_item_title">
演出
</div>
<div class="dynamic_item_time">
时间
<div class="dynamic_item_date"></div>
</div>
</div>
<!--演出名称-->
<div class="dynamic_name">
<div class="dynamic_name_left">
演出名称
</div>
<div class="dynamic_name_right">
7月12日
</div>
</div>
<div class="dynamic_name">
<div class="dynamic_name_left">
演出名称
</div>
<div class="dynamic_name_right">
7月12日
</div>
</div>
<!--事件-->
<div class="dynamic_item">
<div class="dynamic_item_title">
时间
</div>
<div class="dynamic_item_time">
时间
<div class="dynamic_item_date"></div>
</div>
</div>
<!--演出名称-->
<div class="dynamic_name">
<div class="dynamic_name_left">
演出名称
</div>
<div class="dynamic_name_right">
7月12日
</div>
</div>
<div class="dynamic_name">
<div class="dynamic_name_left">
演出名称
</div>
<div class="dynamic_name_right">
7月12日
</div>
</div>
</div>
<!------------ 作品 ------------>
<div class="production">
<div class="production_title">
作品
</div>
<!--类别-->
<div class="production_category">
<p>曲目</p>
<p>书籍</p>
<p>CD</p>
<p>DVD</p>
</div>
<!--视频盒子-->
<div class="production_box">
<div class="production_box_big">
<!--图片-->
<div class="production_box_big_pic">
<img src="images/peke.png">
</div>
<!--文字-->
<div class="production_box_big_title">
<p class="title_big">第一个视频</p>
<p class="title_small">似水柔情歌词施天怡 制词爱无常 人相恋 无可...</p>
</div>
</div>
<div class="production_box_big">
<!--图片-->
<div class="production_box_big_pic">
<img src="images/peke.png">
</div>
<!--文字-->
<div class="production_box_big_title">
<p class="title_big">第一个视频</p>
<p class="title_small">似水柔情歌词施天怡 制词爱无常 人相恋 无可...</p>
</div>
</div>
</div>
</div>
</div>
</body>
<script src="js/swiper.js"> </script>
<script>
var swiper = new Swiper('.swiper-container',{
loop: true, // 循环模式选项
// autoplay: {
// delay: 1000,
// disableOnInteraction: false,
// },
pagination: {
el: '.swiper-pagination',
},
});
</script>
</html>
... ...