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,8 +426,18 @@ function Layout({ children, location }) { ...@@ -424,8 +426,18 @@ function Layout({ children, location }) {
> >
<PhoneFilled rotate={90} /> <PhoneFilled rotate={90} />
</div> </div>
025-86111901 <span style={{ color: '#1890ff' }}>025-86111901</span>
</Col> </Col>
<Popover
content={
<img
src={
'https://ng-website.oss-cn-hangzhou.aliyuncs.com/assets/qrcode.png'
}
style={{ width: '168px', margin: '8px 0' }}
/>
}
>
<Col <Col
{...colds} {...colds}
className="center" className="center"
...@@ -434,23 +446,6 @@ function Layout({ children, location }) { ...@@ -434,23 +446,6 @@ function Layout({ children, location }) {
cursor: 'pointer', cursor: 'pointer',
margin: '0.3rem 0', margin: '0.3rem 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 <div
className="center" className="center"
...@@ -465,8 +460,10 @@ function Layout({ children, location }) { ...@@ -465,8 +460,10 @@ function Layout({ children, location }) {
> >
<WechatFilled style={{ color: '#FFFFFF' }} /> <WechatFilled style={{ color: '#FFFFFF' }} />
</div> </div>
微信咨询 <span style={{ color: 'rgba(69, 176, 53, 1)' }}>微信咨询</span>
</Col> </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