| @@ -4,7 +4,7 @@ | |||||
| <div class="header"> | <div class="header"> | ||||
| <img src="@/assets/logo.png" id="logo" /> | <img src="@/assets/logo.png" id="logo" /> | ||||
| <yqheaders/> | <yqheaders/> | ||||
| <el-button v-if="!isLogin" plain class="login" size="small" @click="loginFn">注册 / 登录</el-button> | |||||
| <el-button v-if="isLogin" plain class="login" size="small" @click="loginFn">注册 / 登录</el-button> | |||||
| <el-dropdown v-else class="user"> | <el-dropdown v-else class="user"> | ||||
| <span class="el-dropdown-link"> | <span class="el-dropdown-link"> | ||||
| {{ userInfo.phone }}<i class="el-icon-arrow-down el-icon--right"></i> | {{ userInfo.phone }}<i class="el-icon-arrow-down el-icon--right"></i> | ||||
| @@ -98,7 +98,7 @@ export default { | |||||
| height: 77px; | height: 77px; | ||||
| background: #00000081; | background: #00000081; | ||||
| align-items: center; | align-items: center; | ||||
| z-index: 99; | |||||
| z-index: 999; | |||||
| #logo { | #logo { | ||||
| width: 163px; | width: 163px; | ||||
| height: 43px; | height: 43px; | ||||
| @@ -515,7 +515,7 @@ export default { | |||||
| } | } | ||||
| .videozb::after { | .videozb::after { | ||||
| content: ''; | content: ''; | ||||
| // z-index: 99; | |||||
| z-index: 99; | |||||
| width: 55px; | width: 55px; | ||||
| height: 55px; | height: 55px; | ||||
| position: absolute; | position: absolute; | ||||
| @@ -524,7 +524,7 @@ export default { | |||||
| left: 50%; | left: 50%; | ||||
| margin-left: -27.5px; | margin-left: -27.5px; | ||||
| top: 40%; | top: 40%; | ||||
| // z-index: 99; | |||||
| z-index: 99; | |||||
| background-repeat: no-repeat; | background-repeat: no-repeat; | ||||
| } | } | ||||
| } | } | ||||
| @@ -69,7 +69,6 @@ export default { | |||||
| const { data: { code, data } } = await lunboList() | const { data: { code, data } } = await lunboList() | ||||
| if (code === 200) { | if (code === 200) { | ||||
| this.carouselList = data.list | this.carouselList = data.list | ||||
| this.total = Number(data.total) | |||||
| } | } | ||||
| }, | }, | ||||
| async getnewsList () { | async getnewsList () { | ||||
| @@ -82,6 +81,7 @@ export default { | |||||
| const { data: { code, data } } = await newsListApi(d) | const { data: { code, data } } = await newsListApi(d) | ||||
| if (code === 200) { | if (code === 200) { | ||||
| this.articleList = data.list | this.articleList = data.list | ||||
| this.total = Number(data.total) | |||||
| } | } | ||||
| }, | }, | ||||
| detail(item) { | detail(item) { | ||||
| @@ -252,7 +252,7 @@ export default { | |||||
| color: #07CAAF; | color: #07CAAF; | ||||
| line-height: 48px; | line-height: 48px; | ||||
| cursor: pointer; | cursor: pointer; | ||||
| // z-index: 9999; | |||||
| z-index: 9999; | |||||
| } | } | ||||
| .more:hover { | .more:hover { | ||||
| border: 1px solid #088669; | border: 1px solid #088669; | ||||
| @@ -267,7 +267,7 @@ export default { | |||||
| justify-content: space-between; | justify-content: space-between; | ||||
| align-items: center; | align-items: center; | ||||
| .list { | .list { | ||||
| // z-index: 999; | |||||
| z-index: 999; | |||||
| display: flex; | display: flex; | ||||
| flex-direction: column; | flex-direction: column; | ||||
| align-items: center; | align-items: center; | ||||
| @@ -415,7 +415,7 @@ export default { | |||||
| font-weight: bold; | font-weight: bold; | ||||
| color: #07CAAF; | color: #07CAAF; | ||||
| line-height: 48px; | line-height: 48px; | ||||
| // z-index: 999; | |||||
| z-index: 999; | |||||
| } | } | ||||
| } | } | ||||
| #hotList { | #hotList { | ||||
| @@ -423,7 +423,7 @@ export default { | |||||
| flex-wrap: wrap; | flex-wrap: wrap; | ||||
| align-items: center; | align-items: center; | ||||
| .list { | .list { | ||||
| // z-index: 999; | |||||
| z-index: 998; | |||||
| display: flex; | display: flex; | ||||
| justify-content: center; | justify-content: center; | ||||
| width: 500px; | width: 500px; | ||||
| @@ -245,7 +245,7 @@ export default { | |||||
| font-size: 18px; | font-size: 18px; | ||||
| line-height: 48px; | line-height: 48px; | ||||
| cursor: pointer; | cursor: pointer; | ||||
| // z-index: 99; | |||||
| z-index: 99; | |||||
| } | } | ||||
| .clk { | .clk { | ||||
| font-weight: bold; | font-weight: bold; | ||||
| @@ -277,7 +277,7 @@ export default { | |||||
| font-weight: bold; | font-weight: bold; | ||||
| color: #07CAAF; | color: #07CAAF; | ||||
| line-height: 48px; | line-height: 48px; | ||||
| // z-index: 999; | |||||
| z-index: 999; | |||||
| } | } | ||||
| } | } | ||||
| #hotList { | #hotList { | ||||
| @@ -290,7 +290,7 @@ export default { | |||||
| .list { | .list { | ||||
| display: flex; | display: flex; | ||||
| //width: 50%; | //width: 50%; | ||||
| // z-index: 999; | |||||
| z-index: 998; | |||||
| flex-direction: row !important; | flex-direction: row !important; | ||||
| //align-items: center; | //align-items: center; | ||||
| justify-content: center; | justify-content: center; | ||||