<template>
|
<!-- 门店排行榜 -->
|
<view>
|
<view class="header flex justify-end">
|
<view class="flex flex-v">
|
<text class="font-16 white">总计</text>
|
<text class="font-20 white mt-10">¥180,8088</text>
|
</view>
|
</view>
|
<view>
|
<h-tabs
|
class="tab"
|
:tabData="tabs"
|
:config="{
|
color: '#abb1cc',
|
activeColor: '#518EFF',
|
underLineColor: '#518EFF',
|
underLineHeight: 6,
|
fontSize: '28',
|
underLineWidth: 60,
|
}"
|
/>
|
</view>
|
<view class="content">
|
<view class="content-row flex justify-between mt-10">
|
<view class="flex align-center content-row-left">
|
<image class="row-img" src="../../static/images/head-img.jpg"></image>
|
<view class="flex flex-v ml-10">
|
<text class="font-16">时光秘境会所</text>
|
<text class="font-14 gray mt-10">¥23,960</text>
|
</view>
|
</view>
|
<image class="medal" mode="widthFix" src="../../static/images/medal1.png"></image>
|
</view>
|
<view class="content-row flex justify-between mt-10">
|
<view class="flex align-center content-row-left">
|
<image class="row-img" src="../../static/images/head-img.jpg"></image>
|
<view class="flex flex-v ml-10">
|
<text class="font-16">时光秘境会所</text>
|
<text class="font-14 gray mt-10">¥23,960</text>
|
</view>
|
</view>
|
<image class="medal" mode="widthFix" src="../../static/images/medal2.png"></image>
|
</view>
|
<view class="content-row flex justify-between mt-10">
|
<view class="flex align-center content-row-left">
|
<image class="row-img" src="../../static/images/head-img.jpg"></image>
|
<view class="flex flex-v ml-10">
|
<text class="font-16">时光秘境会所</text>
|
<text class="font-14 gray mt-10">¥23,960</text>
|
</view>
|
</view>
|
<image class="medal" mode="widthFix" src="../../static/images/medal3.png"></image>
|
</view>
|
</view>
|
|
</view>
|
</template>
|
|
<script>
|
import HTabs from "@/components/liuyuno-tabs/liuyuno-tabs.vue";
|
export default {
|
components: {
|
HTabs
|
},
|
data() {
|
return {
|
tabs:[
|
{
|
state: 1,
|
name: '销售榜'
|
},
|
{
|
state: 2,
|
name: '消耗榜'
|
}
|
],
|
}
|
}
|
}
|
</script>
|
|
<style>
|
.header{
|
background: url(../../static/images/ranking.png) no-repeat;
|
background-size: 100% 100%;
|
padding: 30px;
|
}
|
.content{
|
padding: 0 10px;
|
}
|
.content-row{
|
border: 1px solid #EDEAF4;
|
border-radius: 4px;
|
box-shadow:0 6px 6px rgba(237,234,244,0.5);
|
padding: 0 10px;
|
}
|
.content-row-left{
|
padding: 10px 0;
|
}
|
.medal{
|
width: 36px;
|
}
|
.row-img{
|
width: 64px;
|
height: 64px;
|
border-radius: 50%;
|
}
|
</style>
|