<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>我的</title>
<link rel="stylesheet" href="./CSS/reset.css">
<link rel="stylesheet" href="./CSS/public.css">
<link rel="stylesheet" href="./CSS/my.css">
<script src="./JS/auto-size.js"></script>
</head>
<body>
<div class="top"></div>
<header>
<img src="./IMG/loading_2.e3d934bf_02.png" alt="猫眼">
<div>
<p>IaD842919168</p>
<span><i>V1</i> 青铜会员</span>
</div>
<div><a href="./login.html">></a></div>
</header>
<div>
<ul>
<li>
<i></i>
<span>想看 0</span>
</li>
<li>
<i></i>
<span>看过 0</span>
</li>
<li>
<i></i>
<span>影评 0</span>
</li>
<li>
<i></i>
<span>话题 0</span>
</li>
</ul>
</div>
<div>
<div class="din">
<p>我的订单</p>
<p>全部 ></p>
</div>
<div>
<ul>
<li>
<i></i>
<span>未消费</span>
</li>
<li>
<i></i>
<span>待消费</span>
</li>
<li>
<i></i>
<span>待评价</span>
</li>
<li>
<i></i>
<span>退款</span>
</li>
</ul>
</div>
</div>
<div class="din">
<p>我的消息</p>
<p>></p>
</div>
<div class="din">
<p>我的收藏</p>
<p>></p>
</div>
<div class="din">
<p>会员中心</p>
<p>></p>
</div>
<div class="din">
<p>我的成就</p>
<p>></p>
</div>
<div class="din">
<p>美团钱包</p>
<p>></p>
</div>
<div class="din">
<p>我的余额</p>
<p>0.00元 ></p>
</div>
<div class="din">
<p>优惠券</p>
<p>0张可用 ></p>
</div>
<div class="din">
<p>商城</p>
<p>></p>
</div>
<div class="din">
<p>设置</p>
<p>手机绑定与更换 ></p>
</div>
<footer>
<ul>
<a href="./reying.html" class="reying"><li></li></a>
<a href="./yingyuan.html" class="yingyuan"><li></li></a>
<a href="./faxian.html" class="faxian"><li></li></a>
<a href="./my.html" class="my"><li></li></a>
</ul>
</footer>
<div class="bottom"></div>
</body>
</html>
@mixin f__ce {
display: flex;
align-items: center;
}
@mixin f_ce_ce {
display: flex;
justify-content: center;
align-items: center;
}
@mixin f_be_ce {
display: flex;
justify-content: space-between;
align-items: center;
}
@mixin f_col_ce_ce {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
@mixin tubiao($width,$height,$x,$y) {
display: inline-block;
width: $width;
height: $height;
background-image: url('../IMG/icon.png');
background-position: $x $y;
background-size: 5rem 3rem;
margin-bottom: 0.2rem;
}
footer>ul> .my>li {
display: inline-block;
width: 0.77rem;
height: 1.14rem;
background-image: url("../IMG/icon100.png");
background-size: 5.6rem 5.1rem;
background-position: -3.02rem -1.57rem!important;
}
body {
>header {
width: 10.8rem;
color: white;
height: 3.3rem;
box-sizing: border-box;
margin-top: 0.75rem;
padding: 0.7rem 0.5rem;
background-color: #d33f36;
@include f__ce;
>img {
width: 1.95rem;
height: 1.95rem;
}
// 文字
>div:nth-of-type(1) {
flex: 1;
margin-left: 0.45rem;
>p {
font-size: 0.38rem;
margin-bottom: 0.1rem;
}
>span {
font-size: 0.34rem;
}
}
// 箭头
>div:nth-of-type(2)>a {
color: white;
font-size: 0.6rem;
}
}
>div:nth-of-type(2) {
background-color: white;
height: 2.1rem;
box-sizing: border-box;
padding: 0.44rem 0 0.4rem;
font-size: 0.38rem;
border-bottom: 1px solid #bebcbc;
>ul {
width: 10.8rem;
@include f_be_ce;
>li {
width: 2.7rem;
@include f_col_ce_ce;
}
>li:nth-child(1)>i {
@include tubiao(0.7rem,0.62rem,0,0)
}
>li:nth-child(2)>i {
@include tubiao(0.7rem,0.58rem,-0.95rem,0)
}
>li:nth-child(3)>i {
@include tubiao(0.75rem,0.55rem,-1.8rem,0)
}
>li:nth-child(4)>i {
@include tubiao(0.67rem,0.65rem,-2.8rem,0)
}
>li:nth-child(-n+3) {
border-right: 1px solid #bebcbc;
}
}
}
//共用样式
.din {
background-color:white;
border-top: 1px solid #bebcbc;
font-size: 0.44rem;
@include f__ce;
padding: 0.42rem;;
>p:nth-of-type(1) {
flex: 1;
}
>p:nth-child(2) {
color: #999999;
}
}
// 我的订单
>div:nth-of-type(3) {
margin-top: 0.45rem;
>div:nth-of-type(2) {
padding: 0.27rem 0;
background-color:white;
border-bottom: 1px solid #bebcbc;
border-top: 1px solid #bebcbc;
font-size: 0.34rem;
>ul {
width: 10.8rem;
@include f_be_ce;
>li {
width: 2.7rem;
@include f_col_ce_ce;
}
>li:nth-child(1)>i {
@include tubiao(0.65rem,0.55rem,0,-0.78rem)
}
>li:nth-child(2)>i {
@include tubiao(0.75rem,0.65rem,-0.95rem,-0.75rem)
}
>li:nth-child(3)>i {
@include tubiao(0.7rem,0.6rem,-1.85rem,-0.75rem)
}
>li:nth-child(4)>i {
@include tubiao(0.65rem,0.55rem,-2.85rem,-0.75rem)
}
}
}
}
>div:nth-of-type(4),>div:nth-of-type(8),>div:nth-of-type(12) {
margin-top: 0.45rem;
}
>div:nth-of-type(12) {
margin-bottom: 4rem;
}
}