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

日历部件——统一时间轴日期表现

上级 4def1cf2
......@@ -69,7 +69,7 @@
<#-- END:输出分页头部 -->
<#if ctrl.getCalendarStyle() == "TIMELINE">
<div class="calendar-events">
<van-steps direction="vertical">
<van-steps active-icon="passed" inactive-icon="passed" direction="vertical">
<van-step v-for="i in count" :key="i">
<p>{{year}}-{{month+1}}-{{i}}</p>
<template v-for="(it,index) in evendata[activeItem]">
......@@ -88,7 +88,7 @@
<#elseif ctrl.getCalendarStyle() == "MONTH_TIMELINE" || ctrl.getCalendarStyle() == "WEEK_TIMELINE">
<div class="calendar-events">
<van-steps direction="vertical">
<van-steps active-icon="passed" inactive-icon="passed" direction="vertical">
<van-step v-for="(i,index) in evendata[activeItem]" :key="index">
<p>{{i.time}}</p>
<div v-for="item in i.evens" :key="item.id" class="even-box">
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册