|
@@ -252,35 +252,33 @@ const ColumnContent: React.FC<IColumnContentProps> = props => {
|
|
|
onRefresh={handleToRefresh}
|
|
|
/>
|
|
|
)}
|
|
|
-
|
|
|
+ {type === 'list' && (
|
|
|
+ <div className="g-flex g-flex-v-center g-flex-between m-b-md note-showmore-line">
|
|
|
+ <div className="g-flex g-flex-v-center">
|
|
|
+ <div className="note-pv">
|
|
|
+ <EyeOutlined size={14} className="pv-icon" />
|
|
|
+ <span>{(detail as IColumnDetail).Pv || 0}</span>
|
|
|
+ </div>
|
|
|
+ {(detail as IColumnDetail)?.IsCollect ? (
|
|
|
+ <StarFilled
|
|
|
+ className="collect-icon"
|
|
|
+ onClick={handleOnCollect.bind(this, (detail as IColumnDetail)?.IsCollect)}
|
|
|
+ />
|
|
|
+ ) : (
|
|
|
+ <StarOutlined
|
|
|
+ className="collect-icon"
|
|
|
+ onClick={handleOnCollect.bind(this, (detail as IColumnDetail)?.IsCollect)}
|
|
|
+ />
|
|
|
+ )}
|
|
|
+ <span className="collect-count">{(detail as IColumnDetail)?.CollectNum}</span>
|
|
|
+ </div>
|
|
|
+ <div className="note-showmore-btn" onClick={handleToDetail}>
|
|
|
+ 查看全文
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ )}
|
|
|
{(detail as IColumnDetail)?.HasPermission === INewPermissionType.OK && (
|
|
|
<>
|
|
|
- {type === 'list' && (
|
|
|
- <div className="g-flex g-flex-v-center g-flex-between m-b-md note-showmore-line">
|
|
|
- <div className="g-flex g-flex-v-center">
|
|
|
- <div className="note-pv">
|
|
|
- <EyeOutlined size={14} className="pv-icon" />
|
|
|
- <span>{(detail as IColumnDetail).Pv || 0}</span>
|
|
|
- </div>
|
|
|
- {(detail as IColumnDetail)?.IsCollect ? (
|
|
|
- <StarFilled
|
|
|
- className="collect-icon"
|
|
|
- onClick={handleOnCollect.bind(this, (detail as IColumnDetail)?.IsCollect)}
|
|
|
- />
|
|
|
- ) : (
|
|
|
- <StarOutlined
|
|
|
- className="collect-icon"
|
|
|
- onClick={handleOnCollect.bind(this, (detail as IColumnDetail)?.IsCollect)}
|
|
|
- />
|
|
|
- )}
|
|
|
- <span className="collect-count">{(detail as IColumnDetail)?.CollectNum}</span>
|
|
|
- </div>
|
|
|
- <div className="note-showmore-btn" onClick={handleToDetail}>
|
|
|
- 查看全文
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- )}
|
|
|
-
|
|
|
{!login2p.jwt && type === 'detail' ? (
|
|
|
<div className="please-login-btn" onClick={handleToShowMore}>
|
|
|
请登录后查看更多内容
|