import { StyleSheet } from 'react-native'; import { size, colors, px2dp, onePx } from './base'; export const layout = StyleSheet.create({ page: { position: 'relative', width: '100%', flex: 1, backgroundColor: '#fff', justifyContent: 'flex-start', alignItems: 'center', overflow: 'hidden', borderRadius: 1, }, pageContainer: { backgroundColor: colors.bgColor, flex: 1, width: '100%' }, listContainer: { width: px2dp(375), justifyContent: 'flex-start', alignItems: 'center', }, title: { fontSize: 18, color: '#333', }, flex: { height: '100%', flexDirection: 'row', justifyContent: 'center', alignItems: 'center', }, centerText: { fontSize: 15, color: '#333' }, smallText: { fontSize: 12, color: '#666' }, headerIcon: { width: px2dp(20), height: px2dp(20), tintColor: '#333' }, headerTitle: { fontSize: 15, color: '#333', fontWeight: '500' }, rightIcon: { width: px2dp(14), height: px2dp(14), tintColor: '#999', }, emptyIcon: { width: px2dp(200), height: px2dp(200) }, emptyText: { fontSize: 15, color: '#9A9FB4', maxWidth: px2dp(280) }, pressIntentContainer: { paddingHorizontal: px2dp(6), paddingVertical: px2dp(6) }, linkTextStyle: { color: '#333', textDecorationLine: 'underline', textDecorationColor: colors.redText }, row: { flexDirection: 'row', justifyContent: 'flex-start', alignItems: 'center', }, copyText: { color: colors.yellow, marginLeft: px2dp(2) }, topicIcon: { width: px2dp(14), height: px2dp(14), tintColor: '#fff' }, autoFlex: { flexDirection: 'row', justifyContent: 'center', alignItems: 'center' }, backIcon: { width: px2dp(20), height: px2dp(20), tintColor: '#000' } }); export const agreements = { USER_PROTOCOL: 'https://release-admin.haitunshenghuo.com/app/userAgreement.html', USER_PRIVACY: 'https://release-admin.haitunshenghuo.com/app/privacyAgreement.html', USER_MCH_CONTENT: 'https://release-admin.haitunshenghuo.com/app/userMchContent.html' }; export const comErrorMsg = '您的网络不稳定,请稍后再试'; export const comNetWordErrorMsg = '前方拥挤,请您稍后重试';