</view> | </view> | ||||
<!-- 标签 --> | <!-- 标签 --> | ||||
<view class="list-tag-view"> | <view class="list-tag-view"> | ||||
<view class="list-tag" wx:for="{{ item.type }}" wx:for-item="tag" wx:key="*this"> | |||||
<view class="list-tag" wx:for="{{ item.type }}" wx:for-item="tag" wx:key="index"> | |||||
{{ tag }} | {{ tag }} | ||||
</view> | </view> | ||||
</view> | </view> |
</view> | </view> | ||||
</view> | </view> | ||||
<view wx:else> | <view wx:else> | ||||
<view class="list-view" wx:for="{{ listData }}" wx:key="*this"> | |||||
<view class="list-view" wx:for="{{ listData }}" wx:key="index"> | |||||
<listItem item="{{ item }}" bind:getItem="goDetails" pageStatus="homepage" isOther="{{ isOther }}" customerId="{{ loginCustomerId }}"/> | <listItem item="{{ item }}" bind:getItem="goDetails" pageStatus="homepage" isOther="{{ isOther }}" customerId="{{ loginCustomerId }}"/> | ||||
</view> | </view> | ||||
<view class="text-center" wx:if="{{ itemLoading }}"> | <view class="text-center" wx:if="{{ itemLoading }}"> |
<view class="not-info">没有更多感兴趣的需求</view> | <view class="not-info">没有更多感兴趣的需求</view> | ||||
</view> | </view> | ||||
<view wx:else> | <view wx:else> | ||||
<view class="list-view" wx:for="{{ listData }}" wx:key="*this"> | |||||
<view class="list-view" wx:for="{{ listData }}" wx:key="index"> | |||||
<listItem item="{{ item }}" bind:getItem="goDetails" customerId="{{ userCustomerId }}" /> | <listItem item="{{ item }}" bind:getItem="goDetails" customerId="{{ userCustomerId }}" /> | ||||
</view> | </view> | ||||
<view class="text-center" wx:if="{{ itemLoading }}"> | <view class="text-center" wx:if="{{ itemLoading }}"> |
</view> | </view> | ||||
<!-- tab块 --> | <!-- tab块 --> | ||||
<view class="tab-view"> | <view class="tab-view"> | ||||
<view wx:for="{{tabData}}" class="tab-li" wx:key="*this"> | |||||
<view wx:for="{{tabData}}" class="tab-li" wx:key="index"> | |||||
<view class="tab-span {{currentTab == item.value ? 'isActive' : ''}}" bindtap="tabChange" data-value="{{ item.value }}"> | <view class="tab-span {{currentTab == item.value ? 'isActive' : ''}}" bindtap="tabChange" data-value="{{ item.value }}"> | ||||
{{item.text}} | {{item.text}} | ||||
</view> | </view> | ||||
</view> | </view> | ||||
</view> | </view> | ||||
<view class="view-interested" wx:if="{{ paramIsInterest == 1 }}">为您推荐以下内容</view> | <view class="view-interested" wx:if="{{ paramIsInterest == 1 }}">为您推荐以下内容</view> | ||||
<view class="list-view" wx:for="{{ listData }}" wx:key="*this"> | |||||
<view class="list-view" wx:for="{{ listData }}" wx:key="index"> | |||||
<listItem item="{{ item }}" bind:getItem="goDetails" customerId="{{ customerId }}"/> | <listItem item="{{ item }}" bind:getItem="goDetails" customerId="{{ customerId }}"/> | ||||
</view> | </view> | ||||
<view class="text-center" wx:if="{{ itemLoading }}"> | <view class="text-center" wx:if="{{ itemLoading }}"> |
<view class="attention-info">选择后,平台推荐将更符合你的偏好</view> | <view class="attention-info">选择后,平台推荐将更符合你的偏好</view> | ||||
<view class="types-box"> | <view class="types-box"> | ||||
<van-row class="attention-types-view clearfix" gutter="15"> | <van-row class="attention-types-view clearfix" gutter="15"> | ||||
<van-col span="8" class="attention-type" wx:for="{{ types }}" wx:key="*this"> | |||||
<van-col span="8" class="attention-type" wx:for="{{ types }}" wx:key="index"> | |||||
<view class="item-type {{ item.isActive ? 'isActive' : '' }}" bindtap="changeTags" data-typename="{{ item.typeName }}"> | <view class="item-type {{ item.isActive ? 'isActive' : '' }}" bindtap="changeTags" data-typename="{{ item.typeName }}"> | ||||
{{ item.typeName }} | {{ item.typeName }} | ||||
</view> | </view> |
<view class="not-info">暂无需求</view> | <view class="not-info">暂无需求</view> | ||||
</view> | </view> | ||||
<view wx:else> | <view wx:else> | ||||
<view class="list-view " wx:for="{{ listData }}" wx:key="*this"> | |||||
<view class="list-view " wx:for="{{ listData }}" wx:key="index"> | |||||
<listItem item="{{ item }}" pageStatus="myCollect" bind:getItem="goDetails" listClass="{{ item.isDeleted > 0 || item.state < 0 ? 'disabled-model-view' : '' }}" customerId="{{ customerId }}"/> | <listItem item="{{ item }}" pageStatus="myCollect" bind:getItem="goDetails" listClass="{{ item.isDeleted > 0 || item.state < 0 ? 'disabled-model-view' : '' }}" customerId="{{ customerId }}"/> | ||||
<image class="disabled-model-img" src="/images/home/isDelete-icon.png" wx:if="{{ item.isDeleted > 0 }}"/> | <image class="disabled-model-img" src="/images/home/isDelete-icon.png" wx:if="{{ item.isDeleted > 0 }}"/> | ||||
<image class="disabled-model-img" src="/images/home/isState-0-icon.png" wx:if="{{ item.isDeleted == 0 && item.state < 0}}"/> | <image class="disabled-model-img" src="/images/home/isState-0-icon.png" wx:if="{{ item.isDeleted == 0 && item.state < 0}}"/> |
<view class="my-release-page page-container"> | <view class="my-release-page page-container"> | ||||
<view class="header"> | <view class="header"> | ||||
<view class="header-tab"> | <view class="header-tab"> | ||||
<view class="tab-item fl {{ currentTab == item.code ? 'isActive' : '' }}" wx:for="{{ tabs }}" wx:key="*this" bindtap="tabChange" data-code="{{ item.code }}"> | |||||
<view class="tab-item fl {{ currentTab == item.code ? 'isActive' : '' }}" wx:for="{{ tabs }}" wx:key="index" bindtap="tabChange" data-code="{{ item.code }}"> | |||||
<image class="{{ item.code }}-img" src="/images/home/{{ item.code }}-icon.png" /> | <image class="{{ item.code }}-img" src="/images/home/{{ item.code }}-icon.png" /> | ||||
{{ item.tab }} | {{ item.tab }} | ||||
</view> | </view> | ||||
<view class="not-info">该用户没有发布任何需求</view> | <view class="not-info">该用户没有发布任何需求</view> | ||||
</view> | </view> | ||||
<view wx:else> | <view wx:else> | ||||
<view class="list-view" wx:for="{{ listData }}" wx:key="*this"> | |||||
<view class="list-view" wx:for="{{ listData }}" wx:key="index"> | |||||
<listItem item="{{ item }}" pageStatus="myRelease"/> | <listItem item="{{ item }}" pageStatus="myRelease"/> | ||||
<view class="forced-removal" wx:if="{{ item.state == -2 }}"> | <view class="forced-removal" wx:if="{{ item.state == -2 }}"> | ||||
<image class="forced-removal-img" src="/images/home/forced-removal-icon.png" data-outreason="{{ item.outReason }}" bindtap="showOutReason"/> | <image class="forced-removal-img" src="/images/home/forced-removal-icon.png" data-outreason="{{ item.outReason }}" bindtap="showOutReason"/> |
</view> | </view> | ||||
<!-- 内容 --> | <!-- 内容 --> | ||||
<view class="content card-view"> | <view class="content card-view"> | ||||
<view class="li-view" wx:for="{{ listData }}" wx:key="*this" bindtap="goRouterPage" data-code="{{ item.code }}"> | |||||
<view class="li-view" wx:for="{{ listData }}" wx:key="index" bindtap="goRouterPage" data-code="{{ item.code }}"> | |||||
<image class="{{ item.code }}-img" src="/images/home/{{ item.code }}-icon.png" /> | <image class="{{ item.code }}-img" src="/images/home/{{ item.code }}-icon.png" /> | ||||
{{ item.title }} | {{ item.title }} | ||||
<view class="right-icon fr"> | <view class="right-icon fr"> |
<view class="tags-view"> | <view class="tags-view"> | ||||
<view class="title">需求类型(最少选择一个,最多可选择三个)</view> | <view class="title">需求类型(最少选择一个,最多可选择三个)</view> | ||||
<view class="tags-item-box clearfix"> | <view class="tags-item-box clearfix"> | ||||
<view class="tag-item {{ item.isActive }}" wx:for="{{tags}}" wx:key="*this"> | |||||
<view class="tag-item {{ item.isActive }}" wx:for="{{tags}}" wx:key="index"> | |||||
<view class="tag" bindtap="tagSelectedChange" data-typename="{{ item.typeName }}"> | <view class="tag" bindtap="tagSelectedChange" data-typename="{{ item.typeName }}"> | ||||
{{ item.typeName }} | {{ item.typeName }} | ||||
</view> | </view> |