''
liukangdong
2024-07-26 865b229e81373facf6d6e5d050f4f45532b80621
''
已删除2个文件
已修改16个文件
135 ■■■■ 文件已修改
wechat_jiaxuan/components/disCase/index.js 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/components/disProduct/index.js 16 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/components/disRealpic/index.js 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/auth/auth.js 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/auth/auth.less 34 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/auth/auth.wxml 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/pages/auth/auth.wxss 34 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/components/disCase/index.js 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/components/disCase/index.less 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/components/disCase/index.wxss 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/components/disProduct/index.js 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/components/disProduct/index.less 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/components/disProduct/index.wxss 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/components/disRealpic/index.js 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/components/disRealpic/index.less 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/components/disRealpic/index.wxss 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/static/images/home_img_weixiaoxd@2x.png 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/static/test.png 补丁 | 查看 | 原始文档 | blame | 历史
wechat_jiaxuan/components/disCase/index.js
@@ -55,7 +55,7 @@
      })
    },
    scrolltolower() {
      console.log('触底事件');
      console.log('触底事件')
      const { total, dataList, pageNum } = this.data
      if(total > dataList.length){
        this.setData({ pageNum: pageNum + 1 })
@@ -115,13 +115,13 @@
      }
      this.setData({ pageNum: 1,dataList: [],total: 0})
      this.setData({ tagCodes, cateList })
      console.log('tagCodes', tagCodes);
      console.log('tagCodes', tagCodes)
    },
    cancelParam() {
      const { cateList } = this.data
      cateList.forEach(item => {
        item.paramIndex = -1
        item.paramName = ''
        item.paramName = item.paramName || ''
      })
      this.setData({ tagCodes: [],activeParam: [],cateList,activeIndex: -1 })
    },
