세금계산서 샘플링

This commit is contained in:
focp212@naver.com
2025-11-10 15:03:27 +09:00
parent 34598256aa
commit 7a396b330b
7 changed files with 321 additions and 55 deletions

View File

@@ -3,7 +3,6 @@ import { IMAGE_ROOT } from '@/shared/constants/common';
import { useStore } from '@/shared/model/store'; import { useStore } from '@/shared/model/store';
import { motion } from 'framer-motion'; import { motion } from 'framer-motion';
import { ChangeEvent, useEffect, useState } from 'react'; import { ChangeEvent, useEffect, useState } from 'react';
import { toPng } from 'html-to-image';
import { snackBar } from '@/shared/lib'; import { snackBar } from '@/shared/lib';
import { useTranslation } from 'react-i18next'; import { useTranslation } from 'react-i18next';
@@ -38,7 +37,7 @@ export const DownloadBottomSheet = ({
const [sheetEmailMode, setSheetEmailMode] = useState<boolean>(emailMode); const [sheetEmailMode, setSheetEmailMode] = useState<boolean>(emailMode);
const [selectedMode, setSelectedMode] = useState<DownloadSelectedMode | undefined>(); const [selectedMode, setSelectedMode] = useState<DownloadSelectedMode | undefined>();
const onClickToClose = () => { const onClickToClose = () => {
setBottomSheetOn(false); setBottomSheetOn(false);
}; };
@@ -61,23 +60,6 @@ export const DownloadBottomSheet = ({
} }
}; };
const downloadImage = () => {
const app = document.getElementById('root') as HTMLElement;
toPng(app).then((image) => {
const link = document.createElement('a');
link.download = 'downloadImage.png';
link.href = image;
link.click();
snackBar(t('common.imageRequested'));
});
};
const onDownloadImage = () => {
// downloadImage();
setTimeout(() => {
onClickToClose();
}, 10);
};
const onClickToSelectMode = (mode: DownloadSelectedMode) => { const onClickToSelectMode = (mode: DownloadSelectedMode) => {
setSelectedMode(mode); setSelectedMode(mode);
}; };

View File

