This commit is contained in:
lmj
2022-09-01 11:45:27 +08:00
parent 11b76d31eb
commit f46d698234
3 changed files with 33 additions and 18 deletions

View File

@@ -93,4 +93,7 @@
.list-bg2{
background: url('/images/list-pink.png') no-repeat 100% / 100%;
}
.art-bgimg{
background: url('/images/contribute.png') no-repeat 100% / 100%;
background-position:top;
}

View File

@@ -54,22 +54,34 @@
<el-empty :image-size="200"></el-empty>
</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-card class="ranking-card">
<div slot="header">
<span style="font-size: 14px;font-weight: 600;color: #333333;">贡献榜</span>
</div>
<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-col :span="6" style="height:34px">
<img v-if="index===0" :src="`${webBaseUrl}/images/first.png`"/>
@@ -81,10 +93,10 @@
</el-row>
</div>
</el-card>
</div>
</div> -->
</el-row>
</div>
</div>
@@ -249,8 +261,9 @@ export default {
<style scoped lang="scss">
.list-bg{
background: linear-gradient(180deg, #C3DEF8 0%, #FFFFFF 37%);
background-image: url('../../../../public/images/contribute.png') no-repeat 0 0;
}
.write-art{
width: 410px;
height: 67px;

View File

@@ -98,7 +98,7 @@
<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">
<div class="portal-right-box art-bgimg">
<p class="portal-title-one" style="padding-bottom:12px" >贡献榜</p>
<ul>
<li v-for="(item, index) in ankingList" :key="index" style="margin-top:30px">
@@ -393,10 +393,9 @@ export default {
height: 240px;
background: url('/images/article-banner.png');
}
.list-bg{
// background: linear-gradient(180deg, #C3DEF8 0%, #FFFFFF 37%);
background-image: url('../../../../public/images/contribute.png') no-repeat 0 0;
}
// .list-bg{
// background-image: url('../../../../public/images/contribute.png') no-repeat 0 0;
// }
.write-art{
width: 410px;
height: 67px;