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
4bdc87e7
Commit
4bdc87e7
authored
May 09, 2020
by
fengzhaoyu
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' into release_beta/1.0.0
parents
5700d936
03926975
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
23 additions
and
11 deletions
+23
-11
app.acss
app.acss
+5
-0
fileList.acss
components/fileList/fileList.acss
+1
-1
createMeeting.axml
pages/createMeeting/createMeeting.axml
+2
-2
createMeeting.js
pages/createMeeting/createMeeting.js
+15
-8
No files found.
app.acss
View file @
4bdc87e7
...
...
@@ -21,3 +21,7 @@ view {
color: #fff;
background: rgba(234, 12, 40, 1);
}
.gray {
background: rgba(10, 10, 10, 0.2)!important;
}
\ No newline at end of file
components/fileList/fileList.acss
View file @
4bdc87e7
...
...
@@ -123,7 +123,7 @@
}
.pptx, .ppt, .key {
background: url(../../assests/
ppt
.png) center /100% 100% !important;
background: url(../../assests/
mp4
.png) center /100% 100% !important;
}
.xlsx, .numbers {
...
...
pages/createMeeting/createMeeting.axml
View file @
4bdc87e7
...
...
@@ -106,8 +106,8 @@
</view>
</view>
<!-- 保存 -->
<view class="save" onTap="addSchedule">
<view class="button">
<view class="save" onTap="addSchedule
1
">
<view class="button
{{limitClick ? 'gray' : ''}}
">
立即创建
</view>
<view class="tabBarBottom" a:if="{{isIPX}}">
...
...
pages/createMeeting/createMeeting.js
View file @
4bdc87e7
...
...
@@ -46,9 +46,10 @@ create.Page({
isAcrossDay
:
false
,
conflictPeople
:
[],
placeholder
:
''
,
isIPX
:
false
},
isIPX
:
false
,
limitClick
:
false
,
},
showPop
(
event
)
{
this
.
setData
({
show
:
true
...
...
@@ -336,11 +337,15 @@ create.Page({
}
},
addSchedule
:
throttle
(
async
function
()
{
if
(
this
.
limitClick
)
{
return
false
addSchedule
1
:
throttle
(
async
function
()
{
if
(
this
.
data
.
limitClick
)
{
return
}
this
.
limitClick
=
true
console
.
log
(
'我重复点击还是走到这了'
)
this
.
setData
({
limitClick
:
true
});
dd
.
showLoading
({
content
:
'正在创建...'
,
});
let
data
=
{
title
:
this
.
data
.
title
||
`
${
getApp
().
globalData
.
name
}
创建的会议`
,
location
:
{
...
...
@@ -360,10 +365,10 @@ create.Page({
meetingWayModel
:
this
.
data
.
meetingWayModel
}
const
res
=
await
addSchedule
(
data
).
catch
(
err
=>
{
this
.
limitClick
=
false
this
.
setData
({
limitClick
:
false
});
dd
.
hideLoading
();
});
if
(
res
.
data
.
code
===
0
)
{
this
.
limitClick
=
false
this
.
$store
.
data
.
tabBarIndex
=
'1'
if
(
this
.
data
.
repeatable
===
0
)
{
if
(
this
.
$store
.
addOnceMeeting
)
{
...
...
@@ -380,6 +385,8 @@ create.Page({
await
this
.
$store
.
modifyErpeatMeeting
()
}
}
this
.
setData
({
limitClick
:
false
});
dd
.
hideLoading
();
dd
.
navigateBack
()
}
...
...
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