提交 9edb8311 编写于 作者: KK's avatar KK

update 日历组件样式

上级 f82367f2
...@@ -77,16 +77,16 @@ ...@@ -77,16 +77,16 @@
<div :class="['calendar-months', {'calendar-week-switch-months': weekSwitch}]"> <div :class="['calendar-months', {'calendar-week-switch-months': weekSwitch}]">
<span v-for="(m, i) in months" :key="m" @click.stop="changeMonth(i)" :class="{'active': i === month}">{{m}}</span> <span v-for="(m, i) in months" :key="m" @click.stop="changeMonth(i)" :class="{'active': i === month}">{{m}}</span>
</div> </div>
</div>
<!-- user -->
<div v-if="isChangeStyle" @click="changeStyle()" class="changebox">
<div v-if="changebtntop" class="changeStyle_bottom"></div>
<div v-if="!changebtntop" class="changeStyle_top"></div>
</div> </div>
<!-- user --> <!-- user -->
<div v-if="illustration" class="illustration"> <div v-if="illustration" class="illustration">
<div v-for="(il,index) in illustration" :key="index" class="illustration-item"><div :style="{color: il.color}" class="illustration-color"></div><div class="illustration-text">{{il.text}}</div></div> <div v-for="(il,index) in illustration" :key="index" class="illustration-item"><div :style="{color: il.color}" class="illustration-color"></div><div class="illustration-text">{{il.text}}</div></div>
</div> </div>
<!-- user -->
<div v-if="isChangeStyle" class="changebox">
<div v-if="changebtntop" @click="changeStyle()" class="changeStyle_bottom"></div>
<div v-if="!changebtntop" @click="changeStyle()" class="changeStyle_top"></div>
</div>
</div> </div>
</template> </template>
......
...@@ -42,7 +42,6 @@ ...@@ -42,7 +42,6 @@
.changebox{ .changebox{
position: relative; position: relative;
height: 7px; height: 7px;
top: -14px;
} }
.changeStyle_top{ .changeStyle_top{
border-color: rgb(104, 96, 96); border-color: rgb(104, 96, 96);
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册