<!-- <import src="../../template/item-template.wxml" /> -->
<import src="../../wxParse/wxParse.wxml" />
<view class="page">
  <view class="page__bd">

    <view class="head">
      <!-- <view class="section section_gap swiper_box">
        <template is="index_index_scroll_tmpl" data="{{...index_index_scroll_tmpl}}" />
      </view> -->
      <view style="text-align:center;">
        <image src='{{product.Clearimg}}' style="max-width:100%;max-height:300px;" />
      </view>
      <view class="text">
        <view style="font-weight:bolder;font-size:16px;">{{product.Proname}}</view>
        <view class="red">¥ {{product.LinPrice}}</view>
      </view>
    </view>


    <view style="font-size:16px;background-color:#fff;margin-top:2px;margin-bottom:5px;padding:5px;">
      <icon type="success_circle" size="14" color="#ce0000"></icon>
      <text class="gray"> 正品保障 </text>
      <icon type="success_circle" size="14" color="#ce0000"></icon>
      <text class="gray"> 售后无忧</text>
    </view>


    <view class="weui-flex proInfoTab">
      <view class="weui-flex__item item active">
        <view class="placeholder">图文介绍</view>
      </view>
      <view class="weui-flex__item item">
        <view class="placeholder">规格参数</view>
      </view>
      <view class="weui-flex__item item" style="border-right:none;">
        <view class="placeholder">包装售后</view>
      </view>
    </view>

    <view class="article" style="padding:8px;margin-bottom:50px;">
      <template is="wxParse" data="{{wxParseData:Procontent.nodes}}" />
    </view>

    <view class="weui-footer weui-footer_fixed-bottom" style="margin_bottom:0px;bottom:0px;padding:5px;border-top:1px solid #ddd;background-color:#fff;">
      <view class="weui-flex">
        <view class="weui-flex__item">
          <navigator url="/pages/index/index" class="tabItem">
            <image src='../../images/icons/if_home.png' />
            <text>首页</text>
          </navigator>
          <navigator url='/pages/prolist/index' class="tabItem">
            <image src='../../images/icons/if_lifebuoy.png' />
            <text>产品</text>
          </navigator> 
           <navigator url="/pages/cart/index" class="tabItem">
            <image src='../../images/icons/if_basket.png' />
            <text>购物车</text>
          </navigator>
        </view>
        <view class="weui-flex__item">
          <button class="weui-btn" type="warn" bindtap='checkOut'>支付</button>
        </view>
      </view>
    </view>

  </view>
</view>