This commit is contained in:
SelfRidicule 2024-03-07 17:27:17 +08:00
parent 9eba013039
commit 518c193e1b
3 changed files with 1 additions and 26 deletions

View File

@ -12,7 +12,6 @@ Page({
*/
data: {
IMG_NAME: app.IMG_NAME,
contentSwichFLag: true,
meetingRoomId: null,
detail: {},
bannerList: [],
@ -69,15 +68,6 @@ Page({
})
},
// 切换内容展示
contentSwich() {
console.log('contentSwich', 1);
let _this = this;
_this.setData({
"contentSwichFLag": !_this.data.contentSwichFLag
})
},
// 跳转空间设施
jumpMeetingFacilities() {
let meetingRoomId = this.data.meetingRoomId;

View File

@ -29,15 +29,7 @@
</view>
<!-- 文字内容 -->
<view class="content {{contentSwichFLag ? 'hidden' : ''}}">
一般的会议室功能区包括主席台、听众区和发言区。部分会议室则不作明确区分,如圆桌会议室和会见式会议室。会场的布置类型可以是标准化的,也可以是个性化的一般的会议室功能区包括主席台、听众区和发言区。部分会议室则不作
一般的会议室功能区包括主席台、听众区和发言区。部分会议室则不作明确区分,如圆桌会议室和会见式会议室。会场的布置类型可以是标准化的,也可以是个性化的一般的会议室功能区包括主席台、听众区和发言区。
</view>
<view class="contentSwichBtn" bind:tap="contentSwich">
{{contentSwichFLag ? '展开' : '收起'}}
<van-icon wx:if="{{contentSwichFLag}}" name="arrow-down" />
<van-icon wx:if="{{!contentSwichFLag}}" name="arrow-up" />
</view>
<view class="content {{contentSwichFLag ? 'hidden' : ''}}">{{detail.content ? detail.content : ''}}</view>
</view>
<!-- 设施 -->

View File

@ -73,13 +73,6 @@
.roomView .content {
margin: 40rpx 20rpx 0;
font-size: 26rpx;
transition: all 1s;
}
.roomView .content.hidden {
height: 200rpx;
overflow: hidden;
transition: all 1s;
}
.roomView .contentSwichBtn {