@@ -0,0 +1,260 @@
import { IMAGE_ROOT } from '@/shared/constants/common';
import { motion } from 'framer-motion';
import { FilterMotionDuration, FilterMotionVariants } from '../model/constant';
import { snackBar } from '@/shared/lib';
import { toPng } from 'html-to-image';
import { useTranslation } from 'react-i18next';
import '@/shared/ui/assets/css/style-tax-invoice.css';
import { useEffect } from 'react';
export interface TaxInoviceSampleProps {
taxInvoiceOn: boolean;
setTaxInvoiceOn: (taxInvoiceOn: boolean) => void;
};
export const TaxInvoiceSample = ({
taxInvoiceOn,
setTaxInvoiceOn
}: TaxInoviceSampleProps) => {
const { t } = useTranslation();
const downloadImage = () => {
const section = document.getElementById('image-section') as HTMLElement;
toPng(section).then((image) => {
const link = document.createElement('a');
link.download = 'downloadImage.png';
link.href = image;
link.click();
snackBar(t('common.imageRequested'), function(){
onClickToClose();
});
});
};
const onClickToClose = () => {
setTaxInvoiceOn(false);
};
useEffect(() => {
if(!!taxInvoiceOn){
downloadImage();
}
}, [taxInvoiceOn]);
return (
<>
<motion.div
className="bottomsheet mail-page"
initial="hidden"
animate={ (taxInvoiceOn)? 'hidden': 'hidden' }
variants={ FilterMotionVariants }
transition={ FilterMotionDuration }
>
<div className="wrap">
<div className="header">
<div className="header-top">
<img
className="logo"
src={ IMAGE_ROOT + '/mail_nicepay_logo.svg' }
alt="NICEPAY"
/>
<img
className="close-ic"
src={ IMAGE_ROOT + '/ico_close.svg' }
alt="닫기"
/>
</div>
<div className="email-row">
<div className="label"> </div>
<input
className="input40"
type="email"
placeholder="test@abc.com"
aria-label="수신 이메일 주소 입력"
/>
<a
className="btn btn-dark"
style={{ width: '46px' }}
></a>
<a className="btn btn-primary"></a>
</div>
<div className="divider"></div>
<div className="title-row">
<div className="title"> </div>
<select
className="select-outline"
aria-label="작업 선택"
>
<option value="cancel"></option>
<option value="reprint"></option>
</select>
</div>
</div>
<div id="image-section">
<div className="section">
<div className="head">
<div className="icon">
<svg
xmlns="http://www.w3.org/2000/svg"
width="20"
height="16"
viewBox="0 0 20 16"
fill="none"
>
<path d="M5.23633 0.378906C5.54719 0.379069 5.82854 0.555366 5.95898 0.825195L6.00488 0.946289L6.00586 0.947266L8.24023 8.89258H16.3174L17.4688 4.49805H8.92188C8.48682 4.49805 8.12402 4.15788 8.12402 3.72559C8.12427 3.2935 8.48697 2.9541 8.92188 2.9541H18.4941C18.7367 2.95411 18.9686 3.06058 19.1211 3.24805C19.2743 3.4358 19.3284 3.6835 19.2676 3.91602L17.7119 9.85449V9.85547C17.6207 10.2013 17.3001 10.4374 16.9385 10.4375H7.62891C7.27229 10.4375 6.95384 10.2072 6.8584 9.86719L4.62695 1.92383H1.64844C1.21341 1.92383 0.849609 1.58369 0.849609 1.15137C0.849699 0.719302 1.21267 0.37915 1.64746 0.378906H5.23633Z" fill="#2D3436" stroke="#2D3436" strokeWidth="0.3"/>
<path d="M8.92133 11.1777C10.187 11.1779 11.2279 12.1683 11.228 13.3984C11.228 14.6285 10.1872 15.6199 8.92133 15.6201C7.65619 15.6201 6.61469 14.6287 6.61469 13.3984C6.61473 12.1683 7.65601 11.1769 8.92133 11.1777ZM8.9223 12.7227C8.52551 12.7227 8.21141 13.0313 8.21136 13.3984C8.21136 13.7659 8.52494 14.0752 8.9223 14.0752C9.31966 14.075 9.63324 13.7656 9.63324 13.3984C9.6332 13.0312 9.31954 12.7221 8.9223 12.7227Z" fill="#2D3436" stroke="#2D3436" strokeWidth="0.3"/>
<path d="M15.6186 11.1777C16.8843 11.1779 17.9252 12.169 17.9252 13.3984C17.9252 14.6285 16.8844 15.6199 15.6186 15.6201C14.3535 15.6201 13.312 14.6287 13.312 13.3984C13.312 12.1691 14.3526 11.1777 15.6186 11.1777ZM15.6186 12.7236C15.2218 12.7236 14.9077 13.0322 14.9077 13.3994C14.9077 13.7669 15.2212 14.0762 15.6186 14.0762C16.016 14.076 16.3295 13.7666 16.3295 13.3994C16.3295 13.0331 16.0161 12.7238 15.6186 12.7236Z" fill="#2D3436" stroke="#2D3436" strokeWidth="0.3"/>
</svg>
</div>
<div className="h-title"></div>
</div>
<div className="row">
<div className="k"></div>
<div className="v"> </div>
</div>
<div className="row">
<div className="k"></div>
<div className="v"></div>
</div>
<div className="row">
<div className="k"></div>
<div className="v">815-81-00527</div>
</div>
<div className="row">
<div className="k"></div>
<div className="v">1661-7335</div>
</div>
<div className="row">
<div className="k"></div>
<div className="v"> 217 11</div>
</div>
<div className="row">
<div className="k">URL</div>
<div className="v">home.nicepay.co.kr</div>
</div>
</div>
<div className="divider"></div>
<div className="section">
<div className="head">
<div className="icon">
<svg
xmlns="http://www.w3.org/2000/svg"
width="16"
height="20"
viewBox="0 0 16 20"
fill="none"
>
<path d="M13.7656 0.799805C14.839 0.800034 15.7001 1.70434 15.7002 2.7998V17.2002C15.7001 18.2957 14.839 19.2 13.7656 19.2002H2.23438C1.16097 19.2 0.299907 18.2957 0.299805 17.2002V2.7998C0.299907 1.70434 1.16097 0.800034 2.23438 0.799805H13.7656ZM2.23438 2.40039C2.03318 2.40062 1.85655 2.57273 1.85645 2.7998V17.2002C1.85655 17.4273 2.03318 17.5994 2.23438 17.5996H13.7656C13.9674 17.5994 14.1435 17.4274 14.1436 17.2002V2.7998C14.1435 2.57257 13.9674 2.40062 13.7656 2.40039H2.23438Z" fill="#2D3436" stroke="#2D3436" strokeWidth="0.4"/>
<path d="M11.9355 3.7998C12.3344 3.79989 12.7002 4.09119 12.7002 4.5C12.7002 4.90881 12.3344 5.20011 11.9355 5.2002H4.06445C3.66564 5.20011 3.2998 4.90881 3.2998 4.5C3.2998 4.09119 3.66564 3.79989 4.06445 3.7998H11.9355Z" fill="#2D3436" stroke="#2D3436" strokeWidth="0.4"/>
<path d="M11.9355 6.7998C12.3344 6.79989 12.7002 7.09119 12.7002 7.5C12.7002 7.90881 12.3344 8.20011 11.9355 8.2002H4.06445C3.66564 8.20011 3.2998 7.90881 3.2998 7.5C3.2998 7.09119 3.66564 6.79989 4.06445 6.7998H11.9355Z" fill="#2D3436" stroke="#2D3436" strokeWidth="0.4"/>
<path d="M6.91504 9.7998C7.31807 9.7998 7.7002 10.085 7.7002 10.5C7.7002 10.9157 7.31789 11.2002 6.91504 11.2002H4.08496C3.68193 11.2002 3.2998 10.915 3.2998 10.5C3.2998 10.085 3.68193 9.7998 4.08496 9.7998H6.91504Z" fill="#2D3436" stroke="#2D3436" strokeWidth="0.4"/>
<path d="M10.9414 14.7998C11.3391 14.7998 11.7002 15.093 11.7002 15.5C11.7002 15.907 11.3391 16.2002 10.9414 16.2002H6.05859C5.66094 16.2002 5.2998 15.907 5.2998 15.5C5.2998 15.093 5.66094 14.7998 6.05859 14.7998H10.9414Z" fill="#2D3436" stroke="#2D3436" strokeWidth="0.4"/>
</svg>
</div>
<div className="h-title"></div>
<img src={ IMAGE_ROOT + '/ico_sign.png' } />
</div>
<div className="amount-row">
<div className="k"> </div>
<div className="v">4,552,000</div>
</div>
<div className="row">
<div className="k"></div>
<div className="v">343,940</div>
</div>
<div className="row">
<div className="k"></div>
<div className="v">343,940</div>
</div>
<div className="row split"></div>
<div className="row">
<div className="k"></div>
<div className="v"></div>
</div>
<div className="row">
<div className="k"></div>
<div className="v">489023******0070</div>
</div>
<div className="row">
<div className="k"></div>
<div className="v">*</div>
</div>
<div className="row">
<div className="k"></div>
<div className="v"></div>
</div>
<div className="row">
<div className="k"></div>
<div className="v"></div>
</div>
<div className="row">
<div className="k">/</div>
<div className="v"></div>
</div>
<div className="row">
<div className="k"></div>
<div className="v">14219606</div>
</div>
<div className="row">
<div className="k"></div>
<div className="v">2025.09.22 | 11:32:29</div>
</div>
<div className="row">
<div className="k"></div>
<div className="v">2025.09.22 | 23:10:16</div>
</div>
</div>
<div className="divider"></div>
<div className="section">
<div className="head">
<div className="icon">
<svg
xmlns="http://www.w3.org/2000/svg"
width="20"
height="20"
viewBox="0 0 20 20"
fill="none"
>
<path d="M18.4004 0.849609C18.8129 0.849821 19.1502 1.18707 19.1504 1.59961V18.4004C19.1502 18.8129 18.8129 19.1502 18.4004 19.1504H1.59961C1.18707 19.1502 0.849821 18.8129 0.849609 18.4004V11.2002C0.849609 10.7875 1.18694 10.4504 1.59961 10.4502H8.0498V1.59961C8.05002 1.18701 8.38718 0.849716 8.7998 0.849609H18.4004ZM9.5498 17.6504H17.6504V2.34961H9.5498V17.6504ZM2.34961 17.6504H8.0498V11.9502H2.34961V17.6504Z" fill="#2D3436" stroke="#2D3436" strokeWidth="0.3"/>
<path d="M12.5496 4.44922V6.5498H11.0496V4.44922H12.5496Z" fill="#2D3436" stroke="#2D3436" strokeWidth="0.3"/>
<path d="M16.1496 4.44922V6.5498H14.6496V4.44922H16.1496Z" fill="#2D3436" stroke="#2D3436" strokeWidth="0.3"/>
<path d="M12.5496 7.44922V9.5498H11.0496V7.44922H12.5496Z" fill="#2D3436" stroke="#2D3436" strokeWidth="0.3"/>
<path d="M16.1496 7.44922V9.5498H14.6496V7.44922H16.1496Z" fill="#2D3436" stroke="#2D3436" strokeWidth="0.3"/>
<path d="M12.5496 10.4492V12.5498H11.0496V10.4492H12.5496Z" fill="#2D3436" stroke="#2D3436" strokeWidth="0.3"/>
<path d="M16.1496 10.4492V12.5498H14.6496V10.4492H16.1496Z" fill="#2D3436" stroke="#2D3436" strokeWidth="0.3"/>
<path d="M6.15039 13.8496V15.1504H3.84961V13.8496H6.15039Z" fill="#2D3436" stroke="#2D3436" strokeWidth="0.3"/>
</svg>
</div>
<div className="h-title"> </div>
</div>
<div className="row">
<div className="k"></div>
<div className="v"> </div>
</div>
<div className="row">
<div className="k"></div>
<div className="v"></div>
</div>
<div className="row">
<div className="k"></div>
<div className="v">815-81-00527</div>
</div>
<div className="row">
<div className="k"></div>
<div className="v">1661-0808</div>
</div>
<div className="row">
<div className="k"></div>
<div className="v"> 28 25 (3)</div>
</div>
</div>
</div>
<div className="notice"> NICE로 .<br />* 46 .<br />( 33 2 .)</div>
</div>
</motion.div>
</>
);
};

