作者 乔爽

update

.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{
position: relative;
}
.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;
}
/*---------- 信息框 ----------*/
.mid{
margin-top: 0.53rem;
width: 6.86rem;
height: 1.5rem;
background:rgba(255,255,255,1);
box-shadow:0 0.04rem 0.12rem 0 rgba(155,155,155,0.1);
border-radius: 0.1rem;
display: flex;
align-items: center;
box-sizing: border-box;
padding-left: 0.3rem;
}
.mid_left{
width: 0.9rem;
height: 0.9rem;
display: flex;
/*align-items: center;*/
border-radius: 50%;
}
.mid_left img{
width: 100%;
height: 100%;
border-radius: 50%;
}
.mid_right{
margin-left: 0.3rem;
}
.mid_right_big{
font-size: 0.36rem;
font-family:PingFang-SC-Bold;
font-weight:bold;
color:rgba(51,51,51,1);
line-height: 0.24rem;
display: flex;
}
.mid_right_small{
margin-top: 0.2rem;
font-size: 0.2rem;
font-family:PingFang-SC-Medium;
font-weight:500;
color:rgba(51,51,51,1);
line-height: 0.24rem;
display: flex;
}
.item{
width: 6.86rem;
display: flex;
justify-content: space-around;
margin-top: 0.6rem;
}
.item_m{
font-size: 0.36rem;
font-family:MicrosoftYaHei-Bold;
font-weight:bold;
/*color:rgba(166,16,16,1);*/
line-height: 0.36rem;
position: relative;
}
/*.item_right{*/
/*font-size: 0.36rem;*/
/*font-family:MicrosoftYaHei-Bold;*/
/*font-weight:bold;*/
/*color:rgba(51,51,51,1);*/
/*line-height: 0.36rem;*/
/*position: relative;*/
/*}*/
.item_number{
width: 0.2rem;
height: 0.2rem;
background:rgba(166,16,16,1);
border:2px solid rgba(255, 255, 255, 1);
border-radius:50%;
font-size: 0.12rem;
font-family:MicrosoftYaHei;
font-weight:400;
color:rgba(252,254,255,1);
line-height: 0.36rem;
display: flex;
align-items: center;
justify-content: center;
position: absolute;
top: -0.18rem;
left: 0.6rem;
}
.item_color{
color: #A61010;
}
.item_color:before{
content: "";
width: 0.8rem;
height: 0.02rem;
background: #A61010;
position: absolute;
bottom: -0.15rem;
/*color: #A61010;*/
}
.message{
margin-top: 0.5rem;
width: 6.86rem;
font-size: 0.24rem;
font-family:MicrosoftYaHei;
font-weight:400;
line-height: 0.36rem;
}
.message_box{
margin-top: 0.2rem;
}
.color_red{
color: #A61010;
}
/*审核消息*/
.audit{
margin-top: 0.66rem;
width: 6.86rem;
}
.audit_big{
margin-top: 0.28rem;
font-size: 0.24rem;
font-family:MicrosoftYaHei-Bold;
font-weight:bold;
color:rgba(51,51,51,1);
line-height: 0.36rem;
}
.audit_big:first-child{
margin-top: 0;
}
.audit_big:last-child{
margin-bottom: 0.6rem;
}
.audit_small{
font-size: 0.24rem;
font-family:MicrosoftYaHei;
font-weight:400;
color:rgba(51,51,51,1);
line-height: 0.36rem;
}
... ...
... ... @@ -57,7 +57,7 @@
align-items: center;
}
.icon-10{
position: relative;
}
.top_t_right_pic{
width: 0.4rem;
... ...
... ... @@ -29,7 +29,6 @@
align-items: center;
justify-content: center;
font-size: 0.48rem;
font-family:PingFang-SC-Bold;
font-weight:bold;
... ...
.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{
position: relative;
}
.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;
}
/*---------- 信息框 ----------*/
.mid{
margin-top: 0.53rem;
width: 6.86rem;
height: 1.5rem;
background:rgba(255,255,255,1);
box-shadow:0 0.04rem 0.12rem 0 rgba(155,155,155,0.1);
border-radius: 0.1rem;
display: flex;
flex-flow: column;
}
.mid_box{
display: flex;
align-items: center;
box-sizing: border-box;
padding-left: 0.3rem;
}
.mid_left{
width: 0.9rem;
height: 0.9rem;
display: flex;
/*align-items: center;*/
border-radius: 50%;
}
.mid_left img{
width: 100%;
height: 100%;
border-radius: 50%;
}
.mid_right{
margin-left: 0.3rem;
}
.mid_right_big{
font-size: 0.36rem;
font-family:PingFang-SC-Bold;
font-weight:bold;
color:rgba(51,51,51,1);
line-height: 0.24rem;
display: flex;
}
.mid_right_small{
margin-top: 0.2rem;
font-size: 0.2rem;
font-family:PingFang-SC-Medium;
font-weight:500;
color:rgba(51,51,51,1);
line-height: 0.24rem;
display: flex;
}
.mid_bottom{
width: 5rem;
margin-top: 0.12rem;
margin-left: 1.5rem;
display: flex;
justify-content: space-between;
}
.mid_bottom_left{
width: 2rem;
display: flex;
justify-content: space-between;
}
.mid_bottom_left_title{
font-size: 0.2rem;
font-family:PingFang-SC-Medium;
font-weight:500;
color:rgba(51,51,51,1);
line-height: 0.24rem;
display: flex;
}
.mid_bottom_left_number{
font-size: 0.28rem;
font-family:PingFang-SC-Bold;
font-weight:bold;
color:rgba(51,51,51,1);
line-height: 0.24rem;
}
.mid_bottom_right{
width: 1rem;
height: 0.28rem;
background: #A61010;
border-radius: 0.04rem;
font-size: 0.2rem;
font-family:PingFang-SC-Medium;
font-weight:500;
color:rgba(255,255,255,1);
line-height: 0.28rem;
text-align: center;
}
.items{
margin-top: 0.63rem;
width: 6.86rem;
font-size: 0.36rem;
font-family:PingFang-SC-Bold;
font-weight:bold;
color:rgba(51,51,51,1);
line-height: 0.24rem;
}
.item{
margin-top: 0.24rem;
width: 6.86rem;
display: flex;
}
.item_left{
width: 2.99rem;
height: 1.74rem;
display: flex;
border-radius: 0.08rem;
}
.item_left img{
width: 100%;
height: 100%;
border-radius: 0.08rem;
}
.item_right{
margin-left: 0.31rem;
}
.item_right_top{
font-size: 0.28rem;
font-family:PingFang-SC-Bold;
font-weight:bold;
color:rgba(51,51,51,1);
line-height: 0.36rem;
}
.item_right_mid{
font-size: 0.2rem;
font-family:PingFang-SC-Medium;
font-weight:500;
color:rgba(51,51,51,1);
line-height: 0.36rem;
}
.item_right_bottom{
font-size: 0.2rem;
font-family:PingFang-SC-Medium;
font-weight:500;
color:rgba(51,51,51,1);
line-height: 0.36rem;
}
... ...
.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{
position: relative;
}
.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;
}
.mid{
width: 5.6rem;
margin-top: 0.32rem;
display: flex;
flex-flow: column;
}
.mid_big{
width: 100%;
font-size: 0.36rem;
font-family:PingFang-SC-Bold;
font-weight:bold;
color:rgba(51,51,51,1);
line-height: 0.24rem;
/*display: flex;*/
text-align: center;
}
.mid_item{
margin-top: 0.53rem;
width: 5.6rem;
display: flex;
/*flex-flow: column;*/
justify-content: space-between;
position: relative;
}
.mid_item_left{
font-size: 0.3rem;
font-family:PingFang-SC-Medium;
font-weight:500;
color:rgba(51,51,51,1);
line-height: 0.24rem;
}
.mid_item_right{
font-size: 0.2rem;
font-family:PingFang-SC-Medium;
font-weight:500;
color:rgba(166,16,16,1);
line-height: 0.24rem;
}
.mid_item_num{
width: 3rem;
font-size: 0.24rem;
font-family:PingFang-SC-Medium;
font-weight:500;
color:rgba(153,153,153,1);
position: absolute;
left: 1.5rem;
text-align: center;
}
/*设置邮箱*/
.mid_item2{
margin-top: 0.33rem;
width: 3.4rem;
display: flex;
justify-content: space-between;
}
.mid_item2_left{
font-size: 0.3rem;
font-family:PingFang-SC-Medium;
font-weight:500;
color:rgba(51,51,51,1);
line-height: 0.24rem;
}
.mid_item2_right{
font-size: 0.2rem;
font-family:PingFang-SC-Medium;
font-weight:500;
color:rgba(166,16,16,1);
}
.bottom{
margin-top: 0.65rem;
width: 5.6rem;
display: flex;
flex-flow: column;
}
.bottom_big{
width: 100%;
font-size: 0.36rem;
font-family:PingFang-SC-Bold;
font-weight:bold;
color:rgba(51,51,51,1);
line-height: 0.24rem;
/*display: flex;*/
text-align: center;
}
.bottom_item{
margin-top: 0.07rem;
display: flex;
flex-wrap: wrap-reverse;
justify-content: space-between;
margin-bottom: 0.6rem;
}
.bottom_item_box{
margin-top: 0.4rem;
width: 2.2rem;
height: 2.2rem;
display: flex;
flex-flow: column;
background-color: #ffffff;
border-radius: 0.1rem;
box-shadow:0 0.01rem 0.06rem 0 rgba(102,102,102,0.14);
}
.bottom_item_box_top{
width: 2.2rem;
height: 1.5rem;
display: flex;
flex-flow: column;
align-items: center;
justify-content: center;
}
.bottom_item_box_top_p{
width: 0.7rem;
height: 0.7rem;
display: flex;
border-radius: 50%;
}
.bottom_item_box_top_p img{
width: 100%;
height: 100%;
-webkit-border-radius: 50%;
-moz-border-radius: 50%;
border-radius: 50%;
}
.bottom_item_box_top_t{
margin-top: 0.15rem;
font-size: 0.16rem;
font-family:MicrosoftYaHei;
font-weight:400;
color:rgba(51,51,51,1);
}
.bottom_item_box_mid{
width: 2.2rem;
height: 0.02rem;
background: #E8E8E8;
}
.bottom_item_box_bottom{
height: 0.64rem;
font-size: 0.24rem;
font-family:MicrosoftYaHei;
font-weight:400;
color:rgba(51,51,51,1);
display: flex;
align-items: center;
justify-content: center;
}
.margin_t{
margin-top: 0.1rem;
}
... ...
<!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/grzy.css">
<link rel="stylesheet" type="text/css" href="https://at.alicdn.com/t/font_1037215_aj31y803pii.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;
}
.f_size{
font-weight: normal;
font-size: 0.18rem;
}
.icon-xiugai{
margin-left: 0.15rem;
font-size: 0.3rem;
color: #999999;
display: flex;
font-weight: bold;
align-items: center;
}
.top_dot{
width: 0.08rem;
height: 0.08rem;
background:rgba(166,16,16,1);
border:1px solid rgba(255, 255, 255, 1);
border-radius: 50%;
position: absolute;
top: 0;
right: 0;
}
.color_black{
color: black;
}
.margin_t{
margin-top: 0.1rem;
}
</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 class="top_dot"></div>
</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="mid">
<!--左边图片-->
<div class="mid_left">
<img src="images/peke.png">
</div>
<!--右边图片-->
<div class="mid_right">
<!--大昵称-->
<div class="mid_right_big">
皮还是皮不过我的你
<!--修改-->
<div class="iconfont icon-xiugai ">
<p class="f_size">修改</p>
</div>
</div>
<!--小昵称-->
<div class="mid_right_small">
皮还是皮不过我的你
<!--修改按钮-->
<div class="iconfont icon-xiugai ">
<p class="f_size">修改</p>
</div>
</div>
</div>
</div>
<!--动态 审核-->
<div class="item">
<div class="item_m item_color" data-id ="1">
动态
<div class="item_number" data-id ="1">
12
</div>
</div>
<div class="item_m ">
审核
<div class="item_number">
9
</div>
</div>
</div>
<!--动态消息-->
<div class="message" >
<div class="message_box">
<p class="color_red">
小猪佩奇
<span class="color_black">
赞了你的
</span>
《中国流行音乐的发展历程》
</p>
<p class="color_red margin_t">
小猪佩奇
<span class="color_black">
关注了你
</span>
</p>
</div>
<div class="message_box">
<p class="color_red">
小猪佩奇
<span class="color_black">
赞了你的
</span>
《中国流行音乐的发展历程》
</p>
<p class="color_red margin_t">
小猪佩奇
<span class="color_black">
关注了你
</span>
</p>
</div>
<div class="message_box">
<p class="color_red">
小猪佩奇
<span class="color_black">
赞了你的
</span>
《中国流行音乐的发展历程》
</p>
<p class="color_red margin_t">
小猪佩奇
<span class="color_black">
关注了你
</span>
</p>
</div>
</div>
<!--审核消息-->
<div class="audit" style="display: none;" >
<div class="audit_big">
正在审核
<p class="audit_small">你提交的 <span class="color_red">12306</span>内容正在审核中,请耐心等待。</p>
</div>
<div class="audit_big" >
正在审核
<p class="audit_small">你提交的 <span class="color_red">12306</span>内容正在审核中,请耐心等待。</p>
</div>
</div>
</div>
</body>
<script>
//标题切换
$('.item_m').click(function () {
var index = $(this).index()
$(this).addClass('item_color').siblings(".item_m").removeClass('item_color')
//内容切换
var dataid = $(this).attr("data-id");
if(dataid == 1){
$(".message").show();
$('.audit').hide();
}else {
$(".audit").show();
$(".message").hide();
}
})
</script>
</html>
... ...
... ... @@ -51,6 +51,17 @@
height: 100%;
border-radius: 0.1rem;
}
.top_dot{
width: 0.08rem;
height: 0.08rem;
background:rgba(166,16,16,1);
border:1px solid rgba(255, 255, 255, 1);
border-radius: 50%;
position: absolute;
top: 0;
right: 0;
}
</style>
</head>
<script src="js/swiper.js"></script>
... ... @@ -66,7 +77,7 @@
</div>
<!--菜单图标-->
<div class="iconfont icon-caidan"></div>
<div class="iconfont icon-caidan" ></div>
</div>
<!--中-->
<div class="top_t_middle">
... ... @@ -75,7 +86,9 @@
<!--右-->
<div class="top_t_right">
<!--铃声-->
<div class="iconfont icon-10"></div>
<div class="iconfont icon-10">
<div></div>
</div>
<!--头像-->
<div class="top_t_right_pic">
<img src="images/1.png">
... ... @@ -319,5 +332,9 @@
el: '.swiper-pagination',
},
});
$('.icon-magnifier').click(
window.location.href = 'grzy_1'
)
</script>
</html>
... ...
... ... @@ -52,6 +52,16 @@
height: 100%;
border-radius: 0.1rem;
}
.top_dot{
width: 0.08rem;
height: 0.08rem;
background:rgba(166,16,16,1);
border:1px solid rgba(255, 255, 255, 1);
border-radius: 50%;
position: absolute;
top: 0;
right: 0;
}
</style>
</head>
<script src="js/swiper.js"></script>
... ... @@ -76,7 +86,9 @@
<!--右-->
<div class="top_t_right">
<!--铃声-->
<div class="iconfont icon-10"></div>
<div class="iconfont icon-10">
<div class="top_dot"></div>
</div>
<!--头像-->
<div class="top_t_right_pic">
<img src="images/1.png">
... ...
... ... @@ -20,6 +20,9 @@
.icon-magnifier{
color: #999999;
}
.icon-10{
position: relative;
}
.swiper-container {
width: 100%;
height: 100%;
... ... @@ -58,6 +61,16 @@
opacity: 1;
background: #ffffff;
}
.top_dot{
width: 0.08rem;
height: 0.08rem;
background:rgba(166,16,16,1);
border:1px solid rgba(255, 255, 255, 1);
border-radius: 50%;
position: absolute;
top: 0;
right: 0;
}
</style>
</head>
... ... @@ -83,7 +96,9 @@
<!--右-->
<div class="top_t_right">
<!--铃声-->
<div class="iconfont icon-10"></div>
<div class="iconfont icon-10">
<div class="top_dot"></div>
</div>
<!--头像-->
<div class="top_t_right_pic">
<img src="images/1.png">
... ...
<!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/yhzs.css">
<link rel="stylesheet" type="text/css" href="https://at.alicdn.com/t/font_1037215_aj31y803pii.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;
}
.f_size{
font-weight: normal;
font-size: 0.18rem;
}
.icon-xiugai{
margin-left: 0.15rem;
font-size: 0.3rem;
color: #999999;
display: flex;
font-weight: bold;
align-items: center;
}
.top_dot{
width: 0.08rem;
height: 0.08rem;
background:rgba(166,16,16,1);
border:1px solid rgba(255, 255, 255, 1);
border-radius: 50%;
position: absolute;
top: 0;
right: 0;
}
.color_black{
color: black;
}
.margin_t{
margin-top: 0.1rem;
}
</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 class="top_dot"></div>
</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="mid">
<div class="mid_box">
<!--左边图片-->
<div class="mid_left">
<img src="images/peke.png">
</div>
<!--右边文字-->
<div class="mid_right">
<!--大昵称-->
<div class="mid_right_big">
皮还是皮不过我的你
<!--修改-->
<div class="iconfont icon-xiugai ">
<p class="f_size">修改</p>
</div>
</div>
<!--小昵称-->
<div class="mid_right_small">
皮还是皮不过我的你
<!--修改按钮-->
<div class="iconfont icon-xiugai ">
<p class="f_size">修改</p>
</div>
</div>
</div>
</div>
<div class="mid_bottom">
<!--获赞数-->
<div class="mid_bottom_left">
<p class="mid_bottom_left_title">获赞数</p>
<p class="mid_bottom_left_number">123456</p>
</div>
<!--关注图标-->
<div class="mid_bottom_right">
关注
</div>
</div>
</div>
<!--贡献-->
<div class="items">
贡献
<div class="item">
<!--左边图片-->
<div class="item_left">
<img src="images/peke.png">
</div>
<!--右边文字-->
<div class="item_right">
<div class="item_right_top">
《大势与运气》
</div>
<div class="item_right_mid">
把运气附加在大势之中,如何
</div>
<div class="item_right_bottom">
<p>作者 还是皮不过你的我</p>
<p>时间 2019年2月30日</p>
</div>
</div>
</div>
</div>
</div>
</body>
<script>
</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/zhsz.css">
<link rel="stylesheet" type="text/css" href="https://at.alicdn.com/t/font_1037215_aj31y803pii.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;
}
.f_size{
font-weight: normal;
font-size: 0.18rem;
}
.icon-xiugai{
margin-left: 0.15rem;
font-size: 0.3rem;
color: #999999;
display: flex;
font-weight: bold;
align-items: center;
}
.top_dot{
width: 0.08rem;
height: 0.08rem;
background:rgba(166,16,16,1);
border:1px solid rgba(255, 255, 255, 1);
border-radius: 50%;
position: absolute;
top: 0;
right: 0;
}
.color_black{
color: black;
}
.margin_t{
margin-top: 0.1rem;
}
</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 class="top_dot"></div>
</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="mid">
<div class="mid_big">
账号设置
</div>
<!--手机号-->
<div class="mid_item">
<div class="mid_item_left">
手机号
</div>
<div class="mid_item_right">
修改
</div>
<!--手机数字-->
<div class="mid_item_num">
1397****111
</div>
</div>
<!--邮箱-->
<div class="mid_item2">
<div class="mid_item2_left">
邮箱
</div>
<div class="mid_item2_right">
设置邮箱
</div>
</div>
<!--密码-->
<div class="mid_item2">
<div class="mid_item2_left">
邮箱
</div>
<div class="mid_item2_right">
修改密码
</div>
</div>
</div>
<!--第三方账号绑定-->
<div class="bottom">
<!--大标题-->
<div class="bottom_big">
第三方账号绑定
</div>
<!--图标-->
<div class="bottom_item">
<div class="bottom_item_box">
<!--图片-->
<div class="bottom_item_box_top">
<div class="bottom_item_box_top_p">
<img src="images/peke.png">
</div>
<div class="bottom_item_box_top_t">
微信
</div>
<!--<div class="bottom_item_box_top_t margin_t">-->
<!--已绑定"昵称"-->
<!--</div>-->
</div>
<!--下划线-->
<div class="bottom_item_box_mid"></div>
<!--文字-->
<div class="bottom_item_box_bottom">
立即绑定
</div>
</div>
<div class="bottom_item_box">
<!--图片-->
<div class="bottom_item_box_top">
<div class="bottom_item_box_top_p">
<img src="images/peke.png">
</div>
<div class="bottom_item_box_top_t">
微信
</div>
<div class="bottom_item_box_top_t margin_t">
已绑定"昵称"
</div>
</div>
<!--下划线-->
<div class="bottom_item_box_mid"></div>
<!--文字-->
<div class="bottom_item_box_bottom">
取消绑定
</div>
</div>
</div>
</div>
</div>
</body>
<script>
$('.bottom_item_box_bottom').click(function () {
if($('.bottom_item_box_top').has()){
$(this).addClass()
}
})
</script>
</html>
... ...