diff --git a/pages/seckill/index.vue b/pages/seckill/index.vue
index f008ab7..1190e06 100644
--- a/pages/seckill/index.vue
+++ b/pages/seckill/index.vue
@@ -9,9 +9,9 @@
@@ -21,9 +21,9 @@
>
@@ -85,6 +85,7 @@
确定
+
@@ -308,7 +340,7 @@ export default {
.seckill-products-wrap {
width: 24%;
background: #ffffff;
- margin: 15px 0 60px 0;
+ margin-bottom: 16px;
cursor: pointer;
&:not(:nth-child(4n)) {
margin-right: calc(4% / 3);
diff --git a/pages/seckill/module/DialogEnd.vue b/pages/seckill/module/DialogEnd.vue
new file mode 100644
index 0000000..bfe5ab1
--- /dev/null
+++ b/pages/seckill/module/DialogEnd.vue
@@ -0,0 +1,71 @@
+
+
+
+
+
+
+
diff --git a/pages/seckill/module/TabBar.vue b/pages/seckill/module/TabBar.vue
index b7feb2f..4ede728 100644
--- a/pages/seckill/module/TabBar.vue
+++ b/pages/seckill/module/TabBar.vue
@@ -6,7 +6,7 @@
@click="onTabClick(item.id)"
class="sckill-header-tabbar__item flex flex-middle flex-center"
:class="{
- 'sckill-header-tabbar__item--active': item.id === value,
+ 'sckill-header-tabbar__item--active': item.id === tabId,
}"
>
@@ -24,7 +24,7 @@ export default {
type: Array,
default: () => [],
},
- value: {
+ tabId: {
type: Number,
default: 0,
},
@@ -32,11 +32,10 @@ export default {
methods: {
onTabClick(id) {
// 点击同一个tab
- if (id === this.value) {
+ if (id === this.tabId) {
return;
}
- this.$emit("input", id);
- this.$emit("tab-click");
+ this.$emit("tab-change", id);
},
},
};