|
@@ -166,13 +166,15 @@ async function getCategory1Fun() {
|
|
|
height: 60px;
|
|
height: 60px;
|
|
|
background: #f7f7f7;
|
|
background: #f7f7f7;
|
|
|
border-bottom: 4px solid #fff;
|
|
border-bottom: 4px solid #fff;
|
|
|
|
|
+ margin: 0 auto; /* 容器自身居中 */
|
|
|
|
|
+ text-align: center; /* 文字内容水平居中 */
|
|
|
|
|
|
|
|
a {
|
|
a {
|
|
|
border: 1px solid #e8e8e8;
|
|
border: 1px solid #e8e8e8;
|
|
|
color: #333;
|
|
color: #333;
|
|
|
border-radius: 3px;
|
|
border-radius: 3px;
|
|
|
padding: 0 30px;
|
|
padding: 0 30px;
|
|
|
- font-size: 14px;
|
|
|
|
|
|
|
+ font-size: 13px;
|
|
|
height: 30px;
|
|
height: 30px;
|
|
|
display: flex;
|
|
display: flex;
|
|
|
justify-content: center;
|
|
justify-content: center;
|
|
@@ -195,6 +197,8 @@ async function getCategory1Fun() {
|
|
|
padding-bottom: 1px;
|
|
padding-bottom: 1px;
|
|
|
display: flex;
|
|
display: flex;
|
|
|
position: relative;
|
|
position: relative;
|
|
|
|
|
+ margin: 0 auto; /* 容器自身居中 */
|
|
|
|
|
+ text-align: center; /* 文字内容水平居中 */
|
|
|
|
|
|
|
|
.cate-nav {
|
|
.cate-nav {
|
|
|
width: 130px;
|
|
width: 130px;
|
|
@@ -210,7 +214,7 @@ async function getCategory1Fun() {
|
|
|
justify-content: center;
|
|
justify-content: center;
|
|
|
width: 100%;
|
|
width: 100%;
|
|
|
height: 50px;
|
|
height: 50px;
|
|
|
- font-size: 14px;
|
|
|
|
|
|
|
+ font-size: 13px;
|
|
|
color: #606266;
|
|
color: #606266;
|
|
|
position: relative;
|
|
position: relative;
|
|
|
|
|
|