import Taro from "@tarojs/taro"; import classnames from "classnames"; import { Block, View, ScrollView, Image } from "@tarojs/components"; import { useState, useEffect } from "react"; import "./index.less"; interface Props { isShowNurse: boolean; ActiveModeItem: any; ModeStepIndex: number; } function Index({ isShowNurse, ActiveModeItem, ModeStepIndex }: Props) { const ModeColor = { "590nm": "#CF231D", "630nm": "#CF231D", "830nm": "#9C1D17", }; return ( {isShowNurse && ActiveModeItem?.combineData.length > 0 && ( 模式功效 {ActiveModeItem.combineData[ModeStepIndex].effectContent} 当前输出技术 {ActiveModeItem.combineData[ModeStepIndex].technologyInfo} {/* {ActiveModeItem.combineData.map((item) => { return ( {item.effectContent}({item.technologyInfo}) ); })} */} )} ); } export default Index;