|
@@ -5,47 +5,73 @@
|
|
|
<search-input @submit="goSubmit"></search-input>
|
|
|
</div>
|
|
|
|
|
|
- <div class="flex-r-c">
|
|
|
- <div class="flex-r-c center left">
|
|
|
- <h5>最新文档</h5>
|
|
|
- <i class="el-icon-jy-Frame"></i>
|
|
|
- </div>
|
|
|
- <div class="flex-r-c center right">
|
|
|
- <span>查看更多</span>
|
|
|
- <i class="el-icon-arrow-right"></i>
|
|
|
- </div>
|
|
|
+ <div class="new-group">
|
|
|
+ <div class="flex-r-c">
|
|
|
+ <div class="title-group flex-r-c center left">
|
|
|
+ <h5>最新文档</h5>
|
|
|
+ <i class="el-icon-jy-Frame"></i>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div class="new-list-group flex-r-c">
|
|
|
+ <div class="flex-c-c">
|
|
|
+ <list-item></list-item>
|
|
|
+ <list-item></list-item>
|
|
|
+ <list-item></list-item>
|
|
|
+ <list-item></list-item>
|
|
|
+ <list-item></list-item>
|
|
|
+ </div>
|
|
|
+ <div class="flex-c-c">
|
|
|
+ <list-item></list-item>
|
|
|
+ <list-item></list-item>
|
|
|
+ <list-item></list-item>
|
|
|
+ <list-item></list-item>
|
|
|
+ <list-item></list-item>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
|
|
|
- <h3>最新标讯</h3>
|
|
|
- <div class="new-list-group flex-r-c">
|
|
|
- <div class="flex-c-c">
|
|
|
- <list-item></list-item>
|
|
|
- <list-item></list-item>
|
|
|
- <list-item></list-item>
|
|
|
- <list-item></list-item>
|
|
|
- <list-item></list-item>
|
|
|
+ <div class="hot-down-group">
|
|
|
+ <div class="flex-r-c">
|
|
|
+ <div class="title-group flex-r-c center left">
|
|
|
+ <h5>热门下载</h5>
|
|
|
+ <i class="el-icon-jy-Frame-1"></i>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
- <div class="flex-c-c">
|
|
|
- <list-item></list-item>
|
|
|
- <list-item></list-item>
|
|
|
- <list-item></list-item>
|
|
|
- <list-item></list-item>
|
|
|
- <list-item></list-item>
|
|
|
+
|
|
|
+ <div class="new-list-group flex-r-c">
|
|
|
+ <div class="flex-c-c">
|
|
|
+ <list-item></list-item>
|
|
|
+ <list-item></list-item>
|
|
|
+ <list-item></list-item>
|
|
|
+ <list-item></list-item>
|
|
|
+ <list-item></list-item>
|
|
|
+ </div>
|
|
|
+ <div class="flex-c-c">
|
|
|
+ <list-item></list-item>
|
|
|
+ <list-item></list-item>
|
|
|
+ <list-item></list-item>
|
|
|
+ <list-item></list-item>
|
|
|
+ <list-item></list-item>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
- <h3>精选推荐</h3>
|
|
|
- <div class="hot-keep-group flex-r-c wrap">
|
|
|
- <card-item></card-item>
|
|
|
- <card-item></card-item>
|
|
|
- <card-item></card-item>
|
|
|
- <card-item></card-item>
|
|
|
- <card-item></card-item>
|
|
|
- <card-item></card-item>
|
|
|
+ <div class="keep-group">
|
|
|
+ <div class="flex-r-c">
|
|
|
+ <div class="title-group flex-r-c center left">
|
|
|
+ <h5>精选推荐</h5>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="hot-keep-group flex-r-c wrap">
|
|
|
+ <card-item></card-item>
|
|
|
+ <card-item></card-item>
|
|
|
+ <card-item></card-item>
|
|
|
+ <card-item></card-item>
|
|
|
+ <card-item></card-item>
|
|
|
+ <card-item></card-item>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
-
|
|
|
- <el-button @click="getTest" :loading="fullscreenLoading" type="primary">模拟Ajax</el-button>
|
|
|
- <el-button @click="getLoginStatus" type="info" icon="el-icon-jy-search">获取登录状态</el-button>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
@@ -69,10 +95,10 @@ export default {
|
|
|
fullscreenLoading: false
|
|
|
}
|
|
|
},
|
|
|
- beforeCreate: function() {
|
|
|
+ beforeCreate: function () {
|
|
|
$('body').addClass('view_index')
|
|
|
},
|
|
|
- beforeDestroy: function() {
|
|
|
+ beforeDestroy: function () {
|
|
|
$('body').removeClass('view_index')
|
|
|
},
|
|
|
methods: {
|
|
@@ -107,6 +133,46 @@ export default {
|
|
|
<style scoped lang="scss">
|
|
|
@include diy-icon('search', 24);
|
|
|
@include diy-icon('Frame', 24);
|
|
|
+ @include diy-icon('Frame-1', 24);
|
|
|
+
|
|
|
+ .keep-group {
|
|
|
+ margin-top: 38px;
|
|
|
+ padding-bottom: 50px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .new-group {
|
|
|
+ margin-top: 54px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .hot-down-group {
|
|
|
+ border-radius: 12px;
|
|
|
+ background: url("~@/assets/images/dateGetBg.png") no-repeat;
|
|
|
+
|
|
|
+ background-size: 100% 100%;
|
|
|
+ width: 100%;
|
|
|
+ height: auto;
|
|
|
+ padding: 24px;
|
|
|
+ padding-bottom: 34px;
|
|
|
+ box-sizing: border-box;
|
|
|
+ margin-top: 40px;
|
|
|
+ .new-list-group {
|
|
|
+ background-color: white;
|
|
|
+ border-radius: 8px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .title-group {
|
|
|
+ margin-bottom: 16px;
|
|
|
+ h5 {
|
|
|
+ color: #1D1D1D;
|
|
|
+ font-family: Microsoft YaHei;
|
|
|
+ font-size: 18px;
|
|
|
+ line-height: 28px;
|
|
|
+ letter-spacing: 0px;
|
|
|
+ text-align: left;
|
|
|
+ margin-right: 9px;
|
|
|
+ }
|
|
|
+ }
|
|
|
|
|
|
.top-search-group {
|
|
|
width: 100%;
|