Commit bd2c63a5 by LJM

优化

parent 85516c94
...@@ -281,7 +281,7 @@ ...@@ -281,7 +281,7 @@
margin-bottom: 30px; margin-bottom: 30px;
li { li {
width: 23%; width: 32%;
background: #F1F4FA; background: #F1F4FA;
border-radius: 2px 2px 0px 0px; border-radius: 2px 2px 0px 0px;
box-sizing: border-box; box-sizing: border-box;
......
...@@ -229,7 +229,7 @@ ...@@ -229,7 +229,7 @@
margin-bottom: 30px; margin-bottom: 30px;
} }
.statistical-data li { .statistical-data li {
width: 23%; width: 32%;
background: #F1F4FA; background: #F1F4FA;
border-radius: 2px 2px 0px 0px; border-radius: 2px 2px 0px 0px;
box-sizing: border-box; box-sizing: border-box;
......
...@@ -125,7 +125,7 @@ ...@@ -125,7 +125,7 @@
margin-bottom: 30px; margin-bottom: 30px;
li { li {
width: 23%; width: 32%;
background: #F1F4FA; background: #F1F4FA;
border-radius: 2px 2px 0px 0px; border-radius: 2px 2px 0px 0px;
box-sizing: border-box; box-sizing: border-box;
......
...@@ -105,7 +105,7 @@ ...@@ -105,7 +105,7 @@
margin-bottom: 30px; margin-bottom: 30px;
} }
.statistical-data li { .statistical-data li {
width: 23%; width: 32%;
background: #F1F4FA; background: #F1F4FA;
border-radius: 2px 2px 0px 0px; border-radius: 2px 2px 0px 0px;
box-sizing: border-box; box-sizing: border-box;
......
...@@ -50,10 +50,12 @@ ...@@ -50,10 +50,12 @@
<em>{{ flag ? '型号' : '品牌' }}</em> <em>{{ flag ? '型号' : '品牌' }}</em>
<span>TOP榜单</span> <span>TOP榜单</span>
</p> </p>
<!--
<div class="row verCenter switch" @click="switchChange"> <div class="row verCenter switch" @click="switchChange">
<span>{{ flag ? '切换品牌' : '切换型号' }}</span> <span>{{ flag ? '切换品牌' : '切换型号' }}</span>
<i></i> <i></i>
</div> </div>
-->
</div> </div>
<div class="search row verCenter"> <div class="search row verCenter">
<i></i> <i></i>
...@@ -86,7 +88,7 @@ ...@@ -86,7 +88,7 @@
</div> </div>
</template> </template>
<template v-else> <template v-else>
<em class="t2">4</em> <em class="t2">{{v.rank}}</em>
</template> </template>
</div> </div>
</div> </div>
......
...@@ -36,33 +36,6 @@ ...@@ -36,33 +36,6 @@
</el-form> </el-form>
<!--统计数据--> <!--统计数据-->
<ul class="statistical-data row avarage"> <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> <li>
<p class="title row verCenter">询价次数</p> <p class="title row verCenter">询价次数</p>
......
...@@ -26,33 +26,6 @@ ...@@ -26,33 +26,6 @@
</el-form> </el-form>
<!--统计数据--> <!--统计数据-->
<ul class="statistical-data row avarage"> <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> <li>
<p class="title row verCenter">询价次数</p> <p class="title row verCenter">询价次数</p>
...@@ -214,32 +187,32 @@ ...@@ -214,32 +187,32 @@
<div class="title row verCenter"> <div class="title row verCenter">
<span class="one" style="width: 180px">{{ skuStatistics.goods_name }}</span> <span class="one" style="width: 180px">{{ skuStatistics.goods_name }}</span>
<span style="width: 100px">次数</span> <span style="width: 100px">次数</span>
<span style="width: 100px">排名</span> <span style="width: 200px">排名</span>
<span style="width: 272px">最近时间</span> <span style="width: 272px">最近时间</span>
</div> </div>
<div class="list"> <div class="list">
<div class="box row verCenter"> <div class="box row verCenter">
<span class="one" style="width: 180px">搜索次数</span> <span class="one" style="width: 180px">搜索次数</span>
<span style="width: 100px">{{ skuStatistics.search_count }}</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> <span style="width: 272px">{{ skuStatistics.search_last_time }}</span>
</div> </div>
<div class="box row verCenter"> <div class="box row verCenter">
<span class="one" style="width: 180px">询价次数</span> <span class="one" style="width: 180px">询价次数</span>
<span style="width: 100px">{{ skuStatistics.inquiry_count }}</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> <span style="width: 272px">{{ skuStatistics.inquiry_last_time }}</span>
</div> </div>
<div class="box row verCenter"> <div class="box row verCenter">
<span class="one" style="width: 180px">报价次数</span> <span class="one" style="width: 180px">报价次数</span>
<span style="width: 100px">{{ skuStatistics.quote_count }}</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> <span style="width: 272px">{{ skuStatistics.quote_last_time }}</span>
</div> </div>
<div class="box row verCenter"> <div class="box row verCenter">
<span class="one" style="width: 180px">成单次数</span> <span class="one" style="width: 180px">成单次数</span>
<span style="width: 100px">{{ skuStatistics.order_count }}</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> <span style="width: 272px">{{ skuStatistics.order_last_time }}</span>
</div> </div>
</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