ContentRight.vue
1.27 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
<!--
* @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>