|
@@ -71,9 +71,11 @@ const header = props => {
|
71
|
71
|
key: 'title',
|
72
|
72
|
align: 'center',
|
73
|
73
|
// width: '15%',
|
74
|
|
- render: (x, row) => <><div style={{wordWrap: 'break-word', width: '201px'}}>{row.title}</div></>,
|
|
74
|
+ render: (x, row) => <><div style={{overflow: 'hidden',textOverflow: 'ellipsis',whiteSpace: 'nowrap', width: '201px',title:'content'}}>{row.title}</div></>,
|
75
|
75
|
// width: '300px',
|
76
|
|
- // ellipsis:'true'
|
|
76
|
+ // ellipsis:'true'overflow: hidden; /*溢出隐藏*/
|
|
77
|
+// text-overflow: ellipsis; /*以省略号...显示*/
|
|
78
|
+// white-space: nowrap;
|
77
|
79
|
},
|
78
|
80
|
{
|
79
|
81
|
title: '活动时间',
|
|
@@ -135,11 +137,11 @@ const header = props => {
|
135
|
137
|
{row.activityStatus != 0 && <span style={{ color: '#1990FF',marginRight: '20px', cursor: 'pointer' }} onClick={sendOrPublicDynamic.bind(this, row)}>{row.status === 1 ? '取消发布' : '发布'}<Icon type="close-circle" className={styles.edit} /></span>}
|
136
|
138
|
</AuthButton>
|
137
|
139
|
<AuthButton name="admin.buildingDynamic.finish.put" noRight={null}>
|
138
|
|
- {row.isEnlist == 1 && <span style={{ color: '#1990FF',marginRight: '20px', cursor: 'pointer' }} onClick={finishDynamic.bind(this, row)}>结束活动<Icon type="poweroff" className={styles.edit} /></span>}
|
|
140
|
+ {row.activityStatus != 2 && <span style={{ color: '#1990FF',marginRight: '20px', cursor: 'pointer' }} onClick={finishDynamic.bind(this, row)}>结束活动<Icon type="poweroff" className={styles.edit} /></span>}
|
139
|
141
|
</AuthButton>
|
140
|
142
|
<AuthButton name="admin.buildingDynamic.update.put" noRight={null}>
|
141
|
143
|
<span style={{ color: '#1990FF', marginRight: '20px', cursor: 'pointer' }} onClick={topDynamic(row)}>{row.weight === 1 ? '取消置顶' : '置顶'}<Icon type="vertical-align-top" className={styles.edit} /></span>
|
142
|
|
- {row.isEnlist != 2 && <span style={{ color: '#FF925C',marginRight: '20px', cursor: 'pointer' }} onClick={toEditGoods(row.dynamicId)}>编辑<Icon type="form" className={styles.edit} /></span>}
|
|
144
|
+ {row.activityStatus != 2 && <span style={{ color: '#FF925C',marginRight: '20px', cursor: 'pointer' }} onClick={toEditGoods(row.dynamicId)}>编辑<Icon type="form" className={styles.edit} /></span>}
|
143
|
145
|
</AuthButton>
|
144
|
146
|
{row.status === 1 &&<span style={{ color: '#1990FF', marginRight: '20px', cursor: 'pointer' }} onClick={newQrcode.bind(this, row)}>{row.isEnlist === 1 && '下载二维码'} {row.isEnlist === 1 && <Icon type="qrcode" className={styles.shoppingCart} />}</span>}
|
145
|
147
|
</>
|