mirror of
https://git.beihong.wang/wangbeihong/iot-bedroom-environment-controller.git
synced 2026-04-25 19:09:47 +08:00
增加补充相关资料和小程序源码
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
/* eslint-disable */
|
||||
var style = require('../wxs/style.wxs');
|
||||
|
||||
function barStyle(data) {
|
||||
return style({
|
||||
'z-index': data.zIndex,
|
||||
'padding-top': data.safeAreaInsetTop ? data.statusBarHeight + 'px' : 0,
|
||||
});
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
barStyle: barStyle,
|
||||
};
|
||||
Reference in New Issue
Block a user