콘텐츠 메인
- ASMR 탭 UI 페이지 생성
This commit is contained in:
		@@ -22,23 +22,24 @@ struct ContentMainNewContentViewV2: View {
 | 
			
		||||
            HStack(spacing: 0) {
 | 
			
		||||
                Text(title)
 | 
			
		||||
                    .font(.custom(Font.bold.rawValue, size: 18.3))
 | 
			
		||||
                    .foregroundColor(Color(hex: "eeeeee"))
 | 
			
		||||
                    .foregroundColor(.grayee)
 | 
			
		||||
                
 | 
			
		||||
                Spacer()
 | 
			
		||||
                
 | 
			
		||||
                Image("ic_forward")
 | 
			
		||||
                    .resizable()
 | 
			
		||||
                    .frame(width: 20, height: 20)
 | 
			
		||||
                    .onTapGesture {
 | 
			
		||||
                    }
 | 
			
		||||
                    .onTapGesture { onClickMore() }
 | 
			
		||||
            }
 | 
			
		||||
            .padding(.horizontal, 13.3)
 | 
			
		||||
            
 | 
			
		||||
            ContentMainContentThemeView(
 | 
			
		||||
                themeList: themeList,
 | 
			
		||||
                selectTheme: selectTheme,
 | 
			
		||||
                selectedTheme: $selectedTheme
 | 
			
		||||
            )
 | 
			
		||||
            if !themeList.isEmpty {
 | 
			
		||||
                ContentMainContentThemeView(
 | 
			
		||||
                    themeList: themeList,
 | 
			
		||||
                    selectTheme: selectTheme,
 | 
			
		||||
                    selectedTheme: $selectedTheme
 | 
			
		||||
                )
 | 
			
		||||
            }
 | 
			
		||||
            
 | 
			
		||||
            ScrollView(.horizontal, showsIndicators: false) {
 | 
			
		||||
                HStack(spacing: 13.3) {
 | 
			
		||||
@@ -50,7 +51,9 @@ struct ContentMainNewContentViewV2: View {
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
        .onAppear {
 | 
			
		||||
            selectedTheme = themeList[0]
 | 
			
		||||
            if !themeList.isEmpty {
 | 
			
		||||
                selectedTheme = themeList[0]
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user