Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
7
7-Eleven
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
高淑倩
7-Eleven
Commits
3795ea8f
Commit
3795ea8f
authored
Aug 07, 2019
by
高淑倩
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add: 弹框自定义
parent
f8c7ed0f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
1 deletions
+22
-1
dialog.wxml
src/component/dialog/dialog.wxml
+22
-1
No files found.
src/component/dialog/dialog.wxml
View file @
3795ea8f
<!--component/dialog/dialog.wxml-->
<!--component/dialog/dialog.wxml-->
<view class='wxy-dialog fade {{show ? "in":""}}'>
<view class='wxy-dialog fade {{show ? "in":""}}'>
<view wx:if="{{show}}">
<view wx:if="{{show}}">
<view data-id="mask" class="dialog-mask" capture-catch:touchstart='_close'></view>
<view data-id="mask" class="dialog-mask" capture-catch:touchstart='_close'></view>
<view class='dialog-body' wx:if="{{showDefalut && dialog.state !== 'success'}}">
<view class='dialog-body' wx:if="{{showDefalut && dialog.state !== 'success'}}">
<view class='main' bindtap='_handleGo'>
<view class='content' style="background-image: url('{{dialog.image}}');">
</view>
</view>
<view class="close" bindtap='_close'></view>
</view>
<view class='dialog-body' bindtap='_close' wx:if="{{showDefalut && dialog.state === 'success'}}">
<view wx:if="{{dialog.image}}">
<image class="image" mode="widthFix" src='{{dialog.image}}'></image>
</view>
</view>
<slot name="after"></slot>
</view>
</view>
<!--<view class='wxy-dialog fade {{show ? "in":""}}'>
<view wx:if="{{show}}">
<view data-id="mask" class="dialog-mask" capture-catch:touchstart='_close'></view>
<view class='dialog-body' wx:if="{{showDefalut && dialog.state !== 'success'}}">
<view class='main'>
<view class='main'>
<view class='content' style="background-image: url('{{dialog.image}}');">
<view class='content' style="background-image: url('{{dialog.image}}');">
<view class="">恭喜你,领取成功!</view>
<view class="">恭喜你,领取成功!</view>
...
@@ -19,4 +40,4 @@
...
@@ -19,4 +40,4 @@
</view>
</view>
<slot name="after"></slot>
<slot name="after"></slot>
</view>
</view>
</view>
</view>
-->
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