Commit 339adfc3 authored by baixian's avatar baixian

优化

parent 02b96ece
...@@ -18,5 +18,5 @@ ...@@ -18,5 +18,5 @@
</head> </head>
<body> <body>
<div id="root"></div> <div id="root"></div>
<script type="text/javascript" src="/dist/main.c254f9.js"></script></body> <script type="text/javascript" src="/dist/main.59d729.js"></script></body>
</html> </html>
\ No newline at end of file
...@@ -105,7 +105,7 @@ class DownloadModal extends React.Component { ...@@ -105,7 +105,7 @@ class DownloadModal extends React.Component {
<div className={pageStyle.stepOne} style={{ marginTop: 16 }}> <div className={pageStyle.stepOne} style={{ marginTop: 16 }}>
<span>2</span>网页端地 <span>2</span>网页端地
<div className={pageStyle.copyWrap} style={{ marginTop: 0, marginLeft: 47 }}> <div className={pageStyle.copyWrap} style={{ marginTop: 0, marginLeft: 47 }}>
<div className={pageStyle.copyBox} id="copy3">{`https://clock-h5.wp53.cn/livecoursedesc/${liveUrlData.id}`}</div> <div className={pageStyle.copyBox} id="copy3">{ENVIRONMENT == 'pro' ? `https://clock-h5.wp53.cn/livecoursedesc/${liveUrlData.id}` : `https://clock-h5.wp53.cn/livecoursedesc/${liveUrlData.id}`}</div>
<div className={pageStyle.copyButton} data-clipboard-target="#copy3" id="btnCopyLink3">复制</div> <div className={pageStyle.copyButton} data-clipboard-target="#copy3" id="btnCopyLink3">复制</div>
</div> </div>
</div> </div>
......
...@@ -226,7 +226,7 @@ class LiveClass extends React.Component { ...@@ -226,7 +226,7 @@ class LiveClass extends React.Component {
type: 'liveclass/updateState', type: 'liveclass/updateState',
payload: { payload: {
previewQrcodeShow: true, previewQrcodeShow: true,
previewQrcode: `https://clock-h5.wp53.cn/livecoursedesc/${record.id}`, previewQrcode: ENVIRONMENT == 'pro' ? `https://clock-h5.wp53.cn/livecoursedesc/${record.id}` : `https://clock-h5.wp53.cn/livecoursedesc/${record.id}`,
}, },
}); });
} }
...@@ -355,7 +355,7 @@ class LiveClass extends React.Component { ...@@ -355,7 +355,7 @@ class LiveClass extends React.Component {
<Divider type="vertical" /> <Divider type="vertical" />
<span className="hreflink" onClick={() => this.goShare(record)}>分享直播间</span> <span className="hreflink" onClick={() => this.goShare(record)}>分享直播间</span>
{ {
(record.status != 2 && record.live_status != 4) && <span className="hreflink" onClick={() => this.goStartLive(record)}><Divider type="vertical" />去直播</span> (record.status != 3 && record.live_status != 4 && record.live_status != 2) && <span className="hreflink" onClick={() => this.goStartLive(record)}><Divider type="vertical" />去直播</span>
} }
{ {
(record.live_status == 4 && record.need_replay == 1) && <span className="hreflink" onClick={() => this.goLook(record)}><Divider type="vertical" />直播回放</span> (record.live_status == 4 && record.need_replay == 1) && <span className="hreflink" onClick={() => this.goLook(record)}><Divider type="vertical" />直播回放</span>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment