|
|
@@ -240,7 +240,7 @@ export default function Index() { |
|
|
|
{showLoading ? <LoadingCard></LoadingCard> : null} |
|
|
|
<Card className={styles['data-search-card']}> |
|
|
|
<Row gutter={20} className={styles['data-search-row']}> |
|
|
|
<Col xs={24} sm={24} md={12} lg={12} xl={6} className={styles['data-search-item']}> |
|
|
|
<Col xs={24} sm={24} md={24} lg={12} xl={6} className={styles['data-search-item']}> |
|
|
|
<RangePicker size='middle' className={styles['data-search-sufixx']} value={timeRange} onChange={(date, dateStrings) => { |
|
|
|
let tempDate = [ |
|
|
|
moment(moment(new Date(dateStrings[0])).format('YYYY-MM-DD 00:00:00')), |
|
|
@@ -249,7 +249,7 @@ export default function Index() { |
|
|
|
setTimeRange(tempDate); |
|
|
|
}} /> |
|
|
|
</Col> |
|
|
|
<Col xs={24} sm={24} md={12} lg={12} xl={6} className={styles['data-search-item']}> |
|
|
|
<Col xs={24} sm={24} md={24} lg={12} xl={6} className={styles['data-search-item']}> |
|
|
|
<div className={searchDayIndex === 0 ? `${styles['data-search-day']} ${styles['search-day-selected']}` : `${styles['data-search-day']}`} onClick={() => onChangeTime(0)}> |
|
|
|
今天 |
|
|
|
</div> |
|
|
@@ -263,7 +263,7 @@ export default function Index() { |
|
|
|
近30天 |
|
|
|
</div> |
|
|
|
</Col> |
|
|
|
<Col xs={24} sm={24} md={12} lg={12} xl={6} className={styles['data-search-item']}> |
|
|
|
<Col xs={24} sm={24} md={24} lg={12} xl={6} className={styles['data-search-item']}> |
|
|
|
<TreeSelect |
|
|
|
className={styles['data-search-sufixx']} |
|
|
|
dropdownStyle={{ |
|
|
@@ -322,16 +322,17 @@ export default function Index() { |
|
|
|
</Col> |
|
|
|
<Col xs={24} sm={24} md={24} lg={16} xl={18}> |
|
|
|
<Card> |
|
|
|
{/* 新增会员图表 */} |
|
|
|
<div id="new-member" className={styles['new-member']}></div> |
|
|
|
{/* 复购次数图表 */} |
|
|
|
<div id="repur-chase" className={styles['repur-chase']}></div> |
|
|
|
</Card> |
|
|
|
|
|
|
|
</Col> |
|
|
|
</Row> |
|
|
|
<Row> |
|
|
|
<Col xs={24} sm={24} md={24} lg={24} xl={24} > |
|
|
|
<Card> |
|
|
|
{/* 复购次数图表 */} |
|
|
|
<div id="repur-chase" className={styles['repur-chase']}></div> |
|
|
|
{/* 新增会员图表 */} |
|
|
|
<div id="new-member" className={styles['new-member']}></div> |
|
|
|
</Card> |
|
|
|
</Col> |
|
|
|
</Row> |
|
|
|