index.scss 3.29 KB
Newer Older
xuzhenghua committed
1 2 3 4 5 6 7 8
.share-ranking {
  height: 60px;
  line-height: 25px;
  padding: 15px 12px;
  border-top: 8px solid $bg_f5f5f5;
  display: flex;
  position: relative;
  font-size: 12px;
9 10 11 12 13 14 15 16 17 18 19 20 21
  width: 100%;

  .share-container {
    width: 100%;
    height: 24px;
    .share-list {
      flex: 1 1 auto;
    }
    .share-money {
      flex: 1 1 auto;
      max-width: 112px;;
    }
  }
xuzhenghua committed
22 23 24

  .title {
    font-size: 14px;
25 26 27
    margin-right: 4px;
    // flex-basis: 46px;
    // flex: 1 1 auto;
xuzhenghua committed
28 29
  }

xuzhenghua committed
30 31 32 33 34 35
  .ranking-box {
    position: relative;
    height: 22px;
    line-height: 22px;
  }

xuzhenghua committed
36
  .ranking-mess {
xuzhenghua committed
37
    float: left;
38
    margin-right: 8px;
xuzhenghua committed
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

    img {
      width: 22px;
      height: 22px;
      border-radius: 50%;
      vertical-align: middle;
    }

    i {
      display: inline-block;
      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;
66
    height: 22px;
xuzhenghua committed
67
    line-height: 20px;
68
    text-align: center;
xuzhenghua committed
69
  }
xuzhenghua committed
70 71 72 73 74 75 76 77

  .shareMbc {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, .6);
78
    z-index: 9;
xuzhenghua committed
79 80 81 82 83 84

    .content {
      width: 300px;
      height: 403px;
      background-color: $white;
      border-radius: 3px;
85 86 87 88 89
      // margin: 139px auto 20px auto;
      position: absolute;
      left: 50%;
      top: 50%;
      transform: translate(-50%, -50%);
xuzhenghua committed
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 145 146 147 148 149 150

      .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
151 152 153 154 155 156 157

      .shareBtn {
        width: 100%;
        height: 44px;
        text-align: center;
        button {
          border: none;
xuzhenghua committed
158
          padding: 0 10px;
xuzhenghua committed
159 160 161 162 163 164 165 166
          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
167 168 169 170 171 172 173 174
    }

    .close {
      color: #fff;
      font-size: 22px;
      position: relative;
      left: 50%;
      margin-left: -11px;
175
      top: 16px;
xuzhenghua committed
176 177
    }
  }
xuzhenghua committed
178
}