<block wx:if="{{is_show && (fir_leader?is_fengxiang:1)}}">
  <!-- 我的会员背景图片 -->
  <import src="../../../utils/wxParse/wxParse.wxml"></import>
  <view>
    <image class="Member_bk" src="{{url}}/miniapp/images/plus/page_bk.png"></image>
  </view>
  <view class="plus">
    <!-- 开通会员模块 -->

    <block wx:if="{{is_plusCard}}">
      <view class="Opening_plus">
        <view class="Opening_bk">
<!--          <image src="{{url}}/miniapp/images/plus/card_bk.png"></image>-->
           <view class="rect">
              <view class="before" style="{{plus_bg_color?'background-color:'+plus_bg_color:''}}"></view>
           </view>
        </view>
        <view class="swiper">
          <!-- 未开通会员swiper-item -->
          <swiper current="{{currentId}}" current-item-id="{{currentId}}" next-margin="60rpx" previous-margin="60rpx" bindchange="swiperChange">
            <swiper-item class="flex" item-id="{{index}}" data-item-id="{{index}}" wx:for="{{is_plusCard}}">

              <view class="Membership {{currentId==index?'enlarge':''}}" style=" background-image: url({{item.CardImg}});color:{{item.CardColor}}">
                <view class="flex-space-between Membership_go">
                  <view>
                    <view class="fs36">{{item.CardName}}</view>
                    <view class="fs24 Membership_remarks">开通会员卡仅{{item.CardFee}}元</view>
                  </view>
                  <view class="Opening fs28 xc-black" data-ind="{{index}}" style="background:{{item.CardColor}};color:{{item.ButtonColor}}" bindtap="Opening">立即购买
                  </view>

                </view>

                <view class="flex-vertical-between consumption" style="height: 40rpx;line-height:40rpx ">

                  <view class="flex-vertical fs24" style="overflow:hidden">

                    <view class="Member" style="background-image:url('{{url}}/miniapp/images/plus/privilege_o.png');filter: drop-shadow( 40rpx 0rpx 0rpx {{item.CardColor}});"></view>
                    <view style="margin-left:5rpx;white-space: nowrap;">按去年用户消费计算，开卡后一年预计省￥{{item.free}}元
                    </view>
                  </view>
                </view>
              </view>

            </swiper-item>
          </swiper>
        </view>
      </view>
    </block>

    <!-- 会员礼遇 -->
    <view class="Courtesy">

      <!-- 标题 -->
      <view class="flex-center" style="width:100%;height:200rpx;">
        <view>
          <view class="Courtesy_title flex-center fs36">开通PLUS会员尊享礼遇
          </view>



          <view class="flex-center">
            <image class="Courtesy_image" src="{{url}}/miniapp/images/plus/Courtesy.png"></image>


            <view class="Courtesy_can fs24">PLUS会员可享受以下特权
            </view>

            <image class="Courtesy_image" src="{{url}}/miniapp/images/plus/Courtesy.png"></image>
          </view>
        </view>
      </view>



      <!-- 会员权益内容 -->
      <view class="Courtesy_comment " style="padding:0 20rpx" wx:if="{{is_card_rule!=null&&is_card_rule!=''}}">
        <view class="wxParse">
          <template is="wxParse" data="{{wxParseData:content.nodes}}"></template>
        </view>
      </view>
    </view>

    <!-- 好物推荐 -->
    <!-- 好物推荐 -->
    <view class="title">
      <!-- 标题 -->
      <view>
        <!-- 中文名标题 -->
        <view class="China flex-level">
          <view class="line flex-vertical">
            <view class="one"></view>
            <view class="two"></view>
            <view class="three"></view>
          </view>

          <view class="Recommend flex-level" bindtap="requestList">好物推荐</view>

          <view class="line flex-vertical">
            <view class="three"></view>
            <view class="two"></view>
            <view class="one"></view>
          </view>
        </view>

        <!-- 英文标题 -->
        <view class="english flex-center">
          <view class="silk"></view>
          <view class="esh five-level-word">GOOD HOT THING</view>
          <view class="silk"></view>
        </view>

      </view>
      <!-- 商品列表组件 -->
      <goods_recommend id="goods_list"></goods_recommend>
      <!-- 商品列表 -->

    </view>

  </view>
</block>

<!-- 开通会员弹窗 -->
<view wx:if="{{open_yq}}" class="Disgraceful flex-center">
  <!-- 蒙尘 -->
  <view bindtap="OpeningClose"></view>

  <!-- 弹框 -->
  <view class="Member_purchase">
    <view class="rel purchase_Bk" style="background-image: url({{url}}/miniapp/images/plus/purchase_Bk.png);">
      <image class="abs write" src="{{url}}/miniapp/images/plus/write.png"></image>
    </view>
    <view class="fs26 inf_com">
      <view class="fs36 flex-level perfect">请完善下面信息</view>
      <view class="fillin">
        <!-- 输入推荐人手机号 -->
        <view class="flex ai_and Enter_phone" wx:if="{{isyaoqingma}}">
          <image class="phone_image" src="{{url}}/miniapp/images/plus/Invitation_code.png"></image>
          <view class="phone">
            <input bindinput="b_input" bindconfirm="buy_card" data-name="inp_recommon" class="fs30" placeholder="请输入邀请码(推荐人手机号)" type="number" maxlength="20" />
          </view>
        </view>
        <!-- 输入营业员 -->
        <view class="flex ai_and enter_SalesClerk" wx:if="{{is_salesman}}">
          <image class="SalesClerk_image" src="{{url}}/miniapp/images/plus/Sales_Clerk.png"></image>
          <view class="SalesClerk">
            <input bindinput="b_input" bindconfirm="buy_card" class="fs30" data-name="inp_serviceman" value="{{inp_serviceman}}" placeholder="请输入营业员" maxlength="30" />
          </view>
        </view>
        <!-- 确认购买 -->
        <view class="flex-center" bindtap="buy_card">
          <view class="flex-center purchase" style="background-image:url({{url}}/miniapp/images/plus/purchase_Bk.png);">
            确认购买
          </view>
        </view>

        <view style="padding-bottom:20rpx">
          <checkbox id="check_py" class="m_checkbox"  checked="{{check_py_val}}"  bindtap="handleCheckboxChange" />
             <label for="check_py" style="color:#333;font-size:23rpx">请详细阅读并同意 <text catchtap="show_more_xy" style="color:#ff9278">《PLUS会员用户协议》</text> </label>
        </view>

      </view>
    </view>


    <view class="flex-level">
      <image class="purchaseClose" bindtap="OpeningClose" src="{{url}}/miniapp/images/plus/Close.png"></image>
    </view>
  </view>

</view>

<view class="Disgraceful" wx:if="{{staffNo_arr.length>0}}">
  <view bindtap="OpeningClose"></view>
  <view class="dialog_body">
    <view style="background-color: #fff;">
      <view class="dialog_choose">
        <text>请选择营业员</text>
        <text class="dialog_close" bindtap="dialog_close">X</text>
      </view>
      <view class="dialog_name">
        <text class="w50">编号</text>
        <text class="w50">姓名</text>
      </view>
    </view>
    <view class="dialog_name" bindtap="select_serviceman" data-StaffNo="{{item.StaffNo}}" wx:for="{{staffNo_arr}}" wx:key="id" hover-class="weui-active" hover-start-time="200" style="background-color: #fff;">
      <view class="w50">{{item.StaffNo}}</view>
      <view class="w50">{{item.StaffName}}</view>
    </view>
  </view>
</view>


<warn id="warn"></warn>