Browse Source

遗漏分享配置

feature/3.0.0-推广员
lfs3 6 years ago
parent
commit
28663d9eb4
3 changed files with 27 additions and 2 deletions
  1. 8
      src/view/put-money-success.vue
  2. 13
      src/view/put-money.vue
  3. 8
      src/view/service-evaluation.vue

8
src/view/put-money-success.vue

@ -51,6 +51,14 @@
mounted() {
this.getParams()
// console.log(this.$route)
this.wxShare({
merchantNo: '',
source: 0,
url: encodeURIComponent(location.href),
shareUrl: encodeURIComponent(
"http://" + location.host + "/v2/home"
)
});
},
watch: {
// ,

13
src/view/put-money.vue

@ -120,7 +120,8 @@
this.isActive = true;
this.inputCue = "";
}
}
},
},
methods: {
//
@ -180,7 +181,15 @@
mounted() {
//
this.currentAmount = (this.getParam("currentAmount") / 100).toFixed(2);
//this.$vux.toast.text(this.currentAmount,'middle')
//this.$vux.toast.text(this.currentAmount,'middle')
this.wxShare({
merchantNo: '',
source: 0,
url: encodeURIComponent(location.href),
shareUrl: encodeURIComponent(
"http://" + location.host + "/v2/home"
)
});
}
};
</script>

8
src/view/service-evaluation.vue

@ -223,6 +223,14 @@ export default {
}
}
});
this.wxShare({
merchantNo: '',
source: 0,
url: encodeURIComponent(location.href),
shareUrl: encodeURIComponent(
"http://" + location.host + "/v2/home"
)
});
}
};
</script>

Loading…
Cancel
Save