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
f6504dcc
Commit
f6504dcc
authored
5 years ago
by
xiexiaoqin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: popup complete can't reach slot scope
parent
e57e46a2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
17 deletions
+0
-17
index.acss
components/popup/index.acss
+0
-8
index.axml
components/popup/index.axml
+0
-2
index.js
components/popup/index.js
+0
-7
No files found.
components/popup/index.acss
View file @
f6504dcc
...
@@ -65,10 +65,3 @@
...
@@ -65,10 +65,3 @@
font-size: 24rpx;
font-size: 24rpx;
color:rgba(25, 31, 37, 1);
color:rgba(25, 31, 37, 1);
}
}
.complete{
position: absolute;
color:#3070F2;
font-size: 32rpx;
right:32rpx;
top: 32rpx;
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
components/popup/index.axml
View file @
f6504dcc
...
@@ -16,7 +16,6 @@
...
@@ -16,7 +16,6 @@
<text onTap="onMaskTap" class="iconfont iconicon_slide"></text>
<text onTap="onMaskTap" class="iconfont iconicon_slide"></text>
</view>
</view>
<view class="title" a:if="{{title}}">{{title}}</view>
<view class="title" a:if="{{title}}">{{title}}</view>
<view class="complete" a:if='{{complete}}' onTap='complete'>{{complete}}</view>
<slot/>
<slot/>
</view>
</view>
</view>
</view>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
components/popup/index.js
View file @
f6504dcc
...
@@ -16,12 +16,6 @@ Component({
...
@@ -16,12 +16,6 @@ Component({
if
(
onClose
)
{
if
(
onClose
)
{
onClose
();
onClose
();
}
}
},
complete
(){
var
onComplete
=
this
.
props
.
onComplete
;
if
(
onComplete
)
{
onComplete
();
}
}
}
}
}
});
});
\ No newline at end of file
This diff is collapsed.
Click to expand it.
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