@@ -131,7 +131,7 @@
    },
    subParam() {
      this.setData({ activeParam: [] })
      this.setData({ pageNum: 1,dataList: [],total: 0})
      this.setData({ pageNum: 1, activeIndex: -1, dataList: [], total: 0 })
      this.getList()
    },
    changeShowParams(e){
wechat_jiaxuan/components/disProduct/index.js
@@ -31,7 +31,7 @@
    if(app.globalData.catalogCode){
      this.setData({ catalogCode: app.globalData.catalogCode })
      setTimeout(() => {
        console.log('catalogCode', this.data.catalogCode);
        console.log('catalogCode', this.data.catalogCode)
        getApp().globalData.catalogCode = ''
      }, 2000)
    }
@@ -80,7 +80,7 @@
      })
    },
    scrolltolower() {
      console.log('触底事件');
      console.log('触底事件')
      const { total, datalist, pageNum } = this.data
      if(total > datalist.length){
        this.setData({ pageNum: pageNum + 1 })
@@ -120,8 +120,8 @@
      const paramIndex = e.currentTarget.dataset.index
      const { secondCateList, tagCodes, activeParam, activeIndex } = this.data
      const index = tagCodes.indexOf(code)
      console.log('code', code);
      console.log('tagCodes', tagCodes);
      console.log('code', code)
      console.log('tagCodes', tagCodes)
      if(index === -1){
        // 同param里code重复
        if(activeParam && activeParam.length > 0){
@@ -145,8 +145,8 @@
    changeShowParams(e){
      const { secondCateList } = this.data
      const activeIndex = e.currentTarget.dataset.index
      console.log('activeIndex', activeIndex);
      console.log('secondCateList', secondCateList);
      console.log('activeIndex', activeIndex)
      console.log('secondCateList', secondCateList)
      if(activeIndex === this.data.activeIndex){
        this.setData({ activeIndex: -1, activeParam: [] })
      }else{
@@ -161,13 +161,13 @@
      const { secondCateList } = this.data
      secondCateList.forEach(item => {
        item.paramIndex = -1
        item.paramName = ''
        item.paramName = item.paramName || ''
      })
      this.setData({ tagCodes: [],activeParam: [],secondCateList,activeIndex: -1 })
    },
    subParam() {
      this.setData({ activeParam: [] })
      this.setData({ pageNum: 1,datalist: [],total: 0})
      this.setData({ pageNum: 1, activeIndex: -1, datalist: [], total: 0 })
      this.getList()
    },
  }
wechat_jiaxuan/components/disRealpic/index.js
@@ -151,7 +151,7 @@
      const { cateList } = this.data
      cateList.forEach(item => {
        item.paramIndex = -1
        item.paramName = ''
        item.paramName = item.paramName || ''
      })
      this.setData({ tagCodes: [],activeParam: [],cateList,activeIndex: -1 })
    },
@@ -161,7 +161,7 @@
    },
    subParam() {
      this.setData({ activeParam: [] })
      this.setData({ pageNum: 1,dataList: [],total: 0})
      this.setData({ pageNum: 1,activeIndex: -1,dataList: [],total: 0})
      this.getList()
    },
    changeShowParams(e){
wechat_jiaxuan/pages/auth/auth.js
@@ -10,6 +10,7 @@
  data: {
    agreementFalg: false,
    primary: '',
    bottomLift: 0,
    showModal: false,
    serviceHtml: '',
@@ -18,6 +19,10 @@
    activeHtml: ''
  },
  initData(){
    var app = getApp().globalData
    this.setData({
      bottomLift: app.bottomLift
    })
    getDictData({
      code: 'ZBOM_CUSTOMIZED',
      label: 'SERVER_AGREEMENT'
@@ -35,6 +40,11 @@
      })
    })
  },
  handleJudge(e) {
    const flag = e.currentTarget.dataset.flag
    console.log(e);
    this.setData({ agreementFalg: flag, showModal: false })
  },
  loginIn() {
    const { agreementFalg } = this.data
    if(!agreementFalg) return wx.showToast({
wechat_jiaxuan/pages/auth/auth.less
@@ -38,9 +38,39 @@
}
.modal{
  width: 100%;
  max-height: 1120rpx;
  min-height: 600rpx;
  height: calc( 100vh - 200rpx );
  padding: 40rpx;
  position: relative;
  .content{
    height: calc( 100vh - 460rpx );
    overflow: auto;
    margin-bottom: 20rpx;
  }
  .btns{
    position: fixed;
    padding: 20rpx 0rpx;
    width: 100%;
    z-index: 999;
    border-top: 1px solid #e5e5e5;
    .btn{
      width: 670rpx;
      font-weight: 500;
      font-size: 32rpx;
      color: #999999;
      text-align: center;
      margin-top: 30rpx;
    }
    .agree{
      width: 670rpx;
      height: 88rpx;
      background: #B08771;
      border-radius: 8rpx;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #fff;
    }
  }
}
.title{
  font-weight: 600;
wechat_jiaxuan/pages/auth/auth.wxml
@@ -23,7 +23,13 @@
  <!--  -->
  <van-popup position="bottom" show="{{ showModal }}" round bind:close="onClose">
    <view class="modal">
      <view class="content">
      <mp-html content="{{activeHtml}}"></mp-html>
    </view>
      <view style="bottom: {{ bottomLift }}px" class="btns">
        <view data-flag="{{true}}" bindtap="handleJudge" class="agree">同意</view>
        <view data-flag="{{false}}" bindtap="handleJudge" class="btn">不同意并退出</view>
      </view>
    </view>
  </van-popup>
</view>
wechat_jiaxuan/pages/auth/auth.wxss
@@ -38,9 +38,39 @@
}
.modal {
  width: 100%;
  max-height: 1120rpx;
  min-height: 600rpx;
  height: calc(100vh - 200rpx);
  padding: 40rpx;
  position: relative;
}
.modal .content {
  height: calc(100vh - 460rpx);
  overflow: auto;
  margin-bottom: 20rpx;
}
.modal .btns {
  position: fixed;
  padding: 20rpx 0rpx;
  width: 100%;
  z-index: 999;
  border-top: 1px solid #e5e5e5;
}
.modal .btns .btn {
  width: 670rpx;
  font-weight: 500;
  font-size: 32rpx;
  color: #999999;
  text-align: center;
  margin-top: 30rpx;
}
.modal .btns .agree {
  width: 670rpx;
  height: 88rpx;
  background: #B08771;
  border-radius: 8rpx;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.title {
  font-weight: 600;
wechat_staff/components/disCase/index.js
@@ -118,9 +118,10 @@
    },
    cancelParam() {
      const { cateList } = this.data
      console.log('cateList', cateList);
      cateList.forEach(item => {
        item.paramIndex = -1
        item.paramName = ''
        item.paramName = item.paramName || ''
      })
      this.setData({ tagCodes: [],activeParam: [],cateList,activeIndex: -1 })
    },
@@ -130,7 +131,7 @@
    },
    subParam() {
      this.setData({ activeParam: [] })
      this.setData({ pageNum: 1,dataList: [],total: 0})
      this.setData({ pageNum: 1,activeIndex: -1,dataList: [],total: 0})
      this.getList()
    },
    changeShowParams(e){
wechat_staff/components/disCase/index.less
@@ -171,6 +171,7 @@
        margin-left: 12rpx;
        .icon{
          width: 28rpx;
          height: 28rpx;
          margin-right: 8rpx;
        }
        .num{
wechat_staff/components/disCase/index.wxss
@@ -171,6 +171,7 @@
}
.main_content .goods_list .item .info .icon {
  width: 28rpx;
  height: 28rpx;
  margin-right: 8rpx;
}
.main_content .goods_list .item .info .num {
wechat_staff/components/disProduct/index.js
@@ -138,6 +138,7 @@
      const { secondCateList } = this.data
      const activeIndex = e.currentTarget.dataset.index
      console.log('activeIndex', activeIndex);
      console.log('activeIndex', this.data.activeIndex);
      console.log('secondCateList', secondCateList);
      if(activeIndex === this.data.activeIndex){
        this.setData({ activeIndex: -1, activeParam: [] })
@@ -154,13 +155,13 @@
      const { secondCateList } = this.data
      secondCateList.forEach(item => {
        item.paramIndex = -1
        item.paramName = ''
        item.paramName = item.paramName || ''
      })
      this.setData({ tagCodes: [],activeParam: [],secondCateList,activeIndex: -1 })
    },
    subParam() {
      this.setData({ activeParam: [] })
      this.setData({ pageNum: 1,datalist: [],total: 0})
      this.setData({ pageNum: 1,activeIndex: -1, datalist: [],total: 0})
      this.getList()
    },
  }
wechat_staff/components/disProduct/index.less
@@ -212,6 +212,7 @@
          .icon {
            width: 28rpx;
            height: 28rpx;
            margin-right: 8rpx;
          }
wechat_staff/components/disProduct/index.wxss
@@ -17,6 +17,7 @@
.app {
  height: 100%;
  width: 100%;
  overflow-y: hidden;
}
.app .home_content {
  height: 100%;
@@ -192,6 +193,7 @@
}
.main_content .main_right .goods_list .item .info .icon {
  width: 28rpx;
  height: 28rpx;
  margin-right: 8rpx;
}
.main_content .main_right .goods_list .item .info .num {
wechat_staff/components/disRealpic/index.js
@@ -149,7 +149,7 @@
      const { cateList } = this.data
      cateList.forEach(item => {
        item.paramIndex = -1
        item.paramName = ''
        item.paramName = item.paramName || ''
      })
      this.setData({ tagCodes: [],activeParam: [],cateList,activeIndex: -1 })
    },
@@ -159,7 +159,7 @@
    },
    subParam() {
      this.setData({ activeParam: [] })
      this.setData({ pageNum: 1,dataList: [],total: 0})
      this.setData({ pageNum: 1,activeIndex: -1,dataList: [],total: 0})
      this.getList()
    },
    changeShowParams(e){
wechat_staff/components/disRealpic/index.less
@@ -182,6 +182,7 @@
          .icon {
            width: 24rpx;
            height: 24rpx;
            margin-right: 4rpx;
          }
        }
@@ -222,6 +223,7 @@
        .icon {
          width: 28rpx;
          height: 28rpx;
          margin-right: 8rpx;
        }
wechat_staff/components/disRealpic/index.wxss
@@ -167,6 +167,7 @@
}
.main_content .goods_list .item .img_wrap .full .icon {
  width: 24rpx;
  height: 24rpx;
  margin-right: 4rpx;
}
.main_content .goods_list .item .img_wrap .img {
@@ -200,6 +201,7 @@
}
.main_content .goods_list .item .info .icon {
  width: 28rpx;
  height: 28rpx;
  margin-right: 8rpx;
}
.main_content .goods_list .item .info .num {
wechat_staff/static/images/home_img_weixiaoxd@2x.png
Binary files differ
wechat_staff/static/test.png
Binary files differ