From af2e38d1d72633d03afdb6e75f8d30b7ef0d0aee Mon Sep 17 00:00:00 2001 From: 闫增涛 <1829501689@qq.com> Date: 星期一, 29 七月 2024 15:24:30 +0800 Subject: [PATCH] 图书详情页添加对云学习目录整体购买的判断 --- packageDomain/pages/resourceDetails/myAudio/index.wxml | 53 +++++++++++++++++++++++++++++++---------------------- 1 files changed, 31 insertions(+), 22 deletions(-) diff --git a/packageDomain/pages/resourceDetails/myAudio/index.wxml b/packageDomain/pages/resourceDetails/myAudio/index.wxml index 888f8c4..8d11b4c 100644 --- a/packageDomain/pages/resourceDetails/myAudio/index.wxml +++ b/packageDomain/pages/resourceDetails/myAudio/index.wxml @@ -1,18 +1,19 @@ <import src="index.skeleton.wxml" /> <template is="skeleton" wx:if="{{loading}}" /> - - - - <view wx:if="{{!hidden}}"> - <view style="width: 100%; height: {{barHeight}}px; "></view> - <view class="nacigationBar" style="width: 70%; height: {{navBarHeight}}px;"> + <!-- <view style="width: 100%; height: {{barHeight}}px; "></view> + <view class="nacigationBar" style="width: 100%; height: {{navBarHeight}}px;"> <view> - <t-icon name="chevron-left" size="30" data-name="{{item}}" bind:click="goBack" /> + <t-icon + name="chevron-left" + size="30" + data-name="{{item}}" + bind:click="goBack" + /> </view> <view class="navbar-title">璧勬簮璇︽儏-闊抽</view> - </view> + </view> --> <view class="audioPlayerBox"> <view class="audioBackground" style="background-image: url('https://jsek.bnuic.com/home/image/video-bg.png');"> @@ -44,9 +45,11 @@ </view> --> <!-- 鏃堕棿 --> - <view class="current-time color">{{myAudioCurrent}} </view> - <view class="color" style="margin: 0 10rpx">/</view> - <view class="duration-time color"> {{myAudioDuration}} </view> + <view class="timeBox"> + <view class="current-time color">{{myAudioCurrent}} </view> + <view class="color" style="margin: 0 10rpx">/</view> + <view class="duration-time color"> {{myAudioDuration}} </view> + </view> <!-- bind:tap="onSpeed" --> <view class="publicBtn color"> @@ -56,10 +59,10 @@ <t-icon style="margin-top: 10rpx" wx:else name="caret-down-small" size="14" bind:click="onIconTap" /> </view> <view class="multipleBox" wx:if="{{showDropdown}}"> - <view style="margin: 10rpx 0;" wx:if="{{speed != 0.5}}" bind:tap="smallSpeed">x0.5</view> - <view style="margin: 10rpx 0;" wx:if="{{speed != 1}}" bind:tap="smallSpeeDmultiple">x1</view> - <view style="margin: 10rpx 0;" wx:if="{{speed != 1.5}}" bind:tap="centreSpeed">x1.5</view> - <view style="margin: 10rpx 0;" wx:if="{{speed != 2}}" bind:tap="bigSpeed">x2</view> + <view style="margin: 10rpx 0" wx:if="{{speed != 0.5}}" bind:tap="smallSpeed">x0.5</view> + <view style="margin: 10rpx 0" wx:if="{{speed != 1}}" bind:tap="smallSpeeDmultiple">x1</view> + <view style="margin: 10rpx 0" wx:if="{{speed != 1.5}}" bind:tap="centreSpeed">x1.5</view> + <view style="margin: 10rpx 0" wx:if="{{speed != 2}}" bind:tap="bigSpeed">x2</view> </view> </view> </view> @@ -73,13 +76,17 @@ <!-- 璧勬簮鍒楄〃 --> <t-tab-panel label="璧勬簮鍒楄〃" value="0" style="{{tabPanelstyle}}" style="width: 750rpx"> <view class="wrapper"> - <t-collapse value="{{activeValues}}" bind:change="handleChange"> + <!-- <t-collapse value="{{activeValues}}" bind:change="handleChange"> <t-collapse-panel header="{{parentName}}" value="{{0}}" expandIcon> - <view class="detailsName" wx:for="{{threeLeveData}}" wx:key="index" wx:for-item="item" wx:for-index="index" bind:tap="onVideo" data-item="{{item}}" data-index="{{index}}"> - <view style="color: {{selectedId == index ? '#ff6c00' : '#000'}}">{{item.name}}</view> - </view> + </t-collapse-panel> - </t-collapse> + </t-collapse> --> + <view class="outsideDetailsName"> + <view class="titleBox"> {{parentName}}</view> + <view class="detailsName" wx:for="{{threeLeveData}}" wx:key="index" wx:for-item="item" wx:for-index="index" bind:tap="onVideo" data-item="{{item}}" data-index="{{index}}"> + <view style="color: {{selectedId == index ? '#ff6c00' : '#000'}} ">{{item.name}}</view> + </view> + </view> </view> </t-tab-panel> <!-- 绗旇灞曠ず --> @@ -87,7 +94,8 @@ <view class="wrapper"> <t-collapse value="{{activeValues}}" bind:change="handleChange"> <view wx:if="{{noteList.length == 0}}" class="noData"> - <t-empty icon="folder-open" description="鏆傛棤鏁版嵁" /> + <!-- <t-empty icon="folder-open" description="鏆傛棤鏁版嵁" /> --> + <empty /> </view> <t-collapse-panel value="{{item.id}}" expandIcon wx:for="{{noteList}}"> @@ -115,7 +123,8 @@ <!-- 璁扮瑪璁� --> <view class="takeNotes" data-key="showCloseBtn" bind:tap="showDialog"> <view class="takeNotesLining"> - <image src="/static/images/resourceDetails/jibiji锛廼con@2x.png" mode="" /> 璁扮瑪璁� + <image src="/static/images/resourceDetails/jibiji锛廼con@2x.png" mode="" /> + 璁扮瑪璁� </view> </view> <view class="buttonBox"></view> -- Gitblit v1.9.1