Commit 6b5e9b21 by 胡悦

Merge branch 'v1.0.0' of http://192.168.3.233:8090/h5/glsk-data-view-pd into v1.0.0

2 parents e880069f 2cd7b45c
...@@ -73,7 +73,7 @@ export default { ...@@ -73,7 +73,7 @@ export default {
height: 25vh; height: 25vh;
margin-bottom: 1.78vh; margin-bottom: 1.78vh;
.content-box { .content-box {
padding: 3.78vh 1.39vw 1.39vh 0; padding: 2.78vh 1.39vw 2.78vh 0;
} }
} }
</style> </style>
...@@ -5,13 +5,14 @@ ...@@ -5,13 +5,14 @@
<div class="content-box"> <div class="content-box">
<!-- 采购选项下拉 --> <!-- 采购选项下拉 -->
<div class="purchase-plugin"> <div class="purchase-plugin">
<div class="purchase" @click="switchPurchase"> <div class="purchase" @click.stop="switchPurchase">
{{ purchase }} {{ purchase }}
<img class="arrow-down" src="@/assets/images/arrow-down.png" alt="" /> <img class="arrow-down" src="@/assets/images/arrow-down.png" alt="" />
</div> </div>
<div v-show="isShow" class="select-purchase"> <SelectBox :isShow="isShow" @clickOutside="clickOutside" :dataList="purchaseList" :boxWidth="'28.61vw'" @selectVal="selectPurchase"></SelectBox>
<!-- <div v-show="isShow" class="select-purchase">
<div class="purchase-item" :class="purchase == item ? 'active' : ''" v-for="(item, index) in purchaseList" :key="index" @click.s="selectPurchase(item)">{{ item }}</div> <div class="purchase-item" :class="purchase == item ? 'active' : ''" v-for="(item, index) in purchaseList" :key="index" @click.s="selectPurchase(item)">{{ item }}</div>
</div> </div> -->
</div> </div>
<!-- 门店排行 --> <!-- 门店排行 -->
<div class="merchant-box"> <div class="merchant-box">
...@@ -90,6 +91,9 @@ export default { ...@@ -90,6 +91,9 @@ export default {
goDetailPage(item) { goDetailPage(item) {
console.log(item) console.log(item)
this.$router.push({ name: 'solarDetail', params: item }) this.$router.push({ name: 'solarDetail', params: item })
},
clickOutside() {
this.isShow = false
} }
} }
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!