UNPKG

micro-ui-y

Version:

290 lines (275 loc) 7.66 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.personnelSty = undefined; var _react = require("react"); var _react2 = _interopRequireDefault(_react); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } var personnelSty = function personnelSty(_theme) { return { //弹出框 bodyStyle: { // width: "46.875rem", // height: "43.75rem" }, contentStyle: { width: "66.875rem", maxWidth: "66.875rem", height: "45.75rem", fontSize: "0.875rem" }, deptStaff: { height: "37.5rem", display: "flex", justifyContent: "center" }, deptPersonTree: {}, //搜索 searchBox: { width: "21.875rem", height: "1.875rem", border: "#dfdfdf solid 0.08rem", borderRadius: "0.25rem", position: "relative", marginTop: "1.25rem", marginBottom: "1.25rem" }, searchInput: { width: "19.875rem", height: "1.875rem", border: "0", outline: "none", boxSizing: "border-box" }, searchIcon: { position: "absolute", right: 0, top: 0, width: "2rem", height: "2rem", display: "flex", justifyContent: "center", alignItems: "center", cursor: "pointer" }, //部门人员树 treeContent: { boxSizing: "border-box", paddingRight: "1.5rem", width: "26.25rem" // height: "30rem", }, treeItemBox: { display: "flex", flexDirection: "column", fontSize: "0.875rem", cursor: "pointer" }, treeItem: { display: "flex", height: "1.85rem", justifyContent: "center" }, treeItemUnfold: { paddingRight: "0.5rem", display: "flex", alignItems: "center", width: "0.875rem" }, treeItemTextBox: { display: "flex", flex: "1" }, treeItemText: { display: "flex", alignItems: "center", flex: "1" }, treeItemImg: { width: "0.875rem", height: "0.875rem", marginLeft: "0.25rem", marginRight: "0.5rem" }, treeItemPermissions: { color: "#999999", marginLeft: "2rem" }, treeItemSelect: { marginRight: "1rem" }, treeChild: { marginLeft: "1rem" }, //已选择部门与人员区域 deptPersonSelect: {}, selectTit: { marginTop: "1.25rem", marginBottom: "1.25rem", marginLeft: "1.875rem" }, treeSelect: { width: "17rem", // height: "30rem", paddingLeft: "2rem", marginTop: "1.5rem", boxSizing: "border-box", flex: "1" }, choosedPerson: { marginTop: "0.5rem" }, chooseBox: { display: "flex", flexWrap: "wrap", height: "9rem", width: "33.75rem", marginTop: "0.5rem", boxSizing: "border-box", overflow: "hidden", border: "0.08rem solid #dfdfdf", borderRadius: "0.2rem" }, menuSelectItem: { display: "flex", justifyContent: "space-between", alignItems: "center", marginBottom: "0.875rem", fontSize: "0.875rem" }, selectItemImg: { width: "0.875rem", height: "0.875rem", marginRight: "0.5rem" }, selectItemText: { flex: "1" }, selectItemIcon: { cursor: "pointer", marginRight: "0.575rem" }, chooseItem: { background: "#eeeeee", display: "flex", justifyContent: "space-between", alignItems: "center", marginLeft: "0.5rem", marginBottom: "0.5rem", height: "1.5rem", minWidth: "6.25rem" }, chooseCont: { display: "grid", gridTemplateColumns: "repeat(4, 25%)", width: "32.75rem", height: "9rem", paddingTop: "0.5rem", boxSizing: "border-box" }, chooseItemName: { fontSize: "0.875rem" }, chooseItemSvg: { margin: "0 0.5rem", cursor: "pointer" }, nullBox: { position: "absolute", left: "50%", top: "50%", transform: "translateY(-50%) translateX(-50%)" }, //搜索 searchBox1: { display: "flex", alignItems: "center", width: "33.75rem", height: "2.1875rem", margin: "1.25rem 0" }, searchInput1: { boxSizing: "border-box", overflow: "hidden", border: "0.08rem solid #dfdfdf", borderRadius: "0.2rem", width: "33.75rem", height: "2.1875rem", paddingLeft: "0.625rem" }, searchBtn: { position: "absolute", zIndex: '1', right: "4.8rem", cursor: "pointer" }, //列表 personnelTitle: { fontSize: "0.875rem", color: "#4aa5fe" }, personnelList: { display: "flex", flexWrap: "wrap", marginTop: "0.9375rem", width: "33.75rem", height: "", boxSizing: "border-box", overflow: "hidden", border: "0.08rem solid #dfdfdf", borderRadius: "0.2rem", marginBottom: "0.9375rem" }, personnelCont: { display: "grid", gridTemplateColumns: "repeat(3, 33.3%)", width: "33.75rem", height: "20rem", paddingTop: "0.5rem", paddingLeft: "1.5rem", boxSizing: "border-box" //justifyContent: "space-between", }, personItem3: { display: "flex", height: "1.875rem", alignItems: 'center', cursor: "pointer" // marginRight:"3rem", }, personItem: { display: "flex", height: "1.875rem", alignItems: 'center', cursor: "pointer" // marginRight: "4rem", }, personItemImage: { width: "1.875rem", height: "1.875rem", borderRadius: '100%', marginRight: '0.3125rem', cursor: "pointer" }, personItemName: { fontSize: "0.875rem", width: '4.625rem', cursor: "pointer" }, personEmpty: { position: "absolute", left: "45%", top: "43%" }, allCheck: { display: "flex", alignItems: 'center', cursor: "pointer", marginTop: "0.5rem", marginLeft: "1rem" } }; }; exports.personnelSty = personnelSty; //# sourceMappingURL=style.js.map