mirror of
https://github.com/Dichgrem/Vue.git
synced 2026-02-05 04:41:55 -05:00
update:student-vol
This commit is contained in:
@@ -1,31 +1,25 @@
|
||||
<template>
|
||||
<div>
|
||||
<div class="header">
|
||||
<User
|
||||
@updateYear="updateYear"
|
||||
:date="year"
|
||||
:dateList="dateList"
|
||||
/>
|
||||
<div class="container">
|
||||
<div class="header">
|
||||
<User @updateYear="updateYear" :date="year" :dateList="dateList" />
|
||||
</div>
|
||||
|
||||
<Overview :year="year.value" />
|
||||
|
||||
<van-list
|
||||
v-model:loading="loading"
|
||||
:finished="finished"
|
||||
finished-text="没有更多了"
|
||||
@load="onLoad"
|
||||
>
|
||||
<RecordItem
|
||||
v-for="item in dataList"
|
||||
:key="item.id"
|
||||
:data="item"
|
||||
@goDetails="goDetails"
|
||||
/>
|
||||
</van-list>
|
||||
</div>
|
||||
|
||||
<div class="overview">
|
||||
<Overview :year="year.value" />
|
||||
</div>
|
||||
|
||||
<van-list
|
||||
v-model:loading="loading"
|
||||
:finished="finished"
|
||||
finished-text="没有更多了"
|
||||
@load="onLoad"
|
||||
>
|
||||
<RecordItem
|
||||
v-for="item in dataList"
|
||||
:key="item.id"
|
||||
:data="item"
|
||||
@goDetails="goDetails"
|
||||
/>
|
||||
</van-list>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
@@ -119,8 +113,25 @@ export default {
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.container {
|
||||
background-color: #f5f6f8;
|
||||
min-height: auto;
|
||||
padding-bottom: 20px;
|
||||
}
|
||||
|
||||
.header {
|
||||
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
||||
background: linear-gradient(135deg, #ff6b35 0%, #f7931e 50%, #ffb347 100%);
|
||||
color: white;
|
||||
padding: 10px 12px 12px;
|
||||
border-radius: 0 0 30px 30px;
|
||||
box-shadow: 0 4px 20px rgba(255, 107, 53, 0.3);
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.header :deep(.container) {
|
||||
min-height: 0 !important;
|
||||
height: auto !important;
|
||||
padding: 0 !important;
|
||||
margin: 0 !important;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user