2016-11-14 02:42:56 +11:00
|
|
|
<template>
|
|
|
|
<div>
|
2017-11-22 10:00:25 +11:00
|
|
|
<i :class='classes' class='icon-retweet base09' v-on:click.prevent='retweet()'></i>
|
2016-11-14 02:42:56 +11:00
|
|
|
<span v-if='status.repeat_num > 0'>{{status.repeat_num}}</span>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script src="./retweet_button.js" ></script>
|
|
|
|
|
2016-11-14 03:52:20 +11:00
|
|
|
<style lang='scss'>
|
|
|
|
@import '../../_variables.scss';
|
|
|
|
.icon-retweet {
|
|
|
|
cursor: pointer;
|
2017-03-09 15:45:40 +11:00
|
|
|
animation-duration: 0.6s;
|
2016-11-14 03:52:20 +11:00
|
|
|
&:hover {
|
|
|
|
color: $green;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.retweeted {
|
|
|
|
color: $green;
|
|
|
|
}
|
2016-11-14 02:42:56 +11:00
|
|
|
</style>
|