2018-09-06 12:11:10 +00:00
|
|
|
<template>
|
2019-02-01 09:23:00 +00:00
|
|
|
<div class="snd-ad">
|
|
|
|
<div class="sponsorsWrap">
|
|
|
|
<span class="sponsorsTitle">
|
|
|
|
{{ title }}
|
|
|
|
</span>
|
|
|
|
<ul>
|
|
|
|
<li class="sponsorsItem">
|
|
|
|
<a
|
|
|
|
href="https://tipe.io/?ref=ant-design-vue"
|
|
|
|
target="_blank"
|
|
|
|
>
|
|
|
|
<img
|
2019-03-11 02:06:33 +00:00
|
|
|
height="51"
|
2019-02-01 09:23:00 +00:00
|
|
|
src="https://cdn.tipe.io/tipe/tipe-cat-no-text.svg"
|
|
|
|
alt="tipe"
|
|
|
|
>
|
|
|
|
</a>
|
|
|
|
</li>
|
2019-03-11 02:06:33 +00:00
|
|
|
<li
|
|
|
|
v-if="isEffective(effectiveTime.bmatch)"
|
|
|
|
class="sponsorsItem"
|
|
|
|
>
|
|
|
|
<a
|
2019-04-10 13:58:12 +00:00
|
|
|
href="https://www.youkeda.com?from=vue"
|
2019-03-11 02:06:33 +00:00
|
|
|
target="_blank"
|
|
|
|
>
|
|
|
|
<img
|
2019-04-10 13:58:12 +00:00
|
|
|
height="66"
|
2019-08-23 09:58:46 +00:00
|
|
|
src="https://qn.antdv.com/youkeda.jpeg"
|
2019-03-11 02:06:33 +00:00
|
|
|
alt="bmatch"
|
|
|
|
>
|
|
|
|
</a>
|
|
|
|
</li>
|
2019-02-01 09:23:00 +00:00
|
|
|
</ul>
|
|
|
|
</div>
|
2018-09-24 07:37:36 +00:00
|
|
|
</div>
|
2018-09-06 12:11:10 +00:00
|
|
|
</template>
|
|
|
|
<script>
|
2019-03-11 02:06:33 +00:00
|
|
|
import moment from 'moment';
|
2018-09-06 12:11:10 +00:00
|
|
|
export default {
|
|
|
|
props: ['title'],
|
2019-03-11 02:06:33 +00:00
|
|
|
data() {
|
|
|
|
return {
|
|
|
|
top: 50,
|
|
|
|
effectiveTime : {
|
|
|
|
bmatch: {
|
|
|
|
start: '2019-03-11',
|
|
|
|
end: '2019-06-11',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
};
|
|
|
|
},
|
|
|
|
methods: {
|
|
|
|
isEffective({start, end}){
|
|
|
|
return moment().isBetween(start, end);
|
|
|
|
},
|
|
|
|
},
|
2019-01-12 03:33:27 +00:00
|
|
|
};
|
2018-09-06 12:11:10 +00:00
|
|
|
</script>
|