<!--components/project-item/index.wxml-->
<view class="project-item" catchtap='__gotoProjectDetail' data-pid="{{projectItem.id}}">
  <image class="prj-poster" src="{{projectItem.poster==''?'/images/personal_center/info_background.png':projectItem.poster}}" mode="scaleToFill"></image>
  <view class="prj-info">
    <text class='ptitle'>{{projectItem.title}}</text>
    <view class="ptags">
      <text wx-if="{{projectItem.type=='1'}}" class='sign_limits'>限{{projectItem.sign_limits}}组</text>
      <text class='tags'>{{projectItem.tags}}</text>
    </view>
    <view class="pactivity" wx-if="{{projectItem.type=='1'}}">
      <view class="price-wrapper">
        <text class="price">￥{{projectItem.price}}</text>
        <text class="vip_price">￥{{projectItem.vip_price}}</text>
        <image class="ic_vip_price" src='/images/icon_vip_price.png'></image>
      </view>
      <text class="endtime">{{projectItem.sign_endtime_str}}</text>
    </view>
    <view class="pshop" wx-if="{{projectItem.type=='2'}}">
      <text class="address">{{projectItem.location}}</text>
      <text class="shop">{{projectItem.sign_endtime_str}}</text>
    </view>
  </view>
</view>