UNPKG

fastlion-amis

Version:

一种MIS页面生成工具

11 lines (10 loc) 4.47 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Warpper = void 0; var tslib_1 = require("tslib"); var styled_components_1 = (0, tslib_1.__importDefault)(require("styled-components")); exports.Warpper = styled_components_1.default.div.attrs({ marginTop: 'calc((1.875rem - 1.4285714286 *0.875rem)/2)' })(templateObject_1 || (templateObject_1 = (0, tslib_1.__makeTemplateObject)(["\n .ant-upload-picture-card-wrapper{\n .ant-upload-list-picture-card{\n .ant-upload-select-picture-card{\n width:", ";\n height:", ";\n border-radius:4px;\n position:relative;\n display:inline-block;\n font-size:22px;\n }\n .ant-upload-list-picture-card-container{\n position:relative;\n display:inline-block;\n width:", ";\n height:", ";\n .ant-upload-list-item{\n border-radius:4px;\n border:0px;\n width:100%;\n height:", ";\n padding:", ";\n display: flex;\n align-items: center;\n justify-content: center;\n border:1px solid #d9d9d9;\n\n .ant-upload-list-item-info{\n position:relative;\n overflow:hidden;\n width:100%;\n height:100%;\n .ant-upload-span{\n width:100%;\n height:100%;\n img {\n position: ", ";\n width: ", ";\n object-fit:", ";\n height: ", ";\n transform: ", ";\n max-height:100%;\n top: ", ";\n left: ", ";\n }\n }\n }\n }\n }\n }\n }\n"], ["\n .ant-upload-picture-card-wrapper{\n .ant-upload-list-picture-card{\n .ant-upload-select-picture-card{\n width:", ";\n height:", ";\n border-radius:4px;\n position:relative;\n display:inline-block;\n font-size:22px;\n }\n .ant-upload-list-picture-card-container{\n position:relative;\n display:inline-block;\n width:", ";\n height:", ";\n .ant-upload-list-item{\n border-radius:4px;\n border:0px;\n width:100%;\n height:", ";\n padding:", ";\n display: flex;\n align-items: center;\n justify-content: center;\n border:1px solid #d9d9d9;\n\n .ant-upload-list-item-info{\n position:relative;\n overflow:hidden;\n width:100%;\n height:100%;\n .ant-upload-span{\n width:100%;\n height:100%;\n img {\n position: ", ";\n width: ", ";\n object-fit:", ";\n height: ", ";\n transform: ", ";\n max-height:100%;\n top: ", ";\n left: ", ";\n }\n }\n }\n }\n }\n }\n }\n"])), function (props) { return props.width ? props.width : '60px'; }, function (props) { return props.height ? props.height : '60px'; }, function (props) { return props.width ? props.width : '68px'; }, function (props) { return props.height ? props.height : '68px'; }, function (props) { return props.thumbMode === 'cover' ? '100%' : props.imgHeight; }, function (props) { return props.padding ? props.padding : '0px'; }, function (props) { return props.thumbMode === 'w-full' || props.thumbMode === 'h-full' ? 'absolute' : 'static'; }, function (props) { return props.thumbMode === 'w-full' ? '100%' : (props.thumbMode === 'h-full' ? 'auto' : '100% !important'); }, function (props) { return props.thumbMode === 'w-full' || props.thumbMode === 'h-full' ? 'unset' : props.thumbMode; }, function (props) { return props.thumbMode === 'w-full' ? 'auto' : (props.thumbMode === 'h-full' ? '' : '100% !important'); }, function (props) { return props.thumbMode === 'w-full' || props.thumbMode === 'h-full' ? 'translate(-50%,-50%)' : 'translate(0,0)'; }, function (props) { return props.thumbMode === 'w-full' || props.thumbMode === 'h-full' ? '50%' : '0'; }, function (props) { return props.thumbMode === 'w-full' || props.thumbMode === 'h-full' ? '50%' : '0'; }); var templateObject_1; //# sourceMappingURL=./renderers/Lion/File/components/LionShowImg/style.js.map