first commit
This commit is contained in:
1
衣莎项目/源码/YiShaXiYi/extend/wux/dist/backdrop/.pydio
vendored
Normal file
1
衣莎项目/源码/YiShaXiYi/extend/wux/dist/backdrop/.pydio
vendored
Normal file
@@ -0,0 +1 @@
|
||||
f9e3c0ce-1597-4fea-ac93-c6345a9dce13
|
||||
1
衣莎项目/源码/YiShaXiYi/extend/wux/dist/backdrop/index.js
vendored
Normal file
1
衣莎项目/源码/YiShaXiYi/extend/wux/dist/backdrop/index.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";var _baseComponent=_interopRequireDefault(require("../helpers/baseComponent"));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(0,_baseComponent.default)({properties:{prefixCls:{type:String,value:"wux-backdrop"},transparent:{type:Boolean,value:!1},zIndex:{type:Number,value:1e3},classNames:{type:null,value:"wux-animate--fadeIn"}},computed:{classes:["prefixCls, transparent",function(e,t){return{wrap:t?"".concat(e,"--transparent"):e}}]},methods:{retain:function(){"number"==typeof this.backdropHolds&&this.backdropHolds||(this.backdropHolds=0),this.backdropHolds=this.backdropHolds+1,1===this.backdropHolds&&this.setData({in:!0})},release:function(){1===this.backdropHolds&&this.setData({in:!1}),this.backdropHolds=Math.max(0,this.backdropHolds-1)},onClick:function(){this.triggerEvent("click")}}});
|
||||
6
衣莎项目/源码/YiShaXiYi/extend/wux/dist/backdrop/index.json
vendored
Normal file
6
衣莎项目/源码/YiShaXiYi/extend/wux/dist/backdrop/index.json
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"wux-animation-group": "../animation-group/index"
|
||||
}
|
||||
}
|
||||
1
衣莎项目/源码/YiShaXiYi/extend/wux/dist/backdrop/index.wxml
vendored
Normal file
1
衣莎项目/源码/YiShaXiYi/extend/wux/dist/backdrop/index.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<wux-animation-group wux-class="{{ classes.wrap }}" in="{{ in }}" classNames="{{ classNames }}" bind:click="onClick" wrapStyle="{{ { zIndex } }}" disableScroll />
|
||||
1
衣莎项目/源码/YiShaXiYi/extend/wux/dist/backdrop/index.wxss
vendored
Normal file
1
衣莎项目/源码/YiShaXiYi/extend/wux/dist/backdrop/index.wxss
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.wux-backdrop{background:rgba(0,0,0,.4)}.wux-backdrop,.wux-backdrop--transparent{position:fixed;z-index:1000;top:0;right:0;left:0;bottom:0}.wux-backdrop--transparent{background:0 0}
|
||||
Reference in New Issue
Block a user