|
@@ -1,5 +1,5 @@
|
|
<template>
|
|
<template>
|
|
- <div class="outer">
|
|
|
|
|
|
+ <div class="point-index">
|
|
<div class="background">
|
|
<div class="background">
|
|
<div class="top">
|
|
<div class="top">
|
|
<h4 class="text">我的积分</h4>
|
|
<h4 class="text">我的积分</h4>
|
|
@@ -96,19 +96,19 @@ export default {
|
|
</script>
|
|
</script>
|
|
|
|
|
|
<style>
|
|
<style>
|
|
-.outer {
|
|
|
|
|
|
+.point-index {
|
|
position: relative;
|
|
position: relative;
|
|
}
|
|
}
|
|
-.background {
|
|
|
|
|
|
+.point-index .background {
|
|
background-color: #f3b335;
|
|
background-color: #f3b335;
|
|
width: 100%;
|
|
width: 100%;
|
|
height: 49.46vw;
|
|
height: 49.46vw;
|
|
position: relative;
|
|
position: relative;
|
|
background: url("../../static/point/bj.png") no-repeat 0px 0px;
|
|
background: url("../../static/point/bj.png") no-repeat 0px 0px;
|
|
- background-size: cover;
|
|
|
|
|
|
+ background-size: 100% 100%;
|
|
z-index: -1;
|
|
z-index: -1;
|
|
}
|
|
}
|
|
-.background .text {
|
|
|
|
|
|
+.point-index .background .text {
|
|
position: absolute;
|
|
position: absolute;
|
|
left: 4vw;
|
|
left: 4vw;
|
|
top: 8vw;
|
|
top: 8vw;
|
|
@@ -122,7 +122,7 @@ export default {
|
|
color: #ffffff;
|
|
color: #ffffff;
|
|
line-height: 5.33vw;
|
|
line-height: 5.33vw;
|
|
}
|
|
}
|
|
-.background .point {
|
|
|
|
|
|
+.point-index .background .point {
|
|
position: absolute;
|
|
position: absolute;
|
|
margin: 0;
|
|
margin: 0;
|
|
padding: 0;
|
|
padding: 0;
|
|
@@ -136,7 +136,7 @@ export default {
|
|
color: #ffffff;
|
|
color: #ffffff;
|
|
line-height: 14vw;
|
|
line-height: 14vw;
|
|
}
|
|
}
|
|
-.background .earn {
|
|
|
|
|
|
+.point-index .background .earn {
|
|
position: absolute;
|
|
position: absolute;
|
|
right: 0;
|
|
right: 0;
|
|
top: 20.66vw;
|
|
top: 20.66vw;
|
|
@@ -149,7 +149,7 @@ export default {
|
|
background-size: cover;
|
|
background-size: cover;
|
|
box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
}
|
|
}
|
|
-.background .earn div {
|
|
|
|
|
|
+.point-index .background .earn div {
|
|
position: absolute;
|
|
position: absolute;
|
|
top: 1.5vw;
|
|
top: 1.5vw;
|
|
right: 2vw;
|
|
right: 2vw;
|
|
@@ -161,7 +161,7 @@ export default {
|
|
color: #f3b235;
|
|
color: #f3b235;
|
|
line-height: 4.93vw;
|
|
line-height: 4.93vw;
|
|
}
|
|
}
|
|
-.container {
|
|
|
|
|
|
+.point-index .container {
|
|
margin-top: -13.33vw;
|
|
margin-top: -13.33vw;
|
|
width: 100%;
|
|
width: 100%;
|
|
padding: 0 4vw;
|
|
padding: 0 4vw;
|
|
@@ -170,7 +170,7 @@ export default {
|
|
flex-direction: column;
|
|
flex-direction: column;
|
|
z-index: 99;
|
|
z-index: 99;
|
|
}
|
|
}
|
|
-.container .menu {
|
|
|
|
|
|
+.point-index .container .menu {
|
|
width: 100%;
|
|
width: 100%;
|
|
height: 26.66vw;
|
|
height: 26.66vw;
|
|
background: #ffffff;
|
|
background: #ffffff;
|
|
@@ -181,17 +181,17 @@ export default {
|
|
justify-content: space-around;
|
|
justify-content: space-around;
|
|
align-items: center;
|
|
align-items: center;
|
|
}
|
|
}
|
|
-.container .menu .item {
|
|
|
|
|
|
+.point-index .container .menu .item {
|
|
width: 14.93vw;
|
|
width: 14.93vw;
|
|
height: 14.93vw;
|
|
height: 14.93vw;
|
|
}
|
|
}
|
|
-.container .menu .item img {
|
|
|
|
|
|
+.point-index .container .menu .item img {
|
|
display: block;
|
|
display: block;
|
|
width: 12vw;
|
|
width: 12vw;
|
|
height: 12vw;
|
|
height: 12vw;
|
|
margin: 0 auto;
|
|
margin: 0 auto;
|
|
}
|
|
}
|
|
-.container .menu .item span {
|
|
|
|
|
|
+.point-index .container .menu .item span {
|
|
display: block;
|
|
display: block;
|
|
width: 100%;
|
|
width: 100%;
|
|
height: 3.73vw;
|
|
height: 3.73vw;
|
|
@@ -204,12 +204,12 @@ export default {
|
|
margin-top: 3vw;
|
|
margin-top: 3vw;
|
|
}
|
|
}
|
|
|
|
|
|
-.container .news {
|
|
|
|
|
|
+.point-index .container .news {
|
|
margin-top: 4vw;
|
|
margin-top: 4vw;
|
|
width: 100%;
|
|
width: 100%;
|
|
height: 21.33vw;
|
|
height: 21.33vw;
|
|
}
|
|
}
|
|
-.container .news img {
|
|
|
|
|
|
+.point-index .container .news img {
|
|
width: 100%;
|
|
width: 100%;
|
|
height: 100%;
|
|
height: 100%;
|
|
}
|
|
}
|