MrShi
14 小时以前 ac33a3140ef8ef20dfd2537fce2dfdd0f374f30e
mini-program/pages/distributor/distributor.vue
@@ -4,10 +4,15 @@
         <view class="head-bar" :style="{ height: navHeight + statusbarHeight + 'px' }">
            <view :style="{ width: '100%', height: statusbarHeight + 'px' }"></view>
            <view class="head-bar-nav" :style="{ height: navHeight + 'px' }">
               <view class="loginOut" @click="logoutCom()">
               <view class="loginOut" >
                  <u-icon  class="icon" margin="5" name="home" label="商城" @click="jumpIndex()"label-color="#004096" label-size="13" size="13" mode="widthFix"></u-icon>
                  <text style="margin: 0rpx 10rpx 0 15rpx;font-size: 20rpx;">|</text>
                  <u-icon  class="icon" margin="5" name="bell" @click="logoutCom()" label="登出" label-color="#004096" label-size="13" size="13" mode="widthFix"></u-icon>
               </view>
               <!-- <view class="loginOut" @click="logoutCom()">
                  <image src="/static/icon/ic_tixing@2x.png" mode="widthFix"></image>
                  <text>登出</text>
               </view>
               </view> -->
            </view>
         </view>
         <view class="user">
@@ -282,7 +287,7 @@
      onLoad() {
          var that =this
          this.getBase64Img('/static/images/bg_card@2x.png')
         uni.$on('updateOrder',function(data){
          uni.$on('updateOrder',function(data){
            if(data.info!=null && data.info.orderId!=null && data.info.orderStatus ==3){
                if(data.info.orderStatus ==3){
                   that.getCountData()
@@ -456,6 +461,11 @@
               
            }
         }, 
         jumpIndex(){
            uni.switchTab({
               url:"/pages/index/index"
            })
         },
         async  logout(){ 
            var that =this
            let res = await that.$u.api.shopLogout({tokenType:1  })
@@ -471,7 +481,7 @@
            })
         },
         jumpShopLogin() {
            uni.navigateTo({
            uni.redirectTo({
               url: '/pages/login/login'
            })
         },
@@ -599,13 +609,29 @@
         background: linear-gradient(180deg, #C8F3FF 0%, #ffffff 100%);
      
         .head-bar {
            width: 100%;
            width: 100%;
            .head-bar-nav {
               width: 100%;
               display: flex;
               align-items: center;
               justify-content: left;
               .home {
                  width: 52rpx;
                  height: 52rpx;
                  background: #C3E6F5;
                  border-radius: 26rpx;
                  margin-right: 20rpx;
                  display: flex;
                  align-items: center;
                  justify-content: center;
                  text {
                     font-weight: 400;
                     font-size: 26rpx;
                     color: #004096;
                  }
               }
               .loginOut {
                  width: 120rpx;
                  width: 240rpx;
                  height: 52rpx;
                  background: #C3E6F5;
                  border-radius: 26rpx;