Conversation
Roy-wonji
approved these changes
Sep 17, 2025
Peter1119
approved these changes
Sep 17, 2025
Comment on lines
+12
to
+38
| Grid(horizontalSpacing: 12) { | ||
| GridRow { | ||
| Button { | ||
| //전체 취소 | ||
| } label: { | ||
| Text("전체 취소") | ||
| .font(.system(size: 15, weight: .regular)) | ||
| .foregroundStyle(.black) | ||
| .frame(maxWidth: .infinity) | ||
| .padding(10) | ||
| .overlay { | ||
| Capsule(style: .continuous) | ||
| .stroke(.black.opacity(0.2), lineWidth: 1) | ||
| } | ||
| } | ||
| .gridCellColumns(4) | ||
|
|
||
| Button { | ||
| //결제하기 | ||
| } label: { | ||
| Text("결제하기") | ||
| .font(.system(size: 15, weight: .semibold)) | ||
| .foregroundStyle(.white) | ||
| .frame(maxWidth: .infinity) | ||
| .padding(10) | ||
| .background(.blue) | ||
| .clipShape(.capsule(style: .continuous)) |
Contributor
There was a problem hiding this comment.
오 Grid
HStack이 아닌 Grid로 하신 이유가 있으실까요 ?
Contributor
Author
There was a problem hiding this comment.
아래 버튼 두개가 화면의 4:6 비율로 차지하고있는데
그 부분을 .gridCellColumns(4) / .gridCellColumns(6) 을 사용해서 만드려고 Grid 사용했습니다!
Roy-wonji
pushed a commit
that referenced
this pull request
Sep 18, 2025
* [feat] 장바구니 헤더 ui 추가 * [feat] 장바구니 목록 ui 추가 * [feat] 결제정보 요약 ui 추가 * [feat] 결제, 취소 버튼 ui 추가 * [chore] 파일 이동
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🔗 관련 이슈
✨ 작업 내용
📸 Showcase
📝 참고 사항
Motivation 🥳 (코드를 추가/변경하게 된 이유)
Key Changes 🔥 (주요 구현/변경 사항)
To Reviewers 🙏 (리뷰어에게 전달하고 싶은 말)
Reference 🔗
Close Issues 🔒 (닫을 Issue)
Close #No.
Checklist