|
|
@@ -37,6 +37,7 @@
|
|
|
@click="tab(item)"
|
|
|
>
|
|
|
{{ item }}
|
|
|
+ <div class="slip" :class="{ active: item === active }"></div>
|
|
|
</div>
|
|
|
<div class="text">
|
|
|
<img src="../native/imgs/icon-shoucang@3x.png" alt="" />
|
|
|
@@ -55,6 +56,7 @@
|
|
|
<van-tree-select
|
|
|
:items="items"
|
|
|
height="115vw"
|
|
|
+ :main-item-class="red"
|
|
|
:main-active-index="mainActiveIndex"
|
|
|
:active-id="activeId"
|
|
|
@onClickNav="onClickNav"
|
|
|
@@ -103,16 +105,36 @@
|
|
|
<div
|
|
|
@click="navigateTo('/pages/storedetails')"
|
|
|
class="merchantroCon"
|
|
|
- v-for="(item, index) in merchantorListss"
|
|
|
+ v-for="(item, index) in merchantorListsData"
|
|
|
:key="index"
|
|
|
>
|
|
|
- <img :src="item.image" alt="" />
|
|
|
+ <img class="imgLeft" :src="item.image" alt="" />
|
|
|
<div>
|
|
|
<div class="text1">{{ item.name }}</div>
|
|
|
- <div class="text2">月销{{ item.num }} 赞60</div>
|
|
|
+ <div class="text2">月销{{ item.num }} 赞{{ item.fabulous }}</div>
|
|
|
<div class="bottom" @click.stop>
|
|
|
<div class="price">¥{{ item.price }}.00</div>
|
|
|
- <van-stepper :value="1" @change="onChange" />
|
|
|
+ <div class="addcon">
|
|
|
+ <div v-if="item.currentNum > 0">
|
|
|
+ <img
|
|
|
+ class="add"
|
|
|
+ src="https://ticket-exchange.oss-cn-hangzhou.aliyuncs.com/image/2021-09-16-10-33-22neKqYgYm.png"
|
|
|
+ alt=""
|
|
|
+ @click="minus(item)"
|
|
|
+ />
|
|
|
+ </div>
|
|
|
+ <div class="text" v-show="item.currentNum > 0">
|
|
|
+ {{ item.currentNum }}
|
|
|
+ </div>
|
|
|
+ <div>
|
|
|
+ <img
|
|
|
+ class="add"
|
|
|
+ src="https://ticket-exchange.oss-cn-hangzhou.aliyuncs.com/image/2021-09-16-10-41-46reAOWvaa.png"
|
|
|
+ alt=""
|
|
|
+ @click="add(item)"
|
|
|
+ />
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
@@ -331,43 +353,21 @@ export default {
|
|
|
/deep/ .van-button {
|
|
|
.button();
|
|
|
}
|
|
|
- /deep/ .van-popup {
|
|
|
- margin-bottom: 73px;
|
|
|
- border-radius: 12px 12px 0 0;
|
|
|
- }
|
|
|
/deep/ .van-tree-select {
|
|
|
- margin: 21px -20px 0;
|
|
|
+ margin-top: 20px;
|
|
|
}
|
|
|
- /deep/ .van-sidebar-item {
|
|
|
- padding: 8px 0 8px 16px;
|
|
|
+ /deep/ .van-sidebar-item--selected {
|
|
|
+ border: 0;
|
|
|
+ }
|
|
|
+ /deep/ .van-sidebar-item__text {
|
|
|
+ margin-left: 3px;
|
|
|
}
|
|
|
/deep/ .van-tree-select__nav {
|
|
|
-webkit-flex: 0.56;
|
|
|
--sidebar-padding: 12px 8px 12px 12px;
|
|
|
}
|
|
|
- /deep/ .van-stepper__minus {
|
|
|
- width: 24px;
|
|
|
- height: 24px;
|
|
|
- background: @prim;
|
|
|
- border-radius: 2px;
|
|
|
- color: #fff;
|
|
|
- }
|
|
|
- /deep/ .van-stepper__plus {
|
|
|
- width: 24px;
|
|
|
- height: 24px;
|
|
|
- border-radius: 2px;
|
|
|
- background: @prim;
|
|
|
- color: #fff;
|
|
|
- }
|
|
|
- /deep/ .van-stepper__input {
|
|
|
- width: 24px;
|
|
|
- height: 24px;
|
|
|
- background: #f5f7fa;
|
|
|
- border-radius: 2px;
|
|
|
- margin: 0 2px;
|
|
|
- }
|
|
|
.top {
|
|
|
- padding: 96px 16px 0;
|
|
|
+ padding-top: 96px;
|
|
|
.mytest {
|
|
|
height: 155px;
|
|
|
.mytest();
|
|
|
@@ -379,6 +379,7 @@ export default {
|
|
|
.box {
|
|
|
width: 343px;
|
|
|
height: 120px;
|
|
|
+ margin: 0 16px;
|
|
|
background: #ffffff;
|
|
|
border-radius: 12px 12px 0 0;
|
|
|
.title {
|
|
|
@@ -387,6 +388,7 @@ export default {
|
|
|
padding: 20px 12px;
|
|
|
.text {
|
|
|
display: flex;
|
|
|
+
|
|
|
.text1 {
|
|
|
font-size: 18px;
|
|
|
font-weight: bold;
|
|
|
@@ -433,13 +435,20 @@ export default {
|
|
|
color: #000000;
|
|
|
line-height: 22px;
|
|
|
margin-right: 36px;
|
|
|
- padding-bottom: 11px;
|
|
|
&.active {
|
|
|
color: @prim;
|
|
|
font-weight: bold;
|
|
|
- border-bottom: 2px solid @prim;
|
|
|
+ }
|
|
|
+ .slip {
|
|
|
+ margin: 10px 0 0 7px;
|
|
|
+ &.active {
|
|
|
+ border-bottom: 2px solid @prim;
|
|
|
+ width: 16px;
|
|
|
+ border-radius: 2px;
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
border-bottom: 1px solid @bg;
|
|
|
.text {
|
|
|
.flex();
|
|
|
@@ -460,7 +469,6 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
.content {
|
|
|
- padding: 0 16px 0 16px;
|
|
|
.merchantroCon {
|
|
|
.flex();
|
|
|
margin-bottom: 20px;
|
|
|
@@ -507,6 +515,7 @@ export default {
|
|
|
|
|
|
.tabs2 {
|
|
|
.flex();
|
|
|
+ padding: 0 16px;
|
|
|
margin-top: 20px;
|
|
|
.tab2 {
|
|
|
width: 38px;
|
|
|
@@ -526,6 +535,7 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
.evaluateCon {
|
|
|
+ padding: 0 16px;
|
|
|
display: flex;
|
|
|
margin-top: 20px;
|
|
|
img {
|
|
|
@@ -580,6 +590,7 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
.characteristic {
|
|
|
+ padding: 0 16px;
|
|
|
.title {
|
|
|
.span();
|
|
|
margin: 20px 0 6px;
|