mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-13 04:46:44 +08:00
样式
This commit is contained in:
BIN
src/assets/images/grateful/notice.png
Normal file
BIN
src/assets/images/grateful/notice.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 90 KiB |
BIN
src/assets/images/grateful/tool1.png
Normal file
BIN
src/assets/images/grateful/tool1.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3.0 KiB |
BIN
src/assets/images/grateful/tool2.png
Normal file
BIN
src/assets/images/grateful/tool2.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 4.1 KiB |
BIN
src/assets/images/grateful/tool3.png
Normal file
BIN
src/assets/images/grateful/tool3.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 4.3 KiB |
@@ -399,6 +399,13 @@ body {margin: 0px;padding: 0px;}
|
|||||||
.list {
|
.list {
|
||||||
grid-template-columns: repeat(4, 255px);
|
grid-template-columns: repeat(4, 255px);
|
||||||
}
|
}
|
||||||
|
.noticeImg{
|
||||||
|
height: 110px;
|
||||||
|
}
|
||||||
|
.toolImg{
|
||||||
|
width: 80px;
|
||||||
|
height: 80px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
.home-page-right{
|
.home-page-right{
|
||||||
width: 330px;
|
width: 330px;
|
||||||
@@ -477,6 +484,9 @@ body {margin: 0px;padding: 0px;}
|
|||||||
.list {
|
.list {
|
||||||
grid-template-columns: repeat(4, 332px);
|
grid-template-columns: repeat(4, 332px);
|
||||||
}
|
}
|
||||||
|
.noticeImg{
|
||||||
|
height: 120px;
|
||||||
|
}
|
||||||
.liList{
|
.liList{
|
||||||
margin-top: 10px;
|
margin-top: 10px;
|
||||||
}
|
}
|
||||||
@@ -526,6 +536,9 @@ body {margin: 0px;padding: 0px;}
|
|||||||
.list {
|
.list {
|
||||||
grid-template-columns: repeat(4, 400px);
|
grid-template-columns: repeat(4, 400px);
|
||||||
}
|
}
|
||||||
|
.noticeImg{
|
||||||
|
height: 150px;
|
||||||
|
}
|
||||||
.liList{
|
.liList{
|
||||||
margin-top: 24px;
|
margin-top: 24px;
|
||||||
}
|
}
|
||||||
@@ -574,6 +587,9 @@ body {margin: 0px;padding: 0px;}
|
|||||||
.list {
|
.list {
|
||||||
grid-template-columns: repeat(4, 445px);
|
grid-template-columns: repeat(4, 445px);
|
||||||
}
|
}
|
||||||
|
.noticeImg{
|
||||||
|
height: 169px;
|
||||||
|
}
|
||||||
.liList{
|
.liList{
|
||||||
margin-top: 32px;
|
margin-top: 32px;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -40,10 +40,11 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="navNotice">
|
<div class="navNotice">
|
||||||
<div id="fixd-box" style="height: 100%;">
|
<div id="fixd-box" style="height: 100%;">
|
||||||
<div class="portal-ranking ranking-bg" style="height: 100%;">
|
<div class="portal-ranking ranking-bg" style="height: 100%;display: flex;flex-direction: column;">
|
||||||
<div style="display: flex;justify-content: space-between;">
|
<div style="display: flex;justify-content: space-between;">
|
||||||
<p class="ranking-title">通知</p>
|
<p class="ranking-title">通知</p>
|
||||||
<router-link v-if="courseList.noticeList.length >= 6" to="/grateful/gratefulNotice" style="font-size: 14px;">查看更多</router-link>
|
<router-link v-if="courseList.noticeList.length >= 6" to="/grateful/gratefulNotice"
|
||||||
|
style="font-size: 14px;">查看更多</router-link>
|
||||||
</div>
|
</div>
|
||||||
<ul>
|
<ul>
|
||||||
<li v-for="(item, index) in courseList.noticeList" :key="index"
|
<li v-for="(item, index) in courseList.noticeList" :key="index"
|
||||||
@@ -61,12 +62,16 @@
|
|||||||
</router-link>
|
</router-link>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
<div v-if="courseList.noticeList.length <=3" style="flex: 1;display: flex; align-items: flex-end;">
|
||||||
|
<img src="../../assets/images/grateful/notice.png" class="noticeImg" style="width: 100%;"
|
||||||
|
alt="">
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="navTool">
|
<div class="navTool">
|
||||||
<div id="fixd-box" style="height: 100%;">
|
<div id="fixd-box" style="height: 100%;">
|
||||||
<div class="portal-ranking ranking-bg1" style="height: 100%;">
|
<div class="portal-ranking ranking-bg1" style="height: 100%;display: flex;flex-direction: column;">
|
||||||
<div style="display: flex;justify-content: space-between;">
|
<div style="display: flex;justify-content: space-between;">
|
||||||
<p class="ranking-title">工具下载</p>
|
<p class="ranking-title">工具下载</p>
|
||||||
<router-link v-if="courseList.toolList.length >= 6" to="/grateful/toolDown"
|
<router-link v-if="courseList.toolList.length >= 6" to="/grateful/toolDown"
|
||||||
@@ -97,6 +102,15 @@
|
|||||||
<span class="portal-title-desc" style="font-size: 14px;">{{ item.name.split('.')[0] }}</span>
|
<span class="portal-title-desc" style="font-size: 14px;">{{ item.name.split('.')[0] }}</span>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
<div v-if="courseList.toolList.length <= 4"
|
||||||
|
style="flex: 1; display: flex;justify-content: space-between; align-items: flex-end;">
|
||||||
|
<img class="toolImg" src="../../assets/images/grateful/tool1.png"
|
||||||
|
alt="">
|
||||||
|
<img class="toolImg" src="../../assets/images/grateful/tool2.png"
|
||||||
|
alt="">
|
||||||
|
<img class="toolImg" src="../../assets/images/grateful/tool3.png"
|
||||||
|
alt="">
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -815,5 +829,4 @@ export default {
|
|||||||
display: grid;
|
display: grid;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
}
|
}
|
||||||
}
|
}</style>
|
||||||
</style>
|
|
||||||
|
|||||||
Reference in New Issue
Block a user