diff --git a/package.json b/package.json
index 43d6c46..11ecb57 100644
--- a/package.json
+++ b/package.json
@@ -16,6 +16,7 @@
"core-js": "^3.6.4",
"echarts": "^4.6.0",
"element-ui": "^2.15.9",
+ "swiper": "^8.4.2",
"vue": "^2.6.11",
"vue-awesome": "^4.0.2",
"vue-router": "^3.1.5",
@@ -31,6 +32,7 @@
"eslint-plugin-vue": "^6.1.2",
"sass": "^1.25.0",
"sass-loader": "^8.0.2",
+ "vue-awesome-swiper": "^3.1.3",
"vue-template-compiler": "^2.6.11"
},
"eslintConfig": {
diff --git a/public/index.html b/public/index.html
index 4123528..a837192 100644
--- a/public/index.html
+++ b/public/index.html
@@ -3,7 +3,7 @@
-
+
<%= htmlWebpackPlugin.options.title %>
diff --git a/src/assets/styles/index.scss b/src/assets/styles/index.scss
index 1c4a2d8..dcd7ff0 100644
--- a/src/assets/styles/index.scss
+++ b/src/assets/styles/index.scss
@@ -1,11 +1,12 @@
#bookshelf{
width: 100%;
- height: 1920px;
- padding-top: 60px;
+ height: 100vh;
+ // padding-top: 60px;
font-size: 30px;
background: url('~@/assets/images/home/bg.png') no-repeat left top;
background-size: cover;
overflow: hidden;
+ overflow-y: auto;
}
//c-s壳占位
@@ -237,7 +238,7 @@
width: 1080px;
background: url('~@/assets/images/list/list-rack.png') no-repeat -31px 205px;
overflow: hidden;
- overflow-x: auto;
+ // overflow-x: auto;
white-space: nowrap;
.list-item{
margin-right: 1.7px;
@@ -280,6 +281,7 @@
align-items: center;
justify-content: space-between;
padding: 0 40px;
+ z-index: 999;
.icon-l,.icon-r{
font-size: 24px;
}
diff --git a/src/views/authorRecommend.vue b/src/views/authorRecommend.vue
index 9a060f0..bf4b29e 100644
--- a/src/views/authorRecommend.vue
+++ b/src/views/authorRecommend.vue
@@ -1,7 +1,5 @@
-
-