Commit a537ce2e by liang ce

修改重复

parent 47b81bed
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
"pages": [ "pages": [
"pages/index/index", "pages/index/index",
"pages/createOrEditSchedule/createOrEditSchedule", "pages/createOrEditSchedule/createOrEditSchedule",
"pages/createOrEditSchedule/createOrEditSchedule",
"pages/uploadFile/uploadFile", "pages/uploadFile/uploadFile",
"pages/meetingRoomList/meetingRoomList", "pages/meetingRoomList/meetingRoomList",
"pages/uploadFile/uploadFile", "pages/uploadFile/uploadFile",
......
import create from 'dd-store' import create from 'dd-store'
import exampleStore from '/stores/exampleStore' import exampleStore from '/stores/exampleStore'
import { deleteSchedule, modifySchedule, addSchedule, getUserScheduleInTime, getHomeUserSchedule, getScheduleDetail } from '../../api/request.js' import { deleteSchedule, modifySchedule, addSchedule, getUserScheduleInTime, getHomeUserSchedule, getScheduleDetail } from '../../api/request.js'
import { stringify } from 'querystring'; import { isClicked } from './../../utils/utils.js'
import { resolve } from 'url';
create.Page({ create.Page({
store: exampleStore, store: exampleStore,
useAll: true, useAll: true,
...@@ -38,7 +37,8 @@ create.Page({ ...@@ -38,7 +37,8 @@ create.Page({
{ id: 3, text: '继续编辑' }, { id: 3, text: '继续编辑' },
], ],
needNotice: '', needNotice: '',
isShowPopupWindowList: false isShowPopupWindowList: false,
isClicked: false
}, },
onLoad(event) { onLoad(event) {
let index = new Date().getDay() let index = new Date().getDay()
...@@ -657,6 +657,7 @@ create.Page({ ...@@ -657,6 +657,7 @@ create.Page({
}, },
// 展示弹窗 // 展示弹窗
showModel() { showModel() {
isClicked(this)
if (!!this.data.scheduleItem) { if (!!this.data.scheduleItem) {
this.setData({ this.setData({
isShowPopupWindowList: true isShowPopupWindowList: true
......
...@@ -37,7 +37,7 @@ page { ...@@ -37,7 +37,7 @@ page {
margin-right: 34rpx; margin-right: 34rpx;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
justify-content: center; justify-content: flex-start;
align-items: center; align-items: center;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment