|
|
@ -1,10 +1,9 @@ |
|
|
|
<template> |
|
|
|
<template> |
|
|
|
<view class="newGoods"> |
|
|
|
<view class="newGoods"> |
|
|
|
<view> |
|
|
|
<view> |
|
|
|
<u-navbar title="排行榜" :background="background"></u-navbar> |
|
|
|
<u-navbar title="排行榜" back-icon-color="#fff" :border-bottom="false" title-color="#fff" :background="background"></u-navbar> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="main"> |
|
|
|
<view class="main"> |
|
|
|
<!-- <image src="/static/rank/charts.png" mode="" class="bgImg"></image> --> |
|
|
|
|
|
|
|
<view class="head"> |
|
|
|
<view class="head"> |
|
|
|
<view class="ranking"> |
|
|
|
<view class="ranking"> |
|
|
|
-好物排行榜- |
|
|
|
-好物排行榜- |
|
|
@ -50,13 +49,13 @@ |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
|
|
|
|
|
|
|
|
<script> |
|
|
|
<script> |
|
|
|
import img from "@/static/rank/hbg.png" |
|
|
|
import img from "@/static/rank/top.png" |
|
|
|
export default { |
|
|
|
export default { |
|
|
|
data() { |
|
|
|
data() { |
|
|
|
return { |
|
|
|
return { |
|
|
|
background: { |
|
|
|
background: { |
|
|
|
background: 'url(' + img + ') center -44px no-repeat', |
|
|
|
background: 'url(' + img + ') center top no-repeat', |
|
|
|
backgroundSize: '100%' |
|
|
|
backgroundSize: '100% auto', |
|
|
|
}, |
|
|
|
}, |
|
|
|
chosed: 0, |
|
|
|
chosed: 0, |
|
|
|
menuList: [{ |
|
|
|
menuList: [{ |
|
|
@ -85,14 +84,12 @@ |
|
|
|
<style lang="scss" scoped> |
|
|
|
<style lang="scss" scoped> |
|
|
|
.newGoods { |
|
|
|
.newGoods { |
|
|
|
width: 100%; |
|
|
|
width: 100%; |
|
|
|
padding-bottom: 30rpx; |
|
|
|
|
|
|
|
position: relative; |
|
|
|
position: relative; |
|
|
|
min-height: 100vh; |
|
|
|
min-height: 100vh; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.main { |
|
|
|
.main { |
|
|
|
width: 100%; |
|
|
|
width: 100%; |
|
|
|
height: 1996rpx; |
|
|
|
|
|
|
|
position: relative; |
|
|
|
position: relative; |
|
|
|
|
|
|
|
|
|
|
|
.bgImg { |
|
|
|
.bgImg { |
|
|
@ -168,7 +165,7 @@ |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.hb { |
|
|
|
.hb { |
|
|
|
background-color: #333; |
|
|
|
background-image: url('../../static/rank/mainbg.png'); |
|
|
|
width: 100%; |
|
|
|
width: 100%; |
|
|
|
display: flex; |
|
|
|
display: flex; |
|
|
|
justify-content: center; |
|
|
|
justify-content: center; |
|
|
|