2016-11-13 07:42:56 -08:00
|
|
|
<template>
|
|
|
|
<div>
|
2016-11-13 08:09:16 -08:00
|
|
|
<i :class='classes' class='icon-retweet fa' v-on:click.prevent='retweet()'></i>
|
2016-11-13 07:42:56 -08:00
|
|
|
<span v-if='status.repeat_num > 0'>{{status.repeat_num}}</span>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script src="./retweet_button.js" ></script>
|
|
|
|
|
2016-11-13 08:52:20 -08:00
|
|
|
<style lang='scss'>
|
|
|
|
@import '../../_variables.scss';
|
|
|
|
.icon-retweet {
|
|
|
|
cursor: pointer;
|
|
|
|
&:hover {
|
|
|
|
color: $green;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.retweeted {
|
2016-11-13 07:42:56 -08:00
|
|
|
cursor: auto;
|
2016-11-13 08:52:20 -08:00
|
|
|
color: $green;
|
|
|
|
}
|
2016-11-13 07:42:56 -08:00
|
|
|
</style>
|