123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139 |
- @charset "utf-8";
- li{list-style:none}
- /**
- * PC端
- */
- @media screen and (min-width:768px){
- /*个人中心右侧*/
- .crumbs{font-size: 16px;}
- .user-header{width:100%;height:120px;box-sizing:border-box;padding:20px;background-color:#FFF;box-shadow:0px 3px 6px 0px rgba(0,0,0,0.07);position:relative}
- .user-header .logo{width:110px;height:78px;float:left;border:1px solid #f5f5f5;border-radius:2px;margin-right:8px;position:relative;cursor:pointer}
- .user-header .logo .logo-file{width:110px;height:78px;position:relative;outline:none;opacity:0;position:absolute;top:0;left:0;cursor:pointer}
- .user-header .logo .file{display:block;width:110px;height:78px;line-height:78px;text-align:center}
- .user-header .logo .file:before{width:40px;height:40px;background-position:-161px -367px;vertical-align:middle}
- .user-header .logo img{width:110px;height:78px;display:block;border-radius:2px}
- .user-header .account{float:left;box-sizing:border-box;padding:5px 0}
- .user-header .account .name{width:100%;height:36px;float:left;margin-bottom:10px}
- .user-header .account .name span{line-height:36px;font-size:18px;font-weight:bold;color:#22272e;display:inline-block;float:left}
- .user-header .account .name a{position: relative;margin-left:30px;width:118px;height:34px;border:1px solid #E15616;border-radius:2px;background-color:#ffe6dc;color:#E15616;display:block;line-height:34px;text-align:center;float:left}
- .user-header .account .name a .name-tips{width: 44px;height: 19px;line-height: 19px;text-align: center;border-radius: 10px;background-color: #ffe6dc;font-size: 12px;color: #E15616;position: absolute;right: -20px;top: -25px;z-index: 99;}
- .user-header .account .name a .name-tips:before{content: '';width: 6px;height: 6px;background-color: #ffe6dc;position: absolute;bottom: -3px;left: 12px;z-index: -1;transform:rotate(45deg);}
- .user-header .account .msg{width:100%;font-size:14px;line-height:26px;color:#22272e;margin-top:20px}
- .user-header .account .msg em{color:#22272e;display:inline-block;margin-right:8px}
- .user-header .account .msg .red{color:#f94b4b;font-style:normal;margin:0 5px}
- .user-header .account .msg a{display:inline-block;width:64px;height:22px;line-height:22px;color:#FFFFFF;font-size:12px;text-align:center;background-image:linear-gradient(225deg,#61686f 0%,#313a43 100%);border-radius:2px}
- .user-header .account .money{position:absolute;right:15px;bottom:20px;font-size:16px}
- .user-header .account .money em{color:#e15616;font-style:normal;}
- .user-header .message{position:absolute;height:28px;right:15px;top:20px}
- .user-header .message a{width:28px;height:28px;float:right;display:block;position:relative}
- .user-header .message .icon{width:28px;height:28px;float:right;display:block;position:relative}
- .user-header .message .icon:before{width:28px;height:28px;background-position:-240px -370px}
- .user-header .message .icon span{display:block;width:20px;height:20px;background-image:linear-gradient(90deg,#ff5353 0%,#ff2424 100%);position:absolute;top:-9px;left:-9px;font-style:normal;font-size:12px;color:#f94b4b;line-height:20px;text-align:center;border-radius:50%;color:#fff}
- .user-header .message .icon span.ellipse{width:30px;height:20px;border-radius:10px;line-height:20px;left:-22px}
- .user-content{width:100%;height:auto;margin-top:10px}
- .user-content .title{width: 100%;height: 44px;line-height: 44px;font-size: 16px;text-align: left;color: #22272e;padding: 0 20px}
- .user-content .title a{display: block;float: right;position: relative;padding-right: 36px;position: relative;}
- .user-content .title a .icon{display: block;width: 18px;height: 18px;position: absolute;top: 5px;right: 10px;}
- .user-content .title a .icon:before{width: 18px;height: 18px;background-position: -304px -32px;}
- .user-content .section{width: 100%;height: auto;}
- .user-content .section .user-main{width: 100%;height:auto;background-color: #FFFFFF;box-sizing: border-box;padding: 20px;box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.07);margin-bottom: 10px;}
- .user-content .section .user-main.tabs{height: 90px;padding: 15px 20px;}
- .user-content .section .user-main.account{height: 78px;}
- .user-content .section .user-main.account .account-cell{line-height: 34px;font-size:14px;color: #333333;float: left;margin-right: 80px;display: block;}
- .user-content .section .user-main.account .account-cell .red{font-size:16px;color: #f94b4b;font-weight: bold;}
- .user-content .section .user-main .tabs-left{height: 100%;float: left;}
- .user-content .section .user-main .tabs-left .item{width: 50px;height: 100%;float: left;margin:0 40px;}
- .user-content .section .user-main .tabs-left .item a{width: 100%;height: 100%;display: block;}
- .user-content .section .user-main .tabs-left .item a .icon{width: 24px;height: 24px;display: block;margin: 0 auto;position: relative;margin-top: 10px;}
- .user-content .section .user-main .tabs-left .item a .icon span{display: block;width: 20px;height: 20px;background-image: linear-gradient(90deg,#ff5353 0%,#ff2424 100%);position: absolute;top: -9px;right: -13px;font-style: normal;font-size: 13px;color: #f94b4b;line-height: 20px;text-align: center;border-radius: 50%;color: #fff;}
- .user-content .section .user-main .tabs-left .item a .icon span.ellipse{width: 30px;height: 20px;border-radius: 10px;line-height: 20px;right: -22px;}
- .user-content .section .user-main .tabs-left .item a .icon.icon-1:before{width: 24px;height: 24px;background-position: 0px -516px;}
- .user-content .section .user-main .tabs-left .item a .icon.icon-2:before{width: 24px;height: 24px;background-position: -35px -516px;}
- .user-content .section .user-main .tabs-left .item a .icon.icon-3:before{width: 24px;height: 24px;background-position: -69px -516px;}
- .user-content .section .user-main .tabs-left .item a .icon.icon-4:before{width: 24px;height: 24px;background-position: -102px -516px;}
- .user-content .section .user-main .tabs-left .item a .icon.icon-5:before{width: 24px;height: 24px;background-position: -136px -515px;}
- .user-content .section .user-main .tabs-left .item a .p{display:block;font-size: 14px;color: #22272e;text-align: center;line-height: 20px;margin-top: 3px;}
- .user-content .section .user-main .tabs-right{float: right;line-height: 60px;font-size: 14px;color: #22272e;}
- .user-content .section .user-main .tabs-right a{display: block;float: right;padding-right: 16px;position: relative}
- .user-content .section .user-main .tabs-right a .icon{width: 18px;height: 18px;display: block;position: absolute;top: 4px;right: -10px;}
- .user-content .section .user-main .tabs-right a .icon:before{width: 18px;height: 18px;background-position: -304px -32px;}
- .user-content .section .user-main.order{height: 224px;padding-left: 68px;padding-top: 10px;}
- .user-content .section .user-main .order-title{width: 100%;height: 40px;position: relative;float: left;margin-bottom: 0;}
- .user-content .section .user-main .order-title .bag{display: block;position: absolute;left: -45px;top: 12px; width: 36px;height: 16px;background-image: linear-gradient(335deg,#e15616 0%,#ffb496 100%);border-radius: 2px;font-size: 10px;color: #FFFFFF;line-height: 16px;text-align: center;}
- .user-content .section .user-main .order-title .title-name{float: left;line-height: 40px;font-size: 14px;color: #22272e;}
- .user-content .section .user-main .order-title .title-name p{float: left;margin-right: 10px;}
- .user-content .section .user-main .order-title .title-name p.state{color: #E15616;}
- .user-content .section .user-main .order-title .title-type{float: left;width: 40px;height: 40px;background: url("/img/order/second.png")center center no-repeat;background-size: cover;}
- .user-content .section .user-main .order-title .title-time{float: right;line-height: 40px;font-size: 12px;color: #9aa5b5;}
- .user-content .section .user-main .order-content{width: 100%;height: auto;float: left;}
- .user-content .section .user-main .order-content .order-item{width: 100%;height: 36px;float: left;}
- .user-content .section .user-main .order-content .order-item p{float: left;margin-right: 50px;line-height: 36px;color: #22272e;font-size: 14px;}
- .user-content .section .user-main .order-content .order-item p span{margin-left: 5px;}
- .user-content .section .user-main .order-content .order-item p .red{color: #f94b4b;}
- .user-content .section .user-main .order-content .order-botton{width: 100%;height: 36px;float: left;margin-top: 8px;}
- .user-content .section .user-main .order-content .order-botton .btn{width: 88px;height: 34px;border-radius: 2px;border: 1px solid #FFF;float: right;margin-left: 16px;font-size: 14px;line-height: 34px;text-align: center;display: block;}
- .user-content .section .user-main .order-content .order-botton .btn.cancel{border-color: #9aa5b5;background-color: #FFFFFF;color: #22272e;}
- .user-content .section .user-main .order-content .order-botton .btn.primary{border-color: #E15616;background-color: #E15616;color: #FFFFFF;}
- .user-content .section .user-main.product{height: 260px;padding: 20px 20px 10px 20px;}
- .user-content .section .user-main .product-item{width: 173px;height: auto;float: left;margin-right: 15px;cursor: pointer;}
- .user-content .section .user-main .product-item:last-child{margin-right: 0;}
- .user-content .section .user-main .product-item .product-img{width: 171px;height: 171px;float: left;border: 1px solid #e2e7ef;}
- .user-content .section .user-main .product-item .product-img img{width: 173px;height: 173px;display: block;}
- .user-content .section .user-main .product-item .product-name{width: 100%;height: 40px;float: left;margin-top: 10px;}
- .user-content .section .user-main .product-item .product-name p{font-size: 14px;color: #93979f;text-align: justify;line-height: 20px;overflow: hidden;text-overflow: ellipsis;display: -webkit-box;-webkit-line-clamp: 2;line-clamp: 2;-webkit-box-orient: vertical;}
- .user-content .section .user-main .product-item .product-name p:hover{color: #E15616;text-decoration: underline;}
- .user-content .section .user-main.news{height: 207px;padding: 13px 20px;}
- .user-content .section .user-main .new-list{width: 100%;height: 36px;float: left;cursor: pointer;}
- .user-content .section .user-main .new-list .text{width: 600px;line-height: 36px;font-size: 14px;color: #4a4f58;float: left;padding-left: 15px;position: relative; white-space: nowrap;text-overflow: ellipsis;overflow: hidden;word-break: break-all;}
- .user-content .section .user-main .new-list .text:hover{color: #E15616;text-decoration: underline;}
- .user-content .section .user-main .new-list .text:before{content: '';width: 6px;height: 6px;border-radius: 50%;background-color: #e15616;position: absolute;left: 0;top:15px;}
- .user-content .section .user-main .new-list .time{line-height: 36px;font-size: 12px;color: #9aa5b5;float: right;}
- .user-content.coupon{width: 100%;height: 240px}
- .user-content.coupon .coupon_img{width: 100%;height: 100%;}
- }
- /**
- * 移动端
- */
- @media screen and (max-width:768px){
- .user-header{box-sizing:border-box;width:100%;padding:2.7vw;background:#fff;position:relative}
- .user-header .logo{width:26.7vw;height:19.4vw;border:solid 1px #f5f5f5;margin-right:2.7vw;position:relative}
- .user-header .logo .logo-file{width:26.7vw;height:19.4vw;outline:none;opacity:0;position:absolute;top:0;left:0}
- .user-header .logo .file{position:absolute;top:5vw;left:9vw;width:9vw;height:9vw}
- .user-header .logo .file:before{width:9vw;height:9vw;background-position:-7.5vw -60.3vw}
- .user-header .logo img{max-width:100%;max-height:100%;display:block;margin:0 auto;}
- .user-header .account{width:64vw;height:19.4vw;box-sizing:border-box;color:#9aa5b5;font-size:3.1vw;line-height:6.4vw;position:relative}
- .user-header .account .name{font-size:3.7vw;color:#22272e}
- .user-header .account em{font-style:normal;color:#e15616}
- .user-header .account .name a,.user-header .account .msg a{display:inline-block;height:5.4vw;line-height:5.4vw;padding:0 2vw;color:#FFF;border-radius:2px;margin-left:2vw}
- .user-header .account .name a{background-color:#e15616}
- .user-header .account .msg a{background-color:#313a43}
- .user-header .message{position:absolute;right:0;top:5vw}
- .user-header .message .mIcon{position:absolute;right:0;top:0}
- .user-header .message .mIcon:before{width:8vw;height:8vw;background-position:-16.5vw -60.3vw}
- .user-header .message .ellipse,.user-header .message .circular{padding:.6vw;border-radius:3.1vw;font-size:3.1vw;background-color:#f55c5c;color:#FFF;font-style:normal;position:absolute;right:4vw;top:-1vw;transform:scale(.7)}
- .user-header .message .circular{padding:0 1vw;}
- .user-content{width:100%;margin:0 auto 2.4vw auto;background:#FFF}
- .user-content .user-main .tabs-left{box-sizing:border-box;width:100vw;padding:.7vw 6vw 4vw 6vw}
- .user-content .user-main .tabs-left .item{width:20.8vw;height:8.4vw;line-height:8.4vw;text-align:center;border-radius:4.2vw;border:1px solid #b8bfca;font-size:3.3vw;color:#627386;margin:3.3vw 4vw 0 4vw;position:relative}
- .user-content .user-main .tabs-left .item .icon span{height:4.6vw;line-height:4.6vw;padding:0 .6vw;border-radius:2.1vw;font-size:3.1vw;background-color:#f55c5c;color:#FFF;font-style:normal;position:absolute;right:1vw;top:-2vw}
- .user-content .title{box-sizing:border-box;padding:0 3.2vw;height:10.3vw;line-height:10.3vw;font-size:3.4vw;color:#22272e}
- .user-content .title.order{height:6vw;line-height:6vw;}
- .user-content .title a{float:right;color:#627386}
- .user-content .title a:after{content:'\276F';margin-left:1vw}
- .user-content .user-main.product{box-sizing:border-box;width:100%;height:43vw;padding:0 3.2vw;overflow-x:scroll;overflow-y:hidden;white-space:nowrap}
- .user-content .product-item{display:inline-block;width:26.7vw;height:43vw;margin-right:2.6vw;overflow:hidden}
- .user-content .product-item .product-img{box-sizing:border-box;width:100%;height:26.7vw;border:solid 1px #fef6f3}
- .user-content .product-item .product-name p{margin-top:2.6vw;line-height:6vw;font-size:3.4vw;color:#627386;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
- .user-content .user-main.news{box-sizing:border-box;width:100%;padding:0 3.2vw 2vw 3.2vw}
- .user-content .user-main .new-list{box-sizing:border-box;display:block;margin-bottom:2vw;font-size:3.4vw;position:relative;padding-left:4vw;line-height:6vw}
- .user-content .user-main .new-list:before{content:'\25CF';color:#9aa5b5;position:absolute;left:0}
- .user-content .user-main .new-list .text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#4a4f58}
- .user-content .user-main .new-list .time{color:#9aa5b5}
- .user-content.coupon{width: 100%;height: 32vw;background: none}
- .user-content.coupon .coupon_img{width: 100%;height: 100%;}
- }
|