how to change the position of search box in front end?
解决方案
In your Custom/Theme/Magento_Theme/layout/default.xml
<move element="top.search" destination="header.panel" before="minicart" />
解决方案
In your Custom/Theme/Magento_Theme/layout/default.xml
<move element="top.search" destination="header.panel" before="minicart" />