开始做登录
This commit is contained in:
18
miniprogram_npm/@vant/weapp/popup/index.wxs
Normal file
18
miniprogram_npm/@vant/weapp/popup/index.wxs
Normal file
@@ -0,0 +1,18 @@
|
||||
/* eslint-disable */
|
||||
var style = require('../wxs/style.wxs');
|
||||
|
||||
function popupStyle(data) {
|
||||
return style([
|
||||
{
|
||||
'z-index': data.zIndex,
|
||||
'-webkit-transition-duration': data.currentDuration + 'ms',
|
||||
'transition-duration': data.currentDuration + 'ms',
|
||||
},
|
||||
data.display ? null : 'display: none',
|
||||
data.customStyle,
|
||||
]);
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
popupStyle: popupStyle,
|
||||
};
|
Reference in New Issue
Block a user