<view class='memberInfo' style='margin-top: {{active === 3 || active === 4 ? "0px" : "57rpx"}};min-height: {{active === 3 || active === 4 ? "1080rpx" : "987rpx"}}'>
  <view class='memberInfo-info'>
    <view class='head' wx:if="{{active === 1 || active === 2}}">
      <view class="boxF">
        <view class="boxS">
          <view wx:if="{{!userInfo.photo}}" class="boxT" style="background-image: url(http://imgfile.oytour.com/New/Upload/Cloud/2019-06/20190628030353039.png);"></view>
          <view wx:else class="boxT" style="background-image: url({{userInfo.photo}});"></view>
        </view>
      </view>
    </view>
    <view class='name' wx:if="{{active === 1 || active === 2}}">
      <text>{{userInfo.name}}</text>
      <navigator url="/pages/member/memberInfoEDPasswod/memberInfoEDPasswod" hover-class="Home_hover"><image src='../../../images/memberInfo/qianbi.png'></image></navigator>
    </view>
    <view class='info-box' wx:if="{{active === 1}}">
      <view class='info-box-tit'>
        <text>门店基本资料</text>
        <view class='line'></view>
      </view>
      <view class='info-box-info'>
        <view class='info-box-info-item'>
          <image mode='widthFix' src='../../../images/memberInfo/fangzi.png'></image>
          <text>{{custormInfo.customerName}}</text>
        </view>
        <view class='info-box-info-item'>
          <image mode='widthFix' src='../../../images/memberInfo/hehe.png'></image>
          <text>{{custormInfo.account}}</text>
        </view>
        <view class='info-box-info-item'>
          <image mode='widthFix' src='../../../images/memberInfo/phone.png'></image>
          <text>{{custormInfo.account}}</text>
        </view>
        <view class='info-box-info-item'>
          <image mode='widthFix' src='../../../images/memberInfo/dizhi.png'></image>
          <text>{{custormInfo.address}}</text>
        </view>
        <view class='info-box-info-item info-span'>
          <image mode='widthFix' src='../../../images/memberInfo/biaoqian.png'></image>
          <view>
            <text wx:for="{{branchList}}"  wx:for-item="item" wx:for-index="index" wx:key="index">{{item.brandName}}</text>
          </view>
        </view>
      </view>
    </view>
    <view class='info-box' wx:if="{{active === 2}}">
      <view class='info-box-tit'>
        <text>个人安全设置</text>
        <view class='line'></view>
      </view>
      <view class='info-box-info'>
        <view class='info-box-info-item'>
          <image mode='widthFix' src='../../../images/memberInfo/hehe.png'></image>
          <text>{{custormInfo.account}}</text>
        </view>
        <view class='info-box-info-item'>
          <image mode='widthFix' src='../../../images/memberInfo/passwod.png'></image>
          <text>******</text>
        </view>
      </view>
    </view>
    <view class='info-box' wx:if="{{active === 3 || active === 4}}" style='margin-top: -50rpx;'>
      <view class='info-box-tit'>
        <text>实名认证</text>
        <view class='line'></view>
      </view>
      <view wx:if="{{active === 3}}">
        <view class='winxin-tips'>
          <view>温馨提示：</view>
          <view>1.照片要求：jpg/png格式，大小不超过1M；</view>
          <view>2.请确保三证合一的营业执照照片边框完整，字体清晰，亮度均匀。</view>
        </view>
        <view class='shangchuan-box'>
          <view class='left'>
            <view>
              <view class='img-box tianjia' id="img0" bindtap='chooseImage' wx:if="{{sanImg===''}}">+</view>
              <view class='img-box' id="img0" bindtap='chooseImage' wx:else><image src='{{sanImg}}'></image></view>
            </view>
            <view class='text'>上传<text class='b'>三证合一</text>的营业执照</view>
          </view>
          <view class='right'>
            <view class='img-box shili'></view>
            <view class='text'>营业执照 <text class='b'>示例图</text></view>
          </view>
        </view>
        <view style='text-align: center'>
          <view class='save-btn' id="save0" bindtap='seveSanMsg'>
            保存
          </view>
        </view>
      </view>
      <view wx:elif="{{active === 4}}">
        <view class='winxin-tips'>
          <view>温馨提示：</view>
          <view>1.照片要求：jpg/png格式，大小不超过1M；</view>
          <view>2.请确保身份证照片边框完整，字体清晰，亮度均匀。</view>
        </view>
        <view class='shangchuan-box2'>
          <view class='img-box'>
            <view class='img-box tianjia' id="img1" bindtap='chooseImage' wx:if="{{sanImg1===''}}">+</view>
            <view class='img-box' id="img1" bindtap='chooseImage' wx:else><image id="img1" src='{{sanImg1}}'></image></view>
          </view>
          <view class='text'>上传身份证<text class='b'>人像面</text></view>
          <view class='img-box'>
            <view class='img-box tianjia' id="img2" bindtap='chooseImage' wx:if="{{sanImg2===''}}">+</view>
            <view class='img-box' id="img2" bindtap='chooseImage' wx:else><image id="img2" src='{{sanImg2}}'></image></view>
          </view>
          <view class='text'>上传身份证<text class='b'>国徽面</text></view>
          <view class='img-box'>
            <view class='img-box tianjia' id="img3" bindtap='chooseImage' wx:if="{{sanImg3===''}}">+</view>
            <view class='img-box' id="img3" bindtap='chooseImage' wx:else><image id="img3" src='{{sanImg3}}'></image></view>
          </view>
          <view class='text'>上传身份证<text class='b'>名片</text>有姓名、联系方式的一面</view>
        </view>
        <view style='text-align: center'>
          <view class='save-btn' id="save1" bindtap='seveSanMsg'>
            保存
          </view>
        </view>
      </view> 
    </view>
    <view wx:elif="{{active === 5}}" style='margin-top: -50rpx;'>
      <view class='info-box-tit'>
        <text>收货地址管理</text>
        <view class='line'></view>
      </view>
      <view class='dizhi'>
        <view>
          <text class='name'>{{orderAdd.uname}}</text>
          <text class='phone'>{{orderAdd.uphone}}</text>
        </view>
        <view class='addr-info'>
          <text class='addr-info-tag'>默认</text>
          <text class='addr-info-detais'>{{orderAdd.address}}</text>
          <navigator url="/pages/member/memberInfoEDAddr/memberInfoEDAddr?id={{orderAdd.id}}" hover-class="Home_hover"><image mode='widthFix'  src='../../../images/memberInfo/qianbi.png'></image></navigator>
        </view>
      </view>
    </view>
  </view>
</view>
<view>
  <scroll-view scroll-x style="width: 100%;white-space: nowrap;padding-right: 80rpx;">
    <view class='bottom-nav'>
      <view class='{{active === 1? "active" : ""}}' id="active1" bindtap='setActive'>
        门店基本资料
      </view>
      <view class='{{active === 2? "active" : ""}}' id="active2" bindtap='setActive'>
        个人安全设置
      </view>
      <view class='{{active === 3? "active" : ""}}' id="active3" bindtap='setActive'>
        实名认证
      </view>
      <view class='{{active === 4? "active" : ""}}' id="active4" bindtap='setActive'>
        个人认证
      </view>
      <view class='{{active === 5? "active" : ""}}' id="active5" bindtap='setActive'>
        收货地址管理
      </view>
    </view>
  </scroll-view>
</view>
