提交 3b4e2c65 编写于 作者: tao.wu's avatar tao.wu

增加微信调试type

上级 b200bd4a
...@@ -69,8 +69,8 @@ import { Toast } from 'vant'; ...@@ -69,8 +69,8 @@ import { Toast } from 'vant';
import { remind, getRemindStatus, checkHospitalStatus, getCnt } from '@/service'; import { remind, getRemindStatus, checkHospitalStatus, getCnt } from '@/service';
import h5header from '@/components/h5header'; import h5header from '@/components/h5header';
import shareContainer from '@/components/share-container'; import shareContainer from '@/components/share-container';
import { BASE_URL } from '@/utils/enumerate'; import { BASE_URL } from '@/utils/enumerate';
const shareImg = require('@/assets/img/share.png');
export default { export default {
head() { head() {
...@@ -103,11 +103,12 @@ export default { ...@@ -103,11 +103,12 @@ export default {
}); });
}, },
mounted() { mounted() {
console.log(shareImg)
this.shareObj = { this.shareObj = {
shareUrl: window.location.href, shareUrl: window.location.href,
title1: '云鹊奖活动在即,火速开启提醒', title1: '云鹊奖活动在即,火速开启提醒',
title2: '边学习边获益,最高20万元奖品等你瓜分!', title2: '边学习边获益,最高20万元奖品等你瓜分!',
shareImageUrl: require('../assets/img/share.png') shareImageUrl: shareImg
} }
this.isWeb = this.$rocNative.isWeb; this.isWeb = this.$rocNative.isWeb;
this.$rocNative.getToken().then(res => { this.$rocNative.getToken().then(res => {
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册