Browse Source

解决方案修改

master
loucongjun 3 weeks ago
parent
commit
4d7a009b83
  1. 5
      app/controller/frontend/ListController.php
  2. 132
      public/themes/website/1/zh/demo/solution2.html

5
app/controller/frontend/ListController.php

@ -51,6 +51,11 @@ class ListController extends BaseController
$template = $category['list_tpl']; $template = $category['list_tpl'];
// var_dump($template); // var_dump($template);
// exit(); // exit();
// 解决方案子分类
if (!empty($category)) {
$subCates = \app\service\ApiService::getSubCategory($category['id'], $this->sellerId, $this->siteId, $this->lang, 'id asc', 'all', '*');
$this->assign('sub_cates', $subCates);
}
return $this->fetch($template); return $this->fetch($template);
} }

132
public/themes/website/1/zh/demo/solution2.html

@ -8,7 +8,7 @@ $current_cate_id = $current_cate['id'] ?? 0;
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>协作码垛机器人解决方案 - 睿能科技</title>
<title>{$current_cate['title']}解决方案 - 睿能科技</title>
<meta name="keywords" content="协作码垛机器人,并联机器人,SCARA,睿能科技"> <meta name="keywords" content="协作码垛机器人,并联机器人,SCARA,睿能科技">
<meta name="description" content="以协作机器人为核心的码垛自动化方案,助力食品饮料、电商仓储等行业提升效率。"> <meta name="description" content="以协作机器人为核心的码垛自动化方案,助力食品饮料、电商仓储等行业提升效率。">
<!-- 公共CSS 自动被打包进页面 --> <!-- 公共CSS 自动被打包进页面 -->
@ -56,45 +56,44 @@ $current_cate_id = $current_cate['id'] ?? 0;
<body> <body>
<!-- header --> <!-- header -->
{include file="components/header"} {include file="components/header"}
{hcTaglib:category id="$current_cate_id" item="vo" field="*"}
<main class="main-solution2" data-nav="解决方案"> <main class="main-solution2" data-nav="解决方案">
<section class="sl2-hero"> <section class="sl2-hero">
<div class="sl2-hero__intro section__wrap" data-header-dark> <div class="sl2-hero__intro section__wrap" data-header-dark>
<h1 class="sl2-hero__title">{$vo.title}</h1>
<h1 class="sl2-hero__title">{$sub_cates[0]['title'] ?? ''}</h1>
<p class="sl2-hero__desc"> <p class="sl2-hero__desc">
{$vo.description ?? ''}
{$sub_cates[0]['description'] ?? ''}
</p> </p>
</div> </div>
<div class="sl2-hero__media" aria-hidden="true"> <div class="sl2-hero__media" aria-hidden="true">
<img src="{$vo.thumbnail.url ?? ''}" alt="" width="1920" height="720" />
<img src="{$sub_cates[0]['thumbnail']['url'] ?? ''}" alt="" width="1920" height="720" />
</div> </div>
</section> </section>
<section class="sl2-adv section__wrap" id="adv" data-header-dark> <section class="sl2-adv section__wrap" id="adv" data-header-dark>
<h2 class="sl2-adv__title">方案优势</h2>
<h2 class="sl2-adv__title">{$sub_cates[1]['title']}</h2>
<ul class="sl2-adv__list"> <ul class="sl2-adv__list">
{hcTaglib:content cid="380" moduleId="1" sort="id asc,sort asc" name="contentList" item="article" limit="10" mainField="id,title,sub_title,content,thumbnail" subField="" onlyData="2"}
{hcTaglib:subcategory pid="$sub_cates[1]['id']" sort="id asc,sort asc" item="vo"}
<li class="sl2-adv__item"> <li class="sl2-adv__item">
<span class="sl2-adv__icon" aria-hidden="true"> <span class="sl2-adv__icon" aria-hidden="true">
<img style="height: 40px;width: 40px;" src="{$article.thumbnail.url ?? ''}">
<img style="height: 48px;width: 48px;" src="{$vo.thumbnail.url ?? ''}">
</span> </span>
<h3 class="sl2-adv__name">{$article.title}</h3>
<p class="sl2-adv__text">{$article.content|raw}</p>
<h3 class="sl2-adv__name">{$vo.title}</h3>
<p class="sl2-adv__text">{$vo.description|raw}</p>
</li> </li>
{/hcTaglib:content}
{/hcTaglib:subcategory}
</ul> </ul>
</section> </section>
<section class="sl2-arch section__wrap" id="arch" data-header-dark> <section class="sl2-arch section__wrap" id="arch" data-header-dark>
<h2 class="sl2-arch__title">方案架构</h2>
<h2 class="sl2-arch__title">{$sub_cates[2]['title'] ?? ''}</h2>
<div class="sl2-arch__panel"> <div class="sl2-arch__panel">
<img src="/themes/dist_static/static/images/section-3-img-CLMEdTXP.png" alt="协作码垛机器人方案架构图" width="1630" height="650" />
<img src="{$sub_cates[2]['thumbnail']['url'] ?? ''}" alt="{$sub_cates[2]['description'] ?? ''}" width="1630" height="650" />
</div> </div>
</section> </section>
<section class="sl2-core section__wrap" id="core" data-header-dark> <section class="sl2-core section__wrap" id="core" data-header-dark>
<div class="sl2-core__head"> <div class="sl2-core__head">
<h2 class="sl2-core__title">核心产品</h2>
<h2 class="sl2-core__title">{$sub_cates[3]['title'] ?? ''}</h2>
<div class="s-arrows"> <div class="s-arrows">
<button type="button" class="s-arrows__prev" aria-label="上一项"> <button type="button" class="s-arrows__prev" aria-label="上一项">
<svg viewBox="0 0 12.2529 11.314" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="12.252930" height="11.313965" fill="none" customFrame="#000000"> <svg viewBox="0 0 12.2529 11.314" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="12.252930" height="11.313965" fill="none" customFrame="#000000">
@ -112,39 +111,19 @@ $current_cate_id = $current_cate['id'] ?? 0;
</div> </div>
<div class="sl2-core__swiper swiper"> <div class="sl2-core__swiper swiper">
<div class="swiper-wrapper"> <div class="swiper-wrapper">
{hcTaglib:subcategory pid="$sub_cates[3]['id']" item="vo" sort=""}
<article class="swiper-slide sl2-core__slide"> <article class="swiper-slide sl2-core__slide">
<div class="sl2-core__content"> <div class="sl2-core__content">
<h3 class="sl2-core__name">MA3系列伺服电机</h3>
<p class="sl2-core__desc">MA3系列伺服是睿能科技依托第三代研发技术平台打造的全新电机产品,制造工艺提升,小型化、高防护、更节能。</p>
<h3 class="sl2-core__name">{$vo.title ?? ''}</h3>
<p class="sl2-core__desc">{$vo.description ?? ''}</p>
<a class="s-btn s-btn--primary s-btn--pill" href="/product.html">探索更多</a> <a class="s-btn s-btn--primary s-btn--pill" href="/product.html">探索更多</a>
</div> </div>
<div class="sl2-core__media"> <div class="sl2-core__media">
<img src="/themes/dist_static/static/images/section-4-img-1-CyG2PD8w.png" alt="MA3系列伺服电机" width="520" height="520"
loading="lazy" />
</div>
</article>
<article class="swiper-slide sl2-core__slide">
<div class="sl2-core__content">
<h3 class="sl2-core__name">UH500A系列HMI</h3>
<p class="sl2-core__desc">UH500A系列人机界面包含以太网和不带以太网的类型,搭配自主研发的功能丰富的组态软件 Unigace,为客户提供更好的视觉效果和体验。</p>
<a class="s-btn s-btn--primary s-btn--pill" href="/product.html">探索更多</a>
</div>
<div class="sl2-core__media">
<img src="/themes/dist_static/static/images/section-4-img-2-CKE8Y67s.png" alt="UH500A系列HMI" width="520" height="520"
loading="lazy" />
</div>
</article>
<article class="swiper-slide sl2-core__slide">
<div class="sl2-core__content">
<h3 class="sl2-core__name">UH500A系列HMI</h3>
<p class="sl2-core__desc">UH500A系列人机界面包含以太网和不带以太网的类型,搭配自主研发的功能丰富的组态软件 Unigace,为客户提供更好的视觉效果和体验。</p>
<a class="s-btn s-btn--primary s-btn--pill" href="/product.html">探索更多</a>
</div>
<div class="sl2-core__media">
<img src="/themes/dist_static/static/images/section-4-img-2-CKE8Y67s.png" alt="UH500A系列HMI" width="520" height="520"
<img src="{$vo.thumbnail.url ?? ''}" alt="{$vo.title ?? ''}" width="520" height="520"
loading="lazy" /> loading="lazy" />
</div> </div>
</article> </article>
{/hcTaglib:subcategory}
</div> </div>
<div class="sl2-core__pagination"></div> <div class="sl2-core__pagination"></div>
</div> </div>
@ -152,7 +131,7 @@ $current_cate_id = $current_cate['id'] ?? 0;
<section class="sl2-scene section__wrap" id="scene" data-header-dark> <section class="sl2-scene section__wrap" id="scene" data-header-dark>
<div class="sl2-scene__head"> <div class="sl2-scene__head">
<h2 class="sl2-scene__title">应用场景</h2>
<h2 class="sl2-scene__title">{$sub_cates[4]['title']}</h2>
<div class="s-arrows"> <div class="s-arrows">
<button type="button" class="s-arrows__prev" aria-label="上一项"> <button type="button" class="s-arrows__prev" aria-label="上一项">
<svg viewBox="0 0 12.2529 11.314" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="12.252930" height="11.313965" fill="none" customFrame="#000000"> <svg viewBox="0 0 12.2529 11.314" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="12.252930" height="11.313965" fill="none" customFrame="#000000">
@ -170,92 +149,45 @@ $current_cate_id = $current_cate['id'] ?? 0;
</div> </div>
<div class="sl2-scene__swiper swiper"> <div class="sl2-scene__swiper swiper">
<div class="swiper-wrapper"> <div class="swiper-wrapper">
{hcTaglib:subcategory pid="$sub_cates[4]['id']" item="vo" sort="" }
<article class="swiper-slide sl2-scene__slide sl2-scene__slide--detail"> <article class="swiper-slide sl2-scene__slide sl2-scene__slide--detail">
<img class="sl2-scene__bg" src="/themes/dist_static/static/images/section-5-img-1-4_kJ82jn.png" alt="" width="960"
height="560" loading="lazy" />
<div class="sl2-scene__label">食品饮料</div>
<div class="sl2-scene__panel">
<h3 class="sl2-scene__name">食品饮料</h3>
<p class="sl2-scene__desc">
针对食品饮料行业提供码垛机器人解决方案,已服务于雀巢、吉百利、多利是、喜之郎等食品饮料头部厂商,助力客户节省用工成本,提升产品的质量和一致性,实现质量效率双提升。</p>
</div>
</article>
<article class="swiper-slide sl2-scene__slide sl2-scene__slide--detail">
<img class="sl2-scene__bg" src="/themes/dist_static/static/images/section-5-img-2-kj0113t-.png" alt="" width="960"
height="560" loading="lazy" />
<div class="sl2-scene__label">电商仓储</div>
<div class="sl2-scene__panel">
<h3 class="sl2-scene__name">电商仓储</h3>
<p class="sl2-scene__desc">
针对电商仓储行业订单量大、品类繁杂的特点,提供码垛机器人解决方案,支持多品类混码垛与快速换产,助力仓储中心提升出入库效率、降低人工劳动强度,实现仓储作业自动化升级。</p>
</div>
</article>
<article class="swiper-slide sl2-scene__slide sl2-scene__slide--detail">
<img class="sl2-scene__bg" src="/themes/dist_static/static/images/section-5-img-3-CJeVe7jr.png" alt="" width="960"
<img class="sl2-scene__bg" src="{$vo.thumbnail.url ?? ''}" alt="" width="960"
height="560" loading="lazy" /> height="560" loading="lazy" />
<div class="sl2-scene__label">日化用品</div>
<div class="sl2-scene__label">{$vo['title'] ?? ''}</div>
<div class="sl2-scene__panel"> <div class="sl2-scene__panel">
<h3 class="sl2-scene__name">日化用品</h3>
<h3 class="sl2-scene__name">{$vo['title'] ?? ''}</h3>
<p class="sl2-scene__desc"> <p class="sl2-scene__desc">
针对日化用品行业瓶装、袋装等多样包装形态,提供码垛机器人解决方案,通过灵活末端夹具与垛型自动生成,适应不同规格货品码垛需求,助力客户提升产线柔性与码垛质量一致性。</p>
{$vo['description'] ?? ''}
</p>
</div> </div>
</article> </article>
{/hcTaglib:subcategory}
</div> </div>
</div> </div>
</section> </section>
<section class="sl2-more section__wrap" id="more" data-header-dark> <section class="sl2-more section__wrap" id="more" data-header-dark>
<h2 class="sl2-more__title">其他解决方案</h2>
<h2 class="sl2-more__title">{$sub_cates[5]['title'] ?? ''}</h2>
<div class="sl2-more__grid"> <div class="sl2-more__grid">
<a class="sl2-more__card" href="/solution.html">
<div class="sl2-more__media">
<img src="/themes/dist_static/static/images/section-6-img-1-BuZC854Z.png" alt="" width="400" height="300" loading="lazy" />
</div>
<div class="sl2-more__body">
<h3 class="sl2-more__name">并联机器人</h3>
<span class="sl2-more__link">
<span>探索更多</span>
<svg viewBox="0 0 16.502 6.66113" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="16.501953" height="6.661133" fill="none" customFrame="#000000">
<path id="箭头 2" d="M0 2.83057L16 2.83057L16 3.83057L0 3.83057L0 2.83057ZM15.2929 3.33057L12.818 0.855693C12.62 0.657703 12.62 0.346575 12.818 0.148586C13.016 -0.0494041 13.3271 -0.0494046 13.5251 0.148585L16.3536 2.97701C16.5515 3.175 16.5515 3.48613 16.3536 3.68412L13.5251 6.51255C13.3271 6.71054 13.016 6.71054 12.818 6.51255C12.62 6.31456 12.62 6.00343 12.818 5.80544L15.2929 3.33057Z" fill="rgb(102,102,102)" fill-rule="nonzero" />
</svg>
</span>
</div>
</a>
<a class="sl2-more__card" href="/solution2.html">
{hcTaglib:subcategory pid="$sub_cates[4]['id']" item="vo" sort="" }
<a class="sl2-more__card" href="{$vo.description ?? ''}">
<div class="sl2-more__media"> <div class="sl2-more__media">
<img src="/themes/dist_static/static/images/section-6-img-2-BPa5X_If.png" alt="" width="400" height="300" loading="lazy" />
<img src="{$vo.thumbnail.url ?? ''}" alt="" width="400" height="300" loading="lazy" />
</div> </div>
<div class="sl2-more__body"> <div class="sl2-more__body">
<h3 class="sl2-more__name">SCARA机器人</h3>
<h3 class="sl2-more__name">{$vo.title ?? ''}</h3>
<span class="sl2-more__link"> <span class="sl2-more__link">
<span>探索更多</span> <span>探索更多</span>
<svg viewBox="0 0 16.502 6.66113" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="16.501953" height="6.661133" fill="none" customFrame="#000000"> <svg viewBox="0 0 16.502 6.66113" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="16.501953" height="6.661133" fill="none" customFrame="#000000">
<path id="箭头 2" d="M0 2.83057L16 2.83057L16 3.83057L0 3.83057L0 2.83057ZM15.2929 3.33057L12.818 0.855693C12.62 0.657703 12.62 0.346575 12.818 0.148586C13.016 -0.0494041 13.3271 -0.0494046 13.5251 0.148585L16.3536 2.97701C16.5515 3.175 16.5515 3.48613 16.3536 3.68412L13.5251 6.51255C13.3271 6.71054 13.016 6.71054 12.818 6.51255C12.62 6.31456 12.62 6.00343 12.818 5.80544L15.2929 3.33057Z" fill="rgb(102,102,102)" fill-rule="nonzero" /> <path id="箭头 2" d="M0 2.83057L16 2.83057L16 3.83057L0 3.83057L0 2.83057ZM15.2929 3.33057L12.818 0.855693C12.62 0.657703 12.62 0.346575 12.818 0.148586C13.016 -0.0494041 13.3271 -0.0494046 13.5251 0.148585L16.3536 2.97701C16.5515 3.175 16.5515 3.48613 16.3536 3.68412L13.5251 6.51255C13.3271 6.71054 13.016 6.71054 12.818 6.51255C12.62 6.31456 12.62 6.00343 12.818 5.80544L15.2929 3.33057Z" fill="rgb(102,102,102)" fill-rule="nonzero" />
</svg> </svg>
</span>
</div>
</a>
<a class="sl2-more__card" href="/solution2.html">
<div class="sl2-more__media">
<img src="/themes/dist_static/static/images/section-6-img-3-HITSw7X-.png" alt="" width="400" height="300" loading="lazy" />
</div>
<div class="sl2-more__body">
<h3 class="sl2-more__name">多关节机器人</h3>
<span class="sl2-more__link">
<span>探索更多</span>
<svg viewBox="0 0 16.502 6.66113" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="16.501953" height="6.661133" fill="none" customFrame="#000000">
<path id="箭头 2" d="M0 2.83057L16 2.83057L16 3.83057L0 3.83057L0 2.83057ZM15.2929 3.33057L12.818 0.855693C12.62 0.657703 12.62 0.346575 12.818 0.148586C13.016 -0.0494041 13.3271 -0.0494046 13.5251 0.148585L16.3536 2.97701C16.5515 3.175 16.5515 3.48613 16.3536 3.68412L13.5251 6.51255C13.3271 6.71054 13.016 6.71054 12.818 6.51255C12.62 6.31456 12.62 6.00343 12.818 5.80544L15.2929 3.33057Z" fill="rgb(102,102,102)" fill-rule="nonzero" />
</svg>
</span> </span>
</div> </div>
</a> </a>
{/hcTaglib:subcategory}
</div> </div>
</section> </section>
</main> </main>
{/hcTaglib:category}
<div class="mask" id="mask"> <div class="mask" id="mask">
<header class="mask-header"> <header class="mask-header">

Loading…
Cancel
Save