my-card.scss
2.46 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
@import '../../assets/scss/mixins';
@import '../../assets/scss/utils';
.page {
  .bgc {
    background-color: #f8eeef;
  }
  .bg {}
  .decoration {
    position: relative;
    .d1 {
      position: absolute;
      width: 92px;
      height: 411px;
      top: 0;
      left: 0;
    }
    .d2 {
      position: fixed;
      width: 240px;
      height: 181px;
      right: 0;
      bottom: 0;
    }
    .d3 {
      position: absolute;
      top: -20px;
      right: -100px;
      width: 553px;
      height: 227px;
    }
  }
  .main {
    .top-space {
      height: 100px;
    }
    .content {
      position: relative;
      // 优惠券
      .coupon {
        position: relative;
        margin-top: 18px;
        &-item {
          position: relative;
          width: 578px;
          height: 198px;
          margin: 0 auto 12px;
          .ebg {
            left: 0;
            top: 0;
            position: absolute;
            width: 578px;
            height: 198px;
          }
          .cont {
            position: relative;
            .name {
              position: absolute;
              left: 40px;
              top: 40px;
              color: #ffffff;
              font-size: 32px;
            }
            .detail {
              position: absolute;
              border-radius: 24px;
              font-size: 24px;
              border: solid 1px rgba($color: #ffffff, $alpha: 0.8);
              color: rgba($color: #ffffff, $alpha: 0.8);
              @include btc(140px, 48px);
              top: 40px;
              right: 26px;
            }
            .card-info {
              position: absolute;
              top: 146px;
              color: #fbe4c9;
              font-size: 24px;
            }
            .card-no {
              left: 28px;
            }
            .card-date {
              right: 28px;
            }
          }
        }
        &-item2 {
          .name {
            color: #653d0d;
          }
          .card-info {
            color: #fce6c2;
          }
        }
      }
    }
    .store-btn {
      position: absolute;
      top: 24px;
      right: 0;
      @include border-left-radius(30px);
      @include btc(220px, 60px);
      font-size: 30px;
      color: #bf0221;
      box-shadow: 7.4px 8.2px 27px 0 rgba(228, 78, 96, 0.86);
      background-image: linear-gradient(to right, #fbddd5, #f9efed 51%, #ffded9 99%), linear-gradient(to bottom, #000000, #000000);
      .c1 {
        padding-left: 12px;
      }
    }
  }
}