| @@ -31,7 +31,7 @@ | |||
| </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 }} | |||
| </view> | |||
| </view> | |||
| @@ -53,7 +53,7 @@ | |||
| </view> | |||
| </view> | |||
| <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 }}"/> | |||
| </view> | |||
| <view class="text-center" wx:if="{{ itemLoading }}"> | |||
| @@ -14,7 +14,7 @@ | |||
| <view class="not-info">没有更多感兴趣的需求</view> | |||
| </view> | |||
| <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 }}" /> | |||
| </view> | |||
| <view class="text-center" wx:if="{{ itemLoading }}"> | |||
| @@ -22,7 +22,7 @@ | |||
| </view> | |||
| <!-- tab块 --> | |||
| <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 }}"> | |||
| {{item.text}} | |||
| </view> | |||
| @@ -79,7 +79,7 @@ | |||
| </view> | |||
| </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 }}"/> | |||
| </view> | |||
| <view class="text-center" wx:if="{{ itemLoading }}"> | |||
| @@ -12,7 +12,7 @@ | |||
| <view class="attention-info">选择后,平台推荐将更符合你的偏好</view> | |||
| <view class="types-box"> | |||
| <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 }}"> | |||
| {{ item.typeName }} | |||
| </view> | |||
| @@ -20,7 +20,7 @@ | |||
| <view class="not-info">暂无需求</view> | |||
| </view> | |||
| <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 }}"/> | |||
| <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}}"/> | |||
| @@ -2,7 +2,7 @@ | |||
| <view class="my-release-page page-container"> | |||
| <view class="header"> | |||
| <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" /> | |||
| {{ item.tab }} | |||
| </view> | |||
| @@ -26,7 +26,7 @@ | |||
| <view class="not-info">该用户没有发布任何需求</view> | |||
| </view> | |||
| <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"/> | |||
| <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"/> | |||
| @@ -38,7 +38,7 @@ | |||
| </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" /> | |||
| {{ item.title }} | |||
| <view class="right-icon fr"> | |||
| @@ -12,7 +12,7 @@ | |||
| <view class="tags-view"> | |||
| <view class="title">需求类型(最少选择一个,最多可选择三个)</view> | |||
| <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 }}"> | |||
| {{ item.typeName }} | |||
| </view> | |||