|
|
@@ -50,7 +50,7 @@
|
|
|
<view>
|
|
|
<uni-swipe-action>
|
|
|
<uni-swipe-action-item :autoClose="false" @change="swipeChange($event, item)" :show="item.show" v-for="(item, index) in list" :key="index">
|
|
|
- <view class="list_item" :class="index % 2 == 0 ? 'list_item_bac1' : 'list_item_bac2'">
|
|
|
+ <view class="list_item" :class="index % 2 == 0 ? 'list_item_bac1' : 'list_item_bac2'" @click.stop="openEdit(item)">
|
|
|
<u-row>
|
|
|
<u-col span="11">
|
|
|
<text class="item_t1">{{ item.coursePlanVo[0].categoryName }}:{{ $method.timestampToTime(item.endTime) }}截止</text>
|
|
|
@@ -209,6 +209,11 @@ export default {
|
|
|
}
|
|
|
this.dealDayList()
|
|
|
},
|
|
|
+ openEdit(item){
|
|
|
+ this.listItem = item
|
|
|
+ this.isOpen = false;
|
|
|
+ this.dealMonth()
|
|
|
+ },
|
|
|
dealDayList(){
|
|
|
let firstItem = this.calendarStudyVo.dayStudyList[0]
|
|
|
this.calendarStudyVo.miniDayStudyList = [] //创建缩放的数组
|
|
|
@@ -299,6 +304,7 @@ export default {
|
|
|
},
|
|
|
swipeChange(e, item) {
|
|
|
item.show = e;
|
|
|
+ console.log(item,66)
|
|
|
},
|
|
|
openShow(item) {
|
|
|
if (item.show == 'none') {
|