Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
schedule
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fengzhaoyu
schedule
Commits
55bc1bf5
Commit
55bc1bf5
authored
Apr 16, 2020
by
liang ce
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改popup禁用滚动,会议室列表样式
parent
2e608be9
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
13 additions
and
13 deletions
+13
-13
index.axml
components/popup/index.axml
+1
-1
index.js
components/popup/index.js
+0
-1
meetingRoomList.acss
pages/meetingRoomList/meetingRoomList.acss
+4
-7
meetingRoomList.axml
pages/meetingRoomList/meetingRoomList.axml
+4
-2
meetingRoomList.js
pages/meetingRoomList/meetingRoomList.js
+4
-2
No files found.
components/popup/index.axml
View file @
55bc1bf5
<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">
...
...
components/popup/index.js
View file @
55bc1bf5
...
@@ -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
:
{
...
...
pages/meetingRoomList/meetingRoomList.acss
View file @
55bc1bf5
...
@@ -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%;
...
...
pages/meetingRoomList/meetingRoomList.axml
View file @
55bc1bf5
...
@@ -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>
...
...
pages/meetingRoomList/meetingRoomList.js
View file @
55bc1bf5
...
@@ -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
();
},
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment