<!-- 风格层主操作视图 -->
<div class="layout-view">
	<!-- 精装修 -->
	<div class="aiEdit">
		<scroll-view scroll-x="true" class="aiStyleList" :scroll-into-view="seqToStyleView">
			<div class="scrollViewItem" v-for="(item, idx) in styleList" :key="idx" :id="'styleItem'+idx"
				@click="curStyleIndex=idx">
				<div class="styleItem" :class="{'styleItemSelected':curStyleIndex==idx}">
					<img class="styleIcon" :src="item.imgList[0]" mode="aspectFill"></image>
					<text class="styleTitle">{{item.item}}</text>
				</div>
			</div>
		</scroll-view>
		<div class="aiTool">
			<div class="changeBtn" v-if="showAIFlag" @click="changeAIImg">
				<span v-if="checked==false" class="iconfont icon-xingzhuang-tuoyuanxing" style="margin-right:10px;font-size:36px;"></span>
				<span v-else class="iconfont icon-ziyuan" style="margin-right:10px;font-size:36px;color:#FAB060"></span>
				<!-- <img class="right-icon" src="https://dm.static.elab-plus.com/miniProgram/iconfont/right-icon.png" mode="widthFix"/> -->
				{{checked?'已选定图片':'选定图片'}}
			</div>
			<div v-if="showAIFlag" class="submitBtn continue rows justify-center" @click="aiSubmit">
				继续生成
			</div>
			<div v-else class="submitBtn rows justify-center" @click="aiSubmit">
				<img class="magic-icon" src="https://dm.static.elab-plus.com/miniProgram/iconfont/magic.png" mode="widthFix"/>
				AI生成精软装风格
			</div>
		</div>
	</div>
</div>