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
|
|
|
|
href="https://www.bmatch.tech/?ref=ant-design-vue"
|
|
|
|
target="_blank"
|
|
|
|
>
|
|
|
|
<img
|
|
|
|
height="61"
|
|
|
|
src="https://cdn.nlark.com/yuque/0/2019/png/87084/1552279877057-assets/web-upload/48a6ba91-6750-478c-956f-57aedb632fe5.png"
|
|
|
|
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>
|