| @@ -85,7 +85,7 @@ Page({ | |||
| let attentionTypeIds = businessCommunicationCustomer.attentionTypeIds; | |||
| if (attentionTypeIds) { | |||
| attentionTypeIds = attentionTypeIds.split(','); | |||
| }else{ | |||
| } else { | |||
| attentionTypeIds = []; | |||
| } | |||
| this.setData({ | |||
| @@ -95,7 +95,7 @@ Page({ | |||
| } | |||
| }, | |||
| onShow() { | |||
| }, | |||
| toggleMore() { | |||
| this.selectComponent('#item').toggle(); | |||
| @@ -206,7 +206,7 @@ Page({ | |||
| if (currentTab == 'my') { | |||
| if (app.globalData.businessCommunicationCustomer) { | |||
| type = app.globalData.businessCommunicationCustomer.attentionTypeIds; | |||
| if(!type){ | |||
| if (!type) { | |||
| this.setData({ | |||
| listLoading: false | |||
| }) | |||
| @@ -217,6 +217,7 @@ Page({ | |||
| let paramIsInterest = 0; | |||
| if (isInterest) { | |||
| paramIsInterest = isInterest; | |||
| type = ""; | |||
| } | |||
| this.setData({ | |||
| paramIsInterest | |||
| @@ -67,7 +67,7 @@ | |||
| </view> | |||
| </view> | |||
| <view wx:else> | |||
| <view class="not-data clearfix" wx:if="{{ paramIsInterest == 1 }}"> | |||
| <view class="not-data clearfix" wx:if="{{ paramIsInterest == 2 }}"> | |||
| <view class="not-info-attention-type"> | |||
| <view class="not-data-attention-view fl"> | |||
| <image class="not-data-attention-img" src="/images/home/not-data-attention-img.png" /> | |||
| @@ -78,7 +78,7 @@ | |||
| </van-button> | |||
| </view> | |||
| </view> | |||
| <view class="view-interested" wx:if="{{ paramIsInterest == 1 }}">为您推荐以下内容</view> | |||
| <view class="view-interested" wx:if="{{ paramIsInterest == 2 }}">为您推荐以下内容</view> | |||
| <view class="list-view" wx:for="{{ listData }}" wx:key="index"> | |||
| <listItem item="{{ item }}" bind:getItem="goDetails" customerId="{{ customerId }}"/> | |||
| </view> | |||