From 6955399f408332149aa7d4078cb24e01d34263df Mon Sep 17 00:00:00 2001 From: yiming <m13691596795@163.com> Date: 星期二, 26 三月 2024 15:13:08 +0800 Subject: [PATCH] 书展列表bug --- pages/cart/index.json | 2 +- packageBookService/pages/bookServices/detail/components/learnResource/learnResource.js | 1 + pages/cart/index.js | 3 ++- pages/bookExhibitionList/index.wxss | 25 ++++++++++++++++--------- packageDomain/pages/resourceDetails/myAudio/index.js | 15 +++++++++++---- packagePersonal/pages/aboutUs/index.wxss | 2 -- pages/cart/index.wxss | 12 +++++++++--- 7 files changed, 40 insertions(+), 20 deletions(-) diff --git a/packageBookService/pages/bookServices/detail/components/learnResource/learnResource.js b/packageBookService/pages/bookServices/detail/components/learnResource/learnResource.js index ed3f0eb..9fbe534 100644 --- a/packageBookService/pages/bookServices/detail/components/learnResource/learnResource.js +++ b/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) { diff --git a/packageDomain/pages/resourceDetails/myAudio/index.js b/packageDomain/pages/resourceDetails/myAudio/index.js index 0a8363b..2b64886 100644 --- a/packageDomain/pages/resourceDetails/myAudio/index.js +++ b/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({ diff --git a/packagePersonal/pages/aboutUs/index.wxss b/packagePersonal/pages/aboutUs/index.wxss index 5384342..6e68eb9 100644 --- a/packagePersonal/pages/aboutUs/index.wxss +++ b/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; diff --git a/pages/bookExhibitionList/index.wxss b/pages/bookExhibitionList/index.wxss index 555a3e2..48e3255 100644 --- a/pages/bookExhibitionList/index.wxss +++ b/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; } \ No newline at end of file diff --git a/pages/cart/index.js b/pages/cart/index.js index df1d933..95c0fe5 100644 --- a/pages/cart/index.js +++ b/pages/cart/index.js @@ -188,7 +188,8 @@ this.setData({ isMore: false }) - }, 100) + console.log('300'); + }, 300) } }, diff --git a/pages/cart/index.json b/pages/cart/index.json index 5c4b437..c01a13b 100644 --- a/pages/cart/index.json +++ b/pages/cart/index.json @@ -11,6 +11,6 @@ "t-image": "tdesign-miniprogram/image/image" }, "enablePullDownRefresh": true, - "onReachBottomDistance": 200, + "onReachBottomDistance": 100, "backgroundTextStyle": "dark" } \ No newline at end of file diff --git a/pages/cart/index.wxss b/pages/cart/index.wxss index bd7c8b0..88ecf3a 100644 --- a/pages/cart/index.wxss +++ b/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 { -- Gitblit v1.9.1