| | |
| | | <view class="header"> |
| | | <view class="title text-bold">功能特性</view> |
| | | </view> |
| | | <!-- <text>{{ user_data }}</text> --> |
| | | <!-- <text>{{ shar_openid }}</text> --> |
| | | <u-transition :show="true" mode="slide-up"> |
| | | <view class="grid"> |
| | | <view class="item"> |
| | |
| | | showTab: false, |
| | | tabIndex: 0, |
| | | setting_data:'null', |
| | | user_data:'null' |
| | | user_data:'null', |
| | | shar_openid:'null' |
| | | } |
| | | }, |
| | | computed: { |
| | |
| | | |
| | | }, |
| | | created() { |
| | | let st_open = uni.getStorageSync('openid') |
| | | this.shar_openid = st_open |
| | | var url_local = location.href.split("#")[0] |
| | | let open_id_data = this.$store.state.userInfo.openid |
| | | var urlLink = "http://ai.shsening.com/gpth5/#/pages/index/home?openid="+open_id_data |
| | | this.$request("/api/Member/wxH5ShareId",'POST',{ |
| | | url:url_local |
| | | }).then((res) => { |
| | |
| | | wx.updateAppMessageShareData({ |
| | | title: "ChatFox", // 分享标题 |
| | | desc: "ChatFox", // 分享描述 |
| | | link: location.href, // 分享链接,该链接域名或路径必须与当前页面对应的公众号 JS 安全域名一致 |
| | | link: urlLink, // 分享链接,该链接域名或路径必须与当前页面对应的公众号 JS 安全域名一致 |
| | | imgUrl: "@/static/h5/download-app/ios.png", // 分享图标 |
| | | success: function () { |
| | | // 设置成功 |
| | |
| | | //分享到朋友圈 |
| | | wx.updateTimelineShareData({ |
| | | title: "ChatFox", // 分享标题 |
| | | link: location.href, // 分享链接,该链接域名或路径必须与当前页面对应的公众号 JS 安全域名一致 |
| | | link: urlLink, // 分享链接,该链接域名或路径必须与当前页面对应的公众号 JS 安全域名一致 |
| | | imgUrl: "@/static/h5/download-app/ios.png", // 分享图标 |
| | | success: function () { |
| | | // 设置成功 |