Blame view

src/pages/detail/detail.scss 4.68 KB
simon committed
1 2 3 4
@import '../../assets/scss/mixins';
@import '../../assets/scss/utils';

.page {
simon committed
5 6
  padding-bottom: $pageBottom;

simon committed
7 8 9 10 11 12 13 14 15 16 17 18 19 20
  .bgc {}

  .bg {}

  .main {
    .top-space {
      height: 0px;
    }

    .content {
      position: relative;
    }
  }

simon committed
21
  // 视频详情
simon committed
22 23 24
  .detail {
    position: relative;
    width: 100%;
simon committed
25
    // height: 944px;
simon committed
26
    background-color: #333333;
simon committed
27
    text-align: center;
simon committed
28

simon committed
29 30 31
    .vid-wrap {
      @extend .fcc;
      @extend .bb;
simon committed
32
      width: 100%;
simon committed
33 34
      margin: 0 auto;
      // padding: 10px;
simon committed
35
      // max-height: 800px;
simon committed
36 37 38 39 40 41

      .vid {
        text-align: center;
        width: 100%;
        height: 100%;
      }
simon committed
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

      .btn-wrap {
        display: flex;
        justify-content: center;

        .btn {
          background-color: transparent;
          @extend .fcc;
          margin: 0 24px;
          border: solid 4px #ffffff;
          width: 300px;
          height: 84px;
          border-radius: 84px;

          color: #ffffff;

          .iconfont {
            font-size: 48px;
          }

          .tt {
            font-weight: bold;
            font-size: 36px;
            padding: 0 8px;
          }

          .t2 {}
        }

simon committed
71
        .btn2 {
simon committed
72 73 74
          background-color: #f67b37;
          border: none;
        }
simon committed
75 76


simon committed
77
      }
simon committed
78
    }
simon committed
79
  }
simon committed
80

simon committed
81 82 83 84
  .share {
    position: relative;
    width: 100%;
    padding: 24px auto;
simon committed
85

simon committed
86
    .btn-wrap {
simon committed
87
      padding: 24px 0;
simon committed
88
      color: #ffffff;
simon committed
89 90 91 92
      bottom: 64px;
      left: 0;
      right: 0;
      margin: 0 auto;
simon committed
93 94 95 96 97 98 99 100 101 102 103 104
      display: flex;

      .btn {
        width: 312px;
        height: 94px;
        font-size: 30px;
        background-color: #3ec03c;
        border-radius: 8px;
        display: flex;
        justify-content: center;
        align-items: center;
        color: #ffffff;
simon committed
105
        font-weight: bold;
simon committed
106 107 108 109 110 111 112

        .iconfont {
          font-size: 48px;
        }

        .t1 {
          padding: 0 6px;
simon committed
113
          font-weight: bold;
simon committed
114 115 116 117 118 119
        }
      }

      .btn2 {
        background-color: #ae3f48;
      }
simon committed
120 121


simon committed
122 123 124
    }
  }

simon committed
125
  // 功能区,显示用户信息等
simon committed
126 127 128 129 130 131 132 133 134 135 136 137 138 139
  .func {
    position: relative;
    @extend .bb;
    padding: 24px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;

    .user {
      display: flex;
      align-items: center;
      flex: 1;

      .portrait {
simon committed
140 141 142
        width: 92px;
        height: 92px;
        border-radius: 92px;
simon committed
143 144 145 146 147 148 149 150 151 152 153 154
      }

      .desc {
        @extend .bb;
        padding-left: 24px;
        display: flex;
        align-items: center;
        align-content: center;
        flex-wrap: wrap;

        .t1 {
          width: 100%;
simon committed
155 156
          font-size: 32px;
          font-weight: normal;
simon committed
157 158 159
        }

        .name {
simon committed
160
          // font-size: 36px;
simon committed
161 162 163
        }

        .num {
simon committed
164
          font-size: 32px;
simon committed
165 166 167 168 169 170 171 172 173 174
          color: #8d8d8d;
        }
      }

    }

    .btn-wrap {
      display: flex;

      .btn {
simon committed
175 176 177
        // margin-right: 24px;
        margin: 0 0;
        width: 240px;
simon committed
178 179
        height: 80px;
        font-size: 32px;
simon committed
180 181 182 183 184 185 186 187 188 189 190 191 192
        background-color: #3ec03c;
        border-radius: 8px;
        display: flex;
        justify-content: center;
        align-items: center;
        color: #ffffff;

        .iconfont {
          font-size: 32px;
        }

        .t1 {
          padding: 0 6px;
simon committed
193

simon committed
194 195 196 197 198 199 200 201 202 203 204 205
        }

        &:last-child {
          margin-right: 0;
        }
      }

      .btn2 {
        background-color: #fecd9f;
        color: #7f776e;
      }

simon committed
206 207 208
      .btn3 {
        background-color: #8d8d8d;
      }
simon committed
209 210 211 212
    }

  }

simon committed
213 214
  // 功能区小标题
  .fc-tit {
simon committed
215 216
    @extend .bb;
    padding: 0 24px;
simon committed
217
    font-size: 36px;
simon committed
218
    margin: 24px auto 0px;
simon committed
219
  }
simon committed
220 221 222 223 224

  // 广告
  .ad {}

  // 装饰物 
simon committed
225 226 227 228
  .decoration {
    margin: 30px auto 0px;
    text-align: center;
  }
simon committed
229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253

  // 更多推荐
  .more {
    width: $contentWidth;
    margin: 64px auto 0;

    &-title {
      color: #a2242e;
      font-size: 48px;
      font-weight: bold;
      text-align: center;
    }

    // 推荐列表
    &-list {
      margin: 36px auto 0;

      &-item {
        display: flex;
        justify-content: space-between;
        border-bottom: solid 2px #dfdfdf;
        padding: 24px 0;

        .tit {
          @extend .bb;
simon committed
254 255
          padding: 8px 0;
          height: 180px;
simon committed
256
          flex: 1;
simon committed
257 258
          font-size: 40px;
          @include ellipsis(3);
simon committed
259 260 261 262
        }

        .poster {
          width: 350px;
simon committed
263
          height: 180px;
simon committed
264 265 266 267 268
          border-radius: 8px;
        }
      }
    }
  }
simon committed
269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288

  // 返回首页按钮
  .index-btn {
    margin: 60px auto 0;
    width: 320px;
    height: 88px;
    font-size: 36px;
    font-weight: bold;
    background-color: #3ec03c;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;

    .iconfont {
      font-size: 48px;
      margin-right: 12px;
    }
  }
simon committed
289 290


simon committed
291
}