Commit bd2c63a5 by LJM

优化

parent 85516c94
......@@ -281,7 +281,7 @@
margin-bottom: 30px;
li {
width: 23%;
width: 32%;
background: #F1F4FA;
border-radius: 2px 2px 0px 0px;
box-sizing: border-box;
......
......@@ -229,7 +229,7 @@
margin-bottom: 30px;
}
.statistical-data li {
width: 23%;
width: 32%;
background: #F1F4FA;
border-radius: 2px 2px 0px 0px;
box-sizing: border-box;
......
......@@ -125,7 +125,7 @@
margin-bottom: 30px;
li {
width: 23%;
width: 32%;
background: #F1F4FA;
border-radius: 2px 2px 0px 0px;
box-sizing: border-box;
......
......@@ -105,7 +105,7 @@
margin-bottom: 30px;
}
.statistical-data li {
width: 23%;
width: 32%;
background: #F1F4FA;
border-radius: 2px 2px 0px 0px;
box-sizing: border-box;
......
......@@ -50,10 +50,12 @@
<em>{{ flag ? '型号' : '品牌' }}</em>
<span>TOP榜单</span>
</p>
<!--
<div class="row verCenter switch" @click="switchChange">
<span>{{ flag ? '切换品牌' : '切换型号' }}</span>
<i></i>
</div>
-->
</div>
<div class="search row verCenter">
<i></i>
......@@ -86,7 +88,7 @@
</div>
</template>
<template v-else>
<em class="t2">4</em>
<em class="t2">{{v.rank}}</em>
</template>
</div>
</div>
......
......@@ -36,33 +36,6 @@
</el-form>
<!--统计数据-->
<ul class="statistical-data row avarage">
<!--搜索次数-->
<li>
<p class="title row verCenter">搜索次数</p>
<div class="head row verCenter">
<span style="width: 40%;" class="row verCenter">型号</span>
<span style="width: 40%;" class="row verCenter">品牌</span>
<span style="width: 20%;" class="row verCenter">次数</span>
</div>
<div class="list">
<div class="box row verCenter" v-for="(v,index) in skuRankList[1]">
<span style="width: 40%;">{{ v.goods_name }}</span>
<span style="width: 40%;">{{ v.brand_name }}</span>
<template v-if="index == 0">
<span style="width: 20%;" class="color1">{{ v.num }}</span>
</template>
<template v-else-if="index == 1">
<span style="width: 20%;" class="color2">{{ v.num }}</span>
</template>
<template v-else-if="index == 2">
<span style="width: 20%;" class="color3">{{ v.num }}</span>
</template>
<template v-else>
<span style="width: 20%;">{{ v.num }}</span>
</template>
</div>
</div>
</li>
<!--询价次数-->
<li>
<p class="title row verCenter">询价次数</p>
......
......@@ -26,33 +26,6 @@
</el-form>
<!--统计数据-->
<ul class="statistical-data row avarage">
<!--搜索次数-->
<li>
<p class="title row verCenter">搜索次数</p>
<div class="head row verCenter">
<span style="width: 40%;" class="row verCenter">型号</span>
<span style="width: 40%;" class="row verCenter">品牌</span>
<span style="width: 20%;" class="row verCenter">次数</span>
</div>
<div class="list">
<div class="box row verCenter" v-for="(v,index) in skuRankList[1]">
<span style="width: 40%;">{{ v.goods_name }}</span>
<span style="width: 40%;">{{ v.brand_name }}</span>
<template v-if="index == 0">
<span style="width: 20%;" class="color1">{{ v.num }}</span>
</template>
<template v-else-if="index == 1">
<span style="width: 20%;" class="color2">{{ v.num }}</span>
</template>
<template v-else-if="index == 2">
<span style="width: 20%;" class="color3">{{ v.num }}</span>
</template>
<template v-else>
<span style="width: 20%;">{{ v.num }}</span>
</template>
</div>
</div>
</li>
<!--询价次数-->
<li>
<p class="title row verCenter">询价次数</p>
......@@ -214,32 +187,32 @@
<div class="title row verCenter">
<span class="one" style="width: 180px">{{ skuStatistics.goods_name }}</span>
<span style="width: 100px">次数</span>
<span style="width: 100px">排名</span>
<span style="width: 200px">排名</span>
<span style="width: 272px">最近时间</span>
</div>
<div class="list">
<div class="box row verCenter">
<span class="one" style="width: 180px">搜索次数</span>
<span style="width: 100px">{{ skuStatistics.search_count }}</span>
<span style="width: 100px">{{ skuStatistics.search_rank }}</span>
<span style="width: 200px">{{ skuStatistics.search_rank }}(全网)</span>
<span style="width: 272px">{{ skuStatistics.search_last_time }}</span>
</div>
<div class="box row verCenter">
<span class="one" style="width: 180px">询价次数</span>
<span style="width: 100px">{{ skuStatistics.inquiry_count }}</span>
<span style="width: 100px">{{ skuStatistics.inquiry_rank }}</span>
<span style="width: 200px">{{ skuStatistics.inquiry_rank }}</span>
<span style="width: 272px">{{ skuStatistics.inquiry_last_time }}</span>
</div>
<div class="box row verCenter">
<span class="one" style="width: 180px">报价次数</span>
<span style="width: 100px">{{ skuStatistics.quote_count }}</span>
<span style="width: 100px">{{ skuStatistics.quote_rank }}</span>
<span style="width: 200px">{{ skuStatistics.quote_rank }}</span>
<span style="width: 272px">{{ skuStatistics.quote_last_time }}</span>
</div>
<div class="box row verCenter">
<span class="one" style="width: 180px">成单次数</span>
<span style="width: 100px">{{ skuStatistics.order_count }}</span>
<span style="width: 100px">{{ skuStatistics.order_rank }}</span>
<span style="width: 200px">{{ skuStatistics.order_rank }}</span>
<span style="width: 272px">{{ skuStatistics.order_last_time }}</span>
</div>
</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment