feat(dashboard/index.vue): 首页信息完善

This commit is contained in:
郝先瑞
2022-01-29 09:26:09 +08:00
parent 37e533839e
commit 4eef451ba3
4 changed files with 46 additions and 12 deletions

View File

@@ -70,7 +70,7 @@ function initChart() {
{ {
name: 'Nightingale Chart', name: 'Nightingale Chart',
type: 'pie', type: 'pie',
radius: [50, 160], radius: [50, 150],
center: ['50%', '50%'], center: ['50%', '50%'],
roseType: 'area', roseType: 'area',
itemStyle: { itemStyle: {

View File

@@ -70,6 +70,7 @@ function initChart() {
}, },
radar: { radar: {
// shape: 'circle', // shape: 'circle',
radius: '70%',
indicator: [ indicator: [
{ name: '家用电器', max: 6500 }, { name: '家用电器', max: 6500 },
{ name: '服装箱包', max: 16000 }, { name: '服装箱包', max: 16000 },

View File

@@ -76,7 +76,7 @@ export default {
&__main { &__main {
line-height: 28px; line-height: 28px;
height: 315px; height: 308.5px;
} }
} }

View File

@@ -14,7 +14,8 @@
<el-image <el-image
class="developer-img" class="developer-img"
:src="item.imgUrl" :src="item.imgUrl"
:preview-src-list="[item.imgUrl]"> :preview-src-list="[item.imgUrl]"
>
</el-image> </el-image>
<div class="developer-info"> <div class="developer-info">
<span class="developer-info-nickname">{{ item.nickname }}</span> <span class="developer-info-nickname">{{ item.nickname }}</span>
@@ -36,7 +37,7 @@
</li> </li>
<li class="pointer"> <li class="pointer">
<el-image src="https://gitee.com/haoxr/image/raw/master/default/left.png"/> <el-image class="pointer-img" src="https://gitee.com/haoxr/image/raw/master/default/left.png"/>
<div class="pointer-tip"> <div class="pointer-tip">
欢迎添加开发者微信🤗🤗🤗 欢迎添加开发者微信🤗🤗🤗
</div> </div>
@@ -46,14 +47,27 @@
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="交流群「有来」" name="2"> <el-tab-pane label="交流群「有来」" name="2">
<div class="group">
<el-image
class="group-img"
src="https://gitee.com/haoxr/image/raw/master/default/20220129090754.png"
:preview-src-list="['https://gitee.com/haoxr/image/raw/master/default/20220129090754.png']"
/>
<div class="group-tip">
群二维码过期可添加开发者微信由其拉入群备注有来即可
</div>
</div>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="加入我们" name="3"> <el-tab-pane label="加入我们" name="3">
<div class="join-us"> <div class="join">
<p>1. 人品良好善于思考执行力强</p> <p>1. 人品良好善于思考执行力强</p>
<p>2. 至少给项目提交一个PR(无论大小) </p> <p>2. 熟悉项目至少给项目提交一个PR </p>
<p>3. Git代码库活跃个人主页博客完善者优先</p> <p>3. Git代码库活跃个人主页博客完善者优先</p>
<p>4. 优秀者我们会主动联系您...</p> <p>4. 优秀者我们会主动联系您...</p>
<div class="join-tip">
申请加入方式: 添加开发者微信申请即可
</div>
</div> </div>
</el-tab-pane> </el-tab-pane>
@@ -131,12 +145,18 @@ watchEffect(() => {
width: 180px; width: 180px;
min-width: 180px; min-width: 180px;
align-items: center; align-items: center;
margin-left: 50px; margin-left: 20px;
&-img{
position: absolute;
right: 0;
width: 180px;
height: 233px;
}
&-tip { &-tip {
position: absolute; position: absolute;
min-width: 180px; min-width: 180px;
top: 18px; top: 18px;
right: 0;
color: #5959d0; color: #5959d0;
} }
} }
@@ -194,11 +214,24 @@ watchEffect(() => {
} }
} }
.join-us{ .join{
height: 247px; height: 240px;
p{ p{
font-weight: bold; font-weight: bold;
} }
&-tip{
margin-top: 20px;
color: #409EFF;
font-weight: bold;
}
}
.group{
height: 254px;
&-img{
height: 200px;
width: 200px;
}
} }
} }