| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576 |
- <template>
- <view>
- <view class="copy">
- <view class="copy-logo ddflex">
- <image :src="picUrlss+'lvluo/bot_logo.png'"></image>·{{content?content:'诊所私域专家'}}
- </view>
- <view class="copy-open" @click="toZhiqiyun()">我要开通</view>
- </view>
- </view>
- </template>
- <script>
- // components/footer-logo/footer-logo.js
- const req = require("../../utils/request");
- export default {
- data() {
- return {
- picUrlss: req.public.picUrls,
- copyrighttitle: req.public.copyrighttitle,
- //头部页面背景链接
- copyrighttel: req.public.copyrighttel,
- copyrightlogo: req.public.copyrightlogo
- };
- },
- components: {},
- props: {
- hidden: {
- type: Boolean
- },
- content:{
- type: String
- },
- },
- methods: {
- phone() {
- uni.makePhoneCall({
- phoneNumber: req.public.copyrighttel
- });
- },
- jumpUrl(url) {
- uni.navigateTo({
- url: url
- })
- },
- toZhiqiyun() {
- // #ifdef MP-WEIXIN
- uni.navigateToMiniProgram({
- appId: 'wx5373f8753a5463ea',
- path: 'pages/index/index',
- envVersion: req.env.NODE_ENV == 'prd' ? 'release' : 'trial'
- });
- // #endif
-
- // #ifdef H5
- req.postRequestKDX('/api/v3/getAppletUrl', {
- path: 'pages/index/index',
- query: '',
- envVersion: req.env.NODE_ENV == 'prd' ? 'release' : 'trial',
- sysParameterVos: []
- }, json => {
- console.log('打开小程序》》》》', json);
- //跳入打开小程序
- window.location.href = json;
- }, true);
- // #endif
-
- }
- }
- };
- </script>
- <style>
- @import "./footer-copyright.css";
- </style>
|