diff --git a/src/components/launchWeapp/index.vue b/src/components/launchWeapp/index.vue new file mode 100644 index 0000000..02e175e --- /dev/null +++ b/src/components/launchWeapp/index.vue @@ -0,0 +1,51 @@ + + + \ No newline at end of file diff --git a/src/main.js b/src/main.js index 1f0ac8b..6e94a0b 100644 --- a/src/main.js +++ b/src/main.js @@ -28,6 +28,7 @@ Vue.prototype.$tips = Tips //开发环境使用,生产环境自动取消 import Vconsole from 'vconsole' import Perfect from '@/components/Perfect' +Vue.config.ignoredElements = ["wx-open-launch-weapp"]; Vue.component('Perfect', Perfect) if (process.env.NODE_ENV !== 'production') { new Vconsole() diff --git a/src/utils/jweixin.js b/src/utils/jweixin.js index 7ba062e..ac89c5f 100644 --- a/src/utils/jweixin.js +++ b/src/utils/jweixin.js @@ -8,7 +8,8 @@ export const setConfig = function (jsApiList = []) { timestamp: res.data.timestamp, nonceStr: res.data.nonceStr, signature: res.data.signature, - jsApiList + jsApiList, + openTagList:['wx-open-launch-weapp'] }) }) } diff --git a/src/views/houseQR/index.vue b/src/views/houseQR/index.vue index 969169c..6937739 100644 --- a/src/views/houseQR/index.vue +++ b/src/views/houseQR/index.vue @@ -4,62 +4,62 @@
-
-
- -
-
{{ formData.houseAddress || '--' }}
-
-
-
-
-
- - 所属社区: +
+
+ +
+
{{ formData.houseAddress || '--' }}
-
{{ formData.communityName || '--' }}
-
-
- - 所属网格: +
+
+
+ + 所属社区: +
+
{{ formData.communityName || '--' }}
- {{ formData.gridName || '--' }} -
-
-
+
- - 社区电话: + + 所属网格:
-
{{ formData.communityTel || '--' }}
+ {{ formData.gridName || '--' }} +
+
+
+
+ + 社区电话: +
+
{{ formData.communityTel || '--' }}
+
+ 拨打
- 拨打
-
-
-
- 我的社区 -
-
-
- - {{ item.title }} +
+
+ 我的社区 +
+
+
+ + {{ item.title }} +
-
-
-
服务矩阵
-
-
- - {{ item.title }} +
+
服务矩阵
+
+
+ + {{ item.title }} +
-
+ + +