Authored by 毕凯

个人中心 scss => css

... ... @@ -222,7 +222,7 @@
line-height: 44px;
color: #fff;
border-radius: 50px;
@include scale(.8)
transform: scale(.8);
}
.icon-hot {
... ...
... ... @@ -184,8 +184,7 @@ a {
@import "guang/index";
@import "home/index";
@import "category/index";
/*
@import "me/index";
/*
@import "product/index";
@import "cart/index";*/
... ...
.my-address-page {
width: 100%;
background: #f0f0f0;
.address-item {
display: block;
padding: 20px 30px;
color: #b0b0b0;
background: #fff;
border-bottom: 1px solid #e0e0e0;
.name, .tel {
font-size: 30px;
line-height: 56px;
color: #444;
font-weight: bold;
}
.name {
display: inline-block;
max-width: 380px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.tel {
float: right;
}
.address-info {
font-size: 24px;
line-height: 38px;
}
.action {
font-size: 32px;
line-height: 60px;
text-align: right;
.edit,
.del {
display: inline-block;
text-align: center;
width: 60px;
height: 60px;
color: #999;
&:hover {
color: #666;
}
}
.edit {
margin-right: 20px;
}
}
}
.add-address {
display: block;
margin-top: 30px;
margin-bottom: 30px;
font-size: 32px;
line-height: 88px;
color: #444;
background: #fff;
text-align: center;
font-weight: bold;
border-top: 1px solid #e0e0e0;
border-bottom: 1px solid #e0e0e0;
}
.confim-mask {
position: fixed;
width: 100%;
height: 100%;
left: 0;
top: 0;
background: rgba(0, 0, 0, .5);
z-index: 5;
}
.confim-box {
position: absolute;
left: 50%;
top: 50%;
margin-left: -270px;
margin-top: -144px;
width: 540px;
text-align: center;
color: #444;
background: #fff;
font-size: 32px;
font-weight: bold;
border-radius: 10px;
.content {
line-height: 200px;
}
.action {
line-height: 88px;
border-top: 1px solid #e0e0e0;
span {
display: inline-block;
width: 260px;
&:first-child {
border-right: 1px solid #e0e0e0;
}
}
}
.confim {
color: #d0021b;
}
}
}
.my-edit-address-page {
width: 100%;
color: #d0d0d0;
background: #f0f0f0;
.edit-address {
padding: 0 30px;
background: #fff;
font-size: 30px;
line-height: 88px;
border-bottom: 1px solid #e0e0e0;
label {
display: block;
position: relative;
&:after {
content: "";
position: absolute;
right: -30px;
bottom: 0;
width: 610px;
height: 0;
border-top: 1px solid #e0e0e0;
}
&:last-of-type:after {
content: none;
}
.iconfont {
position: absolute;
right: 0;
top: 0;
}
}
input, textarea {
position: absolute;
top: 0;
right: 40px;
width: 360px;
height: 88px;
color: #444;
padding: 0;
border: none;
-webkit-appearance: none;
}
.address {
height: 176px;
}
textarea {
right: 0;
width: 400px;
height: 58px * 2;
padding: 20px 0;
resize: none;
}
}
.submit {
margin: 30px auto 0;
width: 470px;
height: 88px;
color: #fff;
background: #444;
text-align: center;
font-size: 32px;
line-height: 88px;
&.highlight {
background: rgba(0, 0, 0, 0.6);
}
}
}
.my-address-list-page {
position: relative;
width: 100%;
color: #444;
background: #fff;
li {
padding: 0 30px;
font-size: 32px;
line-height: 88px;
border-bottom: 1px solid #e0e0e0;
.iconfont {
float: right;
color: #d0d0d0;
}
&.highlight {
background: #eee;
}
ul {
display: none;
position: absolute;
top: 0;
left: 0;
background: #fff;
width: 100%;
}
}
}
... ...
.browse-record-good {
position: relative;
padding: 0.5rem 0 0.5rem 0.75rem;
display: block;
.thumb {
float: left;
width: 120px;
height: 160px;
}
.deps {
margin-left: 135px;
padding: 0.5rem 0;
border-bottom: 1px solid #e0e0e0;
margin-bottom: -0.75rem;
}
.name {
font-size: 28px;
max-width: 100%;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
}
.price {
margin: 0.3rem 0;
font-size: 16px;
}
.sale-price {
color: #f00;
&.original-price {
color: #000;
}
}
.market-price {
text-decoration: line-through;
color: #b0b0b0;
}
.sold-out-tag {
font-size: 16px;
line-height: 30px;
text-align: center;
color: #fff;
background: #7f7f7f;
padding: 0.125rem 0.375rem;
border-radius: 1rem;
}
.del-icon {
position: absolute;
right: 0.75rem;
width: 60px;
height: 60px;
line-height: 60px;
text-align: center;
color: #999;
}
}
.browse-record-page {
.load-more {
width: 100%;
height: 1.75rem;
line-height: 1.75rem;
text-align: center;
}
.no-record {
position: absolute;
background: #fff;
text-align: center;
top: 50%;
margin-top: -220px;
width: 100%;
.icon {
width: 196px;
height: 207px;
background: resolve('me/no-record.png') no-repeat;
background-size: 100%;
margin: 0 auto;
}
span {
display: block;
color: #b0b0b0;
font-size: 24px;
margin: 30px 0 110px;
}
.walk-way {
display: block;
height: 80px;
line-height: 80px;
width: 70%;
margin: 0 auto;
text-align: center;
font-size: 30px;
color: #fff;
background: #444;
border-radius: 5px;
}
}
}
... ...
.my-coupon-page {
.employ{
width: 100%;
height: 90px;
border-bottom:1px solid #e0e0e0;
position: relative;
span{
width: 49%;
height: 48px;
line-height: 48px;
overflow: hidden;
border-right: 2px solid #e0e0e0;
margin: 21px 0;
float: left;
text-align: center;
font-size: 32px;
color: #b0b0b0;
&:last-of-type{
border:none;
}
&.active{
color: #444444;
}
}
}
.coupon-list{
width:100%;
height: auto;
overflow:hidden;
.employ-main{
display: block;
width: 90.625%;
height: 180px;
overflow: hidden;
margin: 30px auto;
background-image: resolve('me/employ/employ.jpg');
background-position: top center;
background-repeat:no-repeat;
background-size: 100% 100%;
color: #fff;
position: relative;
&.focus {
background-image: resolve('me/employ/employ-red.jpg');
}
span{
width: 34.482759%;
height: 100%;
float: left;
text-align: center;
line-height: 180px;
font-size: 100px;
}
p{
width: 59.517241%;
height: auto;
margin: 0 3% 12px;
float: left;
&:first-of-type{
margin-top: 0.75rem;
font-size: 32px;
height: auto;
min-height: 82px;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
}
}
i{
width: 100%;
height: 100%;
overflow: hidden;
display: block;
position: absolute;
top: 0;
left: 0;
background: resolve('me/employ/employsy.png') right top no-repeat;
background-size:auto 100%;
}
}
.null{
width: 100%;
height:auto;
overflow: hidden;
position: absolute;
left: 0;
top:50%;
transform: translateY(-50%);
i{
width: 100%;
height: 120px;
overflow: hidden;
display: block;
background: resolve('me/employ/not.png') center top no-repeat;
background-size:auto 100%;
}
p{
width: 100%;
height: auto;
overflow: hidden;
padding:20px 0 0;
font-size: 48px;
text-align: center;
color: #444;
}
a{
width: 73.75%;
height: 80px;
overflow: hidden;
font-size: 56px;
line-height: 80px;
display: block;
background: #444444;
color: #fff;
text-align: center;
margin: 60px auto 0;
border-radius: .2rem
}
}
}
.none{
display: none;
}
}
... ...
.yoho-favorite-page {
width: 100%;
height: auto;
.fav-tab {
width: 100%;
height: 88px;
line-height: 88px;
border-bottom: 1px solid #e0e0e0;
color: #b0b0b0;
font-size: 26px;
li {
width: 50%;
height: 100%;
float: left;
text-align: center;
&.active {
color: #444;
}
&:nth-last-of-type(1) {
float: right;
position: relative;
&:after {
content: '';
display: block;
width: 1px;
height: 44px;
position: absolute;
left: 0;
top: 22px;
background: #b0b0b0;
}
}
}
}
.fav-content {
.fav-type {
display: none;
}
.show {
display: block;
}
.fav-null {
font-size: 22px;
color: #444;
display: block;
margin-top: 100px;
text-align: center;
&:before {
content: '';
display: block;
width: 188px;
height: 177px;
background: url("/me/fav/fav-null.png");
margin: 0 auto 45px auto;
}
}
.go-shopping {
width: 472px;
height: 88px;
line-height: 88px;
margin: 80px auto 0 auto;
background: #444;
text-align: center;
color: #fff;
display: block;
font-size: 26px;
}
.fav-product-list {
list-style: none;
margin-left: 30px;
li {
height: auto;
overflow: hidden;
margin-top: 20px;
}
.fav-img-box {
width: 90px;
height: 120px;
float: left;
margin-right: 24px;
img {
display: block;
overflow: hidden;
width: 100%;
height: 100%;
}
}
.fav-info-list {
color: #444;
font-size: 24px;
border-bottom: 1px solid #e0e0e0;
padding-bottom: 20px;
height: 120px;
overflow: hidden;
position: relative;
h2 {
width: 430px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.fav-price {
.new-price {
color: #d1021c;
}
.price-underline {
text-decoration: line-through;
margin-left: 15px;
color: #b0b0b0;
}
}
.save-price {
position: absolute;
bottom: 20px;
left: 0;
width: 100%;
min-height: 24px;
&.save-price-number {
text-indent: 42px;
color: #b0b0b0;
padding-top: 3px;
&:before {
content: '';
display: block;
background: url("/me/fav/save-price.png");
width: 32px;
height: 32px;
position: absolute;
top: 50%;
left: 0;
margin-top: -16px;
}
span {
margin-left: 15px;
}
.del-fav {
text-indent: 0;
margin-left: 0;
}
}
span {
color: #d1021c;
&.sell-out {
padding: 5px 18px;
color: #fffefe;
border-radius: 20px;
background: #7f7f7f;
font-size: 22px;
}
&.del-fav {
width: 2rem;
height: 1.5rem;
line-height: 1.5rem;
position: absolute;
top: 50%;
margin-top: -0.75rem;
right: 0;
color: #999;
padding-right: 0.75rem;
text-align: right;
}
}
}
}
}
/*品牌收藏*/
.fav-brand-swiper {
border-top: 1px solid #e0e0e0;
border-bottom: 28px solid #f0f0f0;
position: relative;
&:nth-of-type(1) {
border-top: 0;
}
&:after {
content: '';
position: absolute;
left: 0;
bottom: -2px;
border-top: 1px solid #e0e0e0;
display: block;
width: 100%;
height: 1px;
}
.swiper-header {
height: 100px;
padding: 20px 30px;
display: inline-block;
position: relative;
width: 100%;
box-sizing: border-box;
.swiper-logo {
height: 100%;
display: inline-block;
float: left;
margin-right: 45px;
> img {
max-height: 100%;
vertical-align: middle;
}
}
.brand-info {
float: left;
.brand-name {
font-size: 28px;
b {
color: #b0b0b0;
font-weight: normal;
}
}
.brand-update {
font-size: 22px;
b {
color: #b0b0b0;
font-weight: normal;
}
.brand-new {
color: #86bf4a;
margin-right: 24px;
}
.brand-discount {
color: #d1021c;
}
}
}
.fav-more {
width: 2.5rem;
height: 2.5rem;
position: absolute;
top: 0;
right: 0;
&:after {
background: url("/me/fav/fav-more.png");
width: 18px;
height: 29px;
position: absolute;
top: 50%;
right: 30px;
margin-top: -15px;
content: '';
}
}
}
.swiper-container {
height: 365px;
margin: 0 30px;
.swiper-slide {
width: 225px;
height: 100%;
float: left;
padding-right: 30px;
&:nth-last-of-type(1) {
padding-right: 0;
}
img {
display: block;
width: 100%;
height: 300px;
overflow: hidden;
}
.brand-product {
height: 65px;
line-height: 65px;
text-align: center;
font-size: 22px;
.price-discount {
span {
color: #d1021c
}
b {
color: #b0b0b0;
text-decoration: line-through;
font-weight: normal;
margin-left: 13px;
}
}
}
}
}
}
}
.fav-load-more,.fav-brand-load-more {
width: 100%;
height: 2rem;
line-height: 2rem;
text-align: center;
color: #444;
&.load-background {
background: resolve('loading.gif') center center no-repeat;
background-size: auto 40%;
}
}
.fav-content-loading {
width: 100%;
height: 2rem;
background: resolve('loading.gif') center center no-repeat;
background-size: auto 40%;
position: absolute;
top: 50%;
left: 0;
margin-top: -1rem;
}
}
... ...
.my-page {
color: #444;
background: #f0f0f0;
a {
color: #444;
}
.user-info {
display: block;
position: relative;
padding: 0 30px;
color: #fff;
font-size: 34px;
line-height: 168px;
height: 168px;
background: resolve("me/index/header-bg.jpg");
background-size: cover;
.user-avatar {
float: left;
position: relative;
top: 16px;
width: 126px;
height: 126px;
border-radius: 50%;
border: 6px solid #a7a8a9;
background-image: resolve("me/index/user-avatar.png");
background-size: 100%;
}
.username {
float: left;
padding: 0 16px;
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
max-width: 290px;
}
.vip-icon {
display: inline-block;
width: 72px;
height: 32px;
vertical-align: middle;
}
.vip-3 {
background: url("/me/vip/vip-3.png");
}
.vip-2 {
background: url("/me/vip/vip-2.png");
}
.vip-1 {
background: url("/me/vip/vip-1.png");
}
.more-icon {
position: absolute;
top: 40px;
right: 30px;
width: 88px;
height: 88px;
line-height: 88px;
text-align: center;
&.highlight {
background: rgba(200,200,200,.1)!important;
}
}
}
.login-btn {
display: block;
position: absolute;
top: 40px;
left: 194px;
width: 244px;
height: 82px;
line-height: 82px;
color: #fff;
border: 4px solid #fff;
text-align: center;
}
.my-link {
padding: 6px 0;
text-align: center;
background: rgba(0,0,0,0.8);
height: 76px;
.link-item {
position: relative;
float: left;
color: #fff;
font-size: 28px;
width: 212px;
&.highlight {
background: rgba(200,200,200,.1) !important;
}
p {
font-size: 24px;
}
&:after {
content: '';
position: absolute;
right: 0;
top: 24px;
width: 0;
height: 44px;
border-right: 1px solid #fff;
}
&:last-of-type:after {
content: none;
}
}
&.no-login {
padding: 0;
height: 88px;
.link-item p {
font-size: 32px;
line-height: 88px;
}
}
}
.notice {
margin-bottom: 30px;
padding: 0 30px;
background: #fff;
height: 72px;
overflow: hidden;
.notice-item {
display: block;
width: 100%;
font-size: 24px;
line-height: 72px;
color: #444;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.notice-icon {
display: inline-block;
margin-right: 10px;
width: 28px;
height: 28px;
background: url("/me/index/volume.png");
vertical-align: middle;
}
}
.my-order {
margin-bottom: 30px;
border-top: 1px solid #e0e0e0;
border-bottom: 1px solid #e0e0e0;
background: #fff;
.order-title {
display: block;
padding: 0 30px;
font-size: 16PX;
line-height: 88px;
span {
color: #e0e0e0;
float: right;
}
&.highlight {
background: #eee;
}
}
.order-type {
padding: 20px 30px;
text-align: center;
border-top: 1px solid #e0e0e0;
.type-item {
position: relative;
float: left;
color: #444;
font-size: 14px;
line-height: 1.5;
width: 193px;
&.highlight {
background: #eee;
}
.num {
position: absolute;
top: -24px;
right: 36px;
width: 72px;
height: 72px;
font-size: 40px;
line-height: 72px;
color: #fff;
background: #f03d35;
text-align: center;
border-radius: 50%;
transform: scale(0.5);
}
}
.iconfont {
font-size: 40px;
}
}
}
.group-list {
margin-bottom: 30px;
border-top: 1px solid #e0e0e0;
border-bottom: 1px solid #e0e0e0;
background: #fff;
.list-item {
display: block;
position: relative;
padding: 0 30px;
font-size: 16PX;
line-height: 88px;
.opinion{
width: 1.3rem;
height: 1.3rem;
overflow: hidden;
display: inline-block;
background: url("/me/index/talk.png");
position: relative;
top: .36rem;
margin-right: 12px;
}
&.highlight {
background: #eee;
}
&:after {
content: '';
position: absolute;
right: 0;
bottom: 0;
width: 540px;
height: 0;
border-top: 1px solid #e0e0e0;
}
&:last-child:after {
content: none;
}
}
.icon {
margin-right: 10px;
font-size: 50px;
vertical-align: top;
}
.num {
color: #e0e0e0;
float: right;
}
}
}
... ...
.iHelp{
width: 100%;
height: auto;
overflow: hidden;
ul{
width: 100%;
height: auto;
overflow: hidden;
display: block;
border-top: 1px solid #e0e0e0;
li{
width: 100%;
height: 80px;
line-height: 84px;
overflow: hidden;
font-size: 36px;
border-bottom: 1px solid #e0e0e0;
float: right;
color: #444444;
&:last-of-type{
border-bottom:none;
}
a:visited {
color: #444444;
}
span{
width: 85%;
height: 100%;
overflow: hidden;
float: left;
padding-left: 5%;
}
i{
color: #e0e0e0;
}
}
}
}
.deal_main{
margin: .5rem 3%;
font-size:1.2em;
width: 94%;
overflow: hidden;
}
... ...
@import "home";
@import "vip-grade";
@import "order";
@import "order-detail";
@import "coupons";
@import "personal-details";
@import "yoho-coin";
@import "fav";
@import "suggest";
@import "address";
@import "online-service";
@import "my-guang";
@import "ihelp";
@import "browse-record";
@import "logistic";
/*@import "pay";*/
@import "yoho-coin-new";
@import "yoho-coin-detail";
... ...
$logistic_gray: #f0f0f0;
$border_color_strong: #e3e3e3;
$border_color_light: #eee;
@define-mixin set-singleBorder $side,$c {
border-$(side): 1px solid $(c);
}
.logistic-page {
background-color: $logistic_gray;
.overview {
height: 120px;
line-height: 120px;
width: 100%;
margin-bottom: 40px;
background-color: #fff;
color: #464646;
@mixin set-singleBorder "bottom",$border_color_strong;
.left {
width: 19%;
float: left;
text-align: center;
height: 100%;
.icon {
width: 88px;
height: 88px;
margin: 0 auto;
background-size: 100%;
background-repeat: no-repeat;
background-position: center;
margin-top: 16px;
}
}
.right {
width: 81%;
float: left;
padding-top: 20px;
padding-bottom: 20px;
height: 80px;
div {
height: 40px;
line-height: 44px;
color: #595959;
font-size: 24px;
}
}
.info {
padding-right: 4px;
}
}
.title {
height: 112px;
line-height: 112px;
background-color: #fff;
padding-left: 40px;
font-size: 40px;
}
.detail {
background-color: #fff;
padding-left: 80px;
margin-bottom: 40px;
}
.timeline-box {
@mixin set-singleBorder "left",$border_color_strong;
position: relative;
padding-left: 52px;
}
.timeline-node {
position: absolute;
top: 32px;
left: -9.04444px;
display: inline-block;
width: 16.4px;
height: 16.4px;
background-color: $border_color_strong;
border-radius: 100%;
}
.timeline-box:first-child {
.timeline-node {
background-color: #989898;
}
.timeline-info-row {
color: #606060;
}
}
.timeline-info {
padding: (20px) 0;
@mixin set-singleBorder "bottom",$border_color_strong;
}
.timeline-box:last-child {
.timeline-info {
border: none;
}
}
.timeline-info-row {
min-height: 40px;
line-height: 40px;
font-size: 28px;
color: #bababa;
padding-right: 32px;
}
.banner {
margin-bottom: 40px;
a {
img {
width: 100%;
height: 100%;
}
}
}
}
... ...
.my-guang-page {
.null {
height: 240px;
width: 100%;
position: absolute;
text-align: center;
top: 50%;
margin-top: -120px;
span {
color: #b0b0b0;
font-size: 24px;
margin-top: 20px;
}
}
.icon-null {
width: 188px;
height: 171px;
background: url("/me/fav/fav-null.png");
margin: 0 auto;
margin-bottom: 30px;
}
}
... ...
@define-extend qa {
margin-left: 30px;
padding: 0 40px 0 10px;
font-size: 30px;
line-height: 76px;
font-weight: bold;
}
.online-service-page {
background: #f0f0f0;
.question {
background: #fff;
}
.question-title {
padding: 20px 30px;
font-size: 28px;
line-height: 1;
color: #b0b0b0;
}
.question-tab {
padding: 10px 30px 30px;
font-size: 32px;
line-height: 58px;
text-align: center;
color: #b0b0b0;
.current {
color: #444;
}
.line {
margin: 0 32px;
border-left: 1px solid #b0b0b0;
}
}
.question-list {
display: none;
border-top: 1px solid #ccc;
border-bottom: 1px solid #ccc;
&.current {
display: block;
}
li {
font-size: 28px;
line-height: 90px;
a {
display: block;
color: #444;
width: 610px;
margin-left: 30px;
border-bottom: 1px solid #ccc;
}
.iconfont {
float: right;
margin-right: 30px;
color: #ccc;
font-size: 32px;
}
&:last-child {
a {
border-bottom: none;
}
}
&.highlight {
background: #eee;
}
}
}
.connect-info {
margin-top: 30px;
font-size: 28px;
line-height: 50px;
background: #fff;
border-top: 1px solid #ccc;
border-bottom: 1px solid #ccc;
p {
margin-top: 25px;
margin-left: -72px;
line-height: 1.5;
}
.iconfont {
font-size: 46px;
}
.icon-yoho-enter {
color: #ccc;
float: right;
font-size: 32px;
}
.connect-item {
position: relative;
a {
display: block;
padding: 20px 30px 20px 94px;
color: #444;
}
&:after {
content: '';
position: absolute;
right: 0;
bottom: 0;
width: 548px;
height: 1px;
background: #ccc;
}
&:last-child {
&:after {
content: none;
}
}
&.highlight {
background: #eee;
}
}
.icon {
display: inline-block;
margin-right: 28px;
margin-left: -70px;
vertical-align:middle;
}
}
}
.online-service-detail-page {
background: #f0f0f0;
.qa-list {
.question-item {
margin-bottom: 32px;
border-top: 1px solid #c8c7cc;
border-bottom: 1px solid #c8c7cc;
color: #444;
background: #fff;
&:last-child {
margin-bottom: 0;
}
}
.question {
@extend qa;
position: relative;
color: #000;
&:after {
content: '';
position: absolute;
left: 0;
bottom: 0;
width: 100%;
border-top: 1px solid #c8c7cc;
}
}
.answer {
@extend qa;
}
}
}
... ...
.order-detail-page {
background: #f0f0f0;
.block {
position: relative;
background: #fff;
padding: 20px 30px;
.iconfont {
position: absolute;
left: 30px;
top: 50%;
font-size: 40px;
margin-top: -30px;
}
}
.sub {
position: relative;
.iconfont {
left: 0;
}
}
.logistics {
display: block;
.icon-right {
right: 25px;
left: auto;
color: #b0b0b0;
}
.sub-content {
border-top: 1px solid #e0e0e0;
margin-top: 20px;
padding-top: 20px;
}
}
.owner-info {
border-bottom: 1px solid #e0e0e0;
line-height: 1.5;
}
.beside-icon {
margin-left: 60px;
}
.name-phone {
font-size: 30px;
span {
float: right;
}
}
.address {
font-size: 24px;
margin-top: 10px;
}
.order-status {
margin: 20px 0;
border-top: 1px solid #e0e0e0;
border-bottom: 1px solid #e0e0e0;
padding-right: 0;
}
.sub-content span {
display: block;
color: #b0b0b0;
font-size: 24px;
}
.sub-content .sub-title {
display: block;
color: #000;
font-size: 26px;
}
.goods {
padding: 0;
margin-top: 20px;
border-top: 1px solid #e0e0e0;
border-bottom: 1px solid #e0e0e0;
}
.cost {
/*margin-bottom: 100px; 排除被固定底部遮挡的影响*/
li {
font-size: 28px;
span {
float: right;
}
&:last-child span {
color: #f00;
}
}
}
.opt {
text-align: right;
border-top: 1px solid #e0e0e0;
}
.btn {
display: inline-block;
box-sizing: border-box;
width: 140px;
height: 60px;
line-height: 60px;
border-radius: 5px;
font-size: 26px;
text-align: center;
border: 1px solid #000;
}
.btn-pay {
color: #fff;
border: none;
background: #d0021b;
margin-left: 10px;
}
}
... ...
.order-page {
background: #f0f0f0;
.order {
position: relative;
display: block;
background: #fff;
margin: 30px 0;
border-top: 1px solid #e0e0e0;
border-bottom: 1px solid #e0e0e0;
&:last-child {
margin-bottom: 0;
}
.header, .footer {
height: 90px;
line-height: 90px;
font-size: 30px;
padding: 0 30px;
}
.header {
border-bottom: 1px solid #e0e0e0;
}
.order-status {
float: right;
}
.footer {
text-align: right;
border-top: 1px solid #e0e0e0;
}
.sum-cost {
color: #e01;
margin-left: 5px;
}
.order-opt {
padding: 30px 0;
padding-right: 30px;
border-top: 1px solid #e0e0e0;
text-align: right;
.btn {
display: inline-block;
box-sizing: border-box;
height: 60px;
line-height: 60px;
width: 140px;
font-size: 24px;
text-align: center;
border: 1px solid #000;
border-radius: 5px;
}
.pay {
background: #d0021b;
color: #fff;
border: none;
margin-left: 20px;
}
}
}
.no-order {
position: absolute;
background: #fff;
text-align: center;
top: 50%;
margin-top: -220px;
width: 100%;
.icon {
width: 153px;
height: 196px;
background: resolve('me/no-order.png') no-repeat;
background-size: 100%;
margin: 0 auto;
}
span {
display: block;
color: #b0b0b0;
font-size: 24px;
margin: 30px 0 80px;
}
.walk-way {
display: block;
height: 80px;
line-height: 80px;
width: 70%;
margin: 0 auto;
text-align: center;
font-size: 30px;
color: #fff;
background: #444;
border-radius: 5px;
}
}
}
.order-nav {
border-bottom: 1px solid #e0e0e0;
background: #fff;
a {
display: block;
height: 100%;
width: 100%;
color: #b0b0b0;
}
> li {
float: left;
height: 90px;
width: 25%;
line-height: 90px;
color: #b0b0b0;
font-size: 26px;
text-align: center;
&.active a {
color: #000;
}
}
}
.order-good {
position: relative;
padding: 20px 0;
margin-left: 34px;
height: 160px;
border-bottom: 1px solid #e0e0e0;
font-size: 26px;
&:last-child {
border-bottom: none;
}
.thumb-wrap {
position: relative;
float: left;
width: 120px;
height: 160px;
}
.thumb {
width: 100%;
height: 100%;
}
.tag {
position: absolute;
bottom: 0;
left: 0;
right: 0;
color: #fff;
text-align: center;
font-size: 12px;
&:before {
display: block;
line-height: 1;
transform: scale(0.833);
}
}
.gift-tag {
height: 25px;
background: #a1ce4e;
&:before {
content: '赠品';
}
}
.advance-buy-tag {
height: 25px;
background: #eb76aa;
&:before {
content: '加价购';
}
}
.deps {
margin-left: 135px;
}
.name {
font-size: 28px;
max-width: 70%;
text-overflow: -o-ellipsis-lastline;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
}
.row:nth-child(2) {
height: 45px;
line-height: 45px;
> span {
margin-right: 15px;
}
}
.color, .size {
color: #b6b6b6;
}
.price-wrap {
position: absolute;
top: 20px;
right: 30px;
text-align: right;
}
.price {
color: #e01;
}
.count {
display: block;
color: #999;
text-align: right;
line-height: 45px;
}
.appear-date {
color: #f00;
}
}
... ...
.pay-page {
padding: 40px 20px 0;
.payapp-list {
visibility: hidden;
}
.box.bytouch {
background-color:#eee;
}
.box {
border: 1px solid #eee;
border-radius: 10px;
padding: 12px 20px;
margin-bottom: 20px;
@include flexbox((display: box, box-align: center), $version: 1);
@include flexbox((display: flex, align-items: center));
> div {
min-height: 40px;
@include flexbox((box-flex: 1, display: box, bax-align: center), $version: 1);
@include flexbox((display: flex, align-items: center));
}
.icon {
width: 15%;
@include flexbox((flex-basis: 15%));
img {
width: 60px;
margin: 0;
}
> div {
width: 60px;
height: 60px;
background-image: resolve("layout/pay-icon.png");
background-size: 90%;
background-position-y: 8px;
background-position-x: center;
background-repeat: no-repeat;
}
}
.app {
width: 35%;
@include flexbox((flex-basis: 35%));
font-size: 32px;
color: #414141;
}
.hint {
width: 45%;
@include flexbox((flex-basis: 45%));
font-size: 24px;
color: #4b4b4b;
}
.iconfont {
width: 5%;
@include flexbox((box-pack: end), $version: 1);
@include flexbox((flex-basis: 5%, justify-content: flex-end));
color: #e0e0e0;
font-size: 28px;
}
}
}
... ...
.personal-details{
width: 100%;
height: auto;
overflow: hidden;
margin-top: 20px;
background-color:#fff;
border-bottom:1px solid #e0e0e0;
ul{
width: 95%;
height: auto;
overflow: hidden;
float:right;
li{
&:first-of-type{
height: 100px;
line-height:100px;
}
height: 80px;
border-bottom: 1px solid #e0e0e0;
.user-avatar {
width: 100%;
height: 100%;
background-image: resolve("me/index/user-avatar.png");
background-size: 100%;
}
>span{
&:first-of-type{
color: #444;
}
width: 42%;
height: 100%;
line-height:80px;
font-size: 32px;
margin-right: 8%;
float: left;
text-overflow:ellipsis;
white-space:nowrap;
overflow:hidden;
.head-portrait{
width:90px;
height: 90px;
overflow: hidden;
float: right;
border-radius:50%;
border:1px solid #eee;
}
.grade{
width: 100%;
height: 100%;
overflow: hidden;
display: block;
position: relative;
i{
width:72px;
height: 32px;
overflow: hidden;
display: block;
position: absolute;
right: 40px;
top:50%;
transform: translateY(-50%);
}
span{
color: #b0b0b0;
}
}
.vip-3 {
background: url("/me/vip/vip-3.png");
}
.vip-2 {
background: url("/me/vip/vip-2.png");
}
.vip-1 {
background: url("/me/vip/vip-1.png");
}
&:last-of-type{
color: #b0b0b0;
text-align: right;
}
}
&:last-of-type{
border-bottom:none;
}
}
}
}
... ...
/*$suggest: sprite-map("/me/suggest/*.png",$spacing: 5px);*/
.yoho-suggest-page {
width: 100%;
height: auto;
/*意见反馈头部*/
.suggest-header {
text-align: center;
color: #fff;
font-size: 26px;
line-height: 46px;
overflow: hidden;
padding-bottom: 20px;
background-image: linear-gradient(#383838, #505050);
&:before {
content: '';
display: block;
background: url("/me/suggest/suggest-logo.png");
width: 104px;
height: 35px;
margin: 10px auto 15px auto;
}
}
/*意见反馈主体*/
.suggest-content {
border-top: 1px solid #e0e0e0;
.suggest-item {
width: 100%;
color: #444;
border-top: 1px solid #e0e0e0;
border-bottom: 30px solid #f0f0f0;
overflow: hidden;
.suggest-item-img {
width: 100%;
overflow: hidden;
> img {
margin: 0 auto;
display: block;
max-width: 100%;
}
}
> h2 {
font-size: 38px;
margin: 30px 0 31px 0;
padding: 0 35px;
}
> p {
font-size: 26px;
line-height: 48px;
padding: 0 35px;
}
.suggest-type {
margin-top: 29px - 11px;
height: 88px;
line-height: 88px;
border-top: 1px solid #e0e0e0;
border-bottom: 1px solid #e0e0e0;
color: #b0b0b0;
font-size: 26px;
display: none;
text-align: center;
&.suggest-active {
> div {
width: 50%;
height: 100%;
float: left;
text-align: left;
padding-left: 128px;
box-sizing: border-box;
&:nth-last-of-type(1) {
padding-left: 0;
padding-right: 128px;
text-align: right;
float: right;
> span {
display: inline-block;
height: 100%;
overflow: hidden;
&:nth-of-type(1) {
transform: rotate(180deg);
}
}
}
}
}
> .active {
color: #444;
}
&.show {
display: block;
}
&.suggest-bad {
> div {
> span {
display: inline-block;
height: 100%;
overflow: hidden;
&:nth-of-type(1) {
transform: rotate(180deg);
}
}
}
}
}
}
}
/*发表意见*/
.create-new-suggest {
display: block;
width: 100%;
height: 88px;
line-height: 88px;
text-align: center;
font-size: 30px;
border-top: 30px solid #f0f0f0;
border-bottom: 30px solid #f0f0f0;
position: relative;
.list-item {
padding: 0 35px;
}
.new-right {
float: right;
margin-left: 40px;
color: #e0e0e0;
}
a {
color: #444;
display: inline-block;
}
}
}
/*提交页面*/
.yoho-suggest-sub-page {
width: 100%;
background: #f0f0f0;
.suggest-sub-form {
background: #fff;
width: 100%;
#suggest-textarea {
box-sizing: border-box;
width: 100%;
max-width: 100%;
min-width: 100%;
height: 255px;
max-height: 255px;
min-height: 255px;
padding: 30px;
font-size: 26px;
line-height: 48px;
color: #000;
display: block;
background: #fff;
border: none;
outline: none;
resize: none;
}
.img-form {
padding: 0 30px;
padding-top: 40px;
overflow: hidden;
.upload-img-list {
float: left;
> li {
display: block;
width: 130px;
height: 130px;
float: left;
margin-right: 30px;
background: resolve('loading.gif') center center no-repeat;
background-size: 50%;
position: relative;
> img {
display: block;
width: 100%;
height: 100%;
overflow: hidden;
}
> span {
display: block;
background: url("/me/suggest/sub_del.png");
width: 42px;
height: 42px;
position: absolute;
top: -21px;
right: -21px;
}
}
}
.img-add {
display: block;
width: 130px;
height: 130px;
border: 1px dashed #e0e0e0;
position: relative;
text-indent: -1000px;
float: left;
&:after {
content: '';
display: block;
background: url("/me/suggest/suggest-add.png");
width: 72px;
height: 72px;
position: absolute;
top: 50%;
left: 50%;
margin-top: -36px;
margin-left: -36px;
}
input[type="file"], {
position: absolute;
opacity: 0.2;
border: none;
outline: none;
display: block;
width: 130px;
height: 130px;
top: 0;
left: 0;
}
}
}
}
}
/*dialog*/
.dialog-wrapper {
background: hsla(0, 0%, 0%, .5);
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
display: none;
.dialog-box {
width: 540px;
border-radius: 20px;
background: hsla(100, 100%, 100%, .8);
position: absolute;
left: 50%;
margin-left: -270px;
font-size: 30px;
text-align: center;
color: #000;
}
.dialog-content {
padding: 60px 30px;
}
.dialog-footer {
border-top: 1px solid #ccc;
height: 88px;
line-height: 88px;
> span {
display: block;
width: 50%;
height: 100%;
float: left;
box-sizing: border-box;
&:nth-last-of-type(1) {
border-left: 1px solid #ccc;
color: #ee0011;
}
}
> span:active {
background-color: #ccc;
}
}
}
... ...
.vip-grade-page {
background: #f0f0f0;
padding-bottom: 30px;
.block {
padding: 0 30px;
margin-bottom: 30px;
border-top: 1px solid #e0e0e0;
border-bottom: 1px solid #e0e0e0;
background: #fff;
}
.basic-info {
padding-top: 30px;
padding-bottom: 25px;
p{
width: 100%;
height: auto;
overflow: hidden;
display: block;
}
span{
overflow: hidden;
}
.user-name {
float: left;
max-width: 240px;
text-overflow:ellipsis;
white-space:nowrap;
font-size: 25px;
margin-right: 0.5rem;
}
.vip-icon {
float: left;
width: 72px;
height: 32px;
line-height: 36px;
}
.vip-3 {
background: url("/me/vip/vip-3.png");
}
.vip-2 {
background: url("/me/vip/vip-2.png");
}
.vip-1 {
background: url("/me/vip/vip-1.png");
}
.grade-desc {
margin-top: 20px;
font-size: 22px;
color: #b0b0b0;
}
.sum-cost {
font-size: 22px;
> span {
font-style: italic;
font-size: 28px;
color: #d1021c;
}
}
.progresser {
position: relative;
width: 100%;
height: 20px;
padding: 20px 0;
}
.outer {
height: 20px;
background: #e6e6e6;
border-radius: 10px;
}
.inner {
position: absolute;
top: 20px;
height: 20px;
background: #d1021c;
border-radius: 10px;
}
.beacon {
position: absolute;
margin-top: 5px;
font-style: italic;
}
.beacon-max {
right: 0;
}
.cost-limit {
position: absolute;
top: -5px;
right: 0;
color: #b0b0b0;
}
.cost-gap {
color: #000;
margin: 0 8px;
}
.sub-desc {
display: block;
}
}
.cost {
padding: 0 0 0 30px;
}
.cost li {
height: 90px;
line-height: 90px;
font-size: 30px;
padding-right: 0;
&:first-child {
border-bottom: 1px solid #e0e0e0;
}
> span {
float: right;
padding: 0 30px 0 0;
}
}
.privilege {
padding-right: 0;
padding-bottom: 40px;
.title {
height: 90px;
line-height: 90px;
font-size: 30px;
border-bottom: 1px solid #e0e0e0;
}
}
.all-privilege {
display: block;
height: 90px;
line-height: 90px;
font-size: 30px;
margin-bottom: 0;
.iconfont {
float: right;
color: #e0e0e0;
}
}
}
.vip-privilege-page {
padding: 0 20px;
}
.privilege-list {
background: #fff;
.icon {
float: left;
display: block;
width: 70px;
height: 70px;
}
li {
height: 70px;
padding: 25px 0;
}
P {
font-size: 28px;
margin-left: 100px;
}
span {
display: block;
color: #b0b0b0;
font-size: 22px;
}
}
... ...
.yoho-coin-detail-page {
background: #f0f0f0;
.money{
width: 100%;
height: 70px;
background:#fff;
margin-bottom: 20px;
line-height: 70px;
font-size: 30px;
text-indent: 1em;
span{
color: #f00;
font-weight: bold;
}
}
.coin-detail {
background: #fff;
border-top: 1px solid #e0e0e0;
border-bottom: 1px solid #e0e0e0;
}
.detail-item {
position: relative;
margin-left: 30px;
border-bottom: 1px solid #e0e0e0;
color: #444;
padding: 15px 0;
.title {
width: 480px;
font-size: 28px;
line-height: 40px;
font-weight: bold;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.time {
font-size: 20px;
line-height: 30px;
color: #b0b0b0;
}
.count {
position: absolute;
right: 0;
top: 0;
margin-right: 30px;
font-size: 28px;
font-weight: bold;
line-height: 100px;
}
}
li:last-child {
.detail-item {
border-bottom: none;
}
}
}
... ...
.yoho-coin-new-page {
background-color: #f0f0f0;
margin-top: 30px;
.coin{
text-align: center;
background-color: #fff;
}
.coin-num {
color: #d0021b;
font-size: 80px;
font-weight: bold;
line-height: 88px;
}
.info {
width: auto;
color: #b0b0b0;
font-size: 24px;
line-height: 1rem;
.dollar {
display: inline-block;
width: 24px;
height: 24px;
background: url("/me/yoho-coin/dollar.png") center center;
background-size: 100% 100%;
}
}
.more {
display: inline-block;
margin: 20px 0 30px;
color: #444;
font-size: 28px;
line-height: 44px;
width: 168px;
height: 42px;
text-align: center;
border: 1px solid #444;
border-radius: 22px;
}
.coin-tip {
margin-bottom: 30px;
padding: 20px 30px;
font-size: 24px;
line-height: 32px;
color: #d0021b;
border-top: 1px solid #e0e0e0;
border-bottom: 1px solid #e0e0e0;
.icon {
display: inline-block;
width: 32px;
height: 32px;
font-weight: bold;
border: 2px solid #d0021b;
border-radius: 50%;
}
}
.banner {
padding-top: 30px;
border-top: 1px solid #e0e0e0;
a {
img {
width: 100%;
}
}
}
}
... ...
.yoho-coin-page {
.coin-num {
font-size: 1.4em;
text-align: center;
em {
font-size: 4em;
color: #f00;
}
span{
width: 100%;
height: auto;
overflow: hidden;
display: block;
color: #b0b0b0;
margin-top: -.6rem;
}
}
.check{
width: 100%;
height: auto;
overflow: hidden;
text-align: center;
margin-top: .6rem;
padding-bottom: 1rem;
border-bottom:1px solid #b0b0b0;
a{
line-height: 1.2rem;
border:1px solid #444444;
width: 30%;
height: 100%;
font-size: 1.2em;
display: inline-block;
border-radius:.6rem;
}
}
section p {
line-height: 1.5em;
}
.title {
font-size: 16px;
line-height: 20px;
font-weight: bold;
}
.sub-title {
display: block;
font-size: 14px;
line-height: 28px;
font-weight: bold;
}
.path {
color: #f60;
}
.remark {
color: #666;
span {
color: #9c3;
}
}
}
\ No newline at end of file
... ...