Skip to content
  • Projects
  • Groups
  • Snippets
  • Help

saas_plus / store-assistant

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 0
  • Merge Requests 0
  • Pipelines
  • Wiki
  • Settings
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Branches
  • Tags
  • Contributors
  • Graph
  • Compare
  • Charts
Switch branch/tag
  • store-assistant
  • miniprogram_npm
  • @vant
  • weapp
  • nav-bar
  • index.wxs
  • 张立顺's avatar
    improt vant · 5bbd3f62
    张立顺 committed Oct 12, 2022
    5bbd3f62
index.wxs 263 Bytes
RawBlameHistoryPermalink
1 2 3 4 5 6 7 8 9 10 11 12 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,
};