提交 9cc144f0 编写于 作者: guofeng.chen's avatar guofeng.chen

Merge branch 'dev-purchase-0901' of...

Merge branch 'dev-purchase-0901' of http://192.168.110.53/com.pica.cloud.education.frontend/pica-professional-exam into dev-purchase-0901
...@@ -45,7 +45,13 @@ export default { ...@@ -45,7 +45,13 @@ export default {
this.isUp = !this.isUp; this.isUp = !this.isUp;
if (this.isUp) { if (this.isUp) {
this.current = this.one; this.current = this.one;
this.$sendBuriedData({
component_tag: `882#88222`
});
} else { } else {
this.$sendBuriedData({
component_tag: `882#88221`
});
this.current = this.all; this.current = this.all;
} }
} }
......
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
:class="{'tab-active': curtTabIdx === index}" :class="{'tab-active': curtTabIdx === index}"
v-for="(tab, index) in tabs" v-for="(tab, index) in tabs"
:key="index" :key="index"
@click="curtTabIdx=index"> @click="tabToggle(index)">
{{ tab.name }} {{ tab.name }}
</div> </div>
<div class="tab-line" :style="{left: `${tabLeft}px`}"></div> <div class="tab-line" :style="{left: `${tabLeft}px`}"></div>
...@@ -129,6 +129,13 @@ export default { ...@@ -129,6 +129,13 @@ export default {
this.countTotalPrice = null; this.countTotalPrice = null;
}, },
methods: { methods: {
// tab切换
tabToggle(index) {
this.curtTabIdx = index;
this.$sendBuriedData({
component_tag: `888#8880${index + 4}`
});
},
getGoodsInfo() { getGoodsInfo() {
this.GET(`trade/goods/goodInfo/${this.goodsId}`, {}).then(res => { this.GET(`trade/goods/goodInfo/${this.goodsId}`, {}).then(res => {
if (res.code == "000000") { if (res.code == "000000") {
...@@ -207,6 +214,9 @@ export default { ...@@ -207,6 +214,9 @@ export default {
}, },
// 数量增 // 数量增
onPlus() { onPlus() {
this.$sendBuriedData({
component_tag: `888#88801`
});
if (!this.logged) { if (!this.logged) {
this.goLogin(); this.goLogin();
return; return;
...@@ -221,6 +231,9 @@ export default { ...@@ -221,6 +231,9 @@ export default {
}, },
// 数量减 // 数量减
onReduce() { onReduce() {
this.$sendBuriedData({
component_tag: `888#88802`
});
if (!this.logged) { if (!this.logged) {
this.goLogin(); this.goLogin();
return; return;
...@@ -238,6 +251,9 @@ export default { ...@@ -238,6 +251,9 @@ export default {
}, },
// 创建订单 // 创建订单
createOrder() { createOrder() {
this.$sendBuriedData({
component_tag: `888#88803`
});
if (!this.logged) { if (!this.logged) {
this.goLogin(); this.goLogin();
return; return;
......
...@@ -376,8 +376,14 @@ export default { ...@@ -376,8 +376,14 @@ export default {
// 处理提示信息框 // 处理提示信息框
handlerAction(type) { handlerAction(type) {
if(type == 1) { if(type == 1) {
this.$sendBuriedData({
component_tag: `882#88219`
});
this.showBindCardTips = false; this.showBindCardTips = false;
} else { } else {
this.$sendBuriedData({
component_tag: `882#88218`
});
this.beforeChangeCardAction(this.cmeCardModels.cardKey, true) this.beforeChangeCardAction(this.cmeCardModels.cardKey, true)
} }
}, },
......
...@@ -408,7 +408,7 @@ export default { ...@@ -408,7 +408,7 @@ export default {
btnClick1() { btnClick1() {
this.$sendBuriedData({ this.$sendBuriedData({
component_tag: `882#88210` component_tag: `882#88220`
}); });
this.download(); this.download();
}, },
...@@ -440,8 +440,14 @@ export default { ...@@ -440,8 +440,14 @@ export default {
// 处理提示信息框 // 处理提示信息框
handlerAction(type) { handlerAction(type) {
if(type == 1) { if(type == 1) {
this.$sendBuriedData({
component_tag: `882#88219`
});
this.showBindCardTips = false; this.showBindCardTips = false;
} else { } else {
this.$sendBuriedData({
component_tag: `882#88218`
});
this.beforeChangeCardAction(this.cmeCardModels.cardKey, true) this.beforeChangeCardAction(this.cmeCardModels.cardKey, true)
} }
}, },
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册