mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-11 03:46:44 +08:00
修改
This commit is contained in:
@@ -93,4 +93,7 @@
|
|||||||
.list-bg2{
|
.list-bg2{
|
||||||
background: url('/images/list-pink.png') no-repeat 100% / 100%;
|
background: url('/images/list-pink.png') no-repeat 100% / 100%;
|
||||||
}
|
}
|
||||||
|
.art-bgimg{
|
||||||
|
background: url('/images/contribute.png') no-repeat 100% / 100%;
|
||||||
|
background-position:top;
|
||||||
|
}
|
||||||
|
|||||||
@@ -54,22 +54,34 @@
|
|||||||
<el-empty :image-size="200"></el-empty>
|
<el-empty :image-size="200"></el-empty>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div style="width: 245px;margin-left: 5px;">
|
<div style="width: 410px;margin-left: 5px;">
|
||||||
|
|
||||||
|
<div>
|
||||||
|
<div id="articleAnking">
|
||||||
|
<el-button class="write-art" @click="openDialog" icon="el-icon-edit" type="primary">写文章</el-button>
|
||||||
|
<div class="portal-right-box list-bg">
|
||||||
|
<p class="portal-title-one" style="padding-bottom:12px" >贡献榜</p>
|
||||||
|
<ul>
|
||||||
|
<li v-for="(item, index) in ankingList" :key="index" style="margin-top:30px">
|
||||||
|
<span class="portal-right-text orange-one" v-if="index==0" style="margin-right:94px">0{{index+1}}.</span>
|
||||||
|
<span class="portal-right-text orange-tow" v-if="index==1" style="margin-right:94px">0{{index+1}}.</span>
|
||||||
|
<span class="portal-right-text orange-three" v-if="index==2" style="margin-right:94px">0{{index+1}}.</span>
|
||||||
|
<span class="portal-right-text" v-if="index>2" style="margin-right:94px">0{{index+1}}.</span>
|
||||||
|
<span class="portal-title-desc">{{ item.sysCreateUname }}</span>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<el-row class="right-box">
|
<!-- <div id="article-detail">
|
||||||
|
|
||||||
|
|
||||||
<div id="article-detail">
|
|
||||||
<el-button @click="openDialog" style="width: 100%;height: 37px;border-radius: 0;margin-bottom:15px;" type="primary">写文章</el-button>
|
<el-button @click="openDialog" style="width: 100%;height: 37px;border-radius: 0;margin-bottom:15px;" type="primary">写文章</el-button>
|
||||||
<el-card class="ranking-card">
|
<el-card class="ranking-card">
|
||||||
<div slot="header">
|
<div slot="header">
|
||||||
<span style="font-size: 14px;font-weight: 600;color: #333333;">贡献榜</span>
|
<span style="font-size: 14px;font-weight: 600;color: #333333;">贡献榜</span>
|
||||||
</div>
|
</div>
|
||||||
<div style="padding-bottom:10px">
|
<div style="padding-bottom:10px">
|
||||||
<!-- <el-row class="ranking-title">
|
|
||||||
<el-col :offset="4" :span="10" style="color: #333333;font-size: 14px;">姓名</el-col>
|
|
||||||
<el-col :span="10" style="text-align: right;color: #333333;font-size: 14px;">贡献度</el-col>
|
|
||||||
</el-row> -->
|
|
||||||
<el-row class="ranking-title bacolor" v-for="(item, index) in ankingList" :key="index" >
|
<el-row class="ranking-title bacolor" v-for="(item, index) in ankingList" :key="index" >
|
||||||
<el-col :span="6" style="height:34px">
|
<el-col :span="6" style="height:34px">
|
||||||
<img v-if="index===0" :src="`${webBaseUrl}/images/first.png`"/>
|
<img v-if="index===0" :src="`${webBaseUrl}/images/first.png`"/>
|
||||||
@@ -81,10 +93,10 @@
|
|||||||
</el-row>
|
</el-row>
|
||||||
</div>
|
</div>
|
||||||
</el-card>
|
</el-card>
|
||||||
</div>
|
</div> -->
|
||||||
|
|
||||||
|
|
||||||
</el-row>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -249,8 +261,9 @@ export default {
|
|||||||
|
|
||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
.list-bg{
|
.list-bg{
|
||||||
background: linear-gradient(180deg, #C3DEF8 0%, #FFFFFF 37%);
|
background-image: url('../../../../public/images/contribute.png') no-repeat 0 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.write-art{
|
.write-art{
|
||||||
width: 410px;
|
width: 410px;
|
||||||
height: 67px;
|
height: 67px;
|
||||||
|
|||||||
@@ -98,7 +98,7 @@
|
|||||||
<div>
|
<div>
|
||||||
<div id="articleAnking">
|
<div id="articleAnking">
|
||||||
<el-button class="write-art" @click="openDialog" icon="el-icon-edit" type="primary">写文章</el-button>
|
<el-button class="write-art" @click="openDialog" icon="el-icon-edit" type="primary">写文章</el-button>
|
||||||
<div class="portal-right-box list-bg">
|
<div class="portal-right-box art-bgimg">
|
||||||
<p class="portal-title-one" style="padding-bottom:12px" >贡献榜</p>
|
<p class="portal-title-one" style="padding-bottom:12px" >贡献榜</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li v-for="(item, index) in ankingList" :key="index" style="margin-top:30px">
|
<li v-for="(item, index) in ankingList" :key="index" style="margin-top:30px">
|
||||||
@@ -393,10 +393,9 @@ export default {
|
|||||||
height: 240px;
|
height: 240px;
|
||||||
background: url('/images/article-banner.png');
|
background: url('/images/article-banner.png');
|
||||||
}
|
}
|
||||||
.list-bg{
|
// .list-bg{
|
||||||
// background: linear-gradient(180deg, #C3DEF8 0%, #FFFFFF 37%);
|
// background-image: url('../../../../public/images/contribute.png') no-repeat 0 0;
|
||||||
background-image: url('../../../../public/images/contribute.png') no-repeat 0 0;
|
// }
|
||||||
}
|
|
||||||
.write-art{
|
.write-art{
|
||||||
width: 410px;
|
width: 410px;
|
||||||
height: 67px;
|
height: 67px;
|
||||||
|
|||||||
Reference in New Issue
Block a user