index.scss 3.15 KB
Newer Older
xuzhenghua committed
1
.share-ranking {
xuzhenghua committed
2
  width: 100%;
xuzhenghua committed
3
  height: 60px;
xuzhenghua committed
4
  padding: 0 12px;
xuzhenghua committed
5 6 7
  border-top: 8px solid $bg_f5f5f5;
  display: flex;
  font-size: 12px;
8 9 10

  .share-container {
    width: 100%;
xuzhenghua committed
11

12 13 14
    .share-list {
      flex: 1 1 auto;
    }
xuzhenghua committed
15

16 17 18 19
    .share-money {
      flex: 1 1 auto;
    }
  }
xuzhenghua committed
20 21 22

  .title {
    font-size: 14px;
23
    margin-right: 4px;
xuzhenghua committed
24 25
    display: inline-block;
    width: 60px;
xuzhenghua committed
26 27
  }

xuzhenghua committed
28
  .ranking-box {
xuzhenghua committed
29 30
    display: flex;
    justify-content: space-between;
xuzhenghua committed
31 32
  }

xuzhenghua committed
33
  .ranking-mess {
xuzhenghua committed
34
    display: inline-block;
xuzhenghua committed
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
    img {
      width: 22px;
      height: 22px;
      border-radius: 50%;
      vertical-align: middle;
    }

    i {
      margin-left: 5px;
      color: $color_333;
      font-style: normal;
    }
  }

  .ranking-ellipsis {
    width: 22px;
    height: 22px;
    border-radius: 50%;
  }

  .share {
    border: 1px solid $red;
    border-radius: 3px;
    color: $red;
    background-color: $bg_fff;
60
    height: 22px;
xuzhenghua committed
61
    line-height: 20px;
62
    text-align: center;
xuzhenghua committed
63
  }
xuzhenghua committed
64 65 66 67 68 69 70 71

  .shareMbc {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, .6);
72
    z-index: 9;
xuzhenghua committed
73 74 75 76 77 78

    .content {
      width: 300px;
      height: 403px;
      background-color: $white;
      border-radius: 3px;
79 80 81 82 83
      // margin: 139px auto 20px auto;
      position: absolute;
      left: 50%;
      top: 50%;
      transform: translate(-50%, -50%);
xuzhenghua committed
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 134 135 136 137 138 139 140 141 142 143 144

      .title-box {
        width: 100%;
        height: 57px;
        padding: 15px 0 10px 0;
        text-align: center;

        .lable {
          display: block;
          color: $color_333;
          font-size: 16px;
          height: 16px;
          line-height: 16px;
        }

        .tips {
          color: $color_666;
          font-size: 12px;
          height: 12px;
          line-height: 12px;
        }
      }

      ul {
        width: 100%;
        height: 302px;
        background-color: $bg_f5f5f5;
        padding: 0 25px 0 20px;
        overflow: auto;

        li {
          height: 60px;
          line-height: 60px;
          border-bottom: 1px solid $sp_e7eaf1;

          img {
            width: 44px;
            height: 44px;
            border-radius: 50%;
            float: left;
            margin-top: 8px;
          }

          .course-title {
            display: inline-block;
            color: $color_333;
            font-size: 16px;
            max-width: 100px;
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
            margin-left: 10px;
          }

          .course-price {
            color: $color_FF0000;
            font-size: 16px;
            float: right;
          }
        }
      }
xuzhenghua committed
145 146 147 148 149

      .shareBtn {
        width: 100%;
        height: 44px;
        text-align: center;
xuzhenghua committed
150

xuzhenghua committed
151 152
        button {
          border: none;
xuzhenghua committed
153
          padding: 0 10px;
xuzhenghua committed
154 155 156 157 158 159 160 161
          height: 24px;
          margin-top: 10px;
          background: linear-gradient(90deg, $bg_FF0000 0%, $bg_FF4000 100%);
          border-radius: 12px;
          font-size: 14px;
          color: $white;
        }
      }
xuzhenghua committed
162 163 164 165 166 167 168 169
    }

    .close {
      color: #fff;
      font-size: 22px;
      position: relative;
      left: 50%;
      margin-left: -11px;
170
      top: 16px;
xuzhenghua committed
171 172
    }
  }
xuzhenghua committed
173
}