View File

@@ -153,8 +153,8 @@ export const CashReceiptDetail = ({
transactionCategory={ TransactionCategory.CashReceipt } transactionCategory={ TransactionCategory.CashReceipt }
amountInfo={ amountInfo } amountInfo={ amountInfo }
isOpen={ showAmountInfo } isOpen={ showAmountInfo }
tid={ tid }
onClickToOpenInfo={ (infoSectionKey) => onClickToOpenInfo(infoSectionKey) } onClickToOpenInfo={ (infoSectionKey) => onClickToOpenInfo(infoSectionKey) }
purposeType={ purposeType }
canDownloadReceipt={ canDownloadReceipt } canDownloadReceipt={ canDownloadReceipt }
></AmountInfoSection> ></AmountInfoSection>
<div className="txn-divider"></div> <div className="txn-divider"></div>

View File

@@ -8,6 +8,7 @@ import { snackBar } from '@/shared/lib';
import { useCashReceiptReceiptDownloadMutation } from '../../api/use-cash-receipt-receipt-download-mutation'; import { useCashReceiptReceiptDownloadMutation } from '../../api/use-cash-receipt-receipt-download-mutation';
import { useState } from 'react'; import { useState } from 'react';
import { DownloadBottomSheet, DownloadSelectedMode } from '@/entities/common/ui/download-bottom-sheet'; import { DownloadBottomSheet, DownloadSelectedMode } from '@/entities/common/ui/download-bottom-sheet';
import { TaxInvoiceSample } from '@/entities/common/ui/tax-invoice-sample';
export const AmountInfoSection = ({ export const AmountInfoSection = ({
transactionCategory, transactionCategory,
@@ -22,6 +23,7 @@ export const AmountInfoSection = ({
const { mutateAsync: cashReceiptReceiptDownload } = useCashReceiptReceiptDownloadMutation(); const { mutateAsync: cashReceiptReceiptDownload } = useCashReceiptReceiptDownloadMutation();
const [downloadBottomSheetOn, setDownloadBottomSheetOn] = useState<boolean>(false); const [downloadBottomSheetOn, setDownloadBottomSheetOn] = useState<boolean>(false);
const [taxInvoiceOn, setTaxInvoiceOn] = useState<boolean>(false);
let newAmountInfo: Record<string, any> | undefined = amountInfo; let newAmountInfo: Record<string, any> | undefined = amountInfo;
const subItems: Record<string, Record<string, string>> = { const subItems: Record<string, Record<string, string>> = {
@@ -194,13 +196,20 @@ export const AmountInfoSection = ({
selectedMode: DownloadSelectedMode, selectedMode: DownloadSelectedMode,
userEmail?: string userEmail?: string
) => { ) => {
console.log(selectedMode, userEmail, tid)
if(!!tid){ if(!!tid){
let params: CashReceiptReceiptDownloadParams = { let params: CashReceiptReceiptDownloadParams = {
tid: tid tid: tid
}; };
cashReceiptReceiptDownload(params).then((rs: CashReceiptReceiptDownloadResponse) => { cashReceiptReceiptDownload(params).then((rs: CashReceiptReceiptDownloadResponse) => {
console.log(rs); console.log(rs);
snackBar('거래확인서 다운 성공'); if(selectedMode === DownloadSelectedMode.IMAGE){
setTaxInvoiceOn(true);
}
else if(selectedMode === DownloadSelectedMode.EMAIL){
snackBar('거래확인서 다운 성공');
}
}).catch((e: any) => { }).catch((e: any) => {
if(e.response?.data?.error?.message){ if(e.response?.data?.error?.message){
snackBar(e.response?.data?.error?.message); snackBar(e.response?.data?.error?.message);
@@ -403,7 +412,7 @@ export const AmountInfoSection = ({
} }
<div className="txn-doc"> <div className="txn-doc">
{ (transactionCategory === TransactionCategory.CashReceipt) && { (transactionCategory === TransactionCategory.CashReceipt) &&
!!canDownloadReceipt && // !!canDownloadReceipt &&
<button <button
className="doc-btn" className="doc-btn"
type="button" type="button"
@@ -421,6 +430,12 @@ export const AmountInfoSection = ({
sendRequest={ onRequestDownload } sendRequest={ onRequestDownload }
></DownloadBottomSheet> ></DownloadBottomSheet>
} }
{
<TaxInvoiceSample
taxInvoiceOn={ taxInvoiceOn }
setTaxInvoiceOn={ setTaxInvoiceOn }
></TaxInvoiceSample>
}
</> </>
); );
}; };

View File

@@ -1,3 +1,5 @@
import '@/shared/ui/assets/css/style-tax-invoice.css';
export const SamplePage = () => { export const SamplePage = () => {
return ( return (

View File

@@ -1,7 +1,6 @@
import { Route, Routes } from 'react-router-dom'; import { Route, Routes } from 'react-router-dom';
import { ROUTE_NAMES } from '@/shared/constants/route-names'; import { ROUTE_NAMES } from '@/shared/constants/route-names';
import { SamplePage } from './sample/sample-page'; import { SamplePage } from './sample/sample-page';
import '@/shared/ui/assets/css/style-tax-invoice.css';
export const TaxInvoicePages = () => { export const TaxInvoicePages = () => {
return ( return (

View File

@@ -1,39 +1,47 @@
body { margin: 0; padding: 0; background: #FAFAFA; } body { margin: 0; padding: 0; background: #FAFAFA; }
.mail-page { min-height: 100vh; display: flex; align-items: flex-start; justify-content: center; padding: 0 0 30px 0; } .mail-page { min-height: 100vh; display: flex; align-items: flex-start; justify-content: center; padding: 0 0 30px 0; }
.wrap { width: 100%; min-width: 320px; background: #FFFFFF; padding: 0 20px; box-sizing: border-box; } .mail-page .wrap { width: 100%; min-width: 320px; background: #FFFFFF; padding: 0 20px; box-sizing: border-box; }
/* header */ /* header */
.header { padding: 20px 0 0 0; } .mail-page .header { padding: 20px 0 0 0; }
.header-top { display: flex; height: 40px; align-items: center; justify-content: space-between; padding-bottom: 20px; padding-left: 48px; background: url("../images/receip_logo.png") no-repeat top 0 left 0; } .mail-page .header-top { display: flex; height: 40px; align-items: center; justify-content: space-between; padding-bottom: 20px; padding-left: 48px; background: url("../images/receip_logo.png") no-repeat top 0 left 0; }
.logo { display: inline-block; width: 109px; height: 29px; } .mail-page .logo { display: inline-block; width: 109px; height: 29px; }
.close-ic { width: 26px; height: 26px; display: block; } .mail-page .close-ic { width: 26px; height: 26px; display: block; }
.email-row { display: flex; align-items: center; gap: 6px; } .mail-page .email-row { display: flex; align-items: center; gap: 6px; }
.label { display: inline-flex; align-items: center; white-space: nowrap; font-family: Pretendard, Arial, Helvetica, sans-serif; font-size: 15px; line-height: 1.5; color: #2D3436; } .mail-page .label { display: inline-flex; align-items: center; white-space: nowrap; font-family: Pretendard, Arial, Helvetica, sans-serif; font-size: 15px; line-height: 1.5; color: #2D3436; }
.input40 { width: 150px; flex: 1; height: 30px; border: 1px solid #D9D9D9; border-radius: 6px; padding: 6px 12px; box-sizing: border-box; font-family: Pretendard, Arial, Helvetica, sans-serif; font-size: 15px; color: #2D3436; background: #FFFFFF; } .mail-page .input40 { width: 150px; flex: 1; height: 30px; border: 1px solid #D9D9D9; border-radius: 6px; padding: 6px 12px; box-sizing: border-box; font-family: Pretendard, Arial, Helvetica, sans-serif; font-size: 15px; color: #2D3436; background: #FFFFFF; }
.input40::placeholder { color: #999999; } .mail-page .input40::placeholder { color: #999999; }
.input40:focus { outline: none; border-color: #3E6AFC; } .mail-page .input40:focus { outline: none; border-color: #3E6AFC; }
.btn { display: inline-flex; min-width: 46px; align-items: center; justify-content: center; border-radius: 6px; height: 30px; padding: 0 10px; font-family: Pretendard, Arial, Helvetica, sans-serif; font-size: 15px; font-weight: 700; text-decoration: none; box-sizing: border-box; } .mail-page .btn { display: inline-flex; min-width: 46px; align-items: center; justify-content: center; border-radius: 6px; height: 30px; padding: 0 10px; font-family: Pretendard, Arial, Helvetica, sans-serif; font-size: 15px; font-weight: 700; text-decoration: none; box-sizing: border-box; }
.btn-dark { background: #043465; color: #F4F8FF; } .mail-page .btn-dark { background: #043465; color: #F4F8FF; }
.btn-primary { background: #3E6AFC; color: #F4F8FF; } .mail-page .btn-primary { background: #3E6AFC; color: #F4F8FF; }
.divider { height: 0; border-top: 1px solid #D6D6D6; margin: 16px 0; } .mail-page .divider { height: 0; border-top: 1px solid #D6D6D6; margin: 16px 0; }
/* title + cancel */ /* title + cancel */
.title-row { display: flex; align-items: center; justify-content: space-between; padding: 0 0 5px 0; } .mail-page .title-row { display: flex; align-items: center; justify-content: space-between; padding: 0 0 5px 0; }
.title { font-family: Pretendard, Arial, Helvetica, sans-serif; font-size: 22px; font-weight: 700; color: #2D3436; line-height: 1.5; } .mail-page .title { font-family: Pretendard, Arial, Helvetica, sans-serif; font-size: 22px; font-weight: 700; color: #2D3436; line-height: 1.5; }
.btn-outline { display: inline-flex; min-width: 70px; align-items: center; gap: 10px; height: 30px; border: 1px solid #D9D9D9; border-radius: 6px; padding: 0 10px; font-family: Pretendard, Arial, Helvetica, sans-serif; font-size: 14px; color: #2D3436; text-decoration: none; } .mail-page .btn-outline { display: inline-flex; min-width: 70px; align-items: center; gap: 10px; height: 30px; border: 1px solid #D9D9D9; border-radius: 6px; padding: 0 10px; font-family: Pretendard, Arial, Helvetica, sans-serif; font-size: 14px; color: #2D3436; text-decoration: none; }
.select-outline { min-width: 100px; height: 30px; border: 1px solid #D9D9D9; border-radius: 6px; padding: 0 30px 0 10px; box-sizing: border-box; background: #FFFFFF url('../images/select_arrow.svg') no-repeat right 10px center; font-family: Pretendard, Arial, Helvetica, sans-serif; font-size: 14px; color: #2D3436; appearance: none; -webkit-appearance: none; -moz-appearance: none; cursor: pointer; } .mail-page .select-outline { min-width: 100px; height: 30px; border: 1px solid #D9D9D9; border-radius: 6px; padding: 0 30px 0 10px; box-sizing: border-box; background: #FFFFFF url('../images/select_arrow.svg') no-repeat right 10px center; font-family: Pretendard, Arial, Helvetica, sans-serif; font-size: 14px; color: #2D3436; appearance: none; -webkit-appearance: none; -moz-appearance: none; cursor: pointer; }
.chev { width: 8px; height: 4px; display: inline-block; } .mail-page .chev { width: 8px; height: 4px; display: inline-block; }
/* list sections */ /* list sections */
.section { padding: 0; } .mail-page .section { padding: 0; }
.section .head { position: relative; display: flex; align-items: center; gap: 1px; justify-content: flex-start; padding: 10px 0; } .mail-page .section .head { position: relative; display: flex; align-items: center; gap: 1px; justify-content: flex-start; padding: 10px 0; }
.section .head .icon { position: relative; top: -2px; width: 18px; height: 18px; margin-right: 8px; } .mail-page .section .head .icon { position: relative; top: -2px; width: 18px; height: 18px; margin-right: 8px; }
.section .head .h-title { font-family: Pretendard, Arial, Helvetica, sans-serif; font-size: 18px; font-weight: 700; color: #2D3436; line-height: 1.5; } .mail-page .section .head .h-title { font-family: Pretendard, Arial, Helvetica, sans-serif; font-size: 18px; font-weight: 700; color: #2D3436; line-height: 1.5; }
.section .head .h-title + img { position: absolute; right: 0; } .mail-page .section .head .h-title + img { position: absolute; right: 0; }
.row { display: flex; align-items: center; justify-content: center; padding: 0; height: 28px; } .mail-page .row { display: flex; align-items: center; justify-content: center; padding: 0; height: 28px; }
.k { flex: 1; font-family: Pretendard, Arial, Helvetica, sans-serif; font-size: 15px; line-height: 1.5; color: #2D3436; } .mail-page .k { flex: 1; font-family: Pretendard, Arial, Helvetica, sans-serif; font-size: 15px; line-height: 1.5; color: #2D3436; }
.v { text-align: right; font-family: Pretendard, Arial, Helvetica, sans-serif; font-size: 15px; line-height: 1.5; color: #2D3436; } .mail-page .v { text-align: right; font-family: Pretendard, Arial, Helvetica, sans-serif; font-size: 15px; line-height: 1.5; color: #2D3436; }
.row.split { height: 0; border-top: 1px dashed #D6D6D6; margin: 10px 0;} .mail-page .row.split { height: 0; border-top: 1px dashed #D6D6D6; margin: 10px 0;}
/* amount block */ /* amount block */
.amount-row { display: flex; align-items: center; justify-content: space-between; height: 40px; } .mail-page .amount-row { display: flex; align-items: center; justify-content: space-between; height: 40px; }
.amount-row .k { font-size: 20px; font-weight: 700; } .mail-page .amount-row .k { font-size: 20px; font-weight: 700; }
.amount-row .v { font-size: 20px; font-weight: 700; } .mail-page .amount-row .v { font-size: 20px; font-weight: 700; }
/* notice */ /* notice */
.notice { padding: 16px; background: #F3F3F3; border-radius: 6px; margin: 30px 0 0 0; font-family: Pretendard, Arial, Helvetica, sans-serif; font-size: 14px; line-height: 1.5; color: #2D3436; } .mail-page .notice { padding: 16px; background: #F3F3F3; border-radius: 6px; margin: 30px 0 0 0; font-family: Pretendard, Arial, Helvetica, sans-serif; font-size: 14px; line-height: 1.5; color: #2D3436; }
.mail-page #image-section{
padding: 0 20px 20px 20px;
background-color: #ffffff;
}
.mail-page #image-section .section{
background-color: #ffffff;
}