| | |
| | | <Row class="c-gray ml-22px">今天</Row> |
| | | </Col> |
| | | <Col span="4" class="font-bold text-right"> |
| | | <HeartOutlined class="font-size-18px" /> |
| | | <HeartFilled class="font-size-18px c-red-5" /> |
| | | <div class="cursor-pointer"> |
| | | <HeartFilled v-if="isFollow" @click="handleCancelFollow" class="font-size-18px c-red-5" /> |
| | | <HeartOutlined v-else @click="handleFollow" class="font-size-18px "/> |
| | | </div> |
| | | </Col> |
| | | </Row> |
| | | </div> |
| | |
| | | function handleVisibleChange(v) { |
| | | v && props.userData && nextTick(() => onDataReceive(props.userData)); |
| | | } |
| | | |
| | | const isFollow = ref(false); |
| | | function handleFollow() { |
| | | Logger.log('关注'); |
| | | isFollow.value = true; |
| | | } |
| | | function handleCancelFollow() { |
| | | Logger.log('取消关注'); |
| | | isFollow.value = false; |
| | | } |
| | | </script> |
| | | <style lang="less"> |
| | | .schedule-detail-modal { |