|
@@ -0,0 +1,25 @@
|
|
|
+import React from "react";
|
|
|
+import { connect } from "dva";
|
|
|
+import RadioButtonGroup from "./RadioButtonGroup";
|
|
|
+import styles from "../styles/portal_traffic.less";
|
|
|
+
|
|
|
+const PortalTraffic = ({}) => {
|
|
|
+ const options = [
|
|
|
+ { label: "日", value: "day" },
|
|
|
+ { label: "月", value: "month" },
|
|
|
+ { label: "年", value: "year" },
|
|
|
+ ];
|
|
|
+
|
|
|
+ return (
|
|
|
+ <div class="traffic-header">
|
|
|
+ <panel-nav title="门户流量" />
|
|
|
+ <div class="traffic-header-conditions">
|
|
|
+ <RadioButtonGroup options={options} />
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ );
|
|
|
+};
|
|
|
+
|
|
|
+export default connect(({ bigscreen }) => ({
|
|
|
+ // overviewData: bigscreen.overviewData,
|
|
|
+}))(PortalTraffic);
|