diff --git a/src/views/modules/communityParty/calendar/index.vue b/src/views/modules/communityParty/calendar/index.vue index 15d3deb77..eb45bbd05 100644 --- a/src/views/modules/communityParty/calendar/index.vue +++ b/src/views/modules/communityParty/calendar/index.vue @@ -1,54 +1,118 @@ @@ -68,6 +132,12 @@ export default { return { currentYearStr: todayObj.getFullYear() + "", currentMonth: todayObj.getMonth(), + + partyOptions: [], + + fmData: { + party: "", + }, }; }, computed: { @@ -79,6 +149,8 @@ export default { // await this.getPartyOggList() }, methods: { + handleChangeParty() {}, + handleChangeDate(item) { console.log("handleChangeDate"); this.currentYearStr = item.year + ""; @@ -105,16 +177,19 @@ export default { @import "@/assets/scss/c/config.scss"; @import "@/assets/scss/c/function.scss"; +$blue: #3e8ef7; +$red: #f33; + .g-cnt { background-color: #ffffff; padding: 20px; } .m-cal { - .sizer { + .hd { display: flex; margin-bottom: 20px; - .sizer-month { + .hd-month { display: flex; .month-item { @@ -127,7 +202,7 @@ export default { &.z-on { .month-text { - background-color: #3e8ef7; + background-color: $blue; color: #ffffff; } } @@ -145,6 +220,10 @@ export default { } } } + + .hd-btn { + margin-left: auto; + } } .tip { @@ -159,7 +238,7 @@ export default { cursor: pointer; color: #999999; .z-on { - color: #ff3333; + color: $red; } .tip-text { @include toe; @@ -182,7 +261,7 @@ export default { width: 4px; height: 4px; border-radius: 100%; - background-color: #ff3333; + background-color: $red; } } @@ -231,4 +310,61 @@ export default { } } } +.m-sizer { + .item { + margin-bottom: 10px; + } +} + +.m-date { + text-align: center; + color: $blue; + line-height: 1.5; + background-color: #f3f4f5; + padding: 20px; + .date-top { + font-size: 24px; + } + .date-big { + font-size: 100px; + } + .date-week { + font-size: 24px; + } +} + +.m-list { + margin-top: 20px; + .list-title { + width: 100px; + text-align: center; + line-height: 24px; + background-color: $red; + color: #ffffff; + } + .list { + .item { + border-top: 1px solid #eee; + padding: 10px 0; + line-height: 1.5; + overflow: hidden; + .item-title { + font-weight: bold; + } + .item-prop { + margin: 4px 0; + } + + .item-ope { + margin-top: 10px; + float: right; + } + } + } +} +.m-ope { + margin-top: 40px; + display: flex; + justify-content: space-between; +}