mirror of
https://gitee.com/lab1024/smart-admin.git
synced 2025-11-24 11:26:53 +08:00
Desktop Menu / Product detail page layout update
This commit is contained in:
@@ -1,73 +1,159 @@
|
||||
.ts-product-detail{
|
||||
i {
|
||||
font-style: normal;
|
||||
}
|
||||
.ts-realprice{
|
||||
font-size: 18px;
|
||||
font-weight: 500;
|
||||
color: #E1001A;
|
||||
}
|
||||
.ts-ecprice{
|
||||
color:#999;
|
||||
font-weight: 400;
|
||||
}
|
||||
.ts-row-title {
|
||||
font-size: 14px;
|
||||
font-style: normal;
|
||||
color: #333333;
|
||||
display:inline-block;
|
||||
}
|
||||
.ts-row-title + i {
|
||||
color: #666666;
|
||||
display:inline-flex;
|
||||
max-width:16.5rem;
|
||||
}
|
||||
.ts-product-header h2{
|
||||
color: #e1001a;
|
||||
}
|
||||
.certification li{
|
||||
display:flex;
|
||||
flex-direction: row;
|
||||
}
|
||||
.rc-productdetai {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
margin-top: 10px;
|
||||
i {
|
||||
font-style: normal;
|
||||
color: #333333;
|
||||
}
|
||||
span {
|
||||
color: #666666;
|
||||
}
|
||||
em {
|
||||
font-style: normal;
|
||||
line-height: 22px;
|
||||
color: #E2001A;
|
||||
border-bottom:1px solid rgba(226, 0, 26, 0.15);
|
||||
}
|
||||
}
|
||||
.rc-produnnum {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-top: 16px;
|
||||
span {
|
||||
font-size: 14px;
|
||||
color: #333333;
|
||||
}
|
||||
img {
|
||||
width: 29px;
|
||||
height: 29px;
|
||||
}
|
||||
strong {
|
||||
font-style: normal;
|
||||
list-style: none;
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
border: 1px solid #d7d7d7;
|
||||
opacity: 1;
|
||||
border-radius: 3px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 14px;
|
||||
margin: 0 5px 0 5px;
|
||||
color: #666666;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// 手机端
|
||||
@media screen and(min-width: 320px) and(max-width:768px) {
|
||||
.rc-button{
|
||||
@media screen and (max-width:768px) {
|
||||
.ts-ecprice{
|
||||
font-size:.625rem;
|
||||
}
|
||||
.rc-productdetai{
|
||||
font-size:.875rem
|
||||
}
|
||||
.rc-button{
|
||||
width: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
position: fixed;
|
||||
justify-content: center;
|
||||
height: 60px;
|
||||
height: 5rem;
|
||||
bottom: 0;
|
||||
background-color: white;
|
||||
|
||||
box-shadow: 0px -3px 6px rgba(0, 0, 0, 0.1);
|
||||
|
||||
span{
|
||||
width: 160px;
|
||||
height: 48px;
|
||||
background: #E2001A;
|
||||
border-radius: 30px;
|
||||
font-size: 16px;
|
||||
color:#FFFFFF;
|
||||
display: block;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 9.68rem;
|
||||
height: 3rem;
|
||||
background: #E2001A;
|
||||
border-radius: 30px;
|
||||
font-size: .875rem;
|
||||
color:#FFFFFF;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
flex-shrink:0;
|
||||
}
|
||||
span:last-child{
|
||||
margin-left: 40px;
|
||||
margin-left: 1.56rem;
|
||||
}
|
||||
}
|
||||
.rc-headera{
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
text-align: center;
|
||||
justify-content: center;
|
||||
h3{
|
||||
color:#333333;
|
||||
font-size: 26px;
|
||||
}
|
||||
.rc-title{
|
||||
img{
|
||||
width: 96px;
|
||||
height: 96px;
|
||||
|
||||
}
|
||||
}
|
||||
.userer{
|
||||
span{
|
||||
width: 130px;
|
||||
height: 40px;
|
||||
border: 2px solid #E2001A;
|
||||
border-radius: 30px;
|
||||
display: block;
|
||||
color: #E2001A;
|
||||
line-height: 40px;
|
||||
margin-top: 42px;
|
||||
font-size: 14px;
|
||||
}
|
||||
i{
|
||||
font-size: 18px;
|
||||
font-style: normal;
|
||||
display: block;
|
||||
margin-top: 32px;
|
||||
color: #E1001A;
|
||||
}
|
||||
}
|
||||
}
|
||||
/deep/.el-dialog {
|
||||
width: 80%;
|
||||
position: relative;
|
||||
}
|
||||
.rc-headera{
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
text-align: center;
|
||||
justify-content: center;
|
||||
h3{
|
||||
color:#333333;
|
||||
font-size: 26px;
|
||||
}
|
||||
.rc-title{
|
||||
img{
|
||||
width: 96px;
|
||||
height: 96px;
|
||||
}
|
||||
}
|
||||
.userer{
|
||||
span{
|
||||
width: 130px;
|
||||
height: 40px;
|
||||
border: 2px solid #E2001A;
|
||||
border-radius: 30px;
|
||||
display: block;
|
||||
color: #E2001A;
|
||||
line-height: 40px;
|
||||
margin-top: 42px;
|
||||
font-size: 14px;
|
||||
}
|
||||
i{
|
||||
font-size: 18px;
|
||||
font-style: normal;
|
||||
display: block;
|
||||
margin-top: 32px;
|
||||
color: #E1001A;
|
||||
}
|
||||
}
|
||||
}
|
||||
/deep/.el-dialog {
|
||||
width: 80%;
|
||||
position: relative;
|
||||
}
|
||||
.rc-discount {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
@@ -173,56 +259,16 @@ color: #E1001A;
|
||||
}
|
||||
|
||||
}
|
||||
.rc-header {
|
||||
.ts-product-header {
|
||||
width: 100%;
|
||||
.rc-title {
|
||||
width: 100%;
|
||||
h2 {
|
||||
font-size: 22px;
|
||||
color: #e1001a;
|
||||
font-size: 1.375rem;
|
||||
margin:1.5rem 0;
|
||||
}
|
||||
}
|
||||
.productdetails {
|
||||
|
||||
margin-top: 19px;
|
||||
.rc-productdetail {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
i {
|
||||
font-style: normal;
|
||||
font-size: 14px;
|
||||
|
||||
color: #333333;
|
||||
}
|
||||
|
||||
span {
|
||||
font-size: 18px;
|
||||
margin-left: 8px;
|
||||
color: #e1001a;
|
||||
}
|
||||
}
|
||||
.rc-productdetai {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
margin-top: 10px;
|
||||
i {
|
||||
font-style: normal;
|
||||
font-size: 14px;
|
||||
color: #333333;
|
||||
}
|
||||
span {
|
||||
font-size: 14px;
|
||||
color: #666666;
|
||||
margin-left: 8px;
|
||||
}
|
||||
em {
|
||||
font-size: 14px;
|
||||
font-style: normal;
|
||||
margin-left: 68px;
|
||||
color: #e2001a;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.rc-productdeta {
|
||||
@@ -242,101 +288,94 @@ color: #E1001A;
|
||||
width: 59px;
|
||||
font-size: 16px;
|
||||
margin-left: 4px;
|
||||
margin-right: 12px;
|
||||
height: 39px;
|
||||
border-radius: 3px;
|
||||
}
|
||||
}
|
||||
}
|
||||
.rc-produnnum {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding-bottom: 20px;
|
||||
margin-top: 16px;
|
||||
span {
|
||||
font-size: 14px;
|
||||
color: #333333;
|
||||
}
|
||||
img {
|
||||
width: 29px;
|
||||
height: 29px;
|
||||
display: block;
|
||||
margin-left: 5px;
|
||||
|
||||
}
|
||||
.rc-message {
|
||||
width: 29px;
|
||||
margin-left: 8px;
|
||||
height: 29px;
|
||||
display: block;
|
||||
}
|
||||
|
||||
strong {
|
||||
font-style: normal;
|
||||
list-style: none;
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
border: 1px solid #d7d7d7;
|
||||
opacity: 1;
|
||||
border-radius: 3px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 14px;
|
||||
margin: 0 5px 0 5px;
|
||||
color: #666666;
|
||||
}
|
||||
}
|
||||
.certification {
|
||||
.rc-button{
|
||||
.rc-button{
|
||||
width: 100%;
|
||||
padding-top: 33px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
span{
|
||||
width: 160px;
|
||||
height: 48px;
|
||||
background: #E2001A;
|
||||
border-radius: 30px;
|
||||
font-size: 16px;
|
||||
color:#FFFFFF;
|
||||
display: block;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 10rem;
|
||||
height: 3rem;
|
||||
background: #E2001A;
|
||||
border-radius: 30px;
|
||||
font-size: 1rem;
|
||||
color:#FFFFFF;
|
||||
display: block;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
span:last-child{
|
||||
margin-left: 40px;
|
||||
margin-left: 2.5rem;
|
||||
}
|
||||
}
|
||||
margin-top: 16px;
|
||||
margin-top: 1rem;
|
||||
ul {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
line-height: 30px;
|
||||
li {
|
||||
float: left;
|
||||
width: 100%;
|
||||
text-align: left;
|
||||
span {
|
||||
font-size: 14px;
|
||||
font-size: .875rem;
|
||||
color: #333333;
|
||||
}
|
||||
i{
|
||||
font-style: normal;
|
||||
font-size: 14px;
|
||||
color: #666666;
|
||||
margin-left: 8px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
// /* 最小768px最大1920 *pc端/
|
||||
@media screen and (min-width: 768px) and (max-width: 1920px) {
|
||||
@media screen and (min-width: 768px) {
|
||||
.ts-product-detail{
|
||||
padding: 0 0.2rem;
|
||||
box-sizing: border-box;
|
||||
margin: 0 auto;
|
||||
width: 100%;
|
||||
max-width: 1400px;
|
||||
.rc-main{
|
||||
padding:0;
|
||||
}
|
||||
.ts-row-title{
|
||||
font-size: 16px;
|
||||
width:82px;
|
||||
}
|
||||
.ts-row-title + i {
|
||||
font-size: 16px;
|
||||
max-width:596px;
|
||||
}
|
||||
}
|
||||
.rc-button{
|
||||
width: 100%;
|
||||
padding-top: 33px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
span{
|
||||
width: 160px;
|
||||
height: 48px;
|
||||
background: #E2001A;
|
||||
border-radius: 30px;
|
||||
font-size: 16px;
|
||||
color:#FFFFFF;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
cursor: pointer;
|
||||
}
|
||||
span:last-child{
|
||||
margin-left: 40px;
|
||||
}
|
||||
}
|
||||
.rc-headera{
|
||||
|
||||
display: flex;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
text-align: center;
|
||||
@@ -345,80 +384,38 @@ justify-content: center;
|
||||
color:#333333;
|
||||
font-size: 26px;
|
||||
}
|
||||
.rc-title{
|
||||
.rc-title{
|
||||
img{
|
||||
width: 96px;
|
||||
height: 96px;
|
||||
|
||||
}
|
||||
}
|
||||
.userer{
|
||||
span{
|
||||
width: 130px;
|
||||
height: 40px;
|
||||
border: 2px solid #E2001A;
|
||||
border-radius: 30px;
|
||||
display: block;
|
||||
color: #E2001A;
|
||||
line-height: 40px;
|
||||
margin-top: 42px;
|
||||
font-size: 14px;
|
||||
}
|
||||
i{
|
||||
font-size: 18px;
|
||||
font-style: normal;
|
||||
display: block;
|
||||
margin-top: 32px;
|
||||
color: #E1001A;
|
||||
}
|
||||
}
|
||||
}
|
||||
.userer{
|
||||
span{
|
||||
width: 130px;
|
||||
height: 40px;
|
||||
border: 2px solid #E2001A;
|
||||
border-radius: 30px;
|
||||
display: block;
|
||||
color: #E2001A;
|
||||
line-height: 40px;
|
||||
margin-top: 42px;
|
||||
font-size: 14px;
|
||||
}
|
||||
i{
|
||||
font-size: 18px;
|
||||
font-style: normal;
|
||||
display: block;
|
||||
margin-top: 32px;
|
||||
color: #E1001A;
|
||||
}
|
||||
/deep/.el-dialog {
|
||||
width: 440px;
|
||||
height: 432px;
|
||||
position: relative;
|
||||
}
|
||||
}
|
||||
.rc-header{
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
text-align: center;
|
||||
h3{
|
||||
color:#333333;
|
||||
font-size: 26px;
|
||||
}
|
||||
.rc-title{
|
||||
img{
|
||||
width: 96px;
|
||||
height: 96px;
|
||||
|
||||
}
|
||||
}
|
||||
.userer{
|
||||
img{
|
||||
width: 210px;
|
||||
height: 210px;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
flex-direction: column;
|
||||
|
||||
}
|
||||
|
||||
span{
|
||||
font-size: 16px;
|
||||
|
||||
color: #333333;
|
||||
}
|
||||
i{
|
||||
font-size: 18px;
|
||||
font-style: normal;
|
||||
display: block;
|
||||
margin-top: 32px;
|
||||
color: #E1001A;
|
||||
}
|
||||
}
|
||||
}
|
||||
/deep/.el-dialog {
|
||||
width: 440px;
|
||||
height: 432px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.rc-discount {
|
||||
position: relative;
|
||||
img {
|
||||
@@ -500,8 +497,8 @@ color: #E1001A;
|
||||
}
|
||||
}
|
||||
.rc-usermain{
|
||||
display: flex;
|
||||
align-items: center;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
.active{
|
||||
border: 2px solid #E2001A;
|
||||
@@ -515,100 +512,40 @@ color: #E1001A;
|
||||
cursor: pointer;
|
||||
font-size: 16px;
|
||||
}
|
||||
.rc-header {
|
||||
width: 100%;
|
||||
margin-left: 80px;
|
||||
.rc-footimage{
|
||||
overflow: hidden;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
img{
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
.ts-product-header {
|
||||
width: 100%;
|
||||
font-size: 16px;
|
||||
.rc-title {
|
||||
height: 85px;
|
||||
width: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
border-bottom: 1px solid #d8d8d8;
|
||||
h2 {
|
||||
|
||||
font-size: 30px;
|
||||
color: #e1001a;
|
||||
}
|
||||
}
|
||||
.productdetails {
|
||||
.rc-button{
|
||||
width: 100%;
|
||||
padding-top: 33px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
span{
|
||||
width: 160px;
|
||||
height: 48px;
|
||||
background: #E2001A;
|
||||
border-radius: 30px;
|
||||
font-size: 16px;
|
||||
color:#FFFFFF;
|
||||
display: block;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
cursor: pointer;
|
||||
}
|
||||
span:last-child{
|
||||
margin-left: 40px;
|
||||
}
|
||||
}
|
||||
margin-top: 19px;
|
||||
.rc-productdetail {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
i {
|
||||
font-style: normal;
|
||||
font-size: 18px;
|
||||
|
||||
color: #333333;
|
||||
}
|
||||
|
||||
span {
|
||||
font-size: 18px;
|
||||
margin-left: 8px;
|
||||
color: #e1001a;
|
||||
}
|
||||
}
|
||||
.rc-productdetai {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-top: 10px;
|
||||
border-bottom: 1px solid #d7d7d7;
|
||||
padding-bottom: 17px;
|
||||
i {
|
||||
font-style: normal;
|
||||
|
||||
|
||||
font-size: 18px;
|
||||
color: #333333;
|
||||
}
|
||||
span {
|
||||
|
||||
font-size: 20px;
|
||||
color: #666666;
|
||||
margin-left: 8px;
|
||||
}
|
||||
em {
|
||||
font-size: 16px;
|
||||
font-style: normal;
|
||||
width: 40%;
|
||||
text-align: right;
|
||||
display: block;
|
||||
color: #E2001A;
|
||||
cursor: pointer;
|
||||
}
|
||||
font-size: 30px;
|
||||
margin-bottom:42px;
|
||||
}
|
||||
}
|
||||
.ts-realprice{
|
||||
font-size: 20px;
|
||||
}
|
||||
.ts-ecprice{
|
||||
|
||||
}
|
||||
.rc-productdetai {
|
||||
em {
|
||||
cursor: pointer;
|
||||
border-bottom : unset;
|
||||
padding-right:1rem;
|
||||
position:relative;
|
||||
&:after{
|
||||
content: " ";
|
||||
width: .5rem;
|
||||
height: 1rem;
|
||||
background: url(/_nuxt/assets/image/arr-right-red.png) no-repeat left top;
|
||||
background-size: contain;
|
||||
display: block;
|
||||
position:absolute;
|
||||
right:0;
|
||||
top:.25rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.rc-productdeta {
|
||||
margin-top: 16px;
|
||||
@@ -616,8 +553,7 @@ color: #E2001A;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
span {
|
||||
|
||||
font-size: 18px;
|
||||
font-size: 18px;
|
||||
color: #333333;
|
||||
}
|
||||
em {
|
||||
@@ -627,68 +563,33 @@ font-size: 18px;
|
||||
justify-content: center;
|
||||
width: 59px;
|
||||
font-size: 16px;
|
||||
margin-left: 10px;
|
||||
height: 39px;
|
||||
border-radius: 3px;
|
||||
color:#666666;
|
||||
}
|
||||
}
|
||||
}
|
||||
.rc-produnnum {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding-bottom: 20px;
|
||||
margin-top: 16px;
|
||||
border-bottom: 1px solid #d7d7d7;
|
||||
span {
|
||||
font-size: 18px;
|
||||
color: #333333;
|
||||
}
|
||||
img {
|
||||
width: 29px;
|
||||
height: 29px;
|
||||
display: block;
|
||||
}
|
||||
.rc-message {
|
||||
width: 29px;
|
||||
margin-left: 8px;
|
||||
height: 29px;
|
||||
display: block;
|
||||
}
|
||||
|
||||
strong {
|
||||
font-style: normal;
|
||||
list-style: none;
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
border: 1px solid #d7d7d7;
|
||||
opacity: 1;
|
||||
border-radius: 3px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 14px;
|
||||
margin: 0 5px 0 5px;
|
||||
color: #666666;
|
||||
}
|
||||
}
|
||||
span {
|
||||
font-size: 18px;
|
||||
}
|
||||
}
|
||||
.certification {
|
||||
.rc-button{
|
||||
width: 100%;
|
||||
padding-top: 33px;
|
||||
padding-top: 32px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
span{
|
||||
width: 160px;
|
||||
height: 48px;
|
||||
background: #E2001A;
|
||||
border-radius: 30px;
|
||||
font-size: 16px;
|
||||
color:#FFFFFF;
|
||||
display: block;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
height: 48px;
|
||||
background: #E2001A;
|
||||
border-radius: 30px;
|
||||
font-size: 16px;
|
||||
color:#FFFFFF;
|
||||
display: block;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
span:last-child{
|
||||
margin-left: 40px;
|
||||
@@ -696,26 +597,18 @@ justify-content: center;
|
||||
}
|
||||
margin-top: 16px;
|
||||
ul {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
line-height:40px;
|
||||
text-align: left;
|
||||
li {
|
||||
width: 100%;
|
||||
float: left;
|
||||
span {
|
||||
font-size: 18px;
|
||||
color: #333333;
|
||||
}
|
||||
i{
|
||||
font-style: normal;
|
||||
font-size: 16px;
|
||||
color: #666666;
|
||||
margin-left: 8px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.rc-footimage{
|
||||
overflow: hidden;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
img{
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user