css.js 1.19 KB
import {StyleSheet} from 'react-native';

const mainCss = StyleSheet.create({

    body: {
        flex: 1,
        flexDirection: 'column',
        backgroundColor: "#f4f4f4"
    },
    main: {
        flex: 1
    },
    tabIcon: {
        flex: 1,
        width: 20,
        height: 20,
        marginBottom: 0,
        paddingBottom: 0,
    },
    //列表
    xnRowLayout: {},
    xnRow: {
        flexDirection: "row",
        alignItems: "center",
        backgroundColor: "#fff",
        paddingLeft: 15,
        paddingRight: 15,
        paddingTop: 10,
        paddingBottom: 10,
        borderBottomWidth: 0.5,
        borderBottomColor: "#d9d9d9",
    },

    xnRowInfo: {
        flex: 1,
        justifyContent: "center",
        minHeight: 24,
    },
    xnRowContent: {
        flex: 1,
        justifyContent: "center",
        minHeight: 24,
    },
    xnRowInfoText: {
        color: "#333",
        fontSize: 14,
    },
    xnRowLink: {
        width: 10,
        height: 10,
        borderTopWidth: 0.5,
        borderTopColor: "#666",
        borderRightWidth: 0.5,
        borderRightColor: "#666",
        transform: [
            {rotate: '45deg'},
        ],
    }

});

export default mainCss;