|
@@ -204,13 +204,13 @@ export default {
|
|
},
|
|
},
|
|
|
|
|
|
onLoad(e) {
|
|
onLoad(e) {
|
|
- this.detectWeixin();
|
|
|
|
- if (!this.isWeixin){
|
|
|
|
- // 跳转到微信页面
|
|
|
|
- uni.navigateTo({
|
|
|
|
- url: `/pages/weixin/index`,
|
|
|
|
- });
|
|
|
|
- }
|
|
|
|
|
|
+ // this.detectWeixin();
|
|
|
|
+ // if (!this.isWeixin){
|
|
|
|
+ // // 跳转到微信页面
|
|
|
|
+ // uni.navigateTo({
|
|
|
|
+ // url: `/pages/weixin/index`,
|
|
|
|
+ // });
|
|
|
|
+ // }
|
|
|
|
|
|
this.state = e.state;
|
|
this.state = e.state;
|
|
this.getOpenId(e);
|
|
this.getOpenId(e);
|
|
@@ -220,14 +220,14 @@ export default {
|
|
this.getNewAcitivityDetail();
|
|
this.getNewAcitivityDetail();
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
- detectWeixin() {
|
|
|
|
- let userAgent = navigator.userAgent;
|
|
|
|
- if (userAgent.includes("MicroMessenger")) {
|
|
|
|
- this.isWeixin = true
|
|
|
|
- } else {
|
|
|
|
- this.isWeixin = false
|
|
|
|
- }
|
|
|
|
- },
|
|
|
|
|
|
+ // detectWeixin() {
|
|
|
|
+ // let userAgent = navigator.userAgent;
|
|
|
|
+ // if (userAgent.includes("MicroMessenger")) {
|
|
|
|
+ // this.isWeixin = true
|
|
|
|
+ // } else {
|
|
|
|
+ // this.isWeixin = false
|
|
|
|
+ // }
|
|
|
|
+ // },
|
|
// 联通流量详细信息
|
|
// 联通流量详细信息
|
|
getNewAcitivityDetail() {
|
|
getNewAcitivityDetail() {
|
|
newAcitivityDetail({
|
|
newAcitivityDetail({
|