|
@@ -178,6 +178,14 @@
|
|
|
methods: {
|
|
methods: {
|
|
|
isWxBrowser: isWxBrowser,
|
|
isWxBrowser: isWxBrowser,
|
|
|
specialInit() {
|
|
specialInit() {
|
|
|
|
|
+ // #ifdef H5
|
|
|
|
|
+ // 微信二次分享
|
|
|
|
|
+ let href = window.location.href
|
|
|
|
|
+ if (href.indexOf('from=singlemessage') > 0) {
|
|
|
|
|
+ location.href = `${this.$constant.formal}/#/pages/pay/index${this.$util.parse(this.option)}`
|
|
|
|
|
+ return false
|
|
|
|
|
+ }
|
|
|
|
|
+ // #endif
|
|
|
// this.$util.getCheckLogin().then(res => {})
|
|
// this.$util.getCheckLogin().then(res => {})
|
|
|
if (this.option.pageType) {
|
|
if (this.option.pageType) {
|
|
|
this.tabIndex = parseInt(this.option.pageType)
|
|
this.tabIndex = parseInt(this.option.pageType)
|