|
@@ -1,21 +1,88 @@
|
|
|
<template>
|
|
|
- <div >
|
|
|
- <div class="topBanner">
|
|
|
- background: url("../../assets/images/topBanner.png") center;
|
|
|
- background-size: cover;
|
|
|
- background-repeat: no-repeat;
|
|
|
- position: relative;
|
|
|
- height: 465px;
|
|
|
- </div>
|
|
|
+ <div>
|
|
|
+ <div class="topBanner">
|
|
|
+ <h2 class="msg">资讯中心</h2>
|
|
|
</div>
|
|
|
+ <div class="infoList width1200">
|
|
|
+ <div class="infoItem" @click="gotoDetail(1)">
|
|
|
+ <img src="@/assets/images/consult/infoMsg.png" width="100%" alt />
|
|
|
+ <!-- <p class="time"></p> -->
|
|
|
+ <h2>承办单位和定点机构有什么区别</h2>
|
|
|
+ <!-- <p class="info"></p> -->
|
|
|
+ </div>
|
|
|
+ <div class="infoItem" @click="gotoDetail(2)">
|
|
|
+ <img src="@/assets/images/consult/infoMsg.png" width="100%" alt />
|
|
|
+ <!-- <p class="time"></p> -->
|
|
|
+ <h2>乐器演奏不清晰不连贯的原因有哪些</h2>
|
|
|
+ <!-- <p class="info"></p> -->
|
|
|
+ </div>
|
|
|
+ <div class="infoItem" @click="gotoDetail(3)">
|
|
|
+ <img src="@/assets/images/consult/infoMsg.png" width="100%" alt />
|
|
|
+ <!-- <p class="time"></p> -->
|
|
|
+ <h2>十级琴霸的备考建议</h2>
|
|
|
+ <!-- <p class="info"></p> -->
|
|
|
+ </div>
|
|
|
+ <div class="infoItem" @click="gotoDetail(4)">
|
|
|
+ <img src="@/assets/images/consult/infoMsg.png" width="100%" alt />
|
|
|
+ <!-- <p class="time"></p> -->
|
|
|
+ <h2>音乐等艺术等科目纳入“新中考”</h2>
|
|
|
+ <!-- <p class="info"></p> -->
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
</template>
|
|
|
<script>
|
|
|
export default {
|
|
|
- data(){
|
|
|
- return{}
|
|
|
- }
|
|
|
-}
|
|
|
+ data() {
|
|
|
+ return {};
|
|
|
+ },
|
|
|
+ methods: {
|
|
|
+ gotoDetail(num) {
|
|
|
+ let newpage = this.$router.resolve({
|
|
|
+ name: `detile${num}`,
|
|
|
+ });
|
|
|
+ window.open(newpage.href, '_blank');
|
|
|
+ },
|
|
|
+ },
|
|
|
+};
|
|
|
</script>
|
|
|
<style lang="less" scoped>
|
|
|
-
|
|
|
+.topBanner {
|
|
|
+ background: url("../../assets/images/consult/consultBanner.png") center;
|
|
|
+ background-size: cover;
|
|
|
+ background-repeat: no-repeat;
|
|
|
+ position: relative;
|
|
|
+ height: 458px;
|
|
|
+ display: flex;
|
|
|
+ flex-direction: column;
|
|
|
+ align-items: center;
|
|
|
+ .msg {
|
|
|
+ margin-top: 194px;
|
|
|
+ font-size: 50px;
|
|
|
+ font-family: PingFangSC-Semibold, PingFang SC;
|
|
|
+ font-weight: 600;
|
|
|
+ color: #ffffff;
|
|
|
+ line-height: 70px;
|
|
|
+ text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.32);
|
|
|
+ }
|
|
|
+}
|
|
|
+.infoList {
|
|
|
+ display: flex;
|
|
|
+ flex-direction: row;
|
|
|
+ justify-content: space-around;
|
|
|
+ margin-top: 56px;
|
|
|
+ text-align: left;
|
|
|
+ .infoItem {
|
|
|
+ width: 250px;
|
|
|
+ margin-bottom: 56px;
|
|
|
+ cursor: pointer;
|
|
|
+ h2 {
|
|
|
+ font-size: 24px;
|
|
|
+ font-family: PingFangSC-Regular, PingFang SC;
|
|
|
+ font-weight: 400;
|
|
|
+ color: #1a1a1a;
|
|
|
+ line-height: 33px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|
|
|
</style>
|