lion 4 months ago
parent 5872f7a913
commit 42be8e103b

@ -288,7 +288,7 @@ export default {
const leftPct = col * cellWidthPct
const widthPct = seg.spanCols * cellWidthPct
const vOffset = (seg.laneIndex || 0) * (this.barHeight + this.barSpacing)
const topRpx = this.headerHeight + this.weekHeaderHeight + (row * this.cellHeight) + this.dateNumberHeight + vOffset
const topRpx = (row * this.cellHeight) + this.dateNumberHeight + vOffset
seg._style = {
left: leftPct + '%',

@ -22,8 +22,6 @@
:headerHeightRpx="72"
:weekHeaderHeightRpx="52"
:dateNumberHeightRpx="46"
:barHeightRpx="26"
:barSpacingRpx="6"
@dayClick="onDateChange"
@monthChange="onMonthSwitch"
@edit="onEditEvent"
@ -42,7 +40,7 @@
</view> -->
<!-- 当月日程列表 -->
<view class="month-events-container">
<view class="events-title">当月日程</view>
<view class="events-title">当月日程2</view>
<view v-if="monthEvents.length" class="events-list no-scroll">
<view
v-for="ev in monthEvents"

Loading…
Cancel
Save