ContentRight.vue 1.27 KB
<!--
 * @Description: 1.0 太阳膜 右侧内容
 * @Author: huyue
 * @Date: 2023-07-05 10:35:43
 * @LastEditors: huyue
 * @LastEditTime: 2023-07-05 10:50:16
-->
<template>
  <div class="right">
    <!-- 右侧第一个盒子 -->
    <PurchaseRank></PurchaseRank>
    <!-- 右侧第二个盒子 -->
    <PurchaseProgress></PurchaseProgress>
    <!-- 右侧第三个盒子 -->
    <PurchasePropertion></PurchasePropertion>
  </div>
</template>

<script type="text/ecmascript-6">
import PurchaseRank from './PurchaseRank'
import PurchaseProgress from './PurchaseProgress'
import PurchasePropertion from './PurchasePropertion'
export default {
  name: 'ContentRight',
  components: {
    PurchaseRank,
    PurchaseProgress,
    PurchasePropertion
  },
  data() {
    return {}
  },
  methods: {
  }
}
</script>
<style scoped lang="scss">
.right {
  display: flex;
  flex-direction: column;
  width: 31.39vw;
  overflow: hidden;

  &-box1,
  &-box2,
  &-box3 {
    width: 100%;
    background: #061422;
    box-shadow: inset 0 0 20px 0 #3d57ff69;
  }

  &-box2 {
    .content-box {
      padding: 3.78vh 1.39vw 1.39vh;
    }
  }

  &-box2,
  &-box3 {
    height: 25vh;
  }

  &-box1,
  &-box2 {
    margin-bottom: 1.78vh;
  }
}
</style>