提交 7c20e69c 编写于 作者: tao.wu's avatar tao.wu

加入唤起APP的功能

上级 b0199add
此差异已折叠。
...@@ -49,17 +49,19 @@ ...@@ -49,17 +49,19 @@
</div> </div>
</div> </div>
</section> </section>
<div v-if="showMask" @click="showMask=false" class="mask-div"><img src="../assets/img/mask.png"></div> <!-- <div v-if="showMask" @click="showMask=false" class="mask-div"><img src="../assets/img/mask.png"></div> -->
</div> </div>
</template> </template>
<script> <script>
import { getShareUrl } from '@/utils/index';
import { wxShare } from '@/configs/wxShare'; import { wxShare } from '@/configs/wxShare';
export default { export default {
data(){ data(){
return { return {
statusTxt: '', statusTxt: '',
showMask: false, // showMask: false,
path: getShareUrl() + 'year_end_ssr/activityPage',
} }
}, },
mounted(){ mounted(){
...@@ -105,7 +107,8 @@ ...@@ -105,7 +107,8 @@
this.$sendBuriedData({ this.$sendBuriedData({
component_tag: `310#310002` component_tag: `310#310002`
}); });
this.showMask = true; this.$callApp(this.path);
// this.showMask = true;
}, },
goLink(id){ goLink(id){
let link = ''; let link = '';
......
...@@ -2,7 +2,9 @@ import Vue from 'vue' ...@@ -2,7 +2,9 @@ import Vue from 'vue'
import { import {
BASE_URL BASE_URL
} from '@/utils/enumerate'; } from '@/utils/enumerate';
import PicaCallApp, { callApp } from 'pica-call-app';
import PicaWxShare from 'pica-wx-share'; import PicaWxShare from 'pica-wx-share';
Vue.prototype.$callApp = callApp;
Vue.prototype.$picaWxShare = PicaWxShare; Vue.prototype.$picaWxShare = PicaWxShare;
import PicaH5Login from 'pica-h5-login'; import PicaH5Login from 'pica-h5-login';
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册