lll
liukangdong
2024-07-26 7751c8e6aa0aced5403954ef871cb996949cbafc
lll
已添加2个文件
已修改10个文件
205 ■■■■ 文件已修改
wechat_jiaxuan/pages/index/index.js 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/store/staff.less 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/components/detailFooter/index.js 18 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/components/detailFooter/index.wxml 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/pages/consult/detail.js 10 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/pages/consult/detail.wxml 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/pages/store/staff.less 73 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/pages/store/staff.wxml 13 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/pages/store/staff.wxss 68 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/project.private.config.json 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/static/images/mingpian_bg_kehu.png 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/static/images/mingpian_bg_nianxian.png 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/index/index.js
@@ -276,7 +276,7 @@
        url: '/pages/webView/index',
        success: function (res) {
          res.eventChannel.emit('data', {
            link: item.content
            link: item.openContent || item.content
          });
        }
      })
wechat_jiaxuan/pages/store/staff.less
@@ -32,7 +32,7 @@
      overflow : hidden;
      text-overflow: ellipsis;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-line-clamp: 1;
      -webkit-box-orient: vertical;
    }
    .icon{
@@ -58,7 +58,8 @@
  .left {
    flex: 1;
    display: flex;
    align-items: flex-end;
    align-items: center;
    margin-top: 12rpx;
    .name {
      font-weight: 600;
wechat_staff/components/detailFooter/index.js
@@ -29,6 +29,24 @@
    })
  },
  methods: {
    handleShare() {
      let map = [
        '/pages/detailDis/product',
        '/pages/detailDis/case',
        '/pages/detailDis/realpic',
        '/pages/consult/detail',
      ]
      const { info,  path} = this.data
      wx.navigateToMiniProgram({
        appId: 'wx208dd1edc0be24ee',
        path: map[path],
        envVersion: 'trial',
        extraData: {
          id: info.id,
          origin: 'b'
        }
      })
    },
    handleEnjoy() {
      const {
        info
wechat_staff/components/detailFooter/index.wxml
@@ -23,7 +23,7 @@
  <!--  -->
  <view wx:if="{{ showShare }}" class="shade_modal" style="padding-bottom: {{bottomLift}}px;">
    <view class="btns">
      <button open-type="share" class="item" bindtap="handleShare">
      <button class="item" bindtap="handleShare">
        <image src="../../static/icon/wechat.png"></image>
        <view>小程序分享</view>
      </button>
wechat_staff/pages/consult/detail.js
@@ -23,8 +23,14 @@
    this.getDetail(options.id)
  },
  handleDesign() {
    wx.navigateTo({
      url: '/pages/design/design',
    wx.navigateToMiniProgram({
      appId: 'wx208dd1edc0be24ee',
      path: '/pages/consult/detail',
      envVersion: 'trial',
      extraData: {
        id: this.data.info.id,
        origin: 'b'
      }
    })
  },
  getDetail(id) {
wechat_staff/pages/consult/detail.wxml
@@ -15,13 +15,8 @@
        <image class="icon" src="../../static/icon/detail_nav_collected.png" mode="widthFix"></image>
        <view class="name">收藏</view>
      </view> -->
      <button open-type="share" class="item" bindtap="handleShare">
        <image class="icon" src="../../static/icon/detail_nav_share.png" mode="widthFix"></image>
        <view class="name">分享</view>
      </button>
      <view class="sub_btn" bindtap="handleDesign">
        <image class="sheji" src="../../static/icon/ic_sheji.png" mode="widthFix"></image>
        <view>免费预约专属设计</view>
        <view>分享</view>
      </view>
    </view>
  </view>
wechat_staff/pages/store/staff.less
@@ -1,4 +1,3 @@
.bg_wrap {
  width: 750rpx;
  height: 400rpx;
@@ -6,20 +5,17 @@
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
  z-index: -1;
}
.container {
  padding: 26rpx 40rpx;
  background-color: #fff;
  .avatar {
    margin-top: 260rpx;
    width: 140rpx;
    height: 140rpx;
    border-radius: 50%;
    border: 4rpx solid #FFFFFF;
    position: relative;
    z-index: 2;
  }
  .desc {
    display: flex;
@@ -31,6 +27,14 @@
    margin-bottom: 40rpx;
    color: #333333;
    position: relative;
    .text{
      width: 100%;
      overflow : hidden;
      text-overflow: ellipsis;
      display: -webkit-box;
      -webkit-line-clamp: 1;
      -webkit-box-orient: vertical;
    }
    .icon{
      position: absolute;
      background: #F7F7F7;
@@ -42,6 +46,7 @@
    }
    image {
      width: 32rpx;
      height: 32rpx;
      margin-right: 20rpx;
    }
  }
@@ -54,8 +59,8 @@
  .left {
    flex: 1;
    display: flex;
    align-items: flex-end;
    align-items: center;
    margin-top: 12rpx;
    .name {
      font-weight: 600;
      font-size: 36rpx;
@@ -82,16 +87,23 @@
  display: flex;
  justify-content: space-between;
  margin-bottom: 60rpx;
  .card {
    width: 320rpx;
    height: 156rpx;
    padding: 28rpx 40rpx;
    background-color: #f7f7f7;
    border-radius: 8rpx;
    font-size: 26rpx;
    color: #333333;
    position: relative;
    .bg{
      width: 100%;
      height: 100%;
      position: absolute;
      z-index: -1;
      top: 0;
      left: 0;
    }
    .num {
      color: var(--themeColor);
      margin-top: 8rpx;
@@ -111,16 +123,17 @@
  .line {
    display: flex;
    align-items: flex-start;
    font-size: 30rpx;
    margin-bottom: 40rpx;
    margin-bottom: 42rpx;
    .icon {
      width: 30rpx;
      margin-top: 6rpx;
    }
    .label {
      color: #777777;
      margin-left: 24rpx;
      margin-right: 44rpx;
      width: 140rpx;
    }
    .val{
      flex: 1;
@@ -148,7 +161,7 @@
    border-radius: 8rpx;
    flex: 1;
    image{
      width: 36rpx;
      width: 32rpx;
      margin-right: 12rpx;
    }
  }
@@ -184,41 +197,5 @@
    font-size: 26rpx;
    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, .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
@@ -9,21 +9,24 @@
        <view class="tag">导购</view>
        <!-- <view class="tag">5年经验</view> -->
      </view>
      <image bind:tap="showQrcode" class="qrcode" src="../../static/icon/mingpian_erweima@2x.png" mode="widthFix"></image>
      <image wx:if="{{ userInfo.qrcodeImgFull }}" bind:tap="showQrcode" class="qrcode" src="../../static/icon/mingpian_erweima@2x.png" mode="widthFix"></image>
    </view>
    <view class="desc">
      <image src="../../static/icon/mingpian_ic_edit@2x.png" mode="widthFix"></image>
      <view>{{userInfo.slogans}}</view>
      <view class="text">{{userInfo.slogans}}</view>
      <view class="icon"></view>
    </view>
    <view class="static">
      <view class="card">
        <image src="../../static/images/mingpian_bg_nianxian.png" class="bg"></image>
        <view>从业年限</view>
        <view class="num">{{userInfo.jobDate||'0'}}</view>
        <view class="num">{{ info.jobDate || '5' }}</view>
      </view>
      <view class="card">
      <image src="../../static/images/mingpian_bg_kehu.png" class="bg"></image>
        <view>服务客户</view>
        <view class="num">{{userInfo.costomerNum||'0'}}</view>
        <view class="num" wx:if="{{ info.costomerNum || info.costomerNum == 0 }}">{{ info.costomerNum || '--' }}+</view>
        <view wx:else class="num">--</view>
      </view>
    </view>
    <view class="guide">
@@ -59,7 +62,7 @@
        <image class="avatar" src="{{userInfo.imgurlFull ? userInfo.imgurlFull : '../../static/images/default_avatar.png'}}"></image>
        <view class="content">
          <view class="name">{{userInfo.name}}</view>
          <view class="desc">导购 | {{userInfo.jobDate ||'0'}}年经验</view>
          <view class="desc">导购 | {{userInfo.jobDate ||'5'}}年经验</view>
        </view>
      </view>
      <image class="qrcode" src="{{userInfo.qrcodeImgFull}}"></image>
wechat_staff/pages/store/staff.wxss
@@ -5,11 +5,10 @@
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
  z-index: -1;
}
.container {
  padding: 26rpx 40rpx;
  background-color: #fff;
}
.container .avatar {
  margin-top: 260rpx;
@@ -17,8 +16,6 @@
  height: 140rpx;
  border-radius: 50%;
  border: 4rpx solid #FFFFFF;
  position: relative;
  z-index: 2;
}
.container .desc {
  display: flex;
@@ -31,6 +28,14 @@
  color: #333333;
  position: relative;
}
.container .desc .text {
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}
.container .desc .icon {
  position: absolute;
  background: #F7F7F7;
@@ -42,6 +47,7 @@
}
.container .desc image {
  width: 32rpx;
  height: 32rpx;
  margin-right: 20rpx;
}
.name_wrap {
@@ -51,7 +57,8 @@
.name_wrap .left {
  flex: 1;
  display: flex;
  align-items: flex-end;
  align-items: center;
  margin-top: 12rpx;
}
.name_wrap .left .name {
  font-weight: 600;
@@ -78,10 +85,18 @@
  width: 320rpx;
  height: 156rpx;
  padding: 28rpx 40rpx;
  background-color: #f7f7f7;
  border-radius: 8rpx;
  font-size: 26rpx;
  color: #333333;
  position: relative;
}
.static .card .bg {
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
}
.static .card .num {
  color: var(--themeColor);
@@ -97,17 +112,18 @@
}
.guide .line {
  display: flex;
  align-items: flex-start;
  font-size: 30rpx;
  margin-bottom: 40rpx;
  margin-bottom: 42rpx;
}
.guide .line .icon {
  width: 30rpx;
  margin-top: 6rpx;
}
.guide .line .label {
  color: #777777;
  margin-left: 24rpx;
  margin-right: 44rpx;
  width: 140rpx;
}
.guide .line .val {
  flex: 1;
@@ -135,7 +151,7 @@
  flex: 1;
}
.footer .btn image {
  width: 36rpx;
  width: 32rpx;
  margin-right: 12rpx;
}
.modal {
@@ -170,38 +186,4 @@
  font-size: 26rpx;
  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/project.private.config.json
@@ -49,6 +49,13 @@
          "query": "",
          "launchMode": "default",
          "scene": null
        },
        {
          "name": "",
          "pathName": "pages/consult/detail",
          "query": "id=1813577799402684418",
          "launchMode": "default",
          "scene": null
        }
      ]
    }
wechat_staff/static/images/mingpian_bg_kehu.png
wechat_staff/static/images/mingpian_bg_nianxian.png