jiangping
2024-07-29 2f25addfcf7393879e899831d4e6c28d220a431b
Merge remote-tracking branch 'origin/master'
已删除2个文件
已修改31个文件
336 ■■■■■ 文件已修改
wechat_jiaxuan/app.wxss 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/components/disProduct/index.less 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/components/disProduct/index.wxss 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/components/disRealpic/index.less 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/components/disRealpic/index.wxss 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/components/idCard/index.less 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/components/idCard/index.wxss 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/components/videoPlay/index.less 19 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/components/videoPlay/index.wxss 12 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/detailDis/product.less 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/detailDis/product.wxml 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/detailDis/product.wxss 17 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/userinfo/index.wxml 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/utils/request.js 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/components/detailFooter/index.less 23 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/components/detailFooter/index.wxss 23 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/components/disProduct/index.less 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/components/disRealpic/index.js 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/components/disRealpic/index.json 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/components/disRealpic/index.less 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/components/disRealpic/index.wxml 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/components/videoPlay/index.less 19 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/components/videoPlay/index.wxss 12 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/pages/detailDis/product.less 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/pages/detailDis/product.wxml 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/pages/kefu/fond.js 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/pages/kefu/fond.less 23 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/pages/kefu/fond.wxss 27 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/pages/promotion/index.less 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/pages/promotion/index.wxss 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/pages/store/staff.less 36 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/pages/store/staff.wxss 38 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/utils/request.js 21 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/app.wxss
@@ -2,6 +2,9 @@
view,text,scroll-view,image{
  box-sizing: border-box;
}
.swiper{
  box-sizing: border-box;
}
page{
  background-color: #fff;
  --themeColor:#B08771;
wechat_jiaxuan/components/disProduct/index.less
@@ -178,6 +178,9 @@
        width: 242rpx;
        flex-shrink: 0;
        margin-bottom: 32rpx;
        &:nth-last-child(1){
          margin-right: auto;
        }
        .img_wrap {
          width: 242rpx;
          border-radius: 8rpx;
wechat_jiaxuan/components/disProduct/index.wxss
@@ -164,6 +164,9 @@
  flex-shrink: 0;
  margin-bottom: 32rpx;
}
.main_content .main_right .goods_list .item:nth-last-child(1) {
  margin-right: auto;
}
.main_content .main_right .goods_list .item .img_wrap {
  width: 242rpx;
  border-radius: 8rpx;
wechat_jiaxuan/components/disRealpic/index.less
@@ -150,6 +150,9 @@
    .item {
      width: 324rpx;
      margin-bottom: 32rpx; 
      &:nth-last-child(1){
        margin-right: auto;
      }
      .img_wrap {
        width: 100%;
        height: 182rpx;
wechat_jiaxuan/components/disRealpic/index.wxss
@@ -132,11 +132,13 @@
  flex-wrap: wrap;
  justify-content: space-around;
}
.main_content .goods_list .item {
  width: 324rpx;
  margin-bottom: 32rpx;
}
.main_content .goods_list .item:nth-last-child(1) {
  margin-right: auto;
}
.main_content .goods_list .item .img_wrap {
  width: 100%;
  height: 182rpx;
wechat_jiaxuan/components/idCard/index.less
@@ -39,7 +39,7 @@
      font-size: 20rpx;
      color: #333333;
      .icon{
        margin-bottom: 4rpx;
        margin-bottom: 6rpx;
        width: 44rpx;
        height: 44rpx;
      }
wechat_jiaxuan/components/idCard/index.wxss
@@ -38,7 +38,7 @@
  color: #333333;
}
.user .btns .item .icon {
  margin-bottom: 4rpx;
  margin-bottom: 6rpx;
  width: 44rpx;
  height: 44rpx;
}
wechat_jiaxuan/components/videoPlay/index.less
ÎļþÒÑɾ³ý
wechat_jiaxuan/components/videoPlay/index.wxss
@@ -5,15 +5,17 @@
  left: 0;
  width: 100%;
  height: 100%; 
  background-color: rgba(0, 0, 0, 0.2);
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9999; 
}
.video_content .video{
  position: fixed;
  border-radius: 8rpx;
  top: 50%;
  left: 75rpx;
  transform: translate(0, -50%);
  width: 600rpx;
  top: 40%;
  left: 0;
  width: 750rpx;
  z-index: 10000;
}
video{
  width: 750rpx;
}
wechat_jiaxuan/pages/detailDis/product.less
@@ -92,13 +92,14 @@
  border-radius: 16rpx 16rpx 0rpx 0rpx;
  background-color: #fff;
  margin-bottom: 20rpx;
  overflow: hidden;
  .title {
    font-weight: 500;
    font-size: 36rpx;
    margin-bottom: 16rpx;
  }
  .desc {
    line-height: 40rpx;
    font-size: 26rpx;
    color: #555555;
    margin-bottom: 26rpx;
wechat_jiaxuan/pages/detailDis/product.wxml
@@ -10,7 +10,7 @@
        </swiper-item>
      </block>
    </swiper>
    <view class="indicator">{{current+1}}/{{info.bannerImgList.length}}</view>
    <view class="indicator">{{current + 1}}/{{info.bannerImgList.length}}</view>
  </view>
  <view class="main_content">
    <view class="title">{{ info.title }}</view>
wechat_jiaxuan/pages/detailDis/product.wxss
@@ -85,6 +85,7 @@
  border-radius: 16rpx 16rpx 0rpx 0rpx;
  background-color: #fff;
  margin-bottom: 20rpx;
  overflow: hidden;
}
.main_content .title {
  font-weight: 500;
@@ -92,6 +93,7 @@
  margin-bottom: 16rpx;
}
.main_content .desc {
  line-height: 40rpx;
  font-size: 26rpx;
  color: #555555;
  margin-bottom: 26rpx;
@@ -161,6 +163,7 @@
}
.video .img_wrap .img {
  width: 100%;
  height: 376rpx;
}
.video .img_wrap .play {
  position: absolute;
@@ -175,6 +178,14 @@
  border-radius: 30rpx;
  font-size: 26rpx;
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
}
.video .img_wrap .play .icon {
  width: 14rpx;
  height: 16rpx;
  margin-left: 14rpx;
}
.detail {
  padding: 52rpx 40rpx 40rpx;
@@ -187,13 +198,13 @@
}
.detail .line {
  display: flex;
  height: 32rpx;
  margin-bottom: 24rpx;
  margin-bottom: 20rpx;
}
.detail .line .label {
  width: auto;
  width: 120rpx;
  font-size: 24rpx;
  color: #666666;
  flex-shrink: 0;
}
.detail .line .val {
  flex: 1;
wechat_jiaxuan/pages/userinfo/index.wxml
@@ -5,7 +5,7 @@
    <view class="line">
      <view class="label">昵称</view>
      <view class="val">
        <input bindchange="getNickName" value="{{ nickname }}" maxlength="{{ 18 }}"  type="nickname"/>
        <input bindchange="getNickName" value="{{ nickname }}" maxlength="{{ 10 }}"  type="nickname"/>
      </view>
    </view>
    <view class="line">
wechat_jiaxuan/utils/request.js
@@ -1,10 +1,10 @@
import { baseUrl } from "./config"
import { wxLoginCustomer } from '../api/index'
let number = 0
export function request(options){
  let loading = options.loading || '1' // é»˜è®¤å€¼1显示,否则不显示
  if(loading == '1'){
    wx.showLoading()
    number ++
  }
  return new Promise(resolve => {
    wx.request({
@@ -40,7 +40,10 @@
      },
      complete() {
        if(loading == '1'){
          wx.hideLoading()
          number --
          if(number == 0){
            wx.hideLoading()
          }
        }
      }
    })
wechat_staff/components/detailFooter/index.less
@@ -103,44 +103,43 @@
  position: fixed;
  border-radius: 8rpx;
  top: 50%;
  left: 75rpx;
  left: 95rpx;
  transform: translate(0, -50%);
  width: 600rpx;
  width: 560rpx;
  background-color: rgba(0, 0, 0, .2);
  z-index: 99999;
  .img1{
    image{
      width: 600rpx;
      width: 560rpx;
      border-radius: 8rpx ;
    }
  }
  .content{
    width: 600rpx;
    height: 308rpx;
    padding: 26rpx 0 40rpx;
    width: 560rpx;
    padding: 24rpx 0 16rpx;
    background: rgba(255,255,255,0.8);
    border-radius: 16rpx;
    margin-top: 24rpx;
    text-align: center;
    .title{
      font-weight: 500;
      font-size: 30rpx;
      margin-bottom: 20rpx;
      font-size: 28rpx;
      margin-bottom: 12rpx;
    }
    .line{
      font-size: 26rpx;
      font-size: 24rpx;
      color: #333333;
      line-height: 36rpx;
      line-height: 28rpx;
    }
  }
  .btns{
    margin-top: 30rpx;
    margin-top: 24rpx;
    display: flex;
    justify-content: space-between;
    width: 100%;
    .btn{
      width: 160rpx;
      height: 88rpx;
      height: 72rpx;
      border-radius: 8rpx;
      border: 2rpx solid #FFFFFF;
      display: flex;
wechat_staff/components/detailFooter/index.wxss
@@ -99,20 +99,19 @@
  position: fixed;
  border-radius: 8rpx;
  top: 50%;
  left: 75rpx;
  left: 95rpx;
  transform: translate(0, -50%);
  width: 600rpx;
  width: 560rpx;
  background-color: rgba(0, 0, 0, 0.2);
  z-index: 99999;
}
.card_wrap .img1 image {
  width: 600rpx;
  width: 560rpx;
  border-radius: 8rpx ;
}
.card_wrap .content {
  width: 600rpx;
  height: 308rpx;
  padding: 26rpx 0 40rpx;
  width: 560rpx;
  padding: 24rpx 0 16rpx;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 16rpx;
  margin-top: 24rpx;
@@ -120,23 +119,23 @@
}
.card_wrap .content .title {
  font-weight: 500;
  font-size: 30rpx;
  margin-bottom: 20rpx;
  font-size: 28rpx;
  margin-bottom: 12rpx;
}
.card_wrap .content .line {
  font-size: 26rpx;
  font-size: 24rpx;
  color: #333333;
  line-height: 36rpx;
  line-height: 28rpx;
}
.card_wrap .btns {
  margin-top: 30rpx;
  margin-top: 24rpx;
  display: flex;
  justify-content: space-between;
  width: 100%;
}
.card_wrap .btns .btn {
  width: 160rpx;
  height: 88rpx;
  height: 72rpx;
  border-radius: 8rpx;
  border: 2rpx solid #FFFFFF;
  display: flex;
wechat_staff/components/disProduct/index.less
@@ -177,6 +177,9 @@
        width: 242rpx;
        flex-shrink: 0;
        margin-bottom: 32rpx;
        &:nth-last-child(1){
          margin-right: auto;
        }
        .img_wrap {
          width: 242rpx;
          border-radius: 8rpx;
wechat_staff/components/disRealpic/index.js
@@ -73,9 +73,10 @@
    },
    videoClick(e) {
      const { videourl } = e.currentTarget.dataset
      wx.previewMedia({
        sources: [{ url: videourl, type: 'video' }]
      })
      let videoPlay = this.selectComponent('.videoPlay');
      if(videoPlay){
        videoPlay.startPlayVideo(videourl,this );
      }
    },
    priviewFull(e){
      const item = e.currentTarget.dataset.item
wechat_staff/components/disRealpic/index.json
@@ -1,4 +1,6 @@
{
  "component": true,
  "usingComponents": {}
  "usingComponents": {
    "videoPlay": "/components/videoPlay/index"
  }
}
wechat_staff/components/disRealpic/index.less
@@ -149,7 +149,9 @@
    .item {
      width: 324rpx;
      margin-bottom: 32rpx;
      &:nth-last-child(1){
        margin-right: auto;
      }
      .img_wrap {
        width: 100%;
        height: 182rpx;
wechat_staff/components/disRealpic/index.wxml
@@ -65,5 +65,5 @@
    </view>
  </view>
  <videoPlay class="videoPlay"/>
</view>
wechat_staff/components/videoPlay/index.less
ÎļþÒÑɾ³ý
wechat_staff/components/videoPlay/index.wxss
@@ -5,15 +5,17 @@
  left: 0;
  width: 100%;
  height: 100%; 
  background-color: rgba(0, 0, 0, 0.2);
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9999; 
}
.video_content .video{
  position: fixed;
  border-radius: 8rpx;
  top: 50%;
  left: 75rpx;
  transform: translate(0, -50%);
  width: 600rpx;
  top: 40%;
  left: 0;
  width: 750rpx;
  z-index: 10000;
}
video{
  width: 750rpx;
}
wechat_staff/pages/detailDis/product.less
@@ -81,6 +81,7 @@
    margin-bottom: 16rpx;
  }
  .desc {
    line-height: 40rpx;
    font-size: 26rpx;
    color: #555555;
    margin-bottom: 26rpx;
wechat_staff/pages/detailDis/product.wxml
@@ -10,7 +10,7 @@
        </swiper-item>
      </block>
    </swiper>
    <view class="indicator">{{current+1}}/{{info.bannerImgList.length}}</view>
    <view class="indicator">{{current + 1}}/{{info.bannerImgList.length}}</view>
  </view>
  <view class="main_content">
    <view class="title">{{ info.title }}</view>
wechat_staff/pages/kefu/fond.js
@@ -8,7 +8,9 @@
  data: {
    bottomLift: 0,
    checkAll: false,
    enjoyList: []
    enjoyList: [],
    leftIcon: '<<',
    rightIcon: '>>',
  },
  /**
wechat_staff/pages/kefu/fond.less
@@ -154,44 +154,43 @@
  position: fixed;
  border-radius: 8rpx;
  top: 50%;
  left: 75rpx;
  left: 95rpx;
  transform: translate(0, -50%);
  width: 600rpx;
  width: 560rpx;
  background-color: rgba(0, 0, 0, .2);
  z-index: 99999;
  .img1{
    image{
      width: 600rpx;
      width: 560rpx;
      border-radius: 8rpx ;
    }
  }
  .content{
    width: 600rpx;
    height: 308rpx;
    padding: 26rpx 0 40rpx;
    width: 560rpx;
    padding: 24rpx 0 16rpx;
    background: rgba(255,255,255,0.8);
    border-radius: 16rpx;
    margin-top: 24rpx;
    text-align: center;
    .title{
      font-weight: 500;
      font-size: 30rpx;
      margin-bottom: 20rpx;
      font-size: 28rpx;
      margin-bottom: 12rpx;
    }
    .line{
      font-size: 26rpx;
      font-size: 24rpx;
      color: #333333;
      line-height: 36rpx;
      line-height: 28rpx;
    }
  }
  .btns{
    margin-top: 30rpx;
    margin-top: 24rpx;
    display: flex;
    justify-content: space-between;
    width: 100%;
    .btn{
      width: 160rpx;
      height: 88rpx;
      height: 72rpx;
      border-radius: 8rpx;
      border: 2rpx solid #FFFFFF;
      display: flex;
wechat_staff/pages/kefu/fond.wxss
@@ -41,10 +41,8 @@
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  white-space: break-spaces;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  word-break: break-word;
}
.date_item .line .content .time {
  font-size: 24rpx;
@@ -155,20 +153,19 @@
  position: fixed;
  border-radius: 8rpx;
  top: 50%;
  left: 75rpx;
  left: 95rpx;
  transform: translate(0, -50%);
  width: 600rpx;
  width: 560rpx;
  background-color: rgba(0, 0, 0, 0.2);
  z-index: 99999;
}
.card_wrap .img1 image {
  width: 600rpx;
  width: 560rpx;
  border-radius: 8rpx ;
}
.card_wrap .content {
  width: 600rpx;
  height: 308rpx;
  padding: 26rpx 0 40rpx;
  width: 560rpx;
  padding: 24rpx 0 16rpx;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 16rpx;
  margin-top: 24rpx;
@@ -176,23 +173,23 @@
}
.card_wrap .content .title {
  font-weight: 500;
  font-size: 30rpx;
  margin-bottom: 20rpx;
  font-size: 28rpx;
  margin-bottom: 12rpx;
}
.card_wrap .content .line {
  font-size: 26rpx;
  font-size: 24rpx;
  color: #333333;
  line-height: 36rpx;
  line-height: 28rpx;
}
.card_wrap .btns {
  margin-top: 30rpx;
  margin-top: 24rpx;
  display: flex;
  justify-content: space-between;
  width: 100%;
}
.card_wrap .btns .btn {
  width: 160rpx;
  height: 88rpx;
  height: 72rpx;
  border-radius: 8rpx;
  border: 2rpx solid #FFFFFF;
  display: flex;
wechat_staff/pages/promotion/index.less
@@ -15,7 +15,7 @@
  background: #F7F7F7;
  border-radius: 8rpx;
  padding: 34rpx 40rpx 40rpx;
  margin-bottom: 40rpx;
  .time {
    font-weight: 500;
    font-size: 30rpx;
wechat_staff/pages/promotion/index.wxss
@@ -13,6 +13,7 @@
  background: #F7F7F7;
  border-radius: 8rpx;
  padding: 34rpx 40rpx 40rpx;
  margin-bottom: 40rpx;
}
.content .time {
  font-weight: 500;
wechat_staff/pages/store/staff.less
@@ -207,25 +207,43 @@
  position: fixed;
  border-radius: 8rpx;
  top: 50%;
  left: 75rpx;
  left: 95rpx;
  transform: translate(0, -50%);
  width: 600rpx;
  width: 560rpx;
  background-color: rgba(0, 0, 0, .2);
  z-index: 999;
  z-index: 99999;
  .img1{
    image{
      width: 600rpx;
      width: 560rpx;
      border-radius: 8rpx ;
    }
  }
  .content{
    width: 560rpx;
    padding: 24rpx 0 16rpx;
    background: rgba(255,255,255,0.8);
    border-radius: 16rpx;
    margin-top: 24rpx;
    text-align: center;
    .title{
      font-weight: 500;
      font-size: 28rpx;
      margin-bottom: 12rpx;
    }
    .line{
      font-size: 24rpx;
      color: #333333;
      line-height: 28rpx;
    }
  }
  .btns{
    margin-top: 30rpx;
    margin-top: 24rpx;
    display: flex;
    justify-content: space-between;
    width: 100%;
    .btn{
      width: 290rpx;
      height: 88rpx;
      width: 160rpx;
      height: 72rpx;
      border-radius: 8rpx;
      border: 2rpx solid #FFFFFF;
      display: flex;
@@ -234,8 +252,10 @@
      color: #fff;
    }
    .save{
      width: 420rpx;
      margin-left: 20rpx;
      border: none;
      background: linear-gradient( 180deg, #E0B49C 0%, #B68B74 100%);
    }
  }
}
}
wechat_staff/pages/store/staff.wxss
@@ -105,7 +105,6 @@
  font-size: 40rpx;
  display: flex;
}
.guide .title {
  font-weight: 500;
  font-size: 32rpx;
@@ -191,30 +190,47 @@
  justify-content: center; /* è¿™ä¼šä½¿å­å…ƒç´ æ°´å¹³å±…中 */
 
}
.card_wrap {
  position: fixed;
  border-radius: 8rpx;
  top: 50%;
  left: 75rpx;
  left: 95rpx;
  transform: translate(0, -50%);
  width: 600rpx;
  width: 560rpx;
  background-color: rgba(0, 0, 0, 0.2);
  z-index: 999;
  z-index: 99999;
}
.card_wrap .img1 image {
  width: 600rpx;
  width: 560rpx;
  border-radius: 8rpx ;
}
.card_wrap .content {
  width: 560rpx;
  padding: 24rpx 0 16rpx;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 16rpx;
  margin-top: 24rpx;
  text-align: center;
}
.card_wrap .content .title {
  font-weight: 500;
  font-size: 28rpx;
  margin-bottom: 12rpx;
}
.card_wrap .content .line {
  font-size: 24rpx;
  color: #333333;
  line-height: 28rpx;
}
.card_wrap .btns {
  margin-top: 30rpx;
  margin-top: 24rpx;
  display: flex;
  justify-content: space-between;
  width: 100%;
}
.card_wrap .btns .btn {
  width: 290rpx;
  height: 88rpx;
  width: 160rpx;
  height: 72rpx;
  border-radius: 8rpx;
  border: 2rpx solid #FFFFFF;
  display: flex;
@@ -223,6 +239,8 @@
  color: #fff;
}
.card_wrap .btns .save {
  width: 420rpx;
  margin-left: 20rpx;
  border: none;
  background: linear-gradient(180deg, #E0B49C 0%, #B68B74 100%);
}
}
wechat_staff/utils/request.js
@@ -1,8 +1,10 @@
import { baseUrl } from "./config"
export function request(options){
import { baseUrl } from "./config"
let number = 0
export function request(options) {
  let loading = options.loading || '1' // é»˜è®¤å€¼1显示,否则不显示
  if(loading == '1'){
  if (loading == '1') {
    wx.showLoading()
    number++
  }
  return new Promise(resolve => {
    wx.request({
@@ -18,7 +20,7 @@
        if (res.data.code === 200) {
          resolve(res.data || true)
        } else {
          if(res.data.code && (res.data.code == 5112 || res.data.code == 5111)){
          if (res.data.code && (res.data.code == 5112 || res.data.code == 5111)) {
            wx.navigateTo({
              url: '/pages/login/index',
            })
@@ -30,18 +32,21 @@
        }
      },
      fail(err) {
        console.log('err', err);
        console.log('err', err)
        err.message && wx.showToast({
          title: err.message || '发生错误',
          icon: 'none'
        })
      },
      complete() {
        if(loading == '1'){
          wx.hideLoading()
        if (loading == '1') {
          number--
          if (number == 0) {
            wx.hideLoading()
          }
        }
      }
    })
  } )
  })
}