|
@@ -0,0 +1,213 @@
|
|
|
+<template>
|
|
|
+ <div class="p-invite">
|
|
|
+ <div class="main">
|
|
|
+ <div class="award">
|
|
|
+ <p class="award-name">Invite friends to get</p>
|
|
|
+ <div class="award-worth">
|
|
|
+ <span class="num">- $10</span>
|
|
|
+ <span class="txt">COUPON</span>
|
|
|
+ </div>
|
|
|
+ <p class="award-instruction">PTC offline store use</p>
|
|
|
+ </div>
|
|
|
+ <div class="desc">
|
|
|
+ <p class="desc-title"><i class="star"></i>Event Description</p>
|
|
|
+ <p class="desc-content">
|
|
|
+ Friends who share your link will get a <strong>$10</strong> coupon. If
|
|
|
+ a friend buys a membership, you will get a
|
|
|
+ <strong>$10</strong> coupon. after the purchase, which can be used for
|
|
|
+ the next membership fee payment and electronic accessories products.
|
|
|
+ </p>
|
|
|
+ </div>
|
|
|
+ <div class="methods">
|
|
|
+ <div class="method">
|
|
|
+ <p class="method-title">Share your exclusive link with friends</p>
|
|
|
+ <p class="ptc-comboinput">
|
|
|
+ <input
|
|
|
+ type="text"
|
|
|
+ class="ptc-input"
|
|
|
+ readonly
|
|
|
+ value="http://www.ptcplis.com/2333453"
|
|
|
+ />
|
|
|
+ <button class="ptc-button">Copy Link</button>
|
|
|
+ </p>
|
|
|
+ </div>
|
|
|
+ <div class="method">
|
|
|
+ <p class="method-title">Email invitation</p>
|
|
|
+ <textarea
|
|
|
+ placeholder="Enter email addresses, multiple mailboxes are separated by“ ,”"
|
|
|
+ ></textarea>
|
|
|
+ </div>
|
|
|
+ <button class="ptc-button">Send invitation</button>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="block">
|
|
|
+ <h3 class="block-title">My Reward $90</h3>
|
|
|
+ <ul class="records">
|
|
|
+ <li v-for="n of 5" :key="n" class="record">
|
|
|
+ <span class="left">John</span>
|
|
|
+ <span class="center">2021/09/02</span>
|
|
|
+ <span class="right">$10</span>
|
|
|
+ </li>
|
|
|
+ </ul>
|
|
|
+ </div>
|
|
|
+ <div class="block">
|
|
|
+ <h3 class="block-title">Activity Details</h3>
|
|
|
+ <div class="details">
|
|
|
+ <p>
|
|
|
+ After a friend places an order, you can get a corresponding coupon
|
|
|
+ according to the amount of his first order, which can be used for the
|
|
|
+ purchase of membership services and consumption at PTC's offline
|
|
|
+ outlets.
|
|
|
+ </p>
|
|
|
+ <p class="mt48">1. The invitee is an unregistered new user;</p>
|
|
|
+ <p class="mt48">
|
|
|
+ 2. On the 10th of each month/at 23:00 every day, the invitation
|
|
|
+ rewards will be settled, and the coupons will be issued to the
|
|
|
+ personal account
|
|
|
+ </p>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+</template>
|
|
|
+
|
|
|
+<style lang="scss">
|
|
|
+.p-invite {
|
|
|
+ .main {
|
|
|
+ padding-top: 8px;
|
|
|
+ background: $primary-color;
|
|
|
+ overflow: hidden;
|
|
|
+ }
|
|
|
+ .award {
|
|
|
+ @include icon('@img/coupon.png', 736px, 370px);
|
|
|
+ margin: auto;
|
|
|
+ text-align: center;
|
|
|
+ overflow: hidden;
|
|
|
+ &-name {
|
|
|
+ margin-top: 66px;
|
|
|
+ font-weight: bold;
|
|
|
+ font-size: 48px;
|
|
|
+ color: #193059;
|
|
|
+ }
|
|
|
+ &-worth {
|
|
|
+ margin: 32px 0 24px;
|
|
|
+ line-height: 56px;
|
|
|
+ color: #193059;
|
|
|
+ .num {
|
|
|
+ font-size: 56px;
|
|
|
+ }
|
|
|
+ .txt {
|
|
|
+ margin-left: 20px;
|
|
|
+ font-size: 40px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ &-instruction {
|
|
|
+ font-size: 28px;
|
|
|
+ color: #9aa8c5;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .desc {
|
|
|
+ margin: auto;
|
|
|
+ padding: 52px 26px 26px;
|
|
|
+ width: 680px;
|
|
|
+ border: 2px solid rgba(218, 225, 239, 0.25);
|
|
|
+ color: #dae1ef;
|
|
|
+ &-title {
|
|
|
+ @include thin-border(bottom, rgba(218, 225, 239, 0.25));
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: center;
|
|
|
+ padding-bottom: 48px;
|
|
|
+ font-size: 32px;
|
|
|
+ font-weight: bold;
|
|
|
+ .star {
|
|
|
+ @include icon('@img/star.png', 40px);
|
|
|
+ margin-right: 16px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ &-content {
|
|
|
+ margin-top: 26px;
|
|
|
+ font-size: 28px;
|
|
|
+ line-height: 40px;
|
|
|
+ }
|
|
|
+ strong {
|
|
|
+ font-size: 32px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .methods {
|
|
|
+ margin: 36px auto 48px;
|
|
|
+ padding: 64px 36px;
|
|
|
+ width: 680px;
|
|
|
+ background: #fff;
|
|
|
+ border-radius: 16px;
|
|
|
+ }
|
|
|
+ .method {
|
|
|
+ &:nth-child(1) {
|
|
|
+ margin-bottom: 64px;
|
|
|
+ }
|
|
|
+ &:nth-child(2) {
|
|
|
+ margin-bottom: 24px;
|
|
|
+ }
|
|
|
+ &-title {
|
|
|
+ margin-bottom: 24px;
|
|
|
+ font-size: 32px;
|
|
|
+ font-weight: bold;
|
|
|
+ color: #193059;
|
|
|
+ }
|
|
|
+ .ptc-input {
|
|
|
+ height: 88px;
|
|
|
+ font-size: 24px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ textarea {
|
|
|
+ display: block;
|
|
|
+ padding: 24px;
|
|
|
+ width: 100%;
|
|
|
+ height: 182px;
|
|
|
+ border-radius: 8px;
|
|
|
+ border: 2px solid #d9d9d9;
|
|
|
+ font-size: 28px;
|
|
|
+ line-height: 40px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .block-title {
|
|
|
+ padding: 24px 36px;
|
|
|
+ background: #f7f7f7;
|
|
|
+ font-size: 40px;
|
|
|
+ font-weight: 600;
|
|
|
+ color: #333333;
|
|
|
+ line-height: 56px;
|
|
|
+ }
|
|
|
+ .records {
|
|
|
+ padding: 0 36px;
|
|
|
+ }
|
|
|
+ .record {
|
|
|
+ display: flex;
|
|
|
+ justify-content: space-between;
|
|
|
+ align-items: center;
|
|
|
+ padding: 36px 0;
|
|
|
+ + .record {
|
|
|
+ @include thin-border(top);
|
|
|
+ }
|
|
|
+ .left {
|
|
|
+ font-weight: bold;
|
|
|
+ font-size: 32px;
|
|
|
+ color: #1a1a1a;
|
|
|
+ }
|
|
|
+ .center,
|
|
|
+ .right {
|
|
|
+ font-size: 28px;
|
|
|
+ color: #666;
|
|
|
+ }
|
|
|
+ .center {
|
|
|
+ padding-right: 50px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .details {
|
|
|
+ padding: 36px;
|
|
|
+ font-size: 32px;
|
|
|
+ line-height: 44px;
|
|
|
+ color: #666;
|
|
|
+ }
|
|
|
+}
|
|
|
+</style>
|