<div class="container" @touchend="streamRecordEnd">
	<!-- <div class="back"><i class="iconfont icon-fanhui" @click="backFun"></i></div> -->
	<div class="title rows justify-center">
		- 选择您喜欢的空间 -
	</div>
	<!-- 户型选择区域 -->
	<div class="scroll-class">
		<div class="main grid-view1">
			<div @click="changeHouse(index)" class="item columns" :class="{'active': selectIndex == index}" 
				v-for="(house,index) in houseList" :key="index" >
				<img class="item-img" :src="house.coverImage" />
				<div class="tab-info rows justify-center">
					<i class="iconfont icon-Hook-1"></i>
				</div>
				<div class="item-text rows justify-center">{{house.houseType}}·{{house.houseArea}}㎡</div>
				<div class="item-note rows justify-center">{{house.note}}</div>
			</div>
		</div>
	</div>
	<!-- 题目数据 -->
	<div class="topic-view">
		<!-- 题目列表 -->
		<!-- <div class="screenList">
			<div class="items" v-for="(item, idx) in tabData" :key="idx">
				<div class="item_title">
					{{item.fatherContent}}：
				</div>
				<div class="item_list">
					<div :class="['item', idx1 == item.checkedIndex ? 'item_sel': '']" 
						v-for="(item1, idx1) in item.options" :key="idx1" 
						@click.stop="changeOption(idx, idx1)">
						{{item1.content}}
					</div>
				</div>
			</div>
		</div> -->
		<!-- 按钮 -->
		<div class="btn-list rows rows-between">
			<div class="btn voice rows justify-center" @touchstart="speechRecognizer" >
				<img class="icon" src="https://dm.static.elab-plus.com/miniProgram/iconfont/source.png" mode="widthFix"/>
				语音选择/按住说话
			</div>
			<div class="btn diy rows justify-center" @click="enterAction">DIY空间</div>
		</div>
	</div>
    <!-- 语音视图 -->
    <div class="voice-view" v-show="recording">
    	<div class="columns justify-center">
    		<div class="voice-title">选第一个</div>
    		<div class="voice-tips">松开手指，停止录音</div>
    		<img class="voice-gif" src="https://dm.static.elab-plus.com/miniProgram/iconfont/play.gif" mode="widthFix"/>
    		<div class="voice-tips" style="margin-top:12rpx;">我在听…</div>
    	</div>
    </div>
    <!-- 语音识别的结果 -->
    <div class="result-view rows justify-center">{{speechText}}</div>
</div>