From 92a0bff4761945ea8fb7a682915ba342cbb51b8d Mon Sep 17 00:00:00 2001 From: litian <C21AF165> Date: 星期三, 10 七月 2024 12:18:39 +0800 Subject: [PATCH] yinpin --- packageDomain/pages/resourceDetails/myAudio/index.wxml | 54 +++++++++++++++++++++++++++++++++--------------------- 1 files changed, 33 insertions(+), 21 deletions(-) diff --git a/packageDomain/pages/resourceDetails/myAudio/index.wxml b/packageDomain/pages/resourceDetails/myAudio/index.wxml index 30884ce..8d11b4c 100644 --- a/packageDomain/pages/resourceDetails/myAudio/index.wxml +++ b/packageDomain/pages/resourceDetails/myAudio/index.wxml @@ -1,18 +1,22 @@ <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> <!-- 瑙嗛鎾斁鐨勬寜閽� --> @@ -41,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"> @@ -53,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 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 +72,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 +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}}"> @@ -112,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