From c99f9976a5ef9d8974105feb8fc0580a10adf98c Mon Sep 17 00:00:00 2001 From: QYF-GitLab1 <1940665526@qq.com> Date: 星期一, 23 十二月 2024 14:58:49 +0800 Subject: [PATCH] 111 --- packageDomain/pages/resourceDetails/myAudio/index.wxml | 65 ++++++++++++++++++-------------- 1 files changed, 36 insertions(+), 29 deletions(-) diff --git a/packageDomain/pages/resourceDetails/myAudio/index.wxml b/packageDomain/pages/resourceDetails/myAudio/index.wxml index 9d7e4d2..2ed2084 100644 --- a/packageDomain/pages/resourceDetails/myAudio/index.wxml +++ b/packageDomain/pages/resourceDetails/myAudio/index.wxml @@ -1,27 +1,28 @@ <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/website/image/video-bg.png');"> + <view class="audioBackground" style="background-image: url('https://jsek.bnuic.com/home/image/video-bg.png');"> <image src="/static/images/resourceDetailsMyAudio/cd.png" alt="" /> </view> <!-- 瑙嗛鎾斁鐨勬寜閽� --> <view class="bigFunctionBox"> <view class="functionBox"> - <!-- 宸﹀垏鎹� --> - <!-- <view class="leftSwitchBox color" bind:tap="onLeftSwitch"> - <t-icon name="previous" size="24" /> - </view> --> + <!-- 鏆傚仠鎾斁 --> <view class="audioIconBox color" style="margin-left: 30rpx; margin-right: 10rpx"> @@ -35,15 +36,14 @@ </view> </view> <slider style="width: 300rpx" activeColor="#FF6C00" class="mp-slider-bar" block-size="16" value="{{myAudioPos}}" bindchange="hanle_slider_change"></slider> - <!-- 鍙冲垏鎹� --> - <!-- <view class="rightSwitchBox color" bind:tap="onRightSwitch"> - <t-icon name="next" size="24" /> - </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"> @@ -53,10 +53,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 wx:if="{{speed != 0.5}}" style="margin: 5rpx 0" bind:tap="smallSpeed">x0.5</view> - <view wx:if="{{speed != 1}}" style="margin: 5rpx 0" bind:tap="smallSpeeDmultiple">x1</view> - <view wx:if="{{speed != 1.5}}" style="margin: 5rpx 0" bind:tap="centreSpeed">x1.5</view> - <view wx:if="{{speed != 2}}" style="margin: 5rpx 0" 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> @@ -66,17 +66,21 @@ <!-- 鏍囬 --> <view class="titleBox">{{titleName}}</view> <view class="contentBox"> - <t-tabs defaultValue="{{0}}" bind:change="onTabsChange" bind:click="onTabsClick" t-class="custom-tabs" t-class-content="custom-panel"> + <t-tabs defaultValue="{{0}}" bind:change="onTabsChange" bind:click="onTabsClick" t-class="custom-tabs" t-class-content="custom-panel" split="{{false}}"> <!-- 璧勬簮鍒楄〃 --> <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> <!-- 绗旇灞曠ず --> @@ -84,7 +88,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}}"> @@ -112,9 +117,11 @@ <!-- 璁扮瑪璁� --> <view class="takeNotes" data-key="showCloseBtn" bind:tap="showDialog"> <view class="takeNotesLining"> - <image src="/static/images/resourceDetails/jibijii.png" mode="" /> 璁扮瑪璁� + <image src="/static/images/resourceDetails/jibiji锛廼con@2x.png" mode="" /> + 璁扮瑪璁� </view> </view> + <view class="buttonBox"></view> </view> <!-- 璁扮瑪璁板脊绐� --> -- Gitblit v1.9.1