|
@@ -2,7 +2,7 @@
|
|
|
<div class="point-index">
|
|
|
<div class="background">
|
|
|
<div class="top">
|
|
|
- <h4 class="text">我的积分</h4>
|
|
|
+ <nuxt-link class="text" to="/point/list" tag="h4">我的积分</nuxt-link>
|
|
|
<h2 class="point">999</h2>
|
|
|
<div class="earn">
|
|
|
<div>赚积分</div>
|
|
@@ -11,22 +11,22 @@
|
|
|
</div>
|
|
|
<div class="container">
|
|
|
<div class="menu">
|
|
|
- <div class="item item1">
|
|
|
+ <nuxt-link class="item item1" to="/point/shop" tag="div">
|
|
|
<img src="../../static/point/shangcheng.png" alt="" />
|
|
|
<span>积分商城</span>
|
|
|
- </div>
|
|
|
- <div class="item item2">
|
|
|
+ </nuxt-link>
|
|
|
+ <nuxt-link class="item item2" to="/point/bill" tag="div">
|
|
|
<img src="../../static/point/mingxi.png" alt="" />
|
|
|
<span>积分明细</span>
|
|
|
- </div>
|
|
|
- <div class="item item3">
|
|
|
+ </nuxt-link>
|
|
|
+ <nuxt-link class="item item3" to="/point/list" tag="div">
|
|
|
<img src="../../static/point/dingdan.png" alt="" />
|
|
|
<span>积分订单</span>
|
|
|
- </div>
|
|
|
+ </nuxt-link>
|
|
|
</div>
|
|
|
- <div class="news">
|
|
|
+ <nuxt-link class="news" to="/point/shop" tag="div">
|
|
|
<img src="../../static/test/new.png" alt="" />
|
|
|
- </div>
|
|
|
+ </nuxt-link>
|
|
|
<div class="show">
|
|
|
<product-list/>
|
|
|
</div>
|
|
@@ -108,21 +108,21 @@ export default {
|
|
|
background-size: 100% 100%;
|
|
|
z-index: -1;
|
|
|
}
|
|
|
-.point-index .background .text {
|
|
|
+.point-index .background .top .text {
|
|
|
position: absolute;
|
|
|
left: 4vw;
|
|
|
top: 8vw;
|
|
|
margin: 0;
|
|
|
padding: 0;
|
|
|
- width: 14.9vw;
|
|
|
- height: 5.33vw;
|
|
|
- font-size: 3.7vw;
|
|
|
+height: 0.4rem;
|
|
|
+font-size: 0.28rem;
|
|
|
font-family: PingFangSC-Regular, PingFang SC;
|
|
|
font-weight: 400;
|
|
|
color: #ffffff;
|
|
|
- line-height: 5.33vw;
|
|
|
+
|
|
|
+line-height: 0.4rem;
|
|
|
}
|
|
|
-.point-index .background .point {
|
|
|
+.point-index .background .top .point {
|
|
|
position: absolute;
|
|
|
margin: 0;
|
|
|
padding: 0;
|
|
@@ -140,8 +140,8 @@ export default {
|
|
|
position: absolute;
|
|
|
right: 0;
|
|
|
top: 20.66vw;
|
|
|
- width: 21.33vw;
|
|
|
- height: 7.33vw;
|
|
|
+ width: 1.6rem;
|
|
|
+ height: 0.55rem;
|
|
|
font-size: 3.46vw;
|
|
|
font-family: PingFangSC-Regular, PingFang SC;
|
|
|
font-weight: 400;
|
|
@@ -192,16 +192,19 @@ export default {
|
|
|
margin: 0 auto;
|
|
|
}
|
|
|
.point-index .container .menu .item span {
|
|
|
- display: block;
|
|
|
- width: 100%;
|
|
|
- height: 3.73vw;
|
|
|
- font-size: 3.73vw;
|
|
|
+ display: inline-block;
|
|
|
font-family: PingFangSC-Regular, PingFang SC;
|
|
|
font-weight: 400;
|
|
|
color: #666666;
|
|
|
- line-height: 3.73vw;
|
|
|
text-align: center;
|
|
|
margin-top: 3vw;
|
|
|
+ width: 1.3rem;
|
|
|
+ height: 0.4rem;
|
|
|
+ font-size: 0.28rem;
|
|
|
+ font-family: PingFangSC-Regular, PingFang SC;
|
|
|
+ font-weight: 400;
|
|
|
+ color: #666666;
|
|
|
+ line-height: 0.4rem;
|
|
|
}
|
|
|
|
|
|
.point-index .container .news {
|