<import src="../../template/template.wxml" />
<template is="app_tabs" />
<view class="page">
  <view class="page__bd">

    <swiper class="swiper" indicator-dots="true" autoplay="true" interval="3000" duration="1200">
      <block wx:for="{{swipers}}" wx:key="item.id">
        <swiper-item bindtap="go_content" data-id="{{item.GeneralID}}">
          <image src="{{item.TopImg}}" class="slide-image" />
          <view style="color:#fff;position:relative;top:-60px;text-align:center;">{{item.Title}}</view>
        </swiper-item>
      </block>
    </swiper>

    <view class="item ourServices">
      <view class="red title">我们的服务</view>
      <view class="gray titen">Our Services</view>
      <view>
        <navigator url="/pages/product/index?id={{item.ID}}" wx:for="{{products}}" class="serItem">
          <image src="{{item.Clearimg}}" style="margin-right:5px;" />
          <text>{{item.Proname}}</text>
        </navigator>
        <view style="clear:both;"></view>
      </view>
    </view>

    <view class="item">
      <view class="red title">公司介绍</view>
      <view class="gray titen">About</view>
      <view style="line-height:30px; text-indent:2em;">
       {{about.Synopsis}}
        <navigator url="/pages/content/content?id={{about.GeneralID}}" class="red" style="display:inline-block;float:right;">[查看详情]</navigator>
      </view>
      <view style="clear:both;"></view>
    </view>

    <view class='item'>
      <template is="serviceCenter"></template>
    </view>

    <!-- <view class="item">
      <view class="red title">新闻</view>
      <view class="gray titen">News</view>
      <view class="weui-panel weui-panel_access">
        <view class="weui-panel__bd">
          <navigator url="/content/content?id={{item.id}}" class="weui-media-box weui-media-box_appmsg" hover-class="weui-cell_active" wx:for="{{articles}}">
            <view class="weui-media-box__hd weui-media-box__hd_in-appmsg">
              <image class="weui-media-box__thumb" src="{{item.image}}" />
            </view>
            <view class="weui-media-box__bd weui-media-box__bd_in-appmsg">
              <view class="weui-media-box__title">{{item.title}}</view>
              <view class="weui-media-box__desc">
                <view>{{item.desc}}</view>
                <view style="margin-top:5px;">{{item.time}} {{item.hits}}</view>
              </view>
            </view>
          </navigator>
        </view>
      </view>
    </view> -->

  </view>
</view>