响应式客户小票页面

代码语言:html

所属分类:响应式

下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">


    <!--[if !mso]><!--><link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet"><!--<![endif]-->
    <!--[if mso]>
      <xml>
        <o:OfficeDocumentSettings>
          <o:PixelsPerInch>96</o:PixelsPerInch>
        </o:OfficeDocumentSettings>
      </xml>
      <style>
        table {border-collapse: collapse;}
        td,th,div,p,a,h1,h2,h3,h4,h5,h6 {font-family: "Segoe UI", sans-serif; mso-line-height-rule: exactly;}
      </style>
      <![endif]-->
    <style>
@media screen {
        img {
            max-width: 100%;
        }
        td,
        th {
            box-sizing: border-box;
        }
        u~div .wrapper {
            min-width: 100vw;
        }
        a[x-apple-data-detectors] {
            color: inherit;
            text-decoration: none;
        }
        .all-font-roboto {
            font-family: Roboto, -apple-system,"Segoe UI", sans-serif !important;
        }
        .all-font-sans {
            font-family: -apple-system,"Segoe UI", sans-serif !important;
        }
    }
@media (max-width: 600px) {
        .sm-inline-block {
            display: inline-block !important;
        }
        .sm-hidden {
            display: none !important;
        }
        .sm-leading-32 {
            line-height: 32px !important;
        }
        .sm-p-20 {
            padding: 20px !important;
        }
        .sm-py-12 {
            padding-top: 12px !important;
            padding-bottom: 12px !important;
        }
        .sm-text-center {
            text-align: center !important;
        }
        .sm-text-xs {
            font-size: 12px !important;
        }
        .sm-text-lg {
            font-size: 18px !important;
        }
        .sm-w-1-4 {
            width: 25% !important;
        }
        .sm-w-3-4 {
            width: 75% !important;
        }
        .sm-w-full {
            width: 100% !important;
        }
    }
    </style>
    <style>
@media (max-width: 600px) {
        .sm-dui17-b-t {
            border: solid #4299e1;
            border-width: 4px 0 0;
        }
    }
    </style>
</head>
<body style="box-sizing: border-box; margin: 0; padding: 0; width: 100%; word-break: break-word; -webkit-font-smoothing: antialiased; background-color: #f5dbce;">
    <div style="display: none; line-height: 0; font-size: 0;">
        Hey Jamie, thanks for booking with us - your reservation is now confirmed ✔
    </div>
    <table class="wrapper all-font-sans" width="100%" height="100%" cellpadding="0" cellspacing="0" role="presentation">
        <tr>
            <td align="center" style="padding: 24px;" width="100%">
                <table class="sm-w-full" width="600" cellpadding="0" cellspacing="0" role="presentation">
                    <tr>
                        <td colspan="2" class="sm-inline-block" style="display: none;">
                            <img src="http://repo.bfw.wiki/bfwrepo/image/5e3e0906d299a.png" alt="Double Room" style="border: 0; line-height: 100%; vertical-align: middle; border-top-left-radius: 4px; border-top-right-radius: 4px; box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -2px rgba(0, 0, 0, .05);">
                        </td>
                    </tr>
                    <tr>
                        <td class="sm-hidden" style="padding-top: 40px; padding-bottom: 40px;" width="160">
                            <img src="http://repo.bfw.wiki/bfwrepo/image/5e3e0929c7780.png" alt="Double room" style="border: 0; line-height: 100%; vertical-align: middle; border-top-left-radius: 4px; border-bottom-left-radius: 4px; box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -2px rgba(0, 0, 0, .05);" width="160">
                        </td>
                        <td align="left" class="sm-p-20 sm-dui17-b-t" style="border-radius: 2px; padding: 40px; position: relative; box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -2px rgba(0, 0, 0, .05); vertical-align: top; z-index: 50;" bgcolor="#ffffff" valign="top">
                            <table width="100%" cellpadding="0" cellspacing="0" role="presentation">
                                <tr>
                                    <td width="80%">
                                        <h1 class="sm-text-lg all-font-roboto" style="font-weight: 700; line-height: 100%; margin: 0; margin-bottom: 4px; font-size: 24px;">Customer Receipt</h1>
                                        <p class="sm-text-xs" style="margin: 0; color: #a0aec0; font-size: 14px;">
                                            Your reservation is now confirmed
                                        </p>
                                    </td>
                                    <td style="text-align: right;" width="20%" align="right">
                                        <a href="https://example.com" target="_blank" style="text-decoration: none;">
                                            <img src="http://repo.bfw.wiki/bfwrepo/icon/5e3e097729924.png" alt="Download PDF" style="border: 0; line-height: 100%; vertical-align: middle; font-size: 12px;" width="24">
                                        </a>
                                    </td>
                                </tr>
                            </table>
                            <div style="line-height: 32px;">
                                &zwnj;
                            </div>
                            <table class="sm-leading-32" style="line-height: 28px; font-size: 14px;" width="100%" cellpadding="0" cellspacing="0" role="presentatio.........完整代码请登录后点击上方下载按钮下载查看

网友评论0