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
d485a614
Commit
d485a614
authored
Apr 03, 2020
by
fengzhaoyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改问题
parent
f4bf6607
Show whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
123 additions
and
46 deletions
+123
-46
scheduleList.js
PageComponents/scheduleList/scheduleList.js
+5
-5
list.js
components/list/list.js
+0
-1
createMeeting.acss
pages/createMeeting/createMeeting.acss
+23
-9
createMeeting.axml
pages/createMeeting/createMeeting.axml
+6
-3
createMeeting.js
pages/createMeeting/createMeeting.js
+1
-2
index.axml
pages/index/index.axml
+1
-1
index.js
pages/index/index.js
+15
-0
meetingDetail.acss
pages/meetingDetail/meetingDetail.acss
+24
-9
meetingDetail.axml
pages/meetingDetail/meetingDetail.axml
+16
-8
meetingDetail.js
pages/meetingDetail/meetingDetail.js
+27
-2
outLookContact.acss
pages/outLookContact/outLookContact.acss
+5
-6
No files found.
PageComponents/scheduleList/scheduleList.js
View file @
d485a614
...
...
@@ -47,9 +47,9 @@ create.Component({
this
.
getDate
();
}
},
didUnmount
()
{},
didUnmount
()
{
},
methods
:
{
getDate
:
throttle
(
function
(
e
)
{
getDate
:
throttle
(
function
(
e
)
{
let
data
=
{
startTime
:
"2020-01-01 00:00:00"
,
endTime
:
"2025-12-30 23:59:59"
...
...
@@ -79,7 +79,7 @@ create.Component({
);
});
},
1000
),
nextDetail
:
throttle
(
function
(
e
)
{
nextDetail
:
throttle
(
function
(
e
)
{
let
item
=
e
.
target
.
dataset
.
item
;
dd
.
navigateTo
({
url
:
`./../meetingDetail/meetingDetail?scheduleItem=
${
JSON
.
stringify
(
...
...
@@ -240,7 +240,7 @@ create.Component({
);
}
});
scheduleMap
.
forEach
(
function
(
value
,
key
,
map
)
{
scheduleMap
.
forEach
(
function
(
value
,
key
,
map
)
{
scheduleList
.
push
(
value
);
});
return
scheduleList
;
...
...
@@ -378,7 +378,7 @@ create.Component({
value
:
year
});
let
thisDay
=
new
Date
().
toLocaleDateString
();
DateMap
.
forEach
(
function
(
value
,
key
,
map
)
{
DateMap
.
forEach
(
function
(
value
,
key
,
map
)
{
if
(
new
Date
(
key
).
getDay
()
===
0
&&
that
.
count
(
...
...
components/list/list.js
View file @
d485a614
...
...
@@ -49,7 +49,6 @@ Component({
this
.
setData
({
comSelectList
:
[
-
1
]
})
this
.
props
.
onCompelete
([
-
1
])
}
else
if
(
!
this
.
props
.
multiple
)
{
this
.
setData
({
...
...
pages/createMeeting/createMeeting.acss
View file @
d485a614
...
...
@@ -9,7 +9,8 @@ page {
.icon {
vertical-align: middle;
color: #0a0a0a;
font-size: 34rpx;
font-size: 40rpx;
line-height: 50rpx;
}
input {
...
...
@@ -18,7 +19,7 @@ input {
}
.createTitle {
padding: 28rpx 3
6
rpx 16rpx;
padding: 28rpx 3
2
rpx 16rpx;
}
.title {
...
...
@@ -60,22 +61,21 @@ input {
.place, .time, .participator, .meetingWay {
display: flex;
padding: 0 3
6
rpx;
padding: 0 3
2
rpx;
font-family: PingFangSC-Regular;
color: #191F25;
overflow: hidden;
margin-top:
54
rpx;
margin-top:
48
rpx;
}
.place>.icon, .time>.icon, .participator>.icon, .meetingWay>.icon {
margin-right: 2
6
rpx;
margin-right: 2
4
rpx;
}
.noPlace, .hasplace, .timeText, .participatorText, .noWay, .hasWay {
height: 38rpx;
font-size: 34rpx;
width: 100%;
line-height:
38rpx
;
line-height:
1.5
;
}
.hasplace, .timeText {
...
...
@@ -85,7 +85,7 @@ input {
}
.placeContaint, .timeContaint, .participatorContaint, .meetingWayContent {
width: 6
78
rpx;
width: 6
22
rpx;
display: flex;
justify-content: space-between;
}
...
...
@@ -128,7 +128,6 @@ input {
.participatorText {
display: flex;
align-items: center;
height: 38rpx;
}
.participatorListBottom {
...
...
@@ -234,3 +233,17 @@ input {
.footNavTop .devider {
margin: 0!important;
}
.meetingWayImageUrl {
flex-grow: 0;
width: 40rpx;
height: 40rpx;
margin-right: 24rpx;
}
.meetingWayImageUrl>image {
margin-top: 5rpx;
vertical-align: top;
width: 100%;
height: 100%;
}
\ No newline at end of file
pages/createMeeting/createMeeting.axml
View file @
d485a614
...
...
@@ -2,8 +2,8 @@
<!-- title remark 标题 描述 -->
<view class="createTitle">
<view class="title">
<input placeholder-class="placeholder" placeholder="{{placeholder}}" class="text" onInput="onInput" data-type="title" value="{{title}}" focus="{{
tru
e}}"/>
<view class="icon iconfont iconicon_description1
{{remark ? '' : 'noValueIcon'}}" onTap="addRemark
">
<input placeholder-class="placeholder" placeholder="{{placeholder}}" class="text" onInput="onInput" data-type="title" value="{{title}}" focus="{{
fals
e}}"/>
<view class="icon iconfont iconicon_description1
" onTap="addRemark" a:if="{{!isShowRemark}}
">
</view>
</view>
<view class="remark" a:if="{{isShowRemark}}">
...
...
@@ -89,7 +89,10 @@
</view>
<!-- meetingWay 会议方式 -->
<view class="meetingWay">
<view class="iconicon_meet iconfont icon {{comListData.meetingWayModelId ? '' : 'noValueIcon'}}">
<view a:if="{{comListData.meetingWayModelId === null}}" class="iconicon_meet iconfont icon noValueIcon">
</view>
<view a:else class="meetingWayImageUrl">
<image mode="scaleToFill" src="{{comListData.meetingWayList[comListData.meetingWayModelId].imageUrl}}"/>
</view>
<view class="meetingWayContent">
<view class="noWay" a:if="{{comListData.meetingWayModelId == null}}" catchTap="showPopup" data-type='meetingWayModel'>
...
...
pages/createMeeting/createMeeting.js
View file @
d485a614
...
...
@@ -80,9 +80,8 @@ create.Page({
},
// 添加描述
addRemark
()
{
let
isShowRemark
=
!
this
.
data
.
isShowRemark
this
.
setData
({
isShowRemark
:
isShowRemark
isShowRemark
:
true
})
this
.
update
()
...
...
pages/index/index.axml
View file @
d485a614
版本17
5
版本17
6
{{tabBarIndex}}
<view a:if="{{tabBarIndex === '0'}}">
<my-dynamic>
...
...
pages/index/index.js
View file @
d485a614
...
...
@@ -11,6 +11,9 @@ create.Page({
this
.
setData
({
iconDay
:
iconDay
});
dd
.
setNavigationBar
({
title
:
'动态'
})
},
onShow
()
{
setTimeout
(
res
=>
{
...
...
@@ -22,6 +25,18 @@ create.Page({
this
.
setData
({
tabBarIndex
:
e
.
currentTarget
.
dataset
.
tabbar
});
let
title
=
'动态'
switch
(
e
.
currentTarget
.
dataset
.
tabbar
)
{
case
'0'
:
title
=
'动态'
;
break
;
case
'1'
:
title
=
'日程'
;
break
;
}
dd
.
setNavigationBar
({
title
:
title
})
},
createMeeting
()
{
// isClicked(this)
...
...
pages/meetingDetail/meetingDetail.acss
View file @
d485a614
...
...
@@ -138,7 +138,9 @@ page {
.icon {
vertical-align: middle;
color: #0a0a0a;
font-size: 34rpx;
font-size: 40rpx;
line-height: 50rpx;
line-height: 50rpx;
}
input {
...
...
@@ -149,7 +151,7 @@ input {
}
.createTitle {
padding: 14rpx 3
6
rpx 16rpx;
padding: 14rpx 3
2
rpx 16rpx;
position: relative;
min-height: 90rpx;
overflow: hidden;
...
...
@@ -199,22 +201,21 @@ input {
.place, .time, .participator, .meetingWay {
display: flex;
padding: 0 3
6
rpx;
padding: 0 3
2
rpx;
font-family: PingFangSC-Regular;
color: #191F25;
overflow: hidden;
margin-top:
54
rpx;
margin-top:
48
rpx;
}
.place>.icon, .time>.icon, .participator>.icon, .meetingWay>.icon {
margin-right: 2
6
rpx;
margin-right: 2
4
rpx;
}
.noPlace, .hasplace, .timeText, .participatorText, .noWay, .hasWay {
height: 38rpx;
font-size: 34rpx;
width: 100%;
line-height:
38rpx
;
line-height:
1.5
;
}
.hasplace, .timeText {
...
...
@@ -224,7 +225,7 @@ input {
}
.placeContaint, .timeContaint, .participatorContaint, .meetingWayContent {
width: 6
78
rpx;
width: 6
22
rpx;
display: flex;
justify-content: space-between;
}
...
...
@@ -267,7 +268,6 @@ input {
.participatorText {
display: flex;
align-items: center;
height: 38rpx;
}
.participatorListBottom {
...
...
@@ -546,3 +546,17 @@ input {
overflow: hidden;
height: 100vh;
}
.meetingWayImageUrl {
flex-grow: 0;
width: 40rpx;
height: 40rpx;
margin-right: 24rpx;
}
.meetingWayImageUrl>image {
margin-top: 5rpx;
vertical-align: top;
width: 100%;
height: 100%;
}
\ No newline at end of file
pages/meetingDetail/meetingDetail.axml
View file @
d485a614
...
...
@@ -21,12 +21,12 @@
<view class="permissionContant">
<view class="createTitle">
<view class="title">
<input placeholder-class="placeholder" placeholder="{{placeholder}}" class="text" onInput="onInput" data-type="title" data-selectType="common" value="{{title}}" onConfirm="onConfirm" focus="{{
true}}
"/>
<view class="icon iconfont iconicon_description1
{{remark ? '' : 'noValueIcon'
}}" onTap="addRemark">
<input placeholder-class="placeholder" placeholder="{{placeholder}}" class="text" onInput="onInput" data-type="title" data-selectType="common" value="{{title}}" onConfirm="onConfirm" focus="{{
false}}" onBlur="onBlur
"/>
<view class="icon iconfont iconicon_description1
" a:if="{{!isShowRemark
}}" onTap="addRemark">
</view>
</view>
<view class="remark" a:if="{{isShowRemark}}">
<input placeholder-class="placeholder" placeholder="请添加描述" class="text" onInput="onInput" data-type="remark" value="{{remark}}" onConfirm="onConfirm"/>
<input placeholder-class="placeholder" placeholder="请添加描述" class="text" onInput="onInput" data-type="remark" value="{{remark}}" onConfirm="onConfirm"
onBlur="onBlur" focus="{{false}}"
/>
</view>
</view>
<view class="permission" a:if="{{currentPeople != organizer}}">
...
...
@@ -120,7 +120,10 @@
<view class="permissionContant" a:if="{{comListData.meetingWayList[comListData.meetingWayModelId].text || currentPeople === organizer}}">
<!--<view class="iconicon_attender iconfont icon {{$data.participatorList.length>1 ? '' : 'noValueIcon'}}"></view> -->
<view class="meetingWay">
<view class="iconicon_meet iconfont icon {{comListData.meetingWayModelId ? '' : 'noValueIcon'}}">
<view a:if="{{comListData.meetingWayModelId === null}}" class="iconicon_meet iconfont icon noValueIcon">
</view>
<view a:else class="meetingWayImageUrl">
<image mode="scaleToFill" src="{{comListData.meetingWayList[comListData.meetingWayModelId].imageUrl}}"/>
</view>
<view class="meetingWayContent">
<view class="noWay" a:if="{{comListData.meetingWayModelId == null}}" catchTap="showPopup" data-type='meetingWayModel'>
...
...
@@ -142,7 +145,8 @@
<!-- 底部导航栏 -->
<view class="footNav">
<view class="footNavTop" a:if="{{!isExpand}}">
<view class="originStaus" a:if="{{confirmAttendance === null}}">
<!-- 待定状态 -->
<view class="originStaus" a:if="{{confirmAttendance === -9}}">
<view catchTap="participate">
<text class="iconfont iconicon_Agreed1"></text>
<text>参加</text></view>
...
...
@@ -152,6 +156,7 @@
<text>不参加</text>
</view>
</view>
<!--参加状态-->
<view class="participateStatus" a:if="{{confirmAttendance === 1}}">
<view class="remind" catchTap="showPopup" data-type="aheadTime">
<text class="iconfont iconicon_time1"></text>
...
...
@@ -164,10 +169,13 @@
<text class="iconfont iconicon_share"></text>
</view>
<text class="devider"></text>
<view class="participate" catchTap="
noParticip
ate">
<view class="participate" catchTap="
initialSt
ate">
<text class="iconfont iconicon_Agreed1"></text>
<text>参加</text></view></view>
<view class="noParticipateStatus" a:if="{{confirmAttendance === 0}}" catchTap="participate">
<text>参加</text>
</view>
</view>
<!--不参加状态 -->
<view class="noParticipateStatus" a:if="{{confirmAttendance === 0}}" catchTap="initialState">
<text class="iconfont iconicon_noAgreed1"></text>
<text>不参加</text>
</view>
...
...
pages/meetingDetail/meetingDetail.js
View file @
d485a614
...
...
@@ -210,9 +210,8 @@ create.Page({
},
// 添加描述
addRemark
()
{
let
isShowRemark
=
!
this
.
data
.
isShowRemark
this
.
setData
({
isShowRemark
:
isShowRemark
isShowRemark
:
true
})
this
.
update
()
...
...
@@ -810,6 +809,7 @@ create.Page({
let
modifyContent
=
''
switch
(
value
)
{
case
'title'
:
if
(
this
.
data
.
title
!==
this
.
$store
.
data
.
originalData
.
title
)
{
let
dataTitle
=
{
title
:
this
.
data
.
title
,
modifyModel
:
modifyModel
,
...
...
@@ -825,8 +825,10 @@ create.Page({
this
.
$store
.
data
.
originalData
.
title
=
this
.
data
.
title
this
.
update
()
})
}
break
case
'remark'
:
if
(
this
.
data
.
remark
!==
this
.
$store
.
data
.
originalData
.
remark
)
{
let
dataRemark
=
{
remark
:
this
.
data
.
remark
,
modifyModel
:
modifyModel
,
...
...
@@ -842,6 +844,7 @@ create.Page({
this
.
$store
.
data
.
originalData
.
remark
=
this
.
data
.
remark
this
.
update
()
})
}
break
case
'meeting_way'
:
let
dataWay
=
{
...
...
@@ -1151,6 +1154,28 @@ create.Page({
})
}
},
initialState
()
{
let
data
=
{
templateId
:
this
.
data
.
scheduleItem
.
scheduleTemplateId
,
planDate
:
this
.
data
.
scheduleItem
.
planDate
,
scheduleId
:
this
.
data
.
scheduleItem
.
id
,
value
:
-
9
,
type
:
'only'
}
if
(
this
.
data
.
repeatable
===
1
)
{
data
.
type
=
'all'
}
else
{
data
.
type
=
'only'
}
isParticipate
(
data
).
then
(
res
=>
{
if
(
res
.
data
.
code
===
0
)
{
this
.
setData
({
confirmAttendance
:
-
9
})
}
})
},
// 页面卸载
onUnload
()
{
// 页面被关闭
...
...
pages/outLookContact/outLookContact.acss
View file @
d485a614
...
...
@@ -75,23 +75,22 @@ input {
bottom: 0;
left: 0;
right: 0;
padding:
16rpx
32rpx;
padding: 32rpx;
background: #fff;
box-shadow: 0 -2px 4px 0 rgba(0, 0, 0, 0.04);
position: fixed;
bottom: 0;
}
.button {
font-family: PingFangSC-Regular;
width: 686rpx;
height:
96
rpx;
background: #
4D88FF
;
height:
72
rpx;
background: #
EA0C28
;
border-radius: 48rpx;
font-size: 3
4
rpx;
font-size: 3
2
rpx;
color: #FFFFFF;
text-align: center;
line-height:
96
rpx;
line-height:
72
rpx;
}
.conflict {
...
...
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