forked from gxwebsoft/mp-10550
优化下单流程
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import {useEffect, useState} from "react";
|
||||
import Taro from '@tarojs/taro';
|
||||
import {Button, Space} from '@nutui/nutui-react-taro'
|
||||
import {TriangleDown, Search} from '@nutui/icons-react-taro'
|
||||
import {TriangleDown} from '@nutui/icons-react-taro'
|
||||
import {Popup, Avatar, NavBar} from '@nutui/nutui-react-taro'
|
||||
import {getSiteInfo, getUserInfo, getWxOpenId} from "@/api/layout";
|
||||
import {TenantId} from "@/config/app";
|
||||
@@ -141,9 +141,10 @@ const Header = (props: any) => {
|
||||
return (
|
||||
<>
|
||||
<div className={'fixed top-0 header-bg'} style={{
|
||||
height: !props.stickyStatus ? '180px' : '94px',
|
||||
height: !props.stickyStatus ? '180px' : '148px',
|
||||
}}>
|
||||
{!props.stickyStatus && <MySearch done={reload}/>}
|
||||
<MySearch done={reload}/>
|
||||
{/*{!props.stickyStatus && <MySearch done={reload}/>}*/}
|
||||
</div>
|
||||
<NavBar
|
||||
style={{marginTop: `${statusBarHeight}px`, marginBottom: '0px', backgroundColor: 'transparent'}}
|
||||
@@ -173,11 +174,6 @@ const Header = (props: any) => {
|
||||
<TriangleDown className={'text-white'} size={9}/>
|
||||
</div>
|
||||
)}>
|
||||
{props.stickyStatus && (
|
||||
<Space>
|
||||
<Search className={'text-white mx-2'} size={18}/>
|
||||
</Space>
|
||||
)}
|
||||
</NavBar>
|
||||
<Popup
|
||||
visible={showBasic}
|
||||
|
||||
Reference in New Issue
Block a user