Commit 55bc1bf5 by liang ce

修改popup禁用滚动,会议室列表样式

parent 2e608be9
<view class="dm-popup {{show ? 'dm-popup-show' : ''}} {{ animation ? 'animation': '' }}" disable-scroll="{{disableScroll}}"> <view class="dm-popup {{show ? 'dm-popup-show' : ''}} {{ animation ? 'animation': '' }}">
<view class="dm-popup-mask" a:if="{{mask}}" onTap="onMaskTap" style="z-index: {{zIndex}}"></view> <view class="dm-popup-mask" a:if="{{mask}}" onTap="onMaskTap" style="z-index: {{zIndex}}"></view>
<view class="dm-popup-content {{className}} dm-popup-{{position}}" style="z-index: {{zIndex}}"> <view class="dm-popup-content {{className}} dm-popup-{{position}}" style="z-index: {{zIndex}}">
<view a:if="{{position == 'bottom'}}" class="close-icon"> <view a:if="{{position == 'bottom'}}" class="close-icon">
......
...@@ -7,7 +7,6 @@ Component({ ...@@ -7,7 +7,6 @@ Component({
position: 'bottom', position: 'bottom',
mask: true, mask: true,
animation: true, animation: true,
disableScroll: true,
zIndex: 1000 zIndex: 1000
}, },
methods: { methods: {
......
...@@ -132,7 +132,10 @@ ...@@ -132,7 +132,10 @@
background: rgba(10, 10, 10, 0.2) !important; background: rgba(10, 10, 10, 0.2) !important;
border: 1rpx solid rgba(27, 38, 61, 0.1) !important; border: 1rpx solid rgba(27, 38, 61, 0.1) !important;
} }
.myOccupied {
background: rgba(234, 12, 40, 1) !important;
border: 1rpx solid rgba(27, 38, 61, 0.1) !important;
}
.myReservation { .myReservation {
background: rgba(234, 12, 40, 1); background: rgba(234, 12, 40, 1);
border: 1rpx solid rgba(27, 38, 61, 0.1); border: 1rpx solid rgba(27, 38, 61, 0.1);
...@@ -217,12 +220,6 @@ ...@@ -217,12 +220,6 @@
width: 750rpx; width: 750rpx;
} }
.modalOccupyTimeSlot>view {
height: 80rpx;
width: 100%;
padding-left: 32rpx;
}
.OccupyTimeList { .OccupyTimeList {
height: 100rpx; height: 100rpx;
width: 100%; width: 100%;
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<view class="iconfont iconicon_open"></view> <view class="iconfont iconicon_open"></view>
</view> </view>
</view> </view>
<view class="roomScrollView"> <view class="roomScrollView" style="{{canScroll ? '': 'overflow:hidden'}}"">
<view class="reserveMeeting"> <view class="reserveMeeting">
<view class="meetingRoomContent" a:for="{{reserveRoomList}}" data-roomid="{{item.meetingRoomId}}" data-roomname="{{item.name}}" onTap="changeRoomTime"> <view class="meetingRoomContent" a:for="{{reserveRoomList}}" data-roomid="{{item.meetingRoomId}}" data-roomname="{{item.name}}" onTap="changeRoomTime">
<view class="roomMessage"> <view class="roomMessage">
...@@ -28,7 +28,9 @@ ...@@ -28,7 +28,9 @@
<block a:for="{{item.timeSlotWithMeetingVOS}}" a:for-item="item2" a:for-index="index2"> <block a:for="{{item.timeSlotWithMeetingVOS}}" a:for-item="item2" a:for-index="index2">
<view class="expired" a:if="{{item2.reserveStatus === 'expired'}}"> <view class="expired" a:if="{{item2.reserveStatus === 'expired'}}">
</view> </view>
<view class="occupied" a:if="{{item2.reserveStatus === 'occupied'}}"> <view class="occupied" a:if="{{item2.reserveStatus === 'occupied' && item2.scheduleList[0].organizer !== userId}}">
</view>
<view class="myOccupied" a:if="{{item2.reserveStatus === 'occupied' && item2.scheduleList[0].organizer === userId}}">
</view> </view>
<view class="reservation" a:if="{{item2.reserveStatus === 'reservation'}}"> <view class="reservation" a:if="{{item2.reserveStatus === 'reservation'}}">
</view> </view>
......
...@@ -70,7 +70,8 @@ create.Page({ ...@@ -70,7 +70,8 @@ create.Page({
tomorrowTime: "", tomorrowTime: "",
afterTomorrowTime: "", afterTomorrowTime: "",
customTime: "" customTime: ""
} },
userId: ""
}, },
onLoad(query) { onLoad(query) {
// let date = new Date(this.$store.data.startTime.replace(/-/g, "/")); // let date = new Date(this.$store.data.startTime.replace(/-/g, "/"));
...@@ -95,7 +96,8 @@ create.Page({ ...@@ -95,7 +96,8 @@ create.Page({
)}/${padZero(tomorrowTime.getDate())}`, )}/${padZero(tomorrowTime.getDate())}`,
"TimeSlot.afterTomorrowTime": `${year}/${padZero( "TimeSlot.afterTomorrowTime": `${year}/${padZero(
afterTomorrowTime.getMonth() + 1 afterTomorrowTime.getMonth() + 1
)}/${padZero(afterTomorrowTime.getDate())}` )}/${padZero(afterTomorrowTime.getDate())}`,
userId: getApp().globalData.userid
}); });
this.getPageData(); this.getPageData();
}, },
......
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