Commit ae6efadc authored by wuhao's avatar wuhao 🎯

asder

parent 087cb0b5
...@@ -10,6 +10,7 @@ import { ...@@ -10,6 +10,7 @@ import {
Input, Input,
Modal, Modal,
message, message,
Popover,
} from 'antd'; } from 'antd';
import { history, Helmet } from 'umi'; import { history, Helmet } from 'umi';
import routes from '../../routes'; import routes from '../../routes';
...@@ -372,10 +373,11 @@ function Layout({ children, location }) { ...@@ -372,10 +373,11 @@ function Layout({ children, location }) {
}} }}
> >
<div <div
className={`${styles.diybtn} bglightc`} className={`${styles.diybtn}`}
style={{ style={{
color: '#ffffff', color: '#ffffff',
textShadow: '0px 0px 2px #999999', textShadow: '0px 0px 2px #999999',
backgroundColor: '#1890ff',
}} }}
onClick={() => { onClick={() => {
if (!vals.contact || !vals.telephone || !vals.companyName) { if (!vals.contact || !vals.telephone || !vals.companyName) {
...@@ -424,49 +426,44 @@ function Layout({ children, location }) { ...@@ -424,49 +426,44 @@ function Layout({ children, location }) {
> >
<PhoneFilled rotate={90} /> <PhoneFilled rotate={90} />
</div> </div>
025-86111901 <span style={{ color: '#1890ff' }}>025-86111901</span>
</Col> </Col>
<Col <Popover
{...colds} content={
className="center" <img
style={{ src={
fontSize: '0.8rem', 'https://ng-website.oss-cn-hangzhou.aliyuncs.com/assets/qrcode.png'
cursor: 'pointer', }
margin: '0.3rem 0', style={{ width: '168px', margin: '8px 0' }}
}} />
onClick={() => { }
Modal.info({
title: '添加微信',
content: (
<img
src={
'https://ng-website.oss-cn-hangzhou.aliyuncs.com/assets/qrcode.png'
}
style={{ width: '100%' }}
/>
),
okButtonProps: {
style: { display: 'none' },
},
maskClosable: true,
});
}}
> >
<div <Col
{...colds}
className="center" className="center"
style={{ style={{
marginRight: 18, fontSize: '0.8rem',
color: 'rgba(1, 92, 172, 1)', cursor: 'pointer',
backgroundColor: 'rgba(69, 176, 53, 1)', margin: '0.3rem 0',
width: '1.5rem',
height: '1.5rem',
borderRadius: '50%',
}} }}
> >
<WechatFilled style={{ color: '#FFFFFF' }} /> <div
</div> className="center"
微信咨询 style={{
</Col> marginRight: 18,
color: 'rgba(1, 92, 172, 1)',
backgroundColor: 'rgba(69, 176, 53, 1)',
width: '1.5rem',
height: '1.5rem',
borderRadius: '50%',
}}
>
<WechatFilled style={{ color: '#FFFFFF' }} />
</div>
<span style={{ color: 'rgba(69, 176, 53, 1)' }}>微信咨询</span>
</Col>
</Popover>
<Col <Col
{...cola} {...cola}
className="center" className="center"
...@@ -474,6 +471,10 @@ function Layout({ children, location }) { ...@@ -474,6 +471,10 @@ function Layout({ children, location }) {
> >
<div <div
className={styles.diybtn} className={styles.diybtn}
style={{
backgroundColor: !colls ? '#1890ff' : '#999999',
color: '#fff',
}}
onClick={() => { onClick={() => {
setcolls(!colls); setcolls(!colls);
setvals({}); setvals({});
......
...@@ -117,7 +117,7 @@ ...@@ -117,7 +117,7 @@
.navbar { .navbar {
padding: 0 2rem !important; padding: 0 2rem !important;
border-top: 1px solid #f0f0f0 !important; border-top: 1px solid #f0f0f0 !important;
background-color: rgba(255, 255, 255, 0.5); background-color: rgba(255, 255, 255, 0.85);
margin-top: 3rem; margin-top: 3rem;
} }
.diybtn { .diybtn {
......
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