<view wx:if="{{interest_lables.length>0}}" class="container">
  <!-- 兴趣标签集合 -->
  <view class="lables padding">
    <!-- 兴趣标签标题 -->
    <view class="flex-vertical-between labels_head">
      <view class="fs36">兴趣标签</view>


      <!-- 如果是注册的时候 -->
      <block wx:if="{{is_reg }}">
          <view wx:if="{{!label_required}}"  class="skip flex-center fs28" data-url="/packageG/pages/user/userinfo/userinfo" bindtap="goto_user">
            <view>跳过</view>
          </view>
      </block>
      <block wx:else>
        <view  class="skip flex-center fs28" data-url="/packageG/pages/user/userinfo/userinfo" bindtap="goto">
        <view>关闭</view>
      </view>
      </block>
    
    </view>

    <!-- 标签内容 -->
    <view class="label_aggregate">
      <!-- 单个标签 -->
      <view class="label fs28 {{item.check==1?'click':''}}" wx:for="{{interest_lables}}" wx:for-item="item" wx:for-index="index" data-index="{{index}}" bindtap="click_label">
        <view class="ellipsis-1">{{item.LabelName}}</view>
      </view>
    </view>

  </view>

  <!-- 选中的兴趣集合标签 -->
  <view class="padding check_item">
    <view class="fs32 check_head">已选中</view>
    <view class="check_labels">
      <view class="check_label fs28" wx:for="{{check_label}}" wx:for-item="it" wx:for-index="key">
        <view class="ellipsis-1">
          {{it.LabelName}}
        </view>
      </view>
    </view>
  </view>

    <!-- 领取选择标签的奖励按钮 -->
    <block wx:if="{{is_modify==0}}">
      <view class="receive flex-center fs36 {{is_check==1?'backcolor':''}}" bindtap="update_label" data-url="/packageG/pages/user/userinfo/userinfo">
        <block>
          <view>保存</view>
        </block>
        <!-- <block wx:if="{{user_label_val<1 || user_label_val==''}}">
          <view>确定选择</view>
        </block> -->
        <!-- <block wx:if="{{user_label_type==1 && user_label_val>0 && user_label_val!=''}}">
          <view>领取{{user_label_val}}积分</view>
        </block>
        <block wx:if="{{user_label_type==2 && user_label_val>0 && user_label_val!=''}}">
          <view>领取{{user_label_val}}成长值</view>
        </block> -->
      </view>
      <view wx:if="{{user_label_type}}" class="check_info">
        <block wx:if="{{user_label_type==1 && user_label_val>0 && user_label_val!=''}}">
          <view>选择后，领取{{user_label_val}}积分</view>
        </block>
        <block wx:if="{{user_label_type==2 && user_label_val>0 && user_label_val!=''}}">
          <view>选择后，领取{{user_label_val}}成长值</view>
        </block>
      </view>
    </block>
    <block wx:if="{{is_modify==1}}">
      <view class="receive flex-center fs36 {{is_check==1?'backcolor':''}}" bindtap="update_label" data-url="/packageG/pages/user/userinfo/userinfo">
        <view>提交修改</view>
      </view>
    </block>

</view>

<view wx:if="{{interest_lables.length<1 &&  isread}}" class="flex-center fs30" style="overflow: hidden;margin-top:40%;">
<view>
 <view class="flex-center">
    <image class="no_labels" src="{{iurl}}miniapp/images/yyservice/no_history.png"></image>
  </view>
  <view>
     <view>商家还未设置标签，敬请期待！</view>
     </view>
     </view>
</view>

<!-- 引入提示组件 -->
<warn id="warn"></warn>
<my_confirm id="my_confirm"></my_confirm>