You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
619 lines
47 KiB
619 lines
47 KiB
<header class="site-header">
|
|
<div class="site-header__top">
|
|
<a class="site-header__phone" href="tel:{hcTaglib:setting name="company_phone" type="1" /}">
|
|
<span class="site-header__icon site-header__icon--24" aria-hidden="true">
|
|
<svg
|
|
viewBox="0 0 24 24"
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
width="24.000000"
|
|
height="24.000000"
|
|
fill="none"
|
|
>
|
|
<g>
|
|
<rect
|
|
id="Linear / Call / Incoming Call Rounded"
|
|
width="24.000000"
|
|
height="24.000000"
|
|
x="0.000000"
|
|
y="0.000000"
|
|
/>
|
|
<path
|
|
id="Vector"
|
|
d="M0 3.2L3.2 0M0.8 0L3.2 0L3.2 2.4"
|
|
stroke="currentColor"
|
|
stroke-linecap="round"
|
|
stroke-width="1.500000"
|
|
transform="matrix(-1,0,0,-1,17.5996,9.59961)"
|
|
/>
|
|
<path
|
|
id="Vector"
|
|
d="M10.4297 6.65255C9.72215 5.38476 7.94421 5.23503 6.82985 6.34939C6.16025 7.019 5.63923 7.83929 5.60485 8.74608C5.54698 10.2726 5.93331 12.865 8.53377 15.4654C11.1342 18.0659 13.7266 18.4522 15.2531 18.3944C16.1599 18.36 16.9802 17.839 17.6498 17.1694C18.7642 16.055 18.6145 14.2771 17.3467 13.5695L16.4163 13.0503C15.5767 12.5818 14.4753 12.7699 13.7374 13.5078C13.7374 13.5078 12.8422 14.403 11.2192 12.78C9.59623 11.157 10.4914 10.2619 10.4914 10.2619C11.2294 9.52387 11.4175 8.42248 10.9489 7.58289L10.4297 6.65255Z"
|
|
fill-rule="evenodd"
|
|
stroke="currentColor"
|
|
stroke-width="1.500000"
|
|
/>
|
|
</g>
|
|
</svg>
|
|
</span>
|
|
<span>{hcTaglib:setting name="company_phone" type="1" /}</span>
|
|
</a>
|
|
<div class="site-header__socials" aria-label="Social accounts">
|
|
<span class="site-header__social site-header__social--wechat" tabindex="0" aria-label="WeChat" role="button">
|
|
<span class="site-header__icon" aria-hidden="true">
|
|
<svg
|
|
viewBox="0 0 16 16"
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
width="16.000000"
|
|
height="16.000000"
|
|
fill="none"
|
|
>
|
|
<rect id="微信 1" width="16.000000" height="16.000000" x="0.000000" y="0.000000" />
|
|
<path
|
|
id="矢量 4"
|
|
d="M10.7269 5.47152C10.9091 5.47152 11.0884 5.48527 11.2686 5.50491C10.7833 3.26405 8.36754 1.59961 5.60907 1.59961C2.52571 1.59961 0 3.68237 0 6.32878C0 7.85575 0.839924 9.10973 2.24442 10.0838L1.68381 11.7561L3.64495 10.782C4.34621 10.9185 4.9088 11.0599 5.60907 11.0599C5.78537 11.0599 5.95969 11.0521 6.13204 11.0393C6.02309 10.6671 5.9587 10.2783 5.9587 9.87272C5.9597 7.44332 8.06347 5.47152 10.7269 5.47152ZM7.71185 3.9642C8.13577 3.9642 8.4141 4.24013 8.4141 4.65845C8.4141 5.07481 8.13577 5.35369 7.71185 5.35369C7.29288 5.35369 6.87093 5.07481 6.87093 4.65845C6.87093 4.23915 7.29189 3.9642 7.71185 3.9642ZM3.78659 5.35369C3.36564 5.35369 2.94171 5.07481 2.94171 4.65845C2.94171 4.24013 3.36564 3.9642 3.78659 3.9642C4.20754 3.9642 4.48686 4.23915 4.48686 4.65845C4.48686 5.07481 4.20754 5.35369 3.78659 5.35369ZM15.8476 9.80595C15.8476 7.58276 13.6032 5.77102 11.0824 5.77102C8.41311 5.77102 6.3123 7.58374 6.3123 9.80595C6.3123 12.035 8.4141 13.8409 11.0824 13.8409C11.6411 13.8409 12.2046 13.7024 12.7653 13.563L14.3035 14.3996L13.8815 13.0091C15.0077 12.1705 15.8476 11.0599 15.8476 9.80595ZM9.53531 9.10973C9.25699 9.10973 8.9747 8.83478 8.9747 8.55393C8.9747 8.27702 9.25699 7.99814 9.53531 7.99814C9.96122 7.99814 10.2376 8.27702 10.2376 8.55393C10.2376 8.83478 9.96122 9.10973 9.53531 9.10973ZM12.6206 9.10973C12.3443 9.10973 12.063 8.83478 12.063 8.55393C12.063 8.27702 12.3433 7.99814 12.6206 7.99814C13.0426 7.99814 13.3229 8.27702 13.3229 8.55393C13.3229 8.83478 13.0426 9.10973 12.6206 9.10973Z"
|
|
fill="currentColor"
|
|
fill-rule="nonzero"
|
|
/>
|
|
</svg>
|
|
</span>
|
|
<span class="site-header__wechat-pop" role="tooltip">
|
|
<img src="{hcTaglib:setting name='wechat_code' type='2' /}" alt="Official WeChat" width="120" height="120" />
|
|
</span>
|
|
</span>
|
|
{php}
|
|
$content_arr = getDescriptionSeparate(707);
|
|
$douyin_url = $content_arr['0'] ?? '';
|
|
$sina_url = $content_arr['1'] ?? '';
|
|
$zhihu_url = $content_arr['2'] ?? '';
|
|
{/php}
|
|
<a class="site-header__social" href="{$douyin_url}" aria-label="Douyin" target="_blank">
|
|
<span class="site-header__icon" aria-hidden="true">
|
|
<svg
|
|
viewBox="0 0 16 16"
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
width="16.000000"
|
|
height="16.000000"
|
|
fill="none"
|
|
>
|
|
<rect id="抖音 1" width="16.000000" height="16.000000" x="0.000000" y="0.000000" />
|
|
<path
|
|
id="矢量 5"
|
|
d="M13.9794 6.79333C13.3937 6.79215 12.812 6.69975 12.2563 6.51966C11.7007 6.33956 11.1783 6.07409 10.709 5.73333L10.709 10.5467C10.7285 11.309 10.5414 12.0629 10.1665 12.7327C9.79154 13.4025 9.24201 13.9646 8.57303 14.3625C7.90405 14.7605 7.13916 14.9804 6.35517 15C5.57117 14.9804 4.80628 14.7605 4.1373 14.3625C3.46832 13.9646 2.91879 13.4025 2.54388 12.7327C2.16897 12.0629 1.98188 11.309 2.00138 10.5467C1.98189 9.78478 2.16907 9.03133 2.54411 8.36211C2.91915 7.69289 3.46882 7.13149 4.13783 6.7344C4.80683 6.3373 5.57159 6.1185 6.35517 6.1C6.58475 6.10134 6.81392 6.11916 7.0408 6.15333L7.0408 8.70667C6.82209 8.62421 6.58974 8.58129 6.35517 8.58C6.00331 8.58806 5.65991 8.68649 5.35981 8.86527C5.05971 9.04406 4.81358 9.29686 4.64642 9.59801C4.47925 9.89916 4.39698 10.2379 4.40796 10.58C4.39698 10.922 4.47925 11.2608 4.64642 11.562C4.81359 11.8631 5.05971 12.1159 5.35981 12.2947C5.65991 12.4735 6.00331 12.5719 6.35517 12.58C6.70624 12.5708 7.04859 12.4716 7.34762 12.2925C7.64665 12.1135 7.89177 11.8608 8.05821 11.5601C8.22464 11.2594 8.30651 10.9213 8.29552 10.58L8.29552 1L10.7227 1C10.7068 1.57291 10.8473 2.13969 11.1297 2.64274C11.4121 3.14579 11.8264 3.5672 12.3305 3.86413C12.8347 4.16107 13.4107 4.32295 14 4.33333L14 6.8"
|
|
fill="currentColor"
|
|
fill-rule="nonzero"
|
|
/>
|
|
</svg>
|
|
</span>
|
|
</a>
|
|
<a class="site-header__social" href="{$sina_url}" aria-label="Weibo" target="_blank">
|
|
<span class="site-header__icon" aria-hidden="true">
|
|
<svg
|
|
viewBox="0 0 16 16"
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
width="16.000000"
|
|
height="16.000000"
|
|
fill="none"
|
|
>
|
|
<rect id="微博 1" width="16.000000" height="16.000000" x="0.000000" y="0.000000" />
|
|
<path
|
|
id="矢量 6"
|
|
d="M10.7233 3.34315C11.5178 3.34315 15.3204 3.1342 14.6251 6.84876C14.528 7.25593 14.4549 7.87962 14.9319 8.01156C15.3664 8.12202 15.6339 7.66297 15.7536 7.31358C15.811 6.90686 17.5699 1.58349 10.787 2.02612C10.5702 2.06485 10.0891 2.25239 10.0857 2.65597C10.0823 3.05962 10.5076 3.32241 10.7233 3.34315ZM10.9368 4.95491C11.0637 4.93984 13.0406 4.58862 12.8787 6.69959C12.9082 6.89137 12.774 7.22011 13.0406 7.28757C13.3071 7.35505 13.4118 7.13335 13.4404 6.93093C13.4689 6.72851 13.9301 3.98259 10.9686 4.29944C10.7445 4.32443 10.5941 4.4601 10.6195 4.65931C10.6449 4.85852 10.81 4.96997 10.9368 4.95491ZM11.7752 8.24324C11.7752 8.24324 10.9783 8.41756 11.3544 7.81714C11.9476 6.64274 10.9839 4.71599 8.48541 5.99654C7.62471 6.46137 7.62471 6.13212 7.6534 5.55107C7.73079 2.37902 1.92492 4.64078 0.280009 8.76411C-0.647495 11.2669 0.837892 13.4299 3.1357 14.3732C8.74355 16.4008 12.8272 13.0465 13.5236 10.8773C14.4518 7.61856 11.7752 8.24324 11.7752 8.24324ZM6.39686 13.6222C3.74214 13.992 1.389 12.8113 1.14095 10.9852C0.892894 9.15907 2.84389 7.37896 5.4986 7.00921C8.1533 6.63946 10.5065 7.82008 10.7545 9.64622C11.0026 11.4723 9.05158 13.2525 6.39686 13.6222ZM8.42041 9.81629C8.20974 8.70379 6.91676 8.01982 5.53246 8.28862C4.14816 8.55742 3.19674 9.67717 3.40741 10.7897C3.61808 11.9022 4.91107 12.5861 6.29536 12.3173C7.67966 12.0485 8.63108 10.9288 8.42041 9.81629ZM5.36769 11.2912C4.88972 11.2912 4.50224 10.9573 4.50224 10.5454C4.50224 10.1335 4.88972 9.79952 5.36769 9.79952C5.84566 9.79952 6.23314 10.1335 6.23314 10.5454C6.23314 10.9573 5.84566 11.2912 5.36769 11.2912ZM6.78556 10.2843C6.60718 10.2843 6.42575 10.0673 6.42575 9.79952C6.42575 9.53178 6.60718 9.31473 6.78556 9.31473C6.96393 9.31473 7.14536 9.53178 7.14536 9.79952C7.14536 10.0673 6.96393 10.2843 6.78556 10.2843Z"
|
|
fill="currentColor"
|
|
fill-rule="nonzero"
|
|
/>
|
|
</svg>
|
|
</span>
|
|
</a>
|
|
<a class="site-header__social" href="{$zhihu_url}" aria-label="Zhihu" target="_blank">
|
|
<span class="site-header__icon" aria-hidden="true">
|
|
<svg
|
|
viewBox="0 0 16 16"
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
width="16.000000"
|
|
height="16.000000"
|
|
fill="none"
|
|
>
|
|
<rect id="知乎 1" width="16.000000" height="16.000000" x="0.000000" y="0.000000" />
|
|
<path
|
|
id="矢量 7"
|
|
d="M9.0083 12.6517L9.89959 12.6517L10.2232 13.7911L11.7917 12.6517L14 12.6517L14 3.56192L9.0083 3.56192L9.0083 12.6517ZM10.0639 4.57302L12.9793 4.57302L12.9793 11.6155L11.9485 11.6155L10.6241 12.6367L10.3353 11.6155L10.0639 11.6155L10.0639 4.57302ZM2 13.8615C2.314 13.9756 2.64861 14.02 2.98111 13.9918C3.3136 13.9635 3.63619 13.8634 3.92697 13.6981C4.87552 13.1321 5.5751 10.6396 5.5751 10.6396L7.81577 13.4289C7.81577 13.4289 8.01992 12.1009 7.78091 11.7262C7.54191 11.3514 6.23983 9.8423 6.23983 9.8423L5.66971 10.3453L6.07552 8.69538L8.49793 8.69538C8.49793 8.69538 8.49793 7.72452 8.02241 7.66919C7.54689 7.61386 6.07054 7.66919 6.07054 7.66919L6.07054 4.65099L8.24896 4.65099C8.24896 4.65099 8.22407 3.64492 7.80083 3.64492L4.24315 3.64492L4.79585 2C4.79585 2 3.89959 2.05282 3.5834 2.61873C3.26722 3.18464 2.239 6.10224 2.239 6.10224C2.239 6.10224 2.58008 6.26321 3.16017 5.8306C3.53203 5.52533 3.80014 5.11025 3.92697 4.64344L4.98257 4.59062L5.01245 7.67925C5.01245 7.67925 3.19253 7.65159 2.82407 7.67925C2.4556 7.70692 2.24398 8.70544 2.24398 8.70544L5.01245 8.70544C5.01245 8.70544 4.77593 10.4057 4.0639 11.6482C3.35187 12.8907 2 13.8615 2 13.8615L2 13.8615Z"
|
|
fill="currentColor"
|
|
fill-rule="nonzero"
|
|
/>
|
|
</svg>
|
|
</span>
|
|
</a>
|
|
</div>
|
|
{php}
|
|
$hc_lang = function_exists('getLang') ? getLang() : 'zh';
|
|
$hc_default_lang = config('lang.default_lang') ?: 'zh';
|
|
$hc_lang_ui = ($hc_lang === 'en') ? 'en' : 'zh';
|
|
{/php}
|
|
<button
|
|
type="button"
|
|
class="site-header__lang"
|
|
aria-label="Switch language"
|
|
data-lang-default="{$hc_default_lang}"
|
|
data-lang-current="{$hc_lang}"
|
|
>
|
|
<span class="site-header__icon" aria-hidden="true">
|
|
<svg
|
|
viewBox="0 0 16 16"
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
width="16.000000"
|
|
height="16.000000"
|
|
fill="none"
|
|
>
|
|
<rect id="语言 2" width="16.000000" height="16.000000" x="0.000000" y="0.000000" />
|
|
<path
|
|
id="矢量 10"
|
|
d="M9.873 14.15C9.696 13.813 9.507 13.323 9.611 13.03C9.6354 12.9452 9.67429 12.8652 9.72593 12.7936C9.77757 12.722 9.8412 12.6599 9.914 12.61C10.105 12.454 10.367 12.241 10.575 11.701C10.655 11.492 10.708 11.282 10.758 11.08C10.942 10.345 11.008 10.232 11.541 10.293C11.941 10.341 12.189 10.533 12.476 10.756C12.758 10.975 13.079 11.207 13.52 11.283C13.1147 11.9647 12.5871 12.5657 11.9635 13.0557C11.3399 13.5458 10.6312 13.9164 9.873 14.149M2.486 11.294C2.951 11.238 3.459 11.076 3.822 10.68C4.223 10.242 4.226 9.67 4.228 9.212C4.231 8.587 4.266 8.415 4.582 8.297C5.014 8.137 5.21 8.29 5.616 8.65C5.854 8.862 6.124 9.102 6.483 9.212C6.906 9.342 7.413 9.282 7.837 9.049C8.26 8.819 8.574 8.428 8.707 7.964L8.71 7.964L8.714 7.949L8.718 7.937C8.723 7.921 8.723 7.907 8.728 7.891C8.759 7.782 8.781 7.672 8.795 7.563C8.802 7.514 8.805 7.47 8.808 7.423C8.811 7.385 8.816 7.347 8.818 7.31C8.83087 7.06331 8.82619 6.81602 8.804 6.57C8.79484 6.4612 8.78884 6.35215 8.786 6.243C8.78356 6.14213 8.8088 6.04252 8.859 5.955C8.947 5.913 9.181 5.871 9.342 5.843C9.789 5.764 10.336 5.664 10.666 5.276L10.671 5.273L10.67 5.273C10.69 5.249 10.711 5.229 10.729 5.203C11.287 4.417 11.253 3.604 10.641 3.082C10.5924 3.04235 10.542 3.00497 10.49 2.97C10.13 2.72 9.976 2.543 10.081 2.218C10.112 2.12 10.146 2.035 10.179 1.958C11.4229 2.40565 12.4984 3.22602 13.259 4.30728C14.0195 5.38853 14.4281 6.67804 14.429 8C14.429 8.774 14.284 9.513 14.034 10.2C13.9568 10.2233 13.8773 10.2387 13.797 10.246C13.577 10.246 13.417 10.131 13.133 9.909C12.789 9.642 12.361 9.311 11.666 9.229C10.168 9.051 9.885 10.159 9.719 10.819C9.677 10.988 9.636 11.159 9.574 11.317C9.469 11.591 9.382 11.662 9.237 11.78C9.049 11.934 8.791 12.144 8.603 12.67C8.393 13.253 8.584 13.906 8.793 14.374C8.533 14.407 8.269 14.429 8 14.429C6.88828 14.4285 5.79575 14.1393 4.82936 13.5898C3.86297 13.0402 3.05584 12.2492 2.487 11.294M7.999 1.571C8.389 1.571 8.768 1.611 9.138 1.678C9.10993 1.74743 9.08425 1.81781 9.061 1.889C8.694 3.026 9.586 3.646 9.878 3.849L9.945 3.896C10.01 3.952 10.176 4.101 9.885 4.538C9.781 4.627 9.675 4.643 9.415 4.655C9.067 4.672 8.542 4.697 8.076 5.215L8.074 5.218L8.073 5.219L8.067 5.224C8.057 5.235 8.051 5.247 8.042 5.258C7.795 5.548 7.725 5.865 7.717 6.176C7.70977 6.37943 7.71444 6.58311 7.731 6.786C7.744 7.001 7.756 7.207 7.738 7.39C7.72669 7.47875 7.70932 7.56662 7.686 7.653C7.65961 7.74994 7.6136 7.84043 7.55081 7.91887C7.48803 7.99731 7.40981 8.06202 7.321 8.109C7.151 8.203 6.944 8.234 6.799 8.189C6.662 8.146 6.499 8.002 6.326 7.849C5.902 7.472 5.26 6.902 4.208 7.293C3.164 7.683 3.16 8.599 3.157 9.206C3.155 9.524 3.153 9.824 3.032 9.956C2.808 10.201 2.349 10.253 1.982 10.244C1.71189 9.52664 1.57301 8.76653 1.572 8C1.572 6.87159 1.869 5.76305 2.43316 4.78579C2.99731 3.80853 3.80875 2.99696 4.78592 2.43266C5.7631 1.86835 6.87159 1.57118 8 1.571M8 0.5C3.864 0.5 0.5 3.864 0.5 8C0.5 12.136 3.864 15.5 8 15.5C12.136 15.5 15.5 12.136 15.5 8C15.5 3.864 12.136 0.5 8 0.5Z"
|
|
fill="currentColor"
|
|
fill-rule="nonzero"
|
|
/>
|
|
</svg>
|
|
</span>
|
|
<span class="site-header__lang-opt{if $hc_lang_ui=='en'} site-header__lang-active{/if}" data-lang="en">EN</span>
|
|
<span>/</span>
|
|
<span class="site-header__lang-opt{if $hc_lang_ui=='zh'} site-header__lang-active{/if}" data-lang="zh">CN</span>
|
|
</button>
|
|
</div>
|
|
<div class="site-header__main">
|
|
<a href="/" class="header-logo" aria-label="RAYNEN Technology">
|
|
<img
|
|
class="header-logo__img--default"
|
|
src="{hcTaglib:setting name='logo' type='2' /}"
|
|
alt="RAYNEN Technology"
|
|
width="252"
|
|
height="26"
|
|
/>
|
|
<img
|
|
class="header-logo__img--dark"
|
|
src="{hcTaglib:setting name='dark_logo' type='2' /}"
|
|
alt="RAYNEN Technology"
|
|
width="252"
|
|
height="26"
|
|
/>
|
|
</a>
|
|
<nav class="site-header__nav" aria-label="Main navigation">
|
|
<ul>
|
|
{hcTaglib:nav cid="47" max-level="2" item="vo" name="hc_header_nav" sort="sort asc"}
|
|
{php}
|
|
$nav_title = $vo['title'] ?? '';
|
|
$nav_href = $vo['href'] ?? '';
|
|
$nav_id = (int)($vo['id'] ?? 0);
|
|
$nav_cid = (int)($vo['category_id'] ?? 0);
|
|
$nav_children = $vo['children'] ?? [];
|
|
// 产品 333 / 解决方案 345 走特殊下拉
|
|
$nav_is_product = ($nav_cid === 333);
|
|
$nav_is_solution = ($nav_cid === 345);
|
|
$nav_is_home = ($nav_cid === 36);
|
|
// 普通下拉面板样式 class
|
|
$nav_mega_map = [
|
|
355 => 'support', // 服务支持
|
|
361 => 'news', // 新闻动态
|
|
365 => 'invest', // 投资者关系
|
|
371 => 'about', // 关于睿能
|
|
];
|
|
$nav_mega_class = $nav_mega_map[$nav_cid] ?? 'support';
|
|
{/php}
|
|
{if $nav_is_product}
|
|
<!-- 产品导航(特殊处理) -->
|
|
<li class="site-header__nav-item site-header__nav-item--mega">
|
|
{hcTaglib:category id="333" item="vo" field="*"}
|
|
<a
|
|
href="{$vo.alias}"
|
|
class="site-header__nav-link"
|
|
aria-expanded="false"
|
|
>
|
|
{$vo.title}
|
|
<span class="site-header__chevron" aria-hidden="true">
|
|
<svg
|
|
viewBox="0 0 11.2734 6.90918"
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
width="11.273438"
|
|
height="6.909180"
|
|
fill="none"
|
|
>
|
|
<path
|
|
id="矢量 2"
|
|
d="M0.636719 0.636272L5.63672 5.63627L10.6368 0.63623"
|
|
stroke="currentColor"
|
|
stroke-width="1.800000"
|
|
/>
|
|
</svg>
|
|
</span>
|
|
</a>
|
|
{/hcTaglib:category}
|
|
|
|
<!-- 产品导航下拉面板 -->
|
|
<div class="nav-mega product" id="nav-mega-product">
|
|
<div class="nav-mega__inner">
|
|
<div class="nav-mega__dropdown-content product">
|
|
<aside class="nav-mega__cats" aria-label="Product categories">
|
|
{hcTaglib:subcategory pid="333" item="vo" sort=""}
|
|
|
|
<button type="button" class="nav-mega__cat {if $key==1}is-active{/if}" data-mega-cat="product_{$key}">
|
|
<span>{$vo.title}</span>
|
|
<span class="nav-mega__cat-arrow" aria-hidden="true">
|
|
<svg
|
|
viewBox="-1 -1 8.59082 13.0605"
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
fill="none"
|
|
>
|
|
<path
|
|
d="M0 4.12464e-05L5 5.00004L10 0"
|
|
stroke="currentColor"
|
|
stroke-width="1.5"
|
|
stroke-linecap="round"
|
|
stroke-linejoin="round"
|
|
transform="matrix(0,-1,1,0,0.530273,10.5303)"
|
|
/>
|
|
</svg>
|
|
</span>
|
|
</button>
|
|
{/hcTaglib:subcategory}
|
|
|
|
</aside>
|
|
<div class="nav-mega__main">
|
|
<div class="nav-mega__panels">
|
|
{hcTaglib:subcategory pid="333" item="vo" sort=""}
|
|
<div class="nav-mega__panel {if $key==1}is-active{/if}" data-mega-panel="product_{$key}" {if $key!=1}hidden{/if}>
|
|
{php}
|
|
$sub_cate_id = $vo['id']; // 获取子分类的ID
|
|
{/php}
|
|
<a class="nav-mega__heading" href="{$vo.alias}?cat=product-control-{$vo.id}">
|
|
<span>{$vo.title}</span>
|
|
<span class="nav-mega__heading-arrow" aria-hidden="true">
|
|
<svg
|
|
viewBox="-1 -1 8.59082 13.0605"
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
fill="none"
|
|
>
|
|
<path
|
|
d="M0 4.12464e-05L5 5.00004L10 0"
|
|
stroke="currentColor"
|
|
stroke-width="1.5"
|
|
stroke-linecap="round"
|
|
stroke-linejoin="round"
|
|
transform="matrix(0,-1,1,0,0.530273,10.5303)"
|
|
/>
|
|
</svg>
|
|
</span>
|
|
</a>
|
|
<div class="nav-mega__body">
|
|
<div class="nav-mega__cols">
|
|
<!-- 一级栏目展示产品 -->
|
|
{if ($vo.need_show_sub_content==1)}
|
|
{hcTaglib:contentPage2 cid="$vo.id" mainField="id,category_id,title,sub_title" subField="" name="hc_content_tmp" limit="30" item="content_one" sort="sort asc"}
|
|
{/hcTaglib:contentPage2}
|
|
|
|
{if !empty($hc_content)}
|
|
<ul class="nav-mega__links">
|
|
{volist name="hc_content_tmp" id="vo_content_tmp"}
|
|
<li><a href="{:hcUrl('detail/index',['id'=>$vo_content_tmp['id'],'cid'=>$vo_content_tmp['category_id']])}">{$vo_content_tmp.title}</a></li>
|
|
{/volist}
|
|
</ul>
|
|
{/if}
|
|
|
|
{/if}
|
|
|
|
|
|
{hcTaglib:subcategory pid="$sub_cate_id" item="vo22" sort=""}
|
|
<div class="nav-mega__col">
|
|
<div class="nav-mega__group">
|
|
<a class="nav-mega__group-title" href="{$vo.alias}?cat=product-control-{$vo.id}&sub=product-plc-{$vo22.id}">{$vo22.title}</a>
|
|
<!-- 获取当前分类下的内容 -->
|
|
{hcTaglib:contentPage2 cid="$vo22.id" mainField="id,category_id,title,sub_title" subField="" name="hc_content" limit="30" item="content22" sort="sort asc"}
|
|
{/hcTaglib:contentPage2}
|
|
{if !empty($hc_content) && $vo22.need_show_sub_content==1}
|
|
<ul class="nav-mega__links">
|
|
{volist name="hc_content" id="vo_content"}
|
|
<li><a href="{:hcUrl('detail/index',['id'=>$vo_content['id'],'cid'=>$vo_content['category_id']])}">{$vo_content.title}</a></li>
|
|
{/volist}
|
|
</ul>
|
|
{/if}
|
|
|
|
{php}
|
|
$sub_cate_id22 = $vo22['id']; // 获取子分类的ID
|
|
{/php}
|
|
|
|
{hcTaglib:subcategory pid="$sub_cate_id22" item="vo33" sort=""}
|
|
<div class="nav-mega__subgroup">
|
|
<div class="nav-mega__subgroup-head">
|
|
<button type="button" class="nav-mega__subgroup-title">{$vo33.title}</button>
|
|
<button type="button" class="nav-mega__subgroup-toggle" aria-expanded="false" aria-label="Expand/collapse">
|
|
<svg viewBox="-1 -1 8.59082 13.0605" xmlns="http://www.w3.org/2000/svg" fill="none">
|
|
<path d="M0 4.12464e-05L5 5.00004L10 0" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" transform="matrix(0,-1,1,0,0.530273,10.5303)" />
|
|
</svg>
|
|
</button>
|
|
</div>
|
|
<!-- 获取当前子分类下的内容 -->
|
|
{hcTaglib:contentPage2 cid="$vo33.id" mainField="id,category_id,title,sub_title" subField="" name="hc_content33" limit="30" item="content33" sort="sort asc"}
|
|
{/hcTaglib:contentPage2}
|
|
{if !empty($hc_content33)}
|
|
<ul class="nav-mega__links">
|
|
{volist name="hc_content33" id="vo_content33"}
|
|
<li><a href="{:hcUrl('detail/index',['id'=>$vo_content33['id'],'cid'=>$vo_content33['category_id']])}">{$vo_content33.title}</a></li>
|
|
{/volist}
|
|
</ul>
|
|
{/if}
|
|
|
|
</div>
|
|
{/hcTaglib:subcategory}
|
|
|
|
</div>
|
|
</div>
|
|
{/hcTaglib:subcategory}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{/hcTaglib:subcategory}
|
|
|
|
</div>
|
|
|
|
<div class="nav-mega__promo-side">
|
|
{hcTaglib:category id="364" item="vo" field="*"}
|
|
{php}
|
|
$zhanhui_and_activity = $vo;
|
|
$thumbnail_url_header = $vo['thumbnail']['url'] ?? '';
|
|
{/php}
|
|
{/hcTaglib:category}
|
|
<a class="nav-mega__promo" href="{$zhanhui_and_activity.alias}">
|
|
<div class="nav-mega__promo-media">
|
|
<img
|
|
src="{$thumbnail_url_header}"
|
|
alt=""
|
|
width="320"
|
|
height="200"
|
|
loading="lazy"
|
|
/>
|
|
</div>
|
|
<div class="nav-mega__promo-title">
|
|
<span>{$zhanhui_and_activity.title}</span>
|
|
<span class="nav-mega__promo-arrow" aria-hidden="true">
|
|
<svg
|
|
viewBox="-1 -1 8.59082 13.0605"
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
fill="none"
|
|
>
|
|
<path
|
|
d="M0 4.12464e-05L5 5.00004L10 0"
|
|
stroke="currentColor"
|
|
stroke-width="1.5"
|
|
stroke-linecap="round"
|
|
stroke-linejoin="round"
|
|
transform="matrix(0,-1,1,0,0.530273,10.5303)"
|
|
/>
|
|
</svg>
|
|
</span>
|
|
</div>
|
|
<p class="nav-mega__promo-desc">Learn about RAYNEN’s latest events</p>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</li>
|
|
{elseif $nav_is_solution /}
|
|
<!-- 解决方案(特殊处理) -->
|
|
<li class="site-header__nav-item site-header__nav-item--mega">
|
|
<a
|
|
href="javascript:void(0);"
|
|
class="site-header__nav-link"
|
|
data-mega-trigger="solution"
|
|
aria-expanded="false"
|
|
aria-controls="nav-mega-solution"
|
|
>
|
|
Solutions
|
|
<span class="site-header__chevron" aria-hidden="true">
|
|
<svg
|
|
viewBox="0 0 11.2734 6.90918"
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
width="11.273438"
|
|
height="6.909180"
|
|
fill="none"
|
|
>
|
|
<path
|
|
id="矢量 2"
|
|
d="M0.636719 0.636272L5.63672 5.63627L10.6368 0.63623"
|
|
stroke="currentColor"
|
|
stroke-width="1.800000"
|
|
/>
|
|
</svg>
|
|
</span>
|
|
</a>
|
|
<!-- 解决方案导航下拉面板 -->
|
|
<div class="nav-mega nav-mega--solution" id="nav-mega-solution">
|
|
<div class="nav-mega__inner">
|
|
<div class="nav-mega__dropdown-content solution">
|
|
<div class="nav-mega__cols nav-mega__cols--solution">
|
|
{hcTaglib:allSubCategory pid="345" item="vo" sort=""}
|
|
<div class="nav-mega__col">
|
|
<div class="nav-mega__group">
|
|
<span class="nav-mega__group-title">{$vo.title}</span>
|
|
<ul class="nav-mega__links">
|
|
{volist name="vo.children" id="vvv"}
|
|
<li><a href="{$vvv.alias}">{$vvv.title}</a></li>
|
|
{/volist}
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
{/hcTaglib:allSubCategory}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</li>
|
|
{elseif condition="!empty($nav_children)" /}
|
|
<!-- 普通下拉导航 -->
|
|
<li class="site-header__nav-item site-header__nav-item--mega">
|
|
<a
|
|
href="{$nav_href}"
|
|
class="site-header__nav-link"
|
|
aria-expanded="false"
|
|
aria-controls="nav-mega-{$nav_id}"
|
|
>
|
|
{$nav_title}
|
|
<span class="site-header__chevron" aria-hidden="true">
|
|
<svg
|
|
viewBox="0 0 11.2734 6.90918"
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
width="11.273438"
|
|
height="6.909180"
|
|
fill="none"
|
|
>
|
|
<path
|
|
id="矢量 2"
|
|
d="M0.636719 0.636272L5.63672 5.63627L10.6368 0.63623"
|
|
stroke="currentColor"
|
|
stroke-width="1.800000"
|
|
/>
|
|
</svg>
|
|
</span>
|
|
</a>
|
|
<div class="nav-mega" id="nav-mega-{$nav_id}">
|
|
<div class="nav-mega__inner">
|
|
<div class="nav-mega__dropdown-content {$nav_mega_class}">
|
|
<ul class="nav-mega__row">
|
|
{volist name="nav_children" id="child"}
|
|
<li><a href="{$child.href ?? ''}">{$child.title}</a></li>
|
|
{/volist}
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</li>
|
|
{else /}
|
|
<!-- 无子级:普通链接 -->
|
|
<li class="site-header__nav-item">
|
|
<a href="{$nav_href}"{if condition="$nav_is_home"} class="is-active"{/if}>{$nav_title}</a>
|
|
</li>
|
|
{/if}
|
|
{/hcTaglib:nav}
|
|
</ul>
|
|
</nav>
|
|
<div class="site-header__actions">
|
|
<form class="site-header__search" action="/search.html" method="get" role="search">
|
|
<input
|
|
class="site-header__search-input"
|
|
type="search"
|
|
name="q"
|
|
placeholder="Search keywords"
|
|
autocomplete="off"
|
|
/>
|
|
<button class="site-header__search-btn" type="submit" aria-label="Search">
|
|
<img
|
|
src="data:image/svg+xml,%3csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='24.000000'%20height='24.000000'%20fill='none'%3e%3crect%20id='搜索'%20width='24.000000'%20height='24.000000'%20x='0.000000'%20y='0.000000'%20fill='rgb(255,255,255)'%20fill-opacity='0'%20/%3e%3cpath%20id='矢量%203'%20d='M15.8481%2017.1208C14.4808%2018.2114%2012.7482%2018.8633%2010.8633%2018.8633C6.44506%2018.8633%202.86328%2015.2816%202.86328%2010.8633C2.86328%206.445%206.44506%202.86328%2010.8633%202.86328C15.2815%202.86328%2018.8633%206.445%2018.8633%2010.8633C18.8633%2012.7482%2018.2114%2014.4808%2017.1208%2015.8481L21.136%2019.8633L19.8633%2021.136L15.8481%2017.1208ZM17.0632%2010.8633C17.0632%207.43908%2014.2874%204.66326%2010.8633%204.66326C7.4392%204.66326%204.66332%207.43908%204.66332%2010.8633C4.66332%2014.2875%207.4392%2017.0633%2010.8633%2017.0633C14.2874%2017.0633%2017.0632%2014.2875%2017.0632%2010.8633Z'%20fill='rgb(0,0,0)'%20fill-rule='evenodd'%20/%3e%3c/svg%3e"
|
|
alt=""
|
|
width="24"
|
|
height="24"
|
|
/>
|
|
</button>
|
|
</form>
|
|
<a class="s-btn s-btn--primary site-header__cta" href="/contact.html">Contact us</a>
|
|
</div>
|
|
<div class="site-header__extras">
|
|
<button class="site-header__extra-btn lang" type="button" aria-label="Switch language">
|
|
<svg
|
|
viewBox="0 0 32 32"
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
width="32.000000"
|
|
height="32.000000"
|
|
fill="none"
|
|
customFrame="#000000"
|
|
>
|
|
<path
|
|
id="矢量 10"
|
|
d="M19.746 28.3C19.392 27.626 19.014 26.646 19.222 26.06C19.2708 25.8903 19.3486 25.7304 19.4519 25.5872C19.5551 25.4441 19.6824 25.3198 19.828 25.22C20.21 24.908 20.734 24.482 21.15 23.402C21.31 22.984 21.416 22.564 21.516 22.16C21.884 20.69 22.016 20.464 23.082 20.586C23.882 20.682 24.378 21.066 24.952 21.512C25.516 21.95 26.158 22.414 27.04 22.566C26.2295 23.9294 25.1741 25.1314 23.927 26.1115C22.6798 27.0915 21.2624 27.8328 19.746 28.298M4.972 22.588C5.902 22.476 6.918 22.152 7.644 21.36C8.446 20.484 8.452 19.34 8.456 18.424C8.462 17.174 8.532 16.83 9.164 16.594C10.028 16.274 10.42 16.58 11.232 17.3C11.708 17.724 12.248 18.204 12.966 18.424C13.812 18.684 14.826 18.564 15.674 18.098C16.52 17.638 17.148 16.856 17.414 15.928L17.42 15.928L17.428 15.898L17.436 15.874C17.446 15.842 17.446 15.814 17.456 15.782C17.518 15.564 17.562 15.344 17.59 15.126C17.604 15.028 17.61 14.94 17.616 14.846C17.622 14.77 17.632 14.694 17.636 14.62C17.6617 14.1266 17.6524 13.632 17.608 13.14C17.5897 12.9224 17.5777 12.7043 17.572 12.486C17.5671 12.2843 17.6176 12.085 17.718 11.91C17.894 11.826 18.362 11.742 18.684 11.686C19.578 11.528 20.672 11.328 21.332 10.552L21.342 10.546L21.34 10.546C21.38 10.498 21.422 10.458 21.458 10.406C22.574 8.834 22.506 7.208 21.282 6.164C21.1849 6.08469 21.0841 6.00994 20.98 5.94C20.26 5.44 19.952 5.086 20.162 4.436C20.224 4.24 20.292 4.07 20.358 3.916C22.8457 4.81129 24.9968 6.45204 26.5179 8.61455C28.039 10.7771 28.8562 13.3561 28.858 16C28.858 17.548 28.568 19.026 28.068 20.4C27.9135 20.4466 27.7547 20.4774 27.594 20.492C27.154 20.492 26.834 20.262 26.266 19.818C25.578 19.284 24.722 18.622 23.332 18.458C20.336 18.102 19.77 20.318 19.438 21.638C19.354 21.976 19.272 22.318 19.148 22.634C18.938 23.182 18.764 23.324 18.474 23.56C18.098 23.868 17.582 24.288 17.206 25.34C16.786 26.506 17.168 27.812 17.586 28.748C17.066 28.814 16.538 28.858 16 28.858C13.7766 28.857 11.5915 28.2786 9.65872 27.1796C7.72594 26.0805 6.11169 24.4983 4.974 22.588M15.998 3.142C16.778 3.142 17.536 3.222 18.276 3.356C18.2199 3.49487 18.1685 3.63562 18.122 3.778C17.388 6.052 19.172 7.292 19.756 7.698L19.89 7.792C20.02 7.904 20.352 8.202 19.77 9.076C19.562 9.254 19.35 9.286 18.83 9.31C18.134 9.344 17.084 9.394 16.152 10.43L16.148 10.436L16.146 10.438L16.134 10.448C16.114 10.47 16.102 10.494 16.084 10.516C15.59 11.096 15.45 11.73 15.434 12.352C15.4195 12.7589 15.4289 13.1662 15.462 13.572C15.488 14.002 15.512 14.414 15.476 14.78C15.4534 14.9575 15.4186 15.1332 15.372 15.306C15.3192 15.4999 15.2272 15.6809 15.1016 15.8377C14.9761 15.9946 14.8196 16.124 14.642 16.218C14.302 16.406 13.888 16.468 13.598 16.378C13.324 16.292 12.998 16.004 12.652 15.698C11.804 14.944 10.52 13.804 8.416 14.586C6.328 15.366 6.32 17.198 6.314 18.412C6.31 19.048 6.306 19.648 6.064 19.912C5.616 20.402 4.698 20.506 3.964 20.488C3.42378 19.0533 3.14602 17.5331 3.144 16C3.144 13.7432 3.738 11.5261 4.86631 9.57158C5.99462 7.61705 7.61749 5.99393 9.57184 4.86531C11.5262 3.7367 13.7432 3.14235 16 3.142M16 1C7.728 1 1 7.728 1 16C1 24.272 7.728 31 16 31C24.272 31 31 24.272 31 16C31 7.728 24.272 1 16 1Z"
|
|
fill="currentColor"
|
|
fill-rule="nonzero"
|
|
/>
|
|
<path
|
|
id="矢量 10"
|
|
d="M16 0C24.8235 0 32 7.17653 32 16C32 24.8235 24.8235 32 16 32C7.17653 32 0 24.8235 0 16C0 7.17653 7.17653 0 16 0ZM1 16C1 7.728 7.728 1 16 1C24.272 1 31 7.728 31 16C31 24.272 24.272 31 16 31C7.728 31 1 24.272 1 16Z"
|
|
fill="currentColor"
|
|
fill-rule="evenodd"
|
|
/>
|
|
</svg>
|
|
</button>
|
|
<a href="/search.html" class="site-header__extra-btn search" aria-label="Search">
|
|
<svg
|
|
viewBox="0 0 32.9434 32"
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
width="32.943359"
|
|
height="32.000000"
|
|
fill="none"
|
|
customFrame="#000000"
|
|
>
|
|
<path
|
|
id="矢量 3"
|
|
d="M22.7394 24.9684C20.3451 26.8783 17.3108 28.0198 14.0099 28.0198C6.27256 28.0198 0 21.7474 0 14.0099C0 6.27246 6.27256 0 14.0099 0C21.7473 0 28.0198 6.27246 28.0198 14.0099C28.0198 16.9923 27.088 19.757 25.4995 22.0287L32.944 28.9999L29.7711 32L22.7394 24.9684ZM23.8675 14.0099C23.8675 8.01334 20.0063 4.15222 14.0099 4.15222C8.01354 4.15222 4.15232 8.01334 4.15232 14.0099C4.15232 20.0065 8.01354 23.8676 14.0099 23.8676C20.0063 23.8676 23.8675 20.0065 23.8675 14.0099Z"
|
|
fill="currentColor"
|
|
fill-rule="evenodd"
|
|
/>
|
|
</svg>
|
|
</a>
|
|
<button
|
|
class="site-header__extra-btn toggle"
|
|
type="button"
|
|
aria-expanded="false"
|
|
aria-controls="mask"
|
|
aria-label="Open menu"
|
|
>
|
|
<svg class="nav-toggle-icon" viewBox="0 0 24 24" xmlns="http://www.w3.org/1999/svg" aria-hidden="true">
|
|
<rect
|
|
class="nav-toggle-icon__bar nav-toggle-icon__bar--top"
|
|
x="4"
|
|
y="6"
|
|
width="16"
|
|
height="2"
|
|
rx="1"
|
|
/>
|
|
<rect
|
|
class="nav-toggle-icon__bar nav-toggle-icon__bar--mid"
|
|
x="4"
|
|
y="11"
|
|
width="16"
|
|
height="2"
|
|
rx="1"
|
|
/>
|
|
<rect
|
|
class="nav-toggle-icon__bar nav-toggle-icon__bar--bot"
|
|
x="4"
|
|
y="16"
|
|
width="16"
|
|
height="2"
|
|
rx="1"
|
|
/>
|
|
</svg>
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</header>
|
|
{php}
|
|
// 获取股票信息
|
|
$stockInfo = getStockInfo('603933');
|
|
// 判断涨跌颜色
|
|
$priceColor = '';
|
|
if ($stockInfo['change'] !== '--') {
|
|
$changeVal = floatval(str_replace(['+', '-'], '', $stockInfo['change']));
|
|
if ($stockInfo['change'][0] === '+') {
|
|
$priceColor = 'color: #ef4335'; // 上涨红色
|
|
} elseif ($stockInfo['change'][0] === '-') {
|
|
$priceColor = 'color: #00b894'; // 下跌绿色
|
|
}
|
|
}
|
|
{/php}
|