jiangping
2024-07-26 06df90b8a8349e520f7415a407a26ca6454f9c2c
提交
已修改4个文件
79 ■■■■■ 文件已修改
wechat_staff/pages/store/staff.less 37 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/pages/store/staff.wxml 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/pages/store/staff.wxss 36 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/utils/config.js 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/pages/store/staff.less
@@ -8,6 +8,7 @@
  z-index: -1;
}
.container {
  padding: 26rpx 40rpx;
  .avatar {
@@ -199,3 +200,39 @@
    text-align: center;
  }
}
.card_wrap{
  position: fixed;
  border-radius: 8rpx;
  top: 50%;
  left: 75rpx;
  transform: translate(0, -50%);
  width: 600rpx;
  background-color: rgba(0, 0, 0, .2);
  z-index: 999;
  .img1{
    image{
      width: 600rpx;
      border-radius: 8rpx ;
    }
  }
  .btns{
    margin-top: 30rpx;
    display: flex;
    justify-content: space-between;
    width: 100%;
    .btn{
      width: 290rpx;
      height: 88rpx;
      border-radius: 8rpx;
      border: 2rpx solid #FFFFFF;
      display: flex;
      justify-content: center;
      align-items: center;
      color: #fff;
    }
    .save{
      border: none;
      background: linear-gradient( 180deg, #E0B49C 0%, #B68B74 100%);
    }
  }
}
wechat_staff/pages/store/staff.wxml
@@ -20,12 +20,12 @@
      <view class="card">
        <image src="../../static/images/mingpian_bg_nianxian.png" class="bg"></image>
        <view>从业年限</view>
        <view class="num">{{ info.jobDate || '5' }}</view>
        <view class="num">{{ userInfo.jobDate || '5' }}</view>
      </view>
      <view class="card">
      <image src="../../static/images/mingpian_bg_kehu.png" class="bg"></image>
        <view>服务客户</view>
        <view class="num" wx:if="{{ info.costomerNum || info.costomerNum == 0 }}">{{ info.costomerNum || '--' }}+</view>
        <view class="num" wx:if="{{ userInfo.costomerNum || userInfo.costomerNum == 0 }}">{{ userInfo.costomerNum || '--' }}+</view>
        <view wx:else class="num">--</view>
      </view>
    </view>
wechat_staff/pages/store/staff.wxss
@@ -105,6 +105,7 @@
  font-size: 40rpx;
  display: flex;
}
.guide .title {
  font-weight: 500;
  font-size: 32rpx;
@@ -187,3 +188,38 @@
  color: #999999;
  text-align: center;
}
.card_wrap {
  position: fixed;
  border-radius: 8rpx;
  top: 50%;
  left: 75rpx;
  transform: translate(0, -50%);
  width: 600rpx;
  background-color: rgba(0, 0, 0, 0.2);
  z-index: 999;
}
.card_wrap .img1 image {
  width: 600rpx;
  border-radius: 8rpx ;
}
.card_wrap .btns {
  margin-top: 30rpx;
  display: flex;
  justify-content: space-between;
  width: 100%;
}
.card_wrap .btns .btn {
  width: 290rpx;
  height: 88rpx;
  border-radius: 8rpx;
  border: 2rpx solid #FFFFFF;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
}
.card_wrap .btns .save {
  border: none;
  background: linear-gradient(180deg, #E0B49C 0%, #B68B74 100%);
}
wechat_staff/utils/config.js
@@ -1,4 +1,4 @@
export const baseUrl = 'http://192.168.0.107:10027'
export const baseUrl = 'http://192.168.0.135:10027'
// export const baseUrl = 'https://dmtest.ahapp.net/web_interface' // 本地
// export const baseUrl = 'http://zbtest.ahapp.net/zbom_interface/jx/wechat/' //测试服务器