公告板
版本库
filestore
活动
搜索
登录
wm
/
pipIrrSp
沙盘演示系统应用的微信小程序
概况
操作记录
提交次数
目录
文档
派生
对比
blame
|
历史
|
原始文档
Initial Commit
zuoxiao
2024-08-28
eb3dbfdcb126beeb1d08f3306ac8f5bbc466e133
[wm/pipIrrSp.git]
/
miniprogram_npm
/
tdesign-miniprogram
/
dropdown-item
/
index.wxs
1
2
3
4
5
6
7
8
9
var getStyles = function (top, zIndex) {
var topStyle = top ? 'top:' + top + 'px;' : '';
var zIndexStyle = zIndex ? 'z-index:' + zIndex + ';' : '';
return topStyle + zIndexStyle;
};
module.exports = {
getStyles: getStyles,
};