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
08538a66
Commit
08538a66
authored
Apr 07, 2020
by
fengzhaoyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix conflit
parent
0c296bb2
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
33 additions
and
11 deletions
+33
-11
createMeeting.js
pages/createMeeting/createMeeting.js
+1
-0
index.axml
pages/index/index.axml
+7
-4
index.js
pages/index/index.js
+3
-5
meetingDetail.js
pages/meetingDetail/meetingDetail.js
+18
-0
outLookContact.axml
pages/outLookContact/outLookContact.axml
+1
-1
exampleStore.js
stores/exampleStore.js
+3
-1
No files found.
pages/createMeeting/createMeeting.js
View file @
08538a66
...
...
@@ -344,6 +344,7 @@ create.Page({
addSchedule
(
data
).
then
(
res
=>
{
if
(
res
.
data
.
code
===
0
)
{
this
.
$store
.
data
.
indexNeedUpdate
=
true
this
.
$store
.
data
.
tabBarIndex
=
'1'
this
.
update
()
dd
.
navigateBack
({
delta
:
1
...
...
pages/index/index.axml
View file @
08538a66
<view a:if="{{tabBarIndex === '0'}}">
<!--<<<<<<< Updated upstream<view a:if="{{tabBarIndex === '0'}}">
=======<view style="position:absolute"></view> -->
<view a:if="{{$data.tabBarIndex === '0'}}">
<!-- >>>>>>> Stashed changes -->
<my-dynamic>
</my-dynamic>
</view>
<view a:if="{{tabBarIndex === '1'}}">
<view a:if="{{
$data.
tabBarIndex === '1'}}">
<my-schedule update="{{$data.indexNeedUpdate}}">
</my-schedule>
</view>
<view class="tabBar">
<view onTap="changeTabBar" data-tabbar='0'>
<view class="tabBarView tabBarView1 {{tabBarIndex === '0' ? 'ischooseTabBar' : ''}}">
<view class="tabBarView tabBarView1 {{
$data.
tabBarIndex === '0' ? 'ischooseTabBar' : ''}}">
<view class="iconfont iconicon_dynamic"></view>
<view>动态</view>
</view>
</view>
<view onTap="changeTabBar" data-tabbar='1'>
<view class="tabBarView tabBarView2 {{tabBarIndex === '1' ? 'ischooseTabBar' : ''}}">
<view class="tabBarView tabBarView2 {{
$data.
tabBarIndex === '1' ? 'ischooseTabBar' : ''}}">
<view class="iconfont iconicon_Calendarbox1">
<text class="iconfont iconicon_days iconicon_days{{iconDay}}">
</text>
...
...
pages/index/index.js
View file @
08538a66
...
...
@@ -2,7 +2,6 @@ import { getFormatDate } from "../../utils/utils";
import
create
from
"dd-store"
;
create
.
Page
({
data
:
{
tabBarIndex
:
"0"
,
$data
:
null
,
iconDay
:
""
,
isLocation
:
false
...
...
@@ -23,10 +22,9 @@ create.Page({
},
// 修改tabBar
changeTabBar
(
e
)
{
let
nowtabBarIndex
=
this
.
data
.
tabBarIndex
;
this
.
setData
({
tabBarIndex
:
e
.
currentTarget
.
dataset
.
tabbar
});
let
nowtabBarIndex
=
this
.
$store
.
data
.
tabBarIndex
;
this
.
$store
.
data
.
tabBarIndex
=
e
.
currentTarget
.
dataset
.
tabbar
this
.
update
()
let
title
=
"动态"
;
switch
(
e
.
currentTarget
.
dataset
.
tabbar
)
{
case
'0'
:
...
...
pages/meetingDetail/meetingDetail.js
View file @
08538a66
...
...
@@ -580,6 +580,7 @@ create.Page({
modifySchedule
(
Object
.
assign
(
data
,
obj
)).
then
(
res
=>
{
if
(
res
.
data
.
code
===
0
)
{
that
.
$store
.
data
.
indexNeedUpdate
=
true
that
.
$store
.
data
.
tabBarIndex
=
'1'
that
.
update
()
this
.
setData
({
'conToastData.showToast'
:
true
,
...
...
@@ -667,6 +668,7 @@ create.Page({
break
case
'noParticipateStatus'
:
let
data1
=
{
scheduleId
:
this
.
data
.
scheduleItem
.
id
,
type
:
event
.
currentTarget
.
dataset
.
item
.
id
,
templateId
:
this
.
data
.
scheduleItem
.
scheduleTemplateId
,
planDate
:
this
.
data
.
scheduleItem
.
planDate
,
...
...
@@ -674,6 +676,9 @@ create.Page({
}
isParticipate
(
data1
).
then
(
res
=>
{
if
(
res
.
data
.
code
===
0
)
{
this
.
$store
.
data
.
indexNeedUpdate
=
true
this
.
$store
.
data
.
tabBarIndex
=
'1'
this
.
update
()
this
.
setData
({
confirmAttendance
:
0
,
'conToastData.showToast'
:
true
,
...
...
@@ -684,6 +689,7 @@ create.Page({
break
case
'participateStatus'
:
let
data
=
{
scheduleId
:
this
.
data
.
scheduleItem
.
id
,
type
:
event
.
currentTarget
.
dataset
.
item
.
id
,
templateId
:
this
.
data
.
scheduleItem
.
scheduleTemplateId
,
planDate
:
this
.
data
.
scheduleItem
.
planDate
,
...
...
@@ -691,6 +697,9 @@ create.Page({
}
isParticipate
(
data
).
then
(
res
=>
{
if
(
res
.
data
.
code
===
0
)
{
this
.
$store
.
data
.
indexNeedUpdate
=
true
this
.
$store
.
data
.
tabBarIndex
=
'1'
this
.
update
()
this
.
setData
({
confirmAttendance
:
1
,
'conToastData.showToast'
:
true
,
...
...
@@ -1121,6 +1130,9 @@ create.Page({
}
else
{
isParticipate
(
data
).
then
(
res
=>
{
if
(
res
.
data
.
code
===
0
)
{
this
.
$store
.
data
.
indexNeedUpdate
=
true
this
.
$store
.
data
.
tabBarIndex
=
'1'
this
.
update
()
this
.
setData
({
confirmAttendance
:
1
,
'conToastData.showToast'
:
true
,
...
...
@@ -1145,6 +1157,9 @@ create.Page({
}
else
{
isParticipate
(
data
).
then
(
res
=>
{
if
(
res
.
data
.
code
===
0
)
{
this
.
$store
.
data
.
indexNeedUpdate
=
true
this
.
$store
.
data
.
tabBarIndex
=
'1'
this
.
update
()
this
.
setData
({
confirmAttendance
:
0
,
'conToastData.showToast'
:
true
,
...
...
@@ -1170,6 +1185,9 @@ create.Page({
}
isParticipate
(
data
).
then
(
res
=>
{
if
(
res
.
data
.
code
===
0
)
{
this
.
$store
.
data
.
indexNeedUpdate
=
true
this
.
$store
.
data
.
tabBarIndex
=
'1'
this
.
update
()
this
.
setData
({
confirmAttendance
:
-
9
})
...
...
pages/outLookContact/outLookContact.axml
View file @
08538a66
<view class="outLookContact">
<!-- 输入邮箱联系人 -->
<view class="addContact">
<input placeholder="请输入邮箱" onInput="onInput" value="{{value}}" />
<input placeholder="请输入邮箱" onInput="onInput" value="{{value}}"
focus="{{false}}"
/>
<view class="icon iconfont iconicon_add " onTap="addEmail">
</view>
</view>
...
...
stores/exampleStore.js
View file @
08538a66
...
...
@@ -9,7 +9,8 @@ class Store {
originUsersId
:
[],
originalData
:
null
,
indexNeedUpdate
:
false
,
locationSchedule
:
()
=>
{}
tabBarIndex
:
'0'
,
locationSchedule
:
()
=>
{
}
}
}
export
default
new
Store
()
\ No newline at end of file
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