mirror of
https://gitee.com/lab1024/smart-admin.git
synced 2025-11-21 09:56:54 +08:00
Layout fixed
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
<template>
|
||||
|
||||
|
||||
<header class="rc-home-header">
|
||||
<header class="rc-home-header fixed">
|
||||
<div class="rc-main">
|
||||
<nuxt-link :to="`../../productdetails/userdetails/`">
|
||||
<div class="c-left">
|
||||
@@ -53,92 +51,5 @@ export default {
|
||||
};
|
||||
</script>
|
||||
<style lang="less" scoped>
|
||||
/* 手机端 */
|
||||
@media screen and (max-width: 768px) {
|
||||
.rc-home-header{
|
||||
|
||||
.rc-main{
|
||||
width: 92%;
|
||||
margin: 0 auto;
|
||||
// position: fixed;
|
||||
top: 0;
|
||||
left: 4%;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
height: 70px;
|
||||
background-color: white;
|
||||
z-index: 9999 ;
|
||||
.rc-center{
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
.c-left img{
|
||||
width: 19px;
|
||||
height: 14px;
|
||||
display: block;
|
||||
}
|
||||
.c-right img{
|
||||
width: 97px;
|
||||
height: 35px;
|
||||
display: block;
|
||||
}
|
||||
.rc-search img{
|
||||
width: 19px;
|
||||
height: 19px;
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
/* pc端 */
|
||||
@media screen and (min-width: 768px) and (max-width: 1920px) {
|
||||
.rc-home-header{
|
||||
height:120px ;
|
||||
.rc-main{
|
||||
width: 92%;
|
||||
margin: 0 auto;
|
||||
// position: fixed;
|
||||
top: 0;
|
||||
z-index: 989;
|
||||
background: white;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
flex-direction: column;
|
||||
height: 120px;
|
||||
ul{
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-bottom: 20px;
|
||||
li{
|
||||
margin-right: 25px;
|
||||
color: #666666;
|
||||
cursor: pointer;
|
||||
font-size: 16px;
|
||||
}
|
||||
}
|
||||
}
|
||||
.c-left{
|
||||
display: none;
|
||||
}
|
||||
.rc-search{
|
||||
display: none;
|
||||
}
|
||||
.c-left img{
|
||||
width: 19px;
|
||||
height: 14px;
|
||||
display: block;
|
||||
}
|
||||
.c-right img{
|
||||
width: 120px;
|
||||
height: 45px;
|
||||
display: block;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
@import url("../assets/css/global.less");
|
||||
</style>
|
||||
Reference in New Issue
Block a user