yiming
2024-03-26 6955399f408332149aa7d4078cb24e01d34263df
书展列表bug
7个文件已修改
60 ■■■■■ 已修改文件
packageBookService/pages/bookServices/detail/components/learnResource/learnResource.js 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
packageDomain/pages/resourceDetails/myAudio/index.js 15 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
packagePersonal/pages/aboutUs/index.wxss 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/bookExhibitionList/index.wxss 25 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/cart/index.js 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/cart/index.json 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/cart/index.wxss 12 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
packageBookService/pages/bookServices/detail/components/learnResource/learnResource.js
@@ -44,6 +44,7 @@
      wx.navigateTo({
        url: `/packageBookService/pages/bookServices/detail/buyResource/index?productLinkPath=${this.properties.buyResourceData.productLinkPath}&refCode=${this.properties.buyResourceData.refCode}&bookId=${this.properties.bookId}`,
      })
    },
    changeReceive(type) {
packageDomain/pages/resourceDetails/myAudio/index.js
@@ -1,6 +1,8 @@
// pages/resourceDetails/index.js
const app = getApp()
const myAudio = wx.createInnerAudioContext();
// innerAudioContext.onPlay(function callback),
// InnerAudioContext.onTimeUpdate(function callback)
Page({
  /**
@@ -105,7 +107,7 @@
   */
  onShow() {
    this.pubulicPlayFun()
  },
  /**
@@ -526,15 +528,20 @@
      myAudio.duration; //必须写,不然获取不到。。。
      setTimeout(() => {
        console.log(myAudio.duration, 'myAudio.duration');
        // debugger
        this.setData({
          myAudioDuration: this.format(myAudio.duration),
          myAudioCurrent: this.format(myAudio.currentTime)
        });
      }, 1000);
      }, 100);
    });
    // myAudio.onSeeked(() => {
    //   this.setData({
    //     myAudioDuration: this.format(myAudio.duration),
    //     myAudioCurrent: this.format(myAudio.currentTime)
    //   })
    // })
    // 播放完成处理,按钮变一下
    myAudio.onEnded((res) => {
      this.setData({
packagePersonal/pages/aboutUs/index.wxss
@@ -5,7 +5,6 @@
  background-color: #fff;
  display: flex;
  align-items: center;
}
.navbar-title {
@@ -13,7 +12,6 @@
  /* overflow: hidden; */
  text-overflow: ellipsis;
  color: #0F1214;
  margin-bottom: 5rpx;
  font-weight: bold;
  font-size: 36rpx;
pages/bookExhibitionList/index.wxss
@@ -187,27 +187,34 @@
  height: 0 !important;
}
/* .t-button--primary {
.t-button--primary {
  color: #fff !important;
  background-color: #FF6C00 !important;
  border: 1rpx #fff solid !important;
}
.t-button--light {
  color: #fff !important;
  /* background-color: #FF6C00 !important; */
/* } */
  color: #000 !important;
  background-color: #fff !important;
}
/*
 */
.menu--t-dropdown-menu::after {
  background-color: var(--td-component-border, var(--td-gray-color-4, #fff)) !important;
}
.noData {
  /* display: flex;
  justify-content: center; */
  margin: 0 auto;
  margin-top: 100rpx;
}
.t-checkbox--tag .t-checkbox__title--checked {
  color: var(--td-checkbox-tag-active-color, var(--td-brand-color, var(--td-primary-color-7, #fff))) !important;
}
.t-checkbox--tag.t-checkbox--checked {
  color: var(--td-checkbox-tag-active-color, var(--td-brand-color, var(--td-primary-color-7, #fff))) !important;
  background-color: var(--td-checkbox-tag-active-bg-color, var(--td-brand-color-light, var(--td-primary-color-1, #FF6C00))) !important;
}
pages/cart/index.js
@@ -188,7 +188,8 @@
        this.setData({
          isMore: false
        })
      }, 100)
        console.log('300');
      }, 300)
    }
  },
pages/cart/index.json
@@ -11,6 +11,6 @@
    "t-image": "tdesign-miniprogram/image/image"
  },
  "enablePullDownRefresh": true,
  "onReachBottomDistance": 200,
  "onReachBottomDistance": 100,
  "backgroundTextStyle": "dark"
}
pages/cart/index.wxss
@@ -33,16 +33,22 @@
}
.bottomBox {
  position: fixed;
  /* bottom: 0; */
  /* position: fixed;
  left: 0;
  right: 0;
  bottom: calc(env(safe-area-inset-bottom) + 88rpx);
  bottom: calc(env(safe-area-inset-bottom) + 88rpx); */
  height: 120rpx;
  background: #FFFFFF;
  box-shadow: 0rpx -2rpx 0rpx 2rpx rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 44px;
  padding-bottom: 80px;
  padding-top: 10rpx;
}
.checkGroupBox {