<template name="app_tabs">
  <view class="app_tabs">
    <navigator url='/pages/index/index' class="tabItem">
      <image src='/images/icons/if_home.png'></image>
      <text>首页</text>
    </navigator>
    <navigator url='/pages/conlist/conlist' class="tabItem">
      <image src='/images/icons/if_cloud.png'></image>
      <text>新闻</text>
    </navigator>
    <navigator url='/pages/prolist/index' class="tabItem">
      <image src='/images/icons/if_lifebuoy.png'></image>
      <text>产品</text>
    </navigator>
    <view class="tabItem">
      <image src='/images/icons/if_phone.png'></image>
      <text>客服</text>
      <contact-button class='hideBtn' size="27"></contact-button>
    </view>
    <navigator url='/pages/map/map' class="tabItem">
      <image src='/images/icons/if_world.png'></image>
      <text>导航</text>
    </navigator>
  </view>
</template>

<template name="serviceCenter">
  <view style="background-color:#999;padding:15px 5px;">
    <view class="red title tc">服务中心</view>
    <view class="titen white tc">Service Center</view>
    <view>
      <view class="weui-flex">
        <view class="weui-flex__item">
          <button class="serviceBtn bc_blue" bindtap='callMe'>一键拨号</button>
        </view>
        <view class="weui-flex__item">
          <button class="serviceBtn bc_red" bindtap="go_map">一键导航</button>
        </view>
      </view>
      <view class="weui-flex">
        <view class="weui-flex__item" style="position:relative;">
          <!-- <contact-button class="hideBtn" size="27"></contact-button> -->
          <button class="serviceBtn bc_green" open-type="contact">咨询意见</button>
        </view>
        <view class="weui-flex__item" style="position:relative;">
          <!-- <contact-button class="hideBtn" size="27"></contact-button> -->
          <button class="serviceBtn" style="background-color:#5c4005;" open-type="contact">微信咨询</button>
        </view>
      </view>
    </view>
  </view>
</template>