Authored by 于良

消息中心热门消息样式调整 review by 草莓

... ... @@ -105,6 +105,8 @@ export default class MsgCenterNormalCell extends React.Component {
}
}
let {width, height} = Dimensions.get('window');
let styles = StyleSheet.create({
container: {
flex:1,
... ... @@ -186,6 +188,8 @@ let styles = StyleSheet.create({
fontFamily: 'Helvetica Light',
fontSize: 12,
color: '#8b8b8b',
marginTop: 6,
width: width - 30 - 20,
},
section: {
... ...
... ... @@ -14,7 +14,7 @@ const {
Dimensions,
} = ReactNative;
export default class ReplyCell extends React.Component {
export default class SysMsgCell extends React.Component {
static propTypes = {
data: ImmutablePropTypes.contains({
... ... @@ -77,6 +77,7 @@ export default class ReplyCell extends React.Component {
<Image
defaultSource={require('../../images/message/duihuakuang.png')}
style={styles.bubble}
resizeMode={'stretch'}
>
<Text style={styles.reply}
numberOfLines={1}
... ... @@ -106,6 +107,8 @@ export default class ReplyCell extends React.Component {
}
}
let {width, height} = Dimensions.get('window');
let styles = StyleSheet.create({
container: {
flexDirection:'column',
... ... @@ -158,7 +161,6 @@ let styles = StyleSheet.create({
alignItems:'center',
height: 40,
padding: 10,
resizeMode:'contain',
},
reply: {
... ... @@ -166,7 +168,8 @@ let styles = StyleSheet.create({
fontFamily: 'Helvetica Light',
fontSize: 12,
color: '#8b8b8b',
marginTop: 8,
marginTop: 6,
width: width - 30 - 20,
},
section: {
... ...
... ... @@ -179,7 +179,7 @@ export function onRightPressed(sid) {
newSrc = item.defaultShareImage;
}
let title = item.postsTitle||contentStr||'潮流社区';
let content = (item.authorInfo.nickName||'')+'在潮流社区发布的潮流主题帖很赞,快来看看!'
let content = (item.authorInfo.nickName||'')+'在潮流社区发布的潮流主题帖很赞,快来看看!';
let shareInfo = {
title,
content,
... ...