mirror of
https://gitee.com/lab1024/smart-admin.git
synced 2025-11-19 17:13:52 +08:00
Layout fixed
This commit is contained in:
@@ -2,37 +2,43 @@
|
||||
<div>
|
||||
<div class="user" v-for="(item,index) in newlist" :key="index">
|
||||
<Myheader></Myheader>
|
||||
<div class="rc-usermain" >
|
||||
<div class="rc-top"></div>
|
||||
<div class="rc-usermain ts-product-detail">
|
||||
<magnifier v-bind:parentmsg="msg" ></magnifier>
|
||||
<div class="rc-header" >
|
||||
<div class="rc-main" >
|
||||
<div class="usermain">
|
||||
<div class="rc-title">
|
||||
<h2>{{ item.productName }}</h2>
|
||||
</div>
|
||||
|
||||
<div class="productdetails">
|
||||
<div class="rc-productdetail">
|
||||
<i>商品价格</i>
|
||||
<span>¥{{ item.rsp }}</span>
|
||||
<i style="font-size:12px;color:#999999">¥{{item.ecPrice}}</i>
|
||||
</div>
|
||||
<div class="rc-productdetai">
|
||||
<div>
|
||||
<i>活动促销:</i>
|
||||
<span>全场商品限时优惠</span>
|
||||
</div>
|
||||
<em @click="userget()">立即领取</em>
|
||||
</div>
|
||||
<div class="rc-button" v-if="!userbuy">
|
||||
<span @click="usertanchu(item,0)">加入购物车</span>
|
||||
<span @click="usertanchu(item,1)">立即购买</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="online" style="height:3px;width:100%;background:#DDDDDD;margin-top:0.33rem"></div>
|
||||
<div class="online"></div>
|
||||
<div class="rc-main">
|
||||
<div class="rc-title">
|
||||
<h2>{{ item.productName }}</h2>
|
||||
</div>
|
||||
</div>
|
||||
<div class="online"></div>
|
||||
<div class="rc-main">
|
||||
<div class="productdetails">
|
||||
<div class="rc-productdetail">
|
||||
<i>商品价格</i>
|
||||
<span>¥{{ item.rsp }}</span>
|
||||
<i style="font-size:12px;color:#999999">¥{{item.ecPrice}}</i>
|
||||
</div>
|
||||
<div class="rc-productdetai">
|
||||
<div>
|
||||
<i>活动促销:</i>
|
||||
<span>全场商品限时优惠</span>
|
||||
</div>
|
||||
<em @click="userget()">立即领取</em>
|
||||
</div>
|
||||
<div class="rc-button" v-if="!userbuy">
|
||||
<span @click="usertanchu(item,0)">加入购物车</span>
|
||||
<span @click="usertanchu(item,1)">立即购买</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="online"></div>
|
||||
|
||||
|
||||
<div class="rc-productdeta" v-if="userbuy">
|
||||
<div class="rc-main">
|
||||
<div class="rc-prodtop">
|
||||
<div>
|
||||
<span>商品规格</span>:
|
||||
@@ -45,46 +51,41 @@
|
||||
{{ item.specifications }}
|
||||
</em>
|
||||
</div>
|
||||
<div class="rc-produnnum">
|
||||
<div>
|
||||
<span>商品数量</span>:
|
||||
</div>
|
||||
<img src="../../assets/image/userjian.png" alt="" @click="sub()" />
|
||||
<strong>{{sales_num}}</strong>
|
||||
<img
|
||||
src="../../assets/image/userjia.png" alt="" @click="plus()"
|
||||
class="rc-message"
|
||||
|
||||
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="online"></div>
|
||||
<div class="rc-main">
|
||||
<div class="rc-produnnum">
|
||||
<div><span>商品数量</span>:</div>
|
||||
<img src="../../assets/image/userjian.png" alt="" @click="sub()" />
|
||||
<strong>{{sales_num}}</strong>
|
||||
<img src="../../assets/image/userjia.png" alt="" @click="plus()" class="rc-message" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="rc-main">
|
||||
<div class="certification">
|
||||
<ul>
|
||||
<li>
|
||||
<span
|
||||
>服务说明:<i>当天14点前完成付款即日安排发货;当天14点后完成付款次日安排发货(周日及国家法定节假日顺延至下一个工作日发货,活动期间发货或有延迟敬请理解)</i></span
|
||||
>
|
||||
</li>
|
||||
<li>
|
||||
<span
|
||||
>商品运费:<i>全场包邮(港澳除外)</i></span
|
||||
>
|
||||
</li>
|
||||
|
||||
<div class="certification">
|
||||
<ul>
|
||||
<li>
|
||||
<span
|
||||
>服务说明:<i>当天14点前完成付款即日安排发货;当天14点后完成付款次日安排发货(周日及国家法定节假日顺延至下一个工作日发货,活动期间发货或有延迟敬请理解)</i></span
|
||||
>
|
||||
</li>
|
||||
<li>
|
||||
<span
|
||||
>商品运费:<i>全场包邮(港澳除外)</i></span
|
||||
>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<span
|
||||
>商品编号:<i>{{ item.brandCode }}</i></span
|
||||
>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
<li>
|
||||
<span
|
||||
>商品编号:<i>{{ item.brandCode }}</i></span
|
||||
>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -462,742 +463,6 @@ usertanchu(item,orderm){
|
||||
</script>
|
||||
|
||||
<style lang="less" scoped>
|
||||
// 手机端
|
||||
@media screen and(min-width: 320px) and(max-width:768px) {
|
||||
.rc-button{
|
||||
width: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
position: fixed;
|
||||
justify-content: center;
|
||||
height: 60px;
|
||||
bottom: 0;
|
||||
background-color: white;
|
||||
|
||||
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;
|
||||
}
|
||||
span:last-child{
|
||||
margin-left: 40px;
|
||||
}
|
||||
}
|
||||
.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%;
|
||||
img {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
.rc-contair {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
.rc-left {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
color: #e1001a;
|
||||
padding-right: 21px;
|
||||
width: 30%;
|
||||
float: left;
|
||||
height: 100%;
|
||||
i {
|
||||
font-style: normal;
|
||||
font-size: 12px;
|
||||
}
|
||||
span {
|
||||
font-size: 26px;
|
||||
}
|
||||
strong {
|
||||
font-style: normal;
|
||||
font-size: 12px;
|
||||
display: block;
|
||||
margin-top: 8px;
|
||||
}
|
||||
}
|
||||
.rc-right {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
margin-left: 36px;
|
||||
justify-content: center;
|
||||
height: 100%;
|
||||
i {
|
||||
font-style: normal;
|
||||
font-size: 16px;
|
||||
color: #e1001a;
|
||||
}
|
||||
.rc-main {
|
||||
color: #999999;
|
||||
font-size: 12px;
|
||||
}
|
||||
span {
|
||||
display: block;
|
||||
margin-top: 8px;
|
||||
}
|
||||
em {
|
||||
font-style: normal;
|
||||
}
|
||||
}
|
||||
.rc-footer {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
margin-right: 10px;
|
||||
span {
|
||||
width: 72px;
|
||||
height: 25px;
|
||||
background: #e2001a;
|
||||
text-align: center;
|
||||
line-height: 25px;
|
||||
font-size: 12px;
|
||||
color: #ffffff;
|
||||
margin-bottom: 8px;
|
||||
border-radius: 100px;
|
||||
margin-right: 8px;
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
}
|
||||
.active{
|
||||
border: 2px solid #E2001A;
|
||||
color:#666666;
|
||||
cursor: pointer;
|
||||
font-size: 16px;
|
||||
}
|
||||
.unactive{
|
||||
border: 2px solid #808285;
|
||||
color:#666666;
|
||||
cursor: pointer;
|
||||
font-size: 16px;
|
||||
}
|
||||
.rc-footimage{
|
||||
overflow: hidden;
|
||||
width: 100%;
|
||||
margin: 0 auto;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
margin-top: 20px;
|
||||
img{
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
}
|
||||
.rc-header {
|
||||
width: 100%;
|
||||
|
||||
.rc-main {
|
||||
|
||||
width: 92%;
|
||||
margin: 0 auto;
|
||||
.rc-title {
|
||||
height: 85px;
|
||||
width: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
border-bottom: 1px solid #d8d8d8;
|
||||
h2 {
|
||||
font-size: 22px;
|
||||
|
||||
color: #e1001a;
|
||||
}
|
||||
}
|
||||
.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 {
|
||||
margin-top: 20px;
|
||||
.rc-prodtop {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
span {
|
||||
font-size: 14px;
|
||||
color: #333333;
|
||||
}
|
||||
em {
|
||||
font-style: normal;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 59px;
|
||||
font-size: 16px;
|
||||
margin-left: 4px;
|
||||
height: 39px;
|
||||
border-radius: 3px;
|
||||
}
|
||||
}
|
||||
}
|
||||
.rc-produnnum {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding-bottom: 20px;
|
||||
margin-top: 16px;
|
||||
border-bottom: 1px solid #d7d7d7;
|
||||
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{
|
||||
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;
|
||||
}
|
||||
span:last-child{
|
||||
margin-left: 40px;
|
||||
}
|
||||
}
|
||||
margin-top: 16px;
|
||||
ul {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
line-height: 30px;
|
||||
li {
|
||||
float: left;
|
||||
width: 100%;
|
||||
text-align: left;
|
||||
span {
|
||||
font-size: 14px;
|
||||
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) {
|
||||
.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;
|
||||
}
|
||||
}
|
||||
}
|
||||
.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 {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
.rc-contair {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
.rc-left {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
color: #e1001a;
|
||||
padding-right: 21px;
|
||||
width: 30%;
|
||||
float: left;
|
||||
height: 100%;
|
||||
i {
|
||||
font-style: normal;
|
||||
font-size: 12px;
|
||||
}
|
||||
span {
|
||||
font-size: 26px;
|
||||
}
|
||||
strong {
|
||||
font-style: normal;
|
||||
font-size: 12px;
|
||||
display: block;
|
||||
margin-top: 8px;
|
||||
}
|
||||
}
|
||||
.rc-right {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
margin-left: 36px;
|
||||
justify-content: center;
|
||||
height: 100%;
|
||||
i {
|
||||
font-style: normal;
|
||||
font-size: 16px;
|
||||
color: #e1001a;
|
||||
}
|
||||
.rc-main {
|
||||
color: #999999;
|
||||
font-size: 12px;
|
||||
}
|
||||
span {
|
||||
display: block;
|
||||
margin-top: 8px;
|
||||
}
|
||||
em {
|
||||
font-style: normal;
|
||||
}
|
||||
}
|
||||
.rc-footer {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
margin-right: 10px;
|
||||
span {
|
||||
width: 72px;
|
||||
height: 25px;
|
||||
background: #e2001a;
|
||||
text-align: center;
|
||||
line-height: 25px;
|
||||
font-size: 12px;
|
||||
color: #ffffff;
|
||||
margin-bottom: 8px;
|
||||
border-radius: 100px;
|
||||
margin-right: 8px;
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
}
|
||||
.rc-usermain{
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
.active{
|
||||
border: 2px solid #E2001A;
|
||||
color:#666666;
|
||||
cursor: pointer;
|
||||
font-size: 16px;
|
||||
}
|
||||
.unactive{
|
||||
border: 2px solid #808285;
|
||||
color:#666666;
|
||||
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%;
|
||||
}
|
||||
}
|
||||
.rc-main {
|
||||
|
||||
width: 92%;
|
||||
margin: 0 auto;
|
||||
.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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.rc-productdeta {
|
||||
margin-top: 16px;
|
||||
.rc-prodtop {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
span {
|
||||
|
||||
font-size: 18px;
|
||||
color: #333333;
|
||||
}
|
||||
em {
|
||||
font-style: normal;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
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;
|
||||
}
|
||||
}
|
||||
.certification {
|
||||
.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;
|
||||
}
|
||||
span:last-child{
|
||||
margin-left: 40px;
|
||||
}
|
||||
}
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@import url("../../assets/css/global.less");
|
||||
@import url("../../assets/css/producted.less");
|
||||
</style>
|
||||
@@ -2,92 +2,94 @@
|
||||
<div>
|
||||
<Myheader></Myheader>
|
||||
|
||||
<div class="rc-top">
|
||||
<div class="online" style="height:2px;width:100%;background:#DDDDDD;margin-top:0.23rem"></div>
|
||||
<div class="rc-main">
|
||||
<div class="usersearch">
|
||||
|
||||
<div class="rc-top"></div>
|
||||
<div class="online"></div>
|
||||
<div class="rc-main">
|
||||
<div class="usersearch">
|
||||
<div class="usercontentshow" ref="usercontent">
|
||||
<div class="rc-product">
|
||||
<div class="rc-productcat ts-scrollable">
|
||||
<div class="rc-cat" v-for="(item, index) in userproduct" :key="index" @click="selectGoods(item, index)" :class="activeIndex == index ? 'active' : 'unactive'" >
|
||||
<img :src="item.catimage" alt="" />
|
||||
<span>{{ item.title }}</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="usercontentshow" ref="usercontent">
|
||||
<div class="rc-product">
|
||||
<div class="rc-productcat">
|
||||
<div class="rc-cat" v-for="(item, index) in userproduct" :key="index" @click="selectGoods(item, index)" :class="activeIndex == index ? 'active' : 'unactive'" >
|
||||
<img :src="item.catimage" alt="" />
|
||||
<span>{{ item.title }}</span>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="rc-age">
|
||||
<h2>专区:</h2>
|
||||
<ol class="ts-scrollable">
|
||||
<li v-for="(item, index) in prefecture" :key="index" @click="selectproduct(item, index)" :class="activeIndexb == index ? 'active' : 'unactive'" >
|
||||
{{ item.title }}
|
||||
</li>
|
||||
</ol>
|
||||
</div>
|
||||
|
||||
<div class="rc-prefecture">
|
||||
<h2>专区:</h2>
|
||||
<ol>
|
||||
<li v-for="(item, index) in prefecture" :key="index" @click="selectproduct(item, index)" :class="activeIndexb == index ? 'active' : 'unactive'" >
|
||||
{{ item.title }}
|
||||
</li>
|
||||
</ol>
|
||||
</div>
|
||||
<div class="rc-age">
|
||||
<h2>年龄:</h2>
|
||||
<ol class="ts-scrollable">
|
||||
<li v-for="(item, index) in catage" :key="index" @click="selectage(item, index)" :class="activeIndexc == index ? 'active' : 'unactive'">
|
||||
{{ item.title }}
|
||||
</li>
|
||||
</ol>
|
||||
</div>
|
||||
|
||||
<div class="rc-age">
|
||||
<h2>功能:</h2>
|
||||
<ol class="ts-scrollable">
|
||||
<li v-for="(item, index) in catagea" :key="index" @click="selectagc(item, index)" :class="activeIndexd == index ? 'active' : 'unactive'">
|
||||
{{ item.title }}
|
||||
</li>
|
||||
</ol>
|
||||
</div>
|
||||
|
||||
<div class="rc-age">
|
||||
<h2>年龄:</h2>
|
||||
<ol>
|
||||
<li v-for="(item, index) in catage" :key="index" @click="selectage(item, index)" :class="activeIndexc == index ? 'active' : 'unactive'">
|
||||
{{ item.title }}
|
||||
</li>
|
||||
</ol>
|
||||
</div>
|
||||
<div class="rc-age">
|
||||
<h2>功能:</h2>
|
||||
<ol>
|
||||
<li v-for="(item, index) in catagea" :key="index" @click="selectagc(item, index)" :class="activeIndexd == index ? 'active' : 'unactive'">
|
||||
{{ item.title }}
|
||||
</li>
|
||||
</ol>
|
||||
</div>
|
||||
|
||||
<div class="rc-age">
|
||||
<h2>品种:</h2>
|
||||
<ol>
|
||||
<li v-for="(item, index) in catageb" :key="index" @click="selectagd(item, index)" :class="activeIndexe == index ? 'active' : 'unactive'">
|
||||
{{ item.title }}
|
||||
</li>
|
||||
</ol>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="rc-contair">
|
||||
<ul>
|
||||
<li v-for="(item,index) in rccontair" :key="index">
|
||||
<div class="rc-click" @click="selectproduce(item)">
|
||||
<div class="rc-rccontair">
|
||||
<img :src=item.picture alt="">
|
||||
</div>
|
||||
<span>{{item.categoryName}}</span>
|
||||
<i>{{item.price}}</i>
|
||||
</div>
|
||||
<strong @click="userbuy()">立即购买</strong>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="online" style="height:2px;width:100%;background:#DDDDDD;margin-top:0.23rem"></div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="usershow" v-if="openshow">
|
||||
<div class="rc-show">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="rc-age">
|
||||
<h2>品种:</h2>
|
||||
<ol class="ts-scrollable">
|
||||
<li v-for="(item, index) in catageb" :key="index" @click="selectagd(item, index)" :class="activeIndexe == index ? 'active' : 'unactive'">
|
||||
{{ item.title }}
|
||||
</li>
|
||||
</ol>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- rc-main end -->
|
||||
<div class="online"></div>
|
||||
<!-- rc-main start -->
|
||||
<div class="rc-main">
|
||||
<div class="usersearch">
|
||||
<div class="rc-contair">
|
||||
<ul>
|
||||
<li v-for="(item,index) in rccontair" :key="index">
|
||||
<div class="rc-click" @click="selectproduce(item)">
|
||||
<div class="rc-rccontair">
|
||||
<img :src=item.picture alt="">
|
||||
</div>
|
||||
</div>
|
||||
<div class="rc-column">
|
||||
<div class="rc-click" @click="selectproduce(item)">
|
||||
<span>{{item.categoryName}}</span>
|
||||
<i>0.001{{item.price}}</i>
|
||||
</div>
|
||||
<strong @click="userbuy()">立即购买</strong>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="usershow" v-if="openshow">
|
||||
<div class="rc-show"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- rc-main end -->
|
||||
|
||||
|
||||
<div v-if="isadrond">
|
||||
<div class="rc-mubu" v-if="isshow" @click="usershow()">
|
||||
</div>
|
||||
<div class="rc-mubu" v-if="isshow" @click="usershow()"></div>
|
||||
<div class="rc-bottom" v-if="isshow">
|
||||
<div class="rc-bottoma" >
|
||||
<div class="rc-productcat">
|
||||
<div class="rc-productcat ts-scrollable">
|
||||
<div class="rc-cat" v-for="(item, index) in userproduct" :key="index" @click="selectGoodsa(item, index)" :class="activeIndex1 == index ? 'active' : 'unactive'" >
|
||||
<img :src="item.catimage" alt="" />
|
||||
<span>{{ item.title }}</span>
|
||||
@@ -96,7 +98,7 @@
|
||||
</div>
|
||||
<div class="rc-prefecture">
|
||||
<h2>专区:</h2>
|
||||
<ol>
|
||||
<ol class="ts-scrollable">
|
||||
<li v-for="(item, index) in prefecture" :key="index" @click="selectproduct(item, index)" :class="activeIndexb == index ? 'active' : 'unactive'" >
|
||||
{{ item.title }}
|
||||
</li>
|
||||
@@ -105,7 +107,7 @@
|
||||
|
||||
<div class="rc-age">
|
||||
<h2>年龄:</h2>
|
||||
<ol>
|
||||
<ol class="ts-scrollable">
|
||||
<li v-for="(item, index) in catage" :key="index" @click="selectage(item, index)" :class="activeIndexc == index ? 'active' : 'unactive'">
|
||||
{{ item.title }}
|
||||
</li>
|
||||
@@ -113,7 +115,7 @@
|
||||
</div>
|
||||
<div class="rc-age">
|
||||
<h2>功能:</h2>
|
||||
<ol>
|
||||
<ol class="ts-scrollable">
|
||||
<li v-for="(item, index) in catagea" :key="index" @click="selectagc(item, index)" :class="activeIndexd == index ? 'active' : 'unactive'">
|
||||
{{ item.title }}
|
||||
</li>
|
||||
@@ -122,7 +124,7 @@
|
||||
|
||||
<div class="rc-age">
|
||||
<h2>品种:</h2>
|
||||
<ol>
|
||||
<ol class="ts-scrollable">
|
||||
<li v-for="(item, index) in catageb" :key="index" @click="selectagd(item, index)" :class="activeIndexe == index ? 'active' : 'unactive'">
|
||||
{{ item.title }}
|
||||
</li>
|
||||
@@ -147,7 +149,7 @@
|
||||
|
||||
<div class="rc-bottom">
|
||||
<div class="rc-bottoma" >
|
||||
<div class="rc-productcat">
|
||||
<div class="rc-productcat ts-scrollable">
|
||||
<div class="rc-cat" v-for="(item, index) in userproduct" :key="index" @click="selectGoodsa(item, index)" :class="activeIndex1 == index ? 'active' : 'unactive'" >
|
||||
<img :src="item.name" alt="" />
|
||||
<span>{{ item.title }}</span>
|
||||
@@ -197,7 +199,6 @@
|
||||
</div>
|
||||
</el-dialog>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
@@ -530,690 +531,6 @@ this.dialogInfo1=false;
|
||||
</script>
|
||||
|
||||
<style lang="less" scoped >
|
||||
.rc-top{
|
||||
position: relative;
|
||||
}
|
||||
|
||||
/deep/ .el-drawer{
|
||||
height: 60%;
|
||||
}
|
||||
ul li ol li em strong i {
|
||||
list-style: none;
|
||||
font-style: normal;
|
||||
|
||||
}
|
||||
.rc-main {
|
||||
width: 100%;
|
||||
overflow: hidden;
|
||||
margin-top:40px;
|
||||
|
||||
.usersearch {
|
||||
width: 93%;
|
||||
margin: 0 auto;
|
||||
overflow: hidden;
|
||||
}
|
||||
.active{
|
||||
border: 2px solid #E2001A;
|
||||
color: #E2001A;
|
||||
cursor: pointer;
|
||||
}
|
||||
.unactive{
|
||||
border: 2px solid #d7d7d7;
|
||||
color:#999999;
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
|
||||
//手机端
|
||||
@media screen and (max-width: 768px) {
|
||||
.rc-top{
|
||||
position: relative;
|
||||
margin-top: 74px;
|
||||
}
|
||||
.usercontentshow{
|
||||
position: relative;
|
||||
z-index: 997;
|
||||
}
|
||||
.rc-mubu{
|
||||
height: 100%;
|
||||
background: #333333;
|
||||
opacity: 0.6;
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
z-index: 998;
|
||||
|
||||
}
|
||||
.rc-bottom{
|
||||
.rc-footer{
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 100%;
|
||||
span{
|
||||
width: 155px;
|
||||
height: 48px;
|
||||
border: 2px solid #E1001A;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 14px;
|
||||
color: #E1001A;
|
||||
border-radius: 30px;
|
||||
|
||||
}
|
||||
em{
|
||||
width: 155px;
|
||||
margin-left: 25px;
|
||||
height: 48px;
|
||||
background: #E2001A;
|
||||
border-radius: 30px;
|
||||
font-size: 14px;
|
||||
color:#FFFFFF;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
font-style: normal;
|
||||
justify-content: center;
|
||||
list-style: none;
|
||||
}
|
||||
}
|
||||
.rc-cat{
|
||||
margin-top: 24px;
|
||||
}
|
||||
.active{
|
||||
border: 2px solid #E2001A;
|
||||
color: #E2001A;
|
||||
cursor: pointer;
|
||||
|
||||
}
|
||||
.unactive{
|
||||
border: 2px solid #d7d7d7;
|
||||
color:#999999;
|
||||
cursor: pointer;
|
||||
|
||||
}
|
||||
position: relative;
|
||||
height: 100%;
|
||||
height: 617px;
|
||||
background: white;
|
||||
z-index: 999;
|
||||
.rc-productcat {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-wrap: nowrap;
|
||||
.rc-cat {
|
||||
width: 32%;
|
||||
height: 34px;
|
||||
background: #ffffff;
|
||||
border-radius: 100px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
margin-left: 16px;
|
||||
font-size: 14px;
|
||||
span {
|
||||
margin-left: 3px;
|
||||
}
|
||||
|
||||
img {
|
||||
width: 24px;
|
||||
height: 16px;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/deep/ .van-search__content {
|
||||
width: 250px;
|
||||
height: 32px;
|
||||
border: 1px solid #d7d7d7;
|
||||
border-radius: 200px;
|
||||
background: white;
|
||||
}
|
||||
.rc-search {
|
||||
width: 69px;
|
||||
height: 32px;
|
||||
background: #e1001a;
|
||||
border-radius: 200px;
|
||||
text-align: center;
|
||||
color: white;
|
||||
}
|
||||
.rc-title {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
margin: 0 auto;
|
||||
color: #333333;
|
||||
margin-top: 12px;
|
||||
h2 {
|
||||
font-size: 18px;
|
||||
color: #333333;
|
||||
margin-left: 12px;
|
||||
}
|
||||
span {
|
||||
font-size: 14px;
|
||||
color: #666666;
|
||||
border-bottom: 1px solid #666666;
|
||||
display: block;
|
||||
margin-right: 8px;
|
||||
}
|
||||
}
|
||||
|
||||
.rc-variety {
|
||||
ul {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-wrap: nowrap;
|
||||
overflow: hidden;
|
||||
width: 100%;
|
||||
|
||||
}
|
||||
ul li {
|
||||
width: 80px;
|
||||
height: 32px;
|
||||
background: #ffffff;
|
||||
border: 1px solid #d7d7d7;
|
||||
border-radius: 100px;
|
||||
text-align: center;
|
||||
font-size: 14px;
|
||||
float: left;
|
||||
line-height: 32px;
|
||||
margin-left: 11px;
|
||||
}
|
||||
}
|
||||
.rc-product {
|
||||
h2 {
|
||||
font-size: 18px;
|
||||
color: #333333;
|
||||
margin-left: 12px;
|
||||
}
|
||||
}
|
||||
.rc-productcat {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-wrap: nowrap;
|
||||
.rc-cat {
|
||||
width: 32%;
|
||||
height: 34px;
|
||||
background: #ffffff;
|
||||
border-radius: 100px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
margin-left: 16px;
|
||||
font-size: 14px;
|
||||
span {
|
||||
margin-left: 3px;
|
||||
}
|
||||
|
||||
img {
|
||||
width: 24px;
|
||||
height: 16px;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
.rc-productright {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
img {
|
||||
width: 24px;
|
||||
height: 20px;
|
||||
margin-left: 15px;
|
||||
}
|
||||
span {
|
||||
font-size: 14px;
|
||||
color: #666666;
|
||||
margin-left: 8px;
|
||||
}
|
||||
}
|
||||
|
||||
.rc-prefecture{
|
||||
display: flex;
|
||||
h2{
|
||||
font-size: 16px;
|
||||
color: #333333;
|
||||
margin-left: 12px;
|
||||
}
|
||||
ol{
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-wrap: nowrap;
|
||||
font-size: 12px;
|
||||
text-align: center;
|
||||
width: 80%;
|
||||
}
|
||||
li{
|
||||
width: 40%;
|
||||
height: 26px;
|
||||
background: #FFFFFF;
|
||||
border: 1px solid #D7D7D7;
|
||||
line-height: 26px;
|
||||
float: left;
|
||||
border-radius: 100px;
|
||||
margin-left: 9px;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
.rc-age{
|
||||
display: flex;
|
||||
h2{
|
||||
font-size: 16px;
|
||||
color: #333333;
|
||||
margin-left: 12px;
|
||||
}
|
||||
ol{
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-wrap: nowrap;
|
||||
font-size: 12px;
|
||||
text-align: center;
|
||||
width: 80%;
|
||||
}
|
||||
li{
|
||||
width: 40%;
|
||||
height: 26px;
|
||||
background: #FFFFFF;
|
||||
border: 1px solid #D7D7D7;
|
||||
line-height: 26px;
|
||||
float: left;
|
||||
border-radius: 100px;
|
||||
margin-left: 9px;
|
||||
|
||||
}
|
||||
}
|
||||
.rc-contair{
|
||||
margin-top: 24px;
|
||||
.rc-rccontair{
|
||||
height:160px;display:flex;align-items: center
|
||||
}
|
||||
ul{
|
||||
text-align: center;
|
||||
align-items: center;
|
||||
flex-wrap: nowrap;
|
||||
li{
|
||||
float: left;
|
||||
width: 43%;
|
||||
margin-top: 16px;
|
||||
background: #FFFFFF;
|
||||
border: 1px solid #D7D7D7;
|
||||
margin-left: 15px;
|
||||
display: inline-flex;
|
||||
border-radius: 3px;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
img{
|
||||
width: 85px;
|
||||
display: flex;
|
||||
margin: 0 auto;
|
||||
height: 114px
|
||||
;
|
||||
}
|
||||
i{
|
||||
font-style: normal;
|
||||
font-size: 18px;
|
||||
margin-top: 8px;
|
||||
color: #666666;
|
||||
display: block;
|
||||
|
||||
}
|
||||
}
|
||||
.rc-click{
|
||||
max-height: 1.9rem;
|
||||
min-height: 1.9rem;
|
||||
}
|
||||
span{
|
||||
font-size: 0.16rem;
|
||||
color: #666666;
|
||||
text-overflow: -o-ellipsis-lastline;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
display: -webkit-box;
|
||||
-webkit-line-clamp: 2;
|
||||
line-clamp: 2;
|
||||
-webkit-box-orient: vertical;
|
||||
word-break: break-all;
|
||||
white-space: normal;
|
||||
}
|
||||
strong{
|
||||
width: 130px;
|
||||
height: 40px;
|
||||
border: 2px solid #E2001A;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border-radius: 30px;
|
||||
margin: 0 auto;
|
||||
font-size: 14px;
|
||||
color: #E2001A;
|
||||
margin-top: 8px;
|
||||
margin-bottom: 32px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//pc端
|
||||
@media screen and (min-width: 768px) and (max-width: 1920px) {
|
||||
/deep/.el-dialog {
|
||||
width: 920px;
|
||||
height: 570px;
|
||||
background: #FFFFFF;
|
||||
}
|
||||
.rc-button{
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
font-size: 16px;
|
||||
width: 100%;
|
||||
padding: 40px 0 40px 0;
|
||||
span{
|
||||
width: 160px;
|
||||
height: 48px;
|
||||
border: 2px solid #E2001A;
|
||||
border-radius: 30px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
color: #E2001A;
|
||||
cursor: pointer;
|
||||
}
|
||||
em{
|
||||
font-style: normal;
|
||||
width: 164px;
|
||||
height: 48px;
|
||||
background: #E2001A;
|
||||
cursor: pointer;
|
||||
border-radius: 30px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
color: #FFFFFF;
|
||||
margin-left: 40px;
|
||||
}
|
||||
}
|
||||
.rc-bottom{
|
||||
.rc-cat{
|
||||
margin-top: 24px;
|
||||
}
|
||||
.active{
|
||||
border: 2px solid #E2001A;
|
||||
color: #E2001A;
|
||||
cursor: pointer;
|
||||
|
||||
}
|
||||
.unactive{
|
||||
border: 2px solid #d7d7d7;
|
||||
color:#999999;
|
||||
cursor: pointer;
|
||||
|
||||
}
|
||||
.rc-productcat {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-wrap: nowrap;
|
||||
.rc-cat {
|
||||
width: 237px;
|
||||
height: 48px;
|
||||
border-radius: 30px;
|
||||
background: #ffffff;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
margin-left: 16px;
|
||||
font-size: 14px;
|
||||
span {
|
||||
margin-left: 3px;
|
||||
}
|
||||
|
||||
img {
|
||||
width: 24px;
|
||||
height: 16px;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
.form-search {
|
||||
display: none;
|
||||
}
|
||||
.rc-title {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
margin: 0 auto;
|
||||
color: #333333;
|
||||
margin-top: 12px;
|
||||
h2 {
|
||||
font-size: 18px;
|
||||
color: #333333;
|
||||
margin-left: 12px;
|
||||
}
|
||||
span {
|
||||
font-size: 14px;
|
||||
color: #666666;
|
||||
border-bottom: 1px solid #666666;
|
||||
display: block;
|
||||
margin-right: 8px;
|
||||
}
|
||||
.rc-change{
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.rc-variety {
|
||||
margin-top: 30px;
|
||||
ul {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-wrap: nowrap;
|
||||
overflow: hidden;
|
||||
width: 100%;
|
||||
|
||||
|
||||
}
|
||||
ul li {
|
||||
width: 80px;
|
||||
height: 32px;
|
||||
background: #ffffff;
|
||||
border: 1px solid #d7d7d7;
|
||||
border-radius: 100px;
|
||||
text-align: center;
|
||||
font-size: 14px;
|
||||
// color: #999999;
|
||||
float: left;
|
||||
line-height: 32px;
|
||||
margin-left: 11px;
|
||||
}
|
||||
}
|
||||
.rc-product {
|
||||
margin-top: 30px;
|
||||
h2 {
|
||||
font-size: 18px;
|
||||
color: #333333;
|
||||
margin-left: 12px;
|
||||
}
|
||||
}
|
||||
.rc-productcat {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-wrap: nowrap;
|
||||
.rc-cat {
|
||||
width: 237px;
|
||||
height: 48px;
|
||||
border-radius: 30px;
|
||||
background: #ffffff;
|
||||
|
||||
border-radius: 100px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
margin-left: 16px;
|
||||
font-size: 14px;
|
||||
span {
|
||||
margin-left: 3px;
|
||||
}
|
||||
|
||||
img {
|
||||
width: 24px;
|
||||
height: 16px;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
.rc-productright {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
img {
|
||||
width: 24px;
|
||||
height: 20px;
|
||||
margin-left: 15px;
|
||||
}
|
||||
span {
|
||||
font-size: 14px;
|
||||
color: #666666;
|
||||
margin-left: 8px;
|
||||
}
|
||||
}
|
||||
|
||||
.rc-prefecture{
|
||||
display: flex;
|
||||
margin-top: 47px;
|
||||
h2{
|
||||
font-size: 20px;
|
||||
color: #333333;
|
||||
margin-left: 12px;
|
||||
}
|
||||
ol{
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-wrap: nowrap;
|
||||
font-size: 12px;
|
||||
text-align: center;
|
||||
width: 80%;
|
||||
}
|
||||
li{
|
||||
width: 130px;
|
||||
height: 40px;
|
||||
border: 2px solid #D7D7D7;
|
||||
opacity: 1;
|
||||
border-radius: 30px;
|
||||
background: #FFFFFF;
|
||||
line-height: 40px;
|
||||
float: left;
|
||||
margin-left: 40px;
|
||||
color: #999999;
|
||||
}
|
||||
}
|
||||
|
||||
.rc-age{
|
||||
display: flex;
|
||||
|
||||
h2{
|
||||
font-size: 20px;
|
||||
color: #333333;
|
||||
margin-left: 12px;
|
||||
}
|
||||
ol{
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-wrap: nowrap;
|
||||
font-size: 12px;
|
||||
text-align: center;
|
||||
width: 80%;
|
||||
}
|
||||
li{
|
||||
margin-left: 40px;
|
||||
width: 130px;
|
||||
height: 40px;
|
||||
border: 2px solid #D7D7D7;
|
||||
border-radius: 30px;
|
||||
background: #FFFFFF;
|
||||
line-height: 40px;
|
||||
float: left;
|
||||
color: #999999;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
.rc-contair{
|
||||
margin-top: 40px;
|
||||
ul{
|
||||
text-align: center;
|
||||
align-items: center;
|
||||
flex-wrap: nowrap;
|
||||
width: 100%;
|
||||
overflow: hidden;
|
||||
li{
|
||||
float: left;
|
||||
width: 21%;
|
||||
margin-top: 16px;
|
||||
height: 560px;
|
||||
background: #FFFFFF;
|
||||
border: 1px solid #D7D7D7;
|
||||
margin-left: 40px;
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
img{
|
||||
width: 85px;
|
||||
display: flex;
|
||||
margin: 0 auto;
|
||||
height: 114px
|
||||
;
|
||||
}
|
||||
i{
|
||||
font-style: normal;
|
||||
font-size: 22px;
|
||||
margin-top: 8px;
|
||||
color: #666666;
|
||||
display: block;
|
||||
|
||||
}
|
||||
}
|
||||
span{
|
||||
overflow:hidden;
|
||||
text-overflow:ellipsis;
|
||||
-webkit-box-orient:vertical;
|
||||
-webkit-line-clamp:2;
|
||||
display: flex;
|
||||
font-size: 30px;
|
||||
color: #E2001A;
|
||||
margin-top: 8px;
|
||||
width: 256px;
|
||||
text-align: center;
|
||||
margin: 0 auto;
|
||||
}
|
||||
strong{
|
||||
width: 134px;
|
||||
height: 40px;
|
||||
border: 2px solid #E2001A;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border-radius: 30px;
|
||||
margin: 0 auto;
|
||||
font-size: 14px;
|
||||
color: #E2001A;
|
||||
margin-top: 8px;
|
||||
}
|
||||
|
||||
.rc-rccontair{
|
||||
height:320px;display:flex;align-items: center
|
||||
}
|
||||
}
|
||||
}
|
||||
@import url("../../assets/css/global.less");
|
||||
@import url("../../assets/css/product-list.less");
|
||||
</style>
|
||||
Reference in New Issue
Block a user