Commit 57d678a5 by liang ce

修改会议室列表

parent a0cac04c
{ {
"pages": [ "pages": [
"pages/meetingRoomList/meetingRoomList",
"pages/scheduleList/scheduleList", "pages/scheduleList/scheduleList",
"pages/index/index", "pages/index/index",
"pages/meetingDetail/meetingDetail", "pages/meetingDetail/meetingDetail",
...@@ -7,7 +8,6 @@ ...@@ -7,7 +8,6 @@
"pages/createMeeting/createMeeting", "pages/createMeeting/createMeeting",
"pages/outLookContact/outLookContact", "pages/outLookContact/outLookContact",
"pages/place/place", "pages/place/place",
"pages/meetingRoomList/meetingRoomList",
"pages/uploadFile/uploadFile", "pages/uploadFile/uploadFile",
"pages/participantsDetail/participantsDetail", "pages/participantsDetail/participantsDetail",
"pages/applicationDetails/applicationDetails", "pages/applicationDetails/applicationDetails",
...@@ -16,4 +16,4 @@ ...@@ -16,4 +16,4 @@
"window": { "window": {
"allowsBounceVertical": "NO" "allowsBounceVertical": "NO"
} }
} }
\ No newline at end of file
.am-calendar {
background-color: #fff;
padding-top: 10rpx;
}
.am-calendar-months {
display: flex;
box-sizing: border-box;
padding: 0 200rpx;
align-items: center;
height: 76rpx;
}
.am-calendar-prev-month, .am-calendar-next-month {
display: flex;
width: 40rpx;
font-size: 32rpx;
}
.am-calendar-prev-month {
justify-content: flex-start;
}
.am-calendar-next-month {
justify-content: flex-end;
}
.am-calendar-arrow {
height: 28rpx;
width: 28rpx;
background-image: url('https://gw.alipayobjects.com/zos/rmsportal/vYcMhkfyHRIOeVXWdcPe.png');
background-size: 8rpx 14rpx;
background-position: left center;
background-repeat: no-repeat;
}
.am-calendar-arrow_year {
width: 28rpx;
background-repeat: no-repeat;
}
.am-calendar-arrow.next {
transform: rotate(180deg);
}
.am-calendar-selected-month {
flex: 1;
text-align: center;
font-size: 32rpx;
font-weight: 600;
color: #1B263D;
}
.am-calendar-days {
display: flex;
height: 26rpx;
padding-top: 28rpx;
line-height: 26rpx;
box-sizing: content-box;
}
.am-calendar-day {
flex: 1;
text-align: center;
color: #1B263D;
font-size: 28rpx;
}
.am-calendar-dates {
display: flex;
flex-direction: column;
}
.am-calendar-week {
margin-bottom: 32rpx;
display: flex;
flex-direction: row;
}
.am-calendar-week:first-child {
margin-top: 32rpx;
}
.am-calendar-date-wrap {
position: relative;
text-align: center;
display: flex;
flex-direction: column;
align-items: center;
height: 42rpx;
flex: 1;
}
.am-calendar-date {
text-align: center;
height: 23rpx;
line-height: 23rpx;
font-size: 28rpx;
font-family: 'Helvetica';
color: #1B263D;
}
.am-calendar-tag {
position: absolute;
top: 21rpx;
width: 42rpx;
overflow: hidden;
text-overflow: hidden;
white-space: nowrap;
color: #f5a623;
font-size: 10rpx;
font-weight: 500;
}
.am-calendar-today {
color: #108ee9;
}
.am-calendar-gray {
color: #ccc;
}
.am-calendar-selected .am-calendar-block {
position: absolute;
left: calc(50% - 20rpx);
top: calc(50% - 12rpx);
transform: translateY(-50%);
width: 42rpx;
height: 42rpx;
background: #309EF2;
border-radius: 50%;
}
.am-calendar-middle.is-range .am-calendar-block {
position: absolute;
left: 0;
top: calc(50% - 10rpx);
transform: translateY(-50%);
height: 42rpx;
background: #309EF2;
width: 100%;
border-radius: 0;
}
.am-calendar-start.is-range .am-calendar-block {
position: absolute;
left: calc(50% - 21rpx);
top: calc(50% - 10rpx);
transform: translateY(-50%);
width: 100%;
height: 42rpx;
background: #309EF2;
border-radius: 2rpx 0 0 2rpx;
}
.am-calendar-end.is-range .am-calendar-block {
position: absolute;
left: 0;
top: calc(50% - 10rpx);
transform: translateY(-50%);
width: calc(50% + 21rpx);
height: 42rpx;
background: #309EF2;
border-radius: 0 2rpx 2rpx 0;
}
.am-calendar-selected .am-calendar-block.has-tag, .am-calendar-start .am-calendar-block.has-tag, .am-calendar-middle .am-calendar-block.has-tag, .am-calendar-end .am-calendar-block.has-tag {
top: calc(50% - 7rpx);
}
.am-calendar-selected .am-calendar-date, .am-calendar-start .am-calendar-date, .am-calendar-middle .am-calendar-date, .am-calendar-end .am-calendar-date {
position: relative;
color: #fff;
}
.am-calendar-selected .am-calendar-tag, .am-calendar-start .am-calendar-tag, .am-calendar-middle .am-calendar-tag, .am-calendar-end .am-calendar-tag {
color: #fff;
}
.am-calendar-disable .am-calendar-date {
color: #999;
}
\ No newline at end of file
<view class="am-calendar {{className}}" a:if="{{dates.length > 0}}">
<view class="am-calendar-months">
<view class="am-calendar-prev-month" onTap="onPrevYearTap" a:if="{{haveYear}}">
<view class="am-calendar-arrow am-calendar-arrow_year"></view>
</view>
<view class="am-calendar-prev-month" onTap="onPrevMonthTap">
<view class="am-calendar-arrow"></view>
</view>
<view class="am-calendar-selected-month">{{selectedYear}}年{{selectedMonth + 1}}月</view>
<view class="am-calendar-next-month" onTap="onNextMonthTap">
<view class="am-calendar-arrow next"></view>
</view>
<view class="am-calendar-next-month" onTap="onNextYearTap" a:if="{{haveYear}}">
<view class="am-calendar-arrow am-calendar-arrow_year next"></view>
</view>
</view>
<view class="am-calendar-days">
<block a:for="{{['日', '一', '二', '三', '四', '五', '六']}}">
<view class="am-calendar-day">{{item}}</view>
</block>
</view>
<view class="am-calendar-dates">
<block a:for="{{dates}}">
<view class="am-calendar-week">
<block a:for="{{item}}">
<view
class="am-calendar-date-wrap
{{ item.isSelected ? 'am-calendar-selected': '' }}
{{ item.isStart ? 'am-calendar-start': '' }}
{{ item.isMiddle ? 'am-calendar-middle': '' }}
{{ item.isEnd ? 'am-calendar-end': '' }}
{{ item.disable ? 'am-calendar-disable': '' }}
{{ type === 'range' ? 'is-range' : '' }}"
data-year="{{item.year}}"
data-month="{{item.month}}"
data-date="{{item.date}}"
onTap="onDateTap"
>
<view
class="am-calendar-block {{ blockType === 2 ? 'has-tag': '' }}"
></view>
<view
class="am-calendar-date {{ item.isGray ? 'am-calendar-gray': '' }} {{ item.isToday ? 'am-calendar-today': ''}}"
>{{item.date}}</view>
<view class="am-calendar-tag" style="{{
color: item.isSelected || item.isMiddle || item.isStart || item.isEnd ? '#fff' : (item.disable ? '#999' : item.color)
}}">{{item.disable ? '' : item.tag}}</view>
</view>
</block>
</view>
</block>
</view>
</view>
\ No newline at end of file
{
"component": true
}
\ No newline at end of file
...@@ -157,26 +157,34 @@ ...@@ -157,26 +157,34 @@
.reserveRoomLocation { .reserveRoomLocation {
color: rgba(25, 31, 37, 0.56); color: rgba(25, 31, 37, 0.56);
} }
.reserveRoomTimeBar{
.reserveRoomTimeBar {
overflow: hidden; overflow: hidden;
margin-top: 12rpx;
} }
.reserveRoomTimeBarBg { .reserveRoomTimeBarBg {
width: 100%; width: 100%;
display: flex; display: flex;
margin-top: 32rpx;
border: 1px solid rgba(25, 31, 37, 0.08);
box-sizing: border-box; box-sizing: border-box;
flex-wrap: wrap;
flex-direction: column;
height: 60rpx;
} }
.reserveRoomTimeBarBg>view { .reserveRoomTimeBarBg>view {
flex: 1; height: 24rpx;
height: 32rpx; width: 24rpx;
border-right: 1px solid #ffffff; border-radius: 2rpx;
box-sizing: border-box; box-sizing: border-box;
margin-top: 6rpx;
margin-right: 6rpx;
background: #F3F6FA;
border: 1px solid rgba(27, 38, 61, 0.10);
} }
.reserveRoomTimeBarBg>view:nth-of-type(48) { .reserveRoomTimeBarBg>view:nth-of-type(47), .reserveRoomTimeBarBg>view:nth-of-type(48) {
border-right: none !important; margin-right: 0;
} }
.preemption { .preemption {
...@@ -184,15 +192,18 @@ ...@@ -184,15 +192,18 @@
} }
.expired { .expired {
background: #EDEDEE; background: url(../../assests/cancel.png) center /100% 100% !important;
border: 1px solid rgba(27, 38, 61, 0.04) !important;
} }
.reservation { .reservation {
background: #FFFFFF; background: #F3F6FA !important;
border: 1px solid rgba(27, 38, 61, 0.10) !important;
} }
.occupied { .occupied {
background: #3296FA; background: rgba(48, 112, 242, 0.28) !important;
border: 1rpx solid rgba(27, 38, 61, 0.10) !important;
} }
.reserveRoomTimeBarNum { .reserveRoomTimeBarNum {
...@@ -203,6 +214,7 @@ ...@@ -203,6 +214,7 @@
} }
.reserveRoomTimeBarNum>view { .reserveRoomTimeBarNum>view {
text-align: center;
flex: 1; flex: 1;
} }
...@@ -222,20 +234,17 @@ ...@@ -222,20 +234,17 @@
.modalContent { .modalContent {
width: 100%; width: 100%;
height: 838rpx; height: 732rpx;
background: #FFFFFF;
border-radius: 19rpx 19rpx 0 0;
box-shadow: 0 -2px 20px 0 rgba(25, 31, 37, 0.12);
} }
.modalHeader { .modalHeader {
height: 104rpx; height: 44rpx;
line-height: 104rpx; line-height: 44rpx;
font-size: 34rpx; font-size: 32rpx;
display: flex;
padding: 0 32rpx; padding: 0 32rpx;
text-align: right;
color: #3070F2;
box-sizing: border-box; box-sizing: border-box;
border-bottom: 1px solid rgba(25, 31, 37, 0.12);
} }
.modalHeader>view { .modalHeader>view {
...@@ -258,8 +267,9 @@ ...@@ -258,8 +267,9 @@
font-size: 30rpx; font-size: 30rpx;
text-align: center; text-align: center;
display: flex; display: flex;
height: 104rpx; height: 100rpx;
line-height: 104rpx; align-items: center;
justify-content: center;
} }
.changeDay>view { .changeDay>view {
...@@ -285,7 +295,7 @@ ...@@ -285,7 +295,7 @@
display: flex; display: flex;
align-items: center; align-items: center;
font-size: 24rpx; font-size: 24rpx;
color: rgba(25,31,37,0.56); color: rgba(25, 31, 37, 0.56);
} }
.OccupyTimeList>view:nth-of-type(1) { .OccupyTimeList>view:nth-of-type(1) {
...@@ -395,7 +405,6 @@ ...@@ -395,7 +405,6 @@
.roomScrollView { .roomScrollView {
height: 100vh; height: 100vh;
padding-top: 96rpx;
box-sizing: border-box; box-sizing: border-box;
position: relative; position: relative;
} }
...@@ -404,56 +413,66 @@ ...@@ -404,56 +413,66 @@
font-size: 24rpx; font-size: 24rpx;
margin-right: 8rpx; margin-right: 8rpx;
} }
.occupiedStatus { .occupiedStatus {
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;
} }
.noRoom{
.noRoom {
position: absolute; position: absolute;
left: 0; left: 0;
top: 0; top: 0;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
width:100%; width: 100%;
height:100%; height: 100%;
} }
.noRoom>view{
.noRoom>view {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
} }
.noRoomTip{
.noRoomTip {
margin-top: 32rpx; margin-top: 32rpx;
font-size: 30rpx; font-size: 30rpx;
color: rgba(25,31,37,0.56); color: rgba(25, 31, 37, 0.56);
} }
.modalFooter{
height: 120rpx; .modalTimeSlot {
line-height: 120rpx; height: 44rpx;
font-size: 26rpx; font-family: DINAlternate-Bold;
color: #3296FA; font-size: 32rpx;
letter-spacing: -0.63px; text-align: center;
padding-left: 32rpx; color: #1B263D;
width: 100%;
box-sizing: border-box;
} }
::-webkit-scrollbar { ::-webkit-scrollbar {
width: 0; width: 0;
height: 0; height: 0;
color: transparent; color: transparent;
} }
.beOverdue .iconxuanzhong2{
color: rgba(25,31,37,0.12); .beOverdue .iconicon_Agreed1 {
color: rgba(25, 31, 37, 0.12);
font-size: 40rpx; font-size: 40rpx;
} }
.checked .iconxuanzhong2{
.checked .iconicon_Agreed1 {
color: #3296FA; color: #3296FA;
font-size: 40rpx; font-size: 40rpx;
} }
.Unchecked .iconweigouxuan{
color: rgba(25,31,37,0.12); .Unchecked .iconicon_uncheck {
color: rgba(25, 31, 37, 0.12);
font-size: 40rpx; font-size: 40rpx;
}
.calendarTip{
font-size: 24rpx;
color: rgba(25,31,37,.56)
} }
\ No newline at end of file
{ {
"usingComponents": { "usingComponents": {
"timecheckmodal": "../../components/timeCheckModal/timeCheckModal", "popup": "../../components/popup/index",
"lable-tree": "../../components/selectArea/selectArea" "calendar": "../../components/calendar/calendar"
}, },
"defaultTitle": "所有会议室" "defaultTitle": "所有会议室"
} }
\ No newline at end of file
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