提交 334ff0ce 编写于 作者: guangjun.yang's avatar guangjun.yang

微信打开

上级 19eb51d3
<template> <template>
<section class="launch-app"> <section class="launch-app">
<article :id="wxWapperId" v-show="!showImg"></article> <article :id="wxWapperId" v-show="showImg"></article>
<img v-show="showImg" @click="callAppAction" class="pic" :src="wxBtnImg" /> <img v-show="!showImg" @click="callAppAction" class="pic" :src="wxBtnImg" />
</section> </section>
</template> </template>
...@@ -109,7 +109,7 @@ export default { ...@@ -109,7 +109,7 @@ export default {
// 唤起APP // 唤起APP
let insertHtml = `<wx-open-launch-app id="${this.wxOpenId}" let insertHtml = `<wx-open-launch-app id="${this.wxOpenId}"
extinfo="${this.extinfo}" extinfo="${this.extinfo}"
appid="${this.appid}" style="width:100%;display:block;" > appid="${this.appid}" style="display: block; margin: 5px 0; width: 340px; height: 50px;" >
${script.outerHTML} ${script.outerHTML}
</wx-open-launch-app>`; </wx-open-launch-app>`;
console.log('insertHtml', insertHtml); console.log('insertHtml', insertHtml);
......
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
</p> </p>
</section> </section>
</div> </div>
<button @click="savePage2Picture">保存图片</button> <!-- <button @click="savePage2Picture">保存图片</button> -->
<section class="bottom"> <section class="bottom">
<div class="prot-wrapper" @click="selectProt"> <div class="prot-wrapper" @click="selectProt">
<img v-show="!isSelect" src="~@/images/annual/rect-1.png" alt /> <img v-show="!isSelect" src="~@/images/annual/rect-1.png" alt />
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册