wip
This commit is contained in:
parent
34f91f04ad
commit
b2a6257f93
31 changed files with 100 additions and 94 deletions
|
|
@ -1,7 +1,7 @@
|
|||
<template>
|
||||
<div class="mk-user-home-activity">
|
||||
<svg v-if="data" ref="canvas" viewBox="0 0 30 1" preserveAspectRatio="none">
|
||||
<g v-for="(d, i) in data.reverse()" :key="i">
|
||||
<g v-for="(d, i) in data.reverse()">
|
||||
<rect width="0.8" :height="d.postsH"
|
||||
:x="i + 0.1" :y="1 - d.postsH - d.repliesH - d.repostsH"
|
||||
fill="#41ddde"/>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue