Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
html
/
wanda-ball
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Wiki
Members
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
431641ba
authored
May 24, 2019
by
hank
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
万达篮球小冠军
parent
d5b132e1
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
59 additions
and
58 deletions
+59
-58
src/components/Detail.vue
+16
-15
src/pages/index/Shouye.vue
+9
-9
src/pages/index/index.html
+1
-1
src/pages/user/App.vue
+7
-7
src/pages/user/User.vue
+9
-9
src/pages/user/User以前.vue
+8
-8
src/pages/user/User最新.vue
+8
-8
src/pages/user/user.html
+1
-1
No files found.
src/components/Detail.vue
View file @
431641ba
...
@@ -198,7 +198,7 @@ export default {
...
@@ -198,7 +198,7 @@ export default {
// 获取“分享到朋友圈”按钮点击状态及自定义分享内容接口(即将废弃)
// 获取“分享到朋友圈”按钮点击状态及自定义分享内容接口(即将废弃)
var
shareData64onMenuShareTimeline
=
{
var
shareData64onMenuShareTimeline
=
{
title
:
'
云上丹寨 摄影月赛
'
,
// 分享标题
title
:
'
万达篮球小冠军
'
,
// 分享标题
link
:
this
.
url
,
// 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
link
:
this
.
url
,
// 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
imgUrl
:
_this
.
pictureInfo
.
image
,
// 分享图标
imgUrl
:
_this
.
pictureInfo
.
image
,
// 分享图标
success
:
function
()
{
success
:
function
()
{
...
@@ -210,7 +210,7 @@ export default {
...
@@ -210,7 +210,7 @@ export default {
// 获取“分享给朋友”按钮点击状态及自定义分享内容接口(即将废弃)
// 获取“分享给朋友”按钮点击状态及自定义分享内容接口(即将废弃)
var
shareData64onMenuShareAppMessage
=
{
var
shareData64onMenuShareAppMessage
=
{
title
:
'
云上丹寨 摄影月赛
'
,
// 分享标题
title
:
'
万达篮球小冠军
'
,
// 分享标题
// desc: '@' + this.pictureInfo.nickname + ', ' + _this.pictureInfo.desc, // 分享描述
// desc: '@' + this.pictureInfo.nickname + ', ' + _this.pictureInfo.desc, // 分享描述
// desc: _this.$randomText(), // 分享描述
// desc: _this.$randomText(), // 分享描述
desc
:
_this
.
pictureInfo
.
desc
,
// 分享描述
desc
:
_this
.
pictureInfo
.
desc
,
// 分享描述
...
@@ -229,7 +229,7 @@ export default {
...
@@ -229,7 +229,7 @@ export default {
// // 自定义“分享给朋友”及“分享到QQ”按钮的分享内容(1.4.0)
// // 自定义“分享给朋友”及“分享到QQ”按钮的分享内容(1.4.0)
// wx.updateAppMessageShareData(
// wx.updateAppMessageShareData(
// {
// {
// title: '
云上丹寨 摄影月赛
', // 分享标题
// title: '
万达篮球小冠军
', // 分享标题
// // desc: '@'+ this.pictureInfo.nickname +', ' + _this.pictureInfo.desc, // 分享描述
// // desc: '@'+ this.pictureInfo.nickname +', ' + _this.pictureInfo.desc, // 分享描述
// // desc: _this.pictureInfo.desc, // 分享描述
// // desc: _this.pictureInfo.desc, // 分享描述
// desc: _this.pictureInfo.desc, // 分享描述
// desc: _this.pictureInfo.desc, // 分享描述
...
@@ -245,7 +245,7 @@ export default {
...
@@ -245,7 +245,7 @@ export default {
// // 自定义“分享到朋友圈”及“分享到QQ空间”按钮的分享内容(1.4.0)
// // 自定义“分享到朋友圈”及“分享到QQ空间”按钮的分享内容(1.4.0)
// wx.updateTimelineShareData(
// wx.updateTimelineShareData(
// {
// {
// title: '
云上丹寨 摄影月赛
', // 分享标题
// title: '
万达篮球小冠军
', // 分享标题
// link: this.url, // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
// link: this.url, // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
// imgUrl: _this.pictureInfo.image // 分享图标
// imgUrl: _this.pictureInfo.image // 分享图标
// },
// },
...
@@ -257,7 +257,7 @@ export default {
...
@@ -257,7 +257,7 @@ export default {
// // 获取“分享到朋友圈”按钮点击状态及自定义分享内容接口(即将废弃)
// // 获取“分享到朋友圈”按钮点击状态及自定义分享内容接口(即将废弃)
// wx.onMenuShareTimeline({
// wx.onMenuShareTimeline({
// title: '
云上丹寨 摄影月赛
', // 分享标题
// title: '
万达篮球小冠军
', // 分享标题
// link: this.url, // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
// link: this.url, // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
// imgUrl: _this.pictureInfo.image, // 分享图标
// imgUrl: _this.pictureInfo.image, // 分享图标
// success: function () {
// success: function () {
...
@@ -267,7 +267,7 @@ export default {
...
@@ -267,7 +267,7 @@ export default {
// // 获取“分享给朋友”按钮点击状态及自定义分享内容接口(即将废弃)
// // 获取“分享给朋友”按钮点击状态及自定义分享内容接口(即将废弃)
// wx.onMenuShareAppMessage({
// wx.onMenuShareAppMessage({
// title: '
云上丹寨 摄影月赛
', // 分享标题
// title: '
万达篮球小冠军
', // 分享标题
// // desc: '@' + this.pictureInfo.nickname + ', ' + _this.pictureInfo.desc, // 分享描述
// // desc: '@' + this.pictureInfo.nickname + ', ' + _this.pictureInfo.desc, // 分享描述
// desc: _this.pictureInfo.desc, // 分享描述
// desc: _this.pictureInfo.desc, // 分享描述
// link: this.url, // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
// link: this.url, // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
...
@@ -282,7 +282,7 @@ export default {
...
@@ -282,7 +282,7 @@ export default {
// // 获取“分享到QQ”按钮点击状态及自定义分享内容接口(即将废弃)
// // 获取“分享到QQ”按钮点击状态及自定义分享内容接口(即将废弃)
// wx.onMenuShareQQ({
// wx.onMenuShareQQ({
// title: '
云上丹寨 摄影月赛
', // 分享标题
// title: '
万达篮球小冠军
', // 分享标题
// // desc: '@' + this.pictureInfo.nickname + ', ' + _this.pictureInfo.desc, // 分享描述
// // desc: '@' + this.pictureInfo.nickname + ', ' + _this.pictureInfo.desc, // 分享描述
// desc: _this.pictureInfo.desc, // 分享描述
// desc: _this.pictureInfo.desc, // 分享描述
// link: this.url, // 分享链接
// link: this.url, // 分享链接
...
@@ -299,7 +299,7 @@ export default {
...
@@ -299,7 +299,7 @@ export default {
// // 获取“分享到腾讯微博”按钮点击状态及自定义分享内容接口
// // 获取“分享到腾讯微博”按钮点击状态及自定义分享内容接口
// wx.onMenuShareWeibo({
// wx.onMenuShareWeibo({
// title: '
云上丹寨 摄影月赛
', // 分享标题
// title: '
万达篮球小冠军
', // 分享标题
// // desc: this.pictureInfo.nickname +' ' + _this.pictureInfo.desc, // 分享描述
// // desc: this.pictureInfo.nickname +' ' + _this.pictureInfo.desc, // 分享描述
// desc: _this.pictureInfo.desc, // 分享描述
// desc: _this.pictureInfo.desc, // 分享描述
// link: this.url, // 分享链接
// link: this.url, // 分享链接
...
@@ -316,7 +316,7 @@ export default {
...
@@ -316,7 +316,7 @@ export default {
// // 获取“分享到QQ空间”按钮点击状态及自定义分享内容接口(即将废弃)
// // 获取“分享到QQ空间”按钮点击状态及自定义分享内容接口(即将废弃)
// wx.onMenuShareQZone({
// wx.onMenuShareQZone({
// title: '
云上丹寨 摄影月赛
', // 分享标题
// title: '
万达篮球小冠军
', // 分享标题
// // desc: '@' + this.pictureInfo.nickname + ', ' + _this.pictureInfo.desc, // 分享描述
// // desc: '@' + this.pictureInfo.nickname + ', ' + _this.pictureInfo.desc, // 分享描述
// desc: _this.pictureInfo.desc, // 分享描述
// desc: _this.pictureInfo.desc, // 分享描述
// link: this.url, // 分享链接
// link: this.url, // 分享链接
...
@@ -351,24 +351,25 @@ export default {
...
@@ -351,24 +351,25 @@ export default {
},
},
share
()
{
share
()
{
var
_this
=
this
var
_this
=
this
alert
(
'share'
)
window
.
wx
.
miniProgram
.
getEnv
(
function
(
res
)
{
window
.
wx
.
miniProgram
.
getEnv
(
function
(
res
)
{
if
(
res
.
miniprogram
)
{
if
(
res
.
miniprogram
)
{
// todo
// todo
axios
.
post
(
'/weixin/getcode'
,
{
axios
.
post
(
'/weixin/getcode'
,
{
scene
:
this
.
$route
.
query
.
id
,
scene
:
_
this
.
$route
.
query
.
id
,
page
:
'pages/webview/webview'
page
:
'pages/webview/webview'
}).
then
(
res
=>
{
}).
then
(
res
=>
{
this
.
shareCode
=
res
.
data
.
data
.
weixinCode
_
this
.
shareCode
=
res
.
data
.
data
.
weixinCode
this
.
shareOnoff2
=
true
_
this
.
shareOnoff2
=
true
alert
(
JSON
.
stringify
(
res
.
data
.
data
))
alert
(
JSON
.
stringify
(
res
.
data
.
data
))
})
})
}
else
{
}
else
{
axios
.
post
(
'/weixin/getcode'
,
{
axios
.
post
(
'/weixin/getcode'
,
{
scene
:
this
.
$route
.
query
.
id
,
scene
:
_
this
.
$route
.
query
.
id
,
page
:
'pages/webview/webview'
page
:
'pages/webview/webview'
}).
then
(
res
=>
{
}).
then
(
res
=>
{
this
.
shareCode
=
res
.
data
.
data
.
weixinCode
_
this
.
shareCode
=
res
.
data
.
data
.
weixinCode
this
.
shareOnoff2
=
true
_
this
.
shareOnoff2
=
true
alert
(
JSON
.
stringify
(
res
.
data
.
data
))
alert
(
JSON
.
stringify
(
res
.
data
.
data
))
})
})
_this
.
shareOnoff
=
true
;
_this
.
shareOnoff
=
true
;
...
...
src/pages/index/Shouye.vue
View file @
431641ba
...
@@ -582,7 +582,7 @@ export default {
...
@@ -582,7 +582,7 @@ export default {
});
});
var
data1
=
{
var
data1
=
{
title
:
'
云上丹寨 摄影月赛
'
,
// 分享标题
title
:
'
万达篮球小冠军
'
,
// 分享标题
link
:
api
.
wrapHref
,
// 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
link
:
api
.
wrapHref
,
// 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
imgUrl
:
api
.
shareImg
,
// 分享图标
imgUrl
:
api
.
shareImg
,
// 分享图标
success
:
function
()
{
}
success
:
function
()
{
}
...
@@ -592,7 +592,7 @@ export default {
...
@@ -592,7 +592,7 @@ export default {
// // 获取“分享给朋友”按钮点击状态及自定义分享内容接口(即将废弃)
// // 获取“分享给朋友”按钮点击状态及自定义分享内容接口(即将废弃)
var
data2
=
{
var
data2
=
{
title
:
'
云上丹寨 摄影月赛
'
,
// 分享标题
title
:
'
万达篮球小冠军
'
,
// 分享标题
desc
:
_this
.
$randomText
(),
// 分享描述
desc
:
_this
.
$randomText
(),
// 分享描述
// link: location.href, // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
// link: location.href, // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
link
:
api
.
wrapHref
,
// 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
link
:
api
.
wrapHref
,
// 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
...
@@ -609,7 +609,7 @@ export default {
...
@@ -609,7 +609,7 @@ export default {
// // // 自定义“分享给朋友”及“分享到QQ”按钮的分享内容(1.4.0)
// // // 自定义“分享给朋友”及“分享到QQ”按钮的分享内容(1.4.0)
// wx.updateAppMessageShareData(
// wx.updateAppMessageShareData(
// {
// {
// title: '
云上丹寨 摄影月赛
', // 分享标题
// title: '
万达篮球小冠军
', // 分享标题
// desc: _this.$randomText(), // 分享描述
// desc: _this.$randomText(), // 分享描述
// link: location.href, // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
// link: location.href, // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
// imgUrl: api.shareImg // 分享图标
// imgUrl: api.shareImg // 分享图标
...
@@ -622,7 +622,7 @@ export default {
...
@@ -622,7 +622,7 @@ export default {
// // // 自定义“分享到朋友圈”及“分享到QQ空间”按钮的分享内容(1.4.0)
// // // 自定义“分享到朋友圈”及“分享到QQ空间”按钮的分享内容(1.4.0)
// wx.updateTimelineShareData(
// wx.updateTimelineShareData(
// {
// {
// title: '
云上丹寨 摄影月赛
', // 分享标题
// title: '
万达篮球小冠军
', // 分享标题
// link: location.href, // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
// link: location.href, // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
// imgUrl: '' // 分享图标
// imgUrl: '' // 分享图标
// },
// },
...
@@ -633,7 +633,7 @@ export default {
...
@@ -633,7 +633,7 @@ export default {
// // 获取“分享到朋友圈”按钮点击状态及自定义分享内容接口(即将废弃)
// // 获取“分享到朋友圈”按钮点击状态及自定义分享内容接口(即将废弃)
// wx.onMenuShareTimeline({
// wx.onMenuShareTimeline({
// title: '
云上丹寨 摄影月赛
', // 分享标题
// title: '
万达篮球小冠军
', // 分享标题
// link: location.href, // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
// link: location.href, // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
// imgUrl: api.shareImg, // 分享图标
// imgUrl: api.shareImg, // 分享图标
// success: function () { }
// success: function () { }
...
@@ -641,7 +641,7 @@ export default {
...
@@ -641,7 +641,7 @@ export default {
// // // 获取“分享给朋友”按钮点击状态及自定义分享内容接口(即将废弃)
// // // 获取“分享给朋友”按钮点击状态及自定义分享内容接口(即将废弃)
// wx.onMenuShareAppMessage({
// wx.onMenuShareAppMessage({
// title: '
云上丹寨 摄影月赛
', // 分享标题
// title: '
万达篮球小冠军
', // 分享标题
// desc: _this.$randomText(), // 分享描述
// desc: _this.$randomText(), // 分享描述
// link: location.href, // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
// link: location.href, // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
// imgUrl: api.shareImg, // 分享图标
// imgUrl: api.shareImg, // 分享图标
...
@@ -654,7 +654,7 @@ export default {
...
@@ -654,7 +654,7 @@ export default {
// // // 获取“分享到QQ”按钮点击状态及自定义分享内容接口(即将废弃)
// // // 获取“分享到QQ”按钮点击状态及自定义分享内容接口(即将废弃)
// wx.onMenuShareQQ({
// wx.onMenuShareQQ({
// title: '
云上丹寨 摄影月赛
', // 分享标题
// title: '
万达篮球小冠军
', // 分享标题
// desc: _this.$randomText(), // 分享描述
// desc: _this.$randomText(), // 分享描述
// link: location.href, // 分享链接
// link: location.href, // 分享链接
// imgUrl: api.shareImg, // 分享图标
// imgUrl: api.shareImg, // 分享图标
...
@@ -668,7 +668,7 @@ export default {
...
@@ -668,7 +668,7 @@ export default {
// // // 获取“分享到腾讯微博”按钮点击状态及自定义分享内容接口
// // // 获取“分享到腾讯微博”按钮点击状态及自定义分享内容接口
// wx.onMenuShareWeibo({
// wx.onMenuShareWeibo({
// title: '
云上丹寨 摄影月赛
', // 分享标题
// title: '
万达篮球小冠军
', // 分享标题
// desc: _this.$randomText(), // 分享描述
// desc: _this.$randomText(), // 分享描述
// link: location.href, // 分享链接
// link: location.href, // 分享链接
// imgUrl: api.shareImg, // 分享图标
// imgUrl: api.shareImg, // 分享图标
...
@@ -682,7 +682,7 @@ export default {
...
@@ -682,7 +682,7 @@ export default {
// // // 获取“分享到QQ空间”按钮点击状态及自定义分享内容接口(即将废弃)
// // // 获取“分享到QQ空间”按钮点击状态及自定义分享内容接口(即将废弃)
// wx.onMenuShareQZone({
// wx.onMenuShareQZone({
// title: '
云上丹寨 摄影月赛
', // 分享标题
// title: '
万达篮球小冠军
', // 分享标题
// desc: _this.$randomText(), // 分享描述
// desc: _this.$randomText(), // 分享描述
// link: location.href, // 分享链接
// link: location.href, // 分享链接
// imgUrl: api.shareImg, // 分享图标
// imgUrl: api.shareImg, // 分享图标
...
...
src/pages/index/index.html
View file @
431641ba
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
<head>
<head>
<meta
charset=
"utf-8"
>
<meta
charset=
"utf-8"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no"
>
<title>
云上丹寨 摄影月赛
</title>
<title>
万达篮球小冠军
</title>
<script
type=
"text/javascript"
src=
"https://js.tarsocial.com/h5stat-2.1.1.vue.js"
></script>
<script
type=
"text/javascript"
src=
"https://js.tarsocial.com/h5stat-2.1.1.vue.js"
></script>
<script
src=
"https://res.wx.qq.com/open/js/jweixin-1.3.2.js"
></script>
<script
src=
"https://res.wx.qq.com/open/js/jweixin-1.3.2.js"
></script>
</head>
</head>
...
...
src/pages/user/App.vue
View file @
431641ba
...
@@ -149,7 +149,7 @@ export default {
...
@@ -149,7 +149,7 @@ export default {
// // 自定义“分享给朋友”及“分享到QQ”按钮的分享内容(1.4.0)
// // 自定义“分享给朋友”及“分享到QQ”按钮的分享内容(1.4.0)
wx
.
updateAppMessageShareData
(
wx
.
updateAppMessageShareData
(
{
{
title
:
'
云上丹寨 摄影月赛
'
,
// 分享标题
title
:
'
万达篮球小冠军
'
,
// 分享标题
desc
:
_this
.
$randomText
(),
// 分享描述
desc
:
_this
.
$randomText
(),
// 分享描述
link
:
api
.
indexHref
,
// 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
link
:
api
.
indexHref
,
// 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
imgUrl
:
api
.
shareImg
// 分享图标
imgUrl
:
api
.
shareImg
// 分享图标
...
@@ -162,7 +162,7 @@ export default {
...
@@ -162,7 +162,7 @@ export default {
// // 自定义“分享到朋友圈”及“分享到QQ空间”按钮的分享内容(1.4.0)
// // 自定义“分享到朋友圈”及“分享到QQ空间”按钮的分享内容(1.4.0)
wx
.
updateTimelineShareData
(
wx
.
updateTimelineShareData
(
{
{
title
:
'
云上丹寨 摄影月赛
'
,
// 分享标题
title
:
'
万达篮球小冠军
'
,
// 分享标题
link
:
api
.
indexHref
,
// 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
link
:
api
.
indexHref
,
// 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
imgUrl
:
api
.
shareImg
// 分享图标
imgUrl
:
api
.
shareImg
// 分享图标
},
},
...
@@ -173,7 +173,7 @@ export default {
...
@@ -173,7 +173,7 @@ export default {
// 获取“分享到朋友圈”按钮点击状态及自定义分享内容接口(即将废弃)
// 获取“分享到朋友圈”按钮点击状态及自定义分享内容接口(即将废弃)
wx
.
onMenuShareTimeline
({
wx
.
onMenuShareTimeline
({
title
:
'
云上丹寨 摄影月赛
'
,
// 分享标题
title
:
'
万达篮球小冠军
'
,
// 分享标题
link
:
api
.
indexHref
,
// 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
link
:
api
.
indexHref
,
// 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
imgUrl
:
api
.
shareImg
,
// 分享图标
imgUrl
:
api
.
shareImg
,
// 分享图标
success
:
function
()
{
}
success
:
function
()
{
}
...
@@ -181,7 +181,7 @@ export default {
...
@@ -181,7 +181,7 @@ export default {
// // 获取“分享给朋友”按钮点击状态及自定义分享内容接口(即将废弃)
// // 获取“分享给朋友”按钮点击状态及自定义分享内容接口(即将废弃)
wx
.
onMenuShareAppMessage
({
wx
.
onMenuShareAppMessage
({
title
:
'
云上丹寨 摄影月赛
'
,
// 分享标题
title
:
'
万达篮球小冠军
'
,
// 分享标题
desc
:
_this
.
$randomText
(),
// 分享描述
desc
:
_this
.
$randomText
(),
// 分享描述
link
:
api
.
indexHref
,
// 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
link
:
api
.
indexHref
,
// 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
imgUrl
:
api
.
shareImg
,
// 分享图标
imgUrl
:
api
.
shareImg
,
// 分享图标
...
@@ -194,7 +194,7 @@ export default {
...
@@ -194,7 +194,7 @@ export default {
// // 获取“分享到QQ”按钮点击状态及自定义分享内容接口(即将废弃)
// // 获取“分享到QQ”按钮点击状态及自定义分享内容接口(即将废弃)
wx
.
onMenuShareQQ
({
wx
.
onMenuShareQQ
({
title
:
'
云上丹寨 摄影月赛
'
,
// 分享标题
title
:
'
万达篮球小冠军
'
,
// 分享标题
desc
:
_this
.
$randomText
(),
// 分享描述
desc
:
_this
.
$randomText
(),
// 分享描述
link
:
api
.
indexHref
,
// 分享链接
link
:
api
.
indexHref
,
// 分享链接
imgUrl
:
api
.
shareImg
,
// 分享图标
imgUrl
:
api
.
shareImg
,
// 分享图标
...
@@ -208,7 +208,7 @@ export default {
...
@@ -208,7 +208,7 @@ export default {
// // 获取“分享到腾讯微博”按钮点击状态及自定义分享内容接口
// // 获取“分享到腾讯微博”按钮点击状态及自定义分享内容接口
wx
.
onMenuShareWeibo
({
wx
.
onMenuShareWeibo
({
title
:
'
云上丹寨 摄影月赛
'
,
// 分享标题
title
:
'
万达篮球小冠军
'
,
// 分享标题
desc
:
_this
.
$randomText
(),
// 分享描述
desc
:
_this
.
$randomText
(),
// 分享描述
link
:
api
.
indexHref
,
// 分享链接
link
:
api
.
indexHref
,
// 分享链接
imgUrl
:
api
.
shareImg
,
// 分享图标
imgUrl
:
api
.
shareImg
,
// 分享图标
...
@@ -222,7 +222,7 @@ export default {
...
@@ -222,7 +222,7 @@ export default {
// // 获取“分享到QQ空间”按钮点击状态及自定义分享内容接口(即将废弃)
// // 获取“分享到QQ空间”按钮点击状态及自定义分享内容接口(即将废弃)
wx
.
onMenuShareQZone
({
wx
.
onMenuShareQZone
({
title
:
'
云上丹寨 摄影月赛
'
,
// 分享标题
title
:
'
万达篮球小冠军
'
,
// 分享标题
desc
:
_this
.
$randomText
(),
// 分享描述
desc
:
_this
.
$randomText
(),
// 分享描述
link
:
api
.
indexHref
,
// 分享链接
link
:
api
.
indexHref
,
// 分享链接
imgUrl
:
api
.
shareImg
,
// 分享图标
imgUrl
:
api
.
shareImg
,
// 分享图标
...
...
src/pages/user/User.vue
View file @
431641ba
...
@@ -201,7 +201,7 @@ export default {
...
@@ -201,7 +201,7 @@ export default {
// 获取“分享到朋友圈”按钮点击状态及自定义分享内容接口(即将废弃)
// 获取“分享到朋友圈”按钮点击状态及自定义分享内容接口(即将废弃)
var
data1
=
{
var
data1
=
{
title
:
'
云上丹寨 摄影月赛
'
,
// 分享标题
title
:
'
万达篮球小冠军
'
,
// 分享标题
link
:
api
.
wrapHref
,
// 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
link
:
api
.
wrapHref
,
// 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
imgUrl
:
api
.
shareImg
,
// 分享图标
imgUrl
:
api
.
shareImg
,
// 分享图标
success
:
function
()
{
}
success
:
function
()
{
}
...
@@ -211,7 +211,7 @@ export default {
...
@@ -211,7 +211,7 @@ export default {
// // 获取“分享给朋友”按钮点击状态及自定义分享内容接口(即将废弃)
// // 获取“分享给朋友”按钮点击状态及自定义分享内容接口(即将废弃)
var
data2
=
{
var
data2
=
{
title
:
'
云上丹寨 摄影月赛
'
,
// 分享标题
title
:
'
万达篮球小冠军
'
,
// 分享标题
desc
:
_this
.
$randomText
(),
// 分享描述
desc
:
_this
.
$randomText
(),
// 分享描述
// link: location.href, // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
// link: location.href, // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
link
:
api
.
wrapHref
,
// 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
link
:
api
.
wrapHref
,
// 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
...
@@ -228,7 +228,7 @@ export default {
...
@@ -228,7 +228,7 @@ export default {
// // // 自定义“分享给朋友”及“分享到QQ”按钮的分享内容(1.4.0)
// // // 自定义“分享给朋友”及“分享到QQ”按钮的分享内容(1.4.0)
// wx.updateAppMessageShareData(
// wx.updateAppMessageShareData(
// {
// {
// title: '
云上丹寨 摄影月赛
', // 分享标题
// title: '
万达篮球小冠军
', // 分享标题
// desc: _this.$randomText(), // 分享描述
// desc: _this.$randomText(), // 分享描述
// link: api.indexHref, // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
// link: api.indexHref, // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
// imgUrl: api.shareImg // 分享图标
// imgUrl: api.shareImg // 分享图标
...
@@ -241,7 +241,7 @@ export default {
...
@@ -241,7 +241,7 @@ export default {
// // // 自定义“分享到朋友圈”及“分享到QQ空间”按钮的分享内容(1.4.0)
// // // 自定义“分享到朋友圈”及“分享到QQ空间”按钮的分享内容(1.4.0)
// wx.updateTimelineShareData(
// wx.updateTimelineShareData(
// {
// {
// title: '
云上丹寨 摄影月赛
', // 分享标题
// title: '
万达篮球小冠军
', // 分享标题
// link: api.indexHref, // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
// link: api.indexHref, // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
// imgUrl: api.shareImg // 分享图标
// imgUrl: api.shareImg // 分享图标
// },
// },
...
@@ -252,7 +252,7 @@ export default {
...
@@ -252,7 +252,7 @@ export default {
// // 获取“分享到朋友圈”按钮点击状态及自定义分享内容接口(即将废弃)
// // 获取“分享到朋友圈”按钮点击状态及自定义分享内容接口(即将废弃)
// wx.onMenuShareTimeline({
// wx.onMenuShareTimeline({
// title: '
云上丹寨 摄影月赛
', // 分享标题
// title: '
万达篮球小冠军
', // 分享标题
// link: api.indexHref, // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
// link: api.indexHref, // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
// imgUrl: api.shareImg, // 分享图标
// imgUrl: api.shareImg, // 分享图标
// success: function() {}
// success: function() {}
...
@@ -260,7 +260,7 @@ export default {
...
@@ -260,7 +260,7 @@ export default {
// // // 获取“分享给朋友”按钮点击状态及自定义分享内容接口(即将废弃)
// // // 获取“分享给朋友”按钮点击状态及自定义分享内容接口(即将废弃)
// wx.onMenuShareAppMessage({
// wx.onMenuShareAppMessage({
// title: '
云上丹寨 摄影月赛
', // 分享标题
// title: '
万达篮球小冠军
', // 分享标题
// desc: _this.$randomText(), // 分享描述
// desc: _this.$randomText(), // 分享描述
// link: api.indexHref, // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
// link: api.indexHref, // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
// imgUrl: api.shareImg, // 分享图标
// imgUrl: api.shareImg, // 分享图标
...
@@ -273,7 +273,7 @@ export default {
...
@@ -273,7 +273,7 @@ export default {
// // // 获取“分享到QQ”按钮点击状态及自定义分享内容接口(即将废弃)
// // // 获取“分享到QQ”按钮点击状态及自定义分享内容接口(即将废弃)
// wx.onMenuShareQQ({
// wx.onMenuShareQQ({
// title: '
云上丹寨 摄影月赛
', // 分享标题
// title: '
万达篮球小冠军
', // 分享标题
// desc: _this.$randomText(), // 分享描述
// desc: _this.$randomText(), // 分享描述
// link: api.indexHref, // 分享链接
// link: api.indexHref, // 分享链接
// imgUrl: api.shareImg, // 分享图标
// imgUrl: api.shareImg, // 分享图标
...
@@ -287,7 +287,7 @@ export default {
...
@@ -287,7 +287,7 @@ export default {
// // // 获取“分享到腾讯微博”按钮点击状态及自定义分享内容接口
// // // 获取“分享到腾讯微博”按钮点击状态及自定义分享内容接口
// wx.onMenuShareWeibo({
// wx.onMenuShareWeibo({
// title: '
云上丹寨 摄影月赛
', // 分享标题
// title: '
万达篮球小冠军
', // 分享标题
// desc: _this.$randomText(), // 分享描述
// desc: _this.$randomText(), // 分享描述
// link: api.indexHref, // 分享链接
// link: api.indexHref, // 分享链接
// imgUrl: api.shareImg, // 分享图标
// imgUrl: api.shareImg, // 分享图标
...
@@ -301,7 +301,7 @@ export default {
...
@@ -301,7 +301,7 @@ export default {
// // // 获取“分享到QQ空间”按钮点击状态及自定义分享内容接口(即将废弃)
// // // 获取“分享到QQ空间”按钮点击状态及自定义分享内容接口(即将废弃)
// wx.onMenuShareQZone({
// wx.onMenuShareQZone({
// title: '
云上丹寨 摄影月赛
', // 分享标题
// title: '
万达篮球小冠军
', // 分享标题
// desc: _this.$randomText(), // 分享描述
// desc: _this.$randomText(), // 分享描述
// link: api.indexHref, // 分享链接
// link: api.indexHref, // 分享链接
// imgUrl: api.shareImg, // 分享图标
// imgUrl: api.shareImg, // 分享图标
...
...
src/pages/user/User以前.vue
View file @
431641ba
<
temp
late
>
<
temp
late
>
...
@@ -187,7 +187,7 @@ export default {
...
@@ -187,7 +187,7 @@ export default {
// // 自定义“分享给朋友”及“分享到QQ”按钮的分享内容(1.4.0)
// // 自定义“分享给朋友”及“分享到QQ”按钮的分享内容(1.4.0)
wx
.
updateAppMessageShareData
(
wx
.
updateAppMessageShareData
(
{
{
title
:
'
云上丹寨 摄影月赛
'
,
// 分享标题
title
:
'
万达篮球小冠军
'
,
// 分享标题
desc
:
_this
.
$randomText
(),
// 分享描述
desc
:
_this
.
$randomText
(),
// 分享描述
link
:
api
.
indexHref
,
// 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
link
:
api
.
indexHref
,
// 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
imgUrl
:
api
.
shareImg
// 分享图标
imgUrl
:
api
.
shareImg
// 分享图标
...
@@ -200,7 +200,7 @@ export default {
...
@@ -200,7 +200,7 @@ export default {
// // 自定义“分享到朋友圈”及“分享到QQ空间”按钮的分享内容(1.4.0)
// // 自定义“分享到朋友圈”及“分享到QQ空间”按钮的分享内容(1.4.0)
wx
.
updateTimelineShareData
(
wx
.
updateTimelineShareData
(
{
{
title
:
'
云上丹寨 摄影月赛
'
,
// 分享标题
title
:
'
万达篮球小冠军
'
,
// 分享标题
link
:
api
.
indexHref
,
// 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
link
:
api
.
indexHref
,
// 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
imgUrl
:
api
.
shareImg
// 分享图标
imgUrl
:
api
.
shareImg
// 分享图标
},
},
...
@@ -211,7 +211,7 @@ export default {
...
@@ -211,7 +211,7 @@ export default {
// 获取“分享到朋友圈”按钮点击状态及自定义分享内容接口(即将废弃)
// 获取“分享到朋友圈”按钮点击状态及自定义分享内容接口(即将废弃)
wx
.
onMenuShareTimeline
({
wx
.
onMenuShareTimeline
({
title
:
'
云上丹寨 摄影月赛
'
,
// 分享标题
title
:
'
万达篮球小冠军
'
,
// 分享标题
link
:
api
.
indexHref
,
// 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
link
:
api
.
indexHref
,
// 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
imgUrl
:
api
.
shareImg
,
// 分享图标
imgUrl
:
api
.
shareImg
,
// 分享图标
success
:
function
()
{}
success
:
function
()
{}
...
@@ -219,7 +219,7 @@ export default {
...
@@ -219,7 +219,7 @@ export default {
// // 获取“分享给朋友”按钮点击状态及自定义分享内容接口(即将废弃)
// // 获取“分享给朋友”按钮点击状态及自定义分享内容接口(即将废弃)
wx
.
onMenuShareAppMessage
({
wx
.
onMenuShareAppMessage
({
title
:
'
云上丹寨 摄影月赛
'
,
// 分享标题
title
:
'
万达篮球小冠军
'
,
// 分享标题
desc
:
_this
.
$randomText
(),
// 分享描述
desc
:
_this
.
$randomText
(),
// 分享描述
link
:
api
.
indexHref
,
// 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
link
:
api
.
indexHref
,
// 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
imgUrl
:
api
.
shareImg
,
// 分享图标
imgUrl
:
api
.
shareImg
,
// 分享图标
...
@@ -232,7 +232,7 @@ export default {
...
@@ -232,7 +232,7 @@ export default {
// // 获取“分享到QQ”按钮点击状态及自定义分享内容接口(即将废弃)
// // 获取“分享到QQ”按钮点击状态及自定义分享内容接口(即将废弃)
wx
.
onMenuShareQQ
({
wx
.
onMenuShareQQ
({
title
:
'
云上丹寨 摄影月赛
'
,
// 分享标题
title
:
'
万达篮球小冠军
'
,
// 分享标题
desc
:
_this
.
$randomText
(),
// 分享描述
desc
:
_this
.
$randomText
(),
// 分享描述
link
:
api
.
indexHref
,
// 分享链接
link
:
api
.
indexHref
,
// 分享链接
imgUrl
:
api
.
shareImg
,
// 分享图标
imgUrl
:
api
.
shareImg
,
// 分享图标
...
@@ -246,7 +246,7 @@ export default {
...
@@ -246,7 +246,7 @@ export default {
// // 获取“分享到腾讯微博”按钮点击状态及自定义分享内容接口
// // 获取“分享到腾讯微博”按钮点击状态及自定义分享内容接口
wx
.
onMenuShareWeibo
({
wx
.
onMenuShareWeibo
({
title
:
'
云上丹寨 摄影月赛
'
,
// 分享标题
title
:
'
万达篮球小冠军
'
,
// 分享标题
desc
:
_this
.
$randomText
(),
// 分享描述
desc
:
_this
.
$randomText
(),
// 分享描述
link
:
api
.
indexHref
,
// 分享链接
link
:
api
.
indexHref
,
// 分享链接
imgUrl
:
api
.
shareImg
,
// 分享图标
imgUrl
:
api
.
shareImg
,
// 分享图标
...
@@ -260,7 +260,7 @@ export default {
...
@@ -260,7 +260,7 @@ export default {
// // 获取“分享到QQ空间”按钮点击状态及自定义分享内容接口(即将废弃)
// // 获取“分享到QQ空间”按钮点击状态及自定义分享内容接口(即将废弃)
wx
.
onMenuShareQZone
({
wx
.
onMenuShareQZone
({
title
:
'
云上丹寨 摄影月赛
'
,
// 分享标题
title
:
'
万达篮球小冠军
'
,
// 分享标题
desc
:
_this
.
$randomText
(),
// 分享描述
desc
:
_this
.
$randomText
(),
// 分享描述
link
:
api
.
indexHref
,
// 分享链接
link
:
api
.
indexHref
,
// 分享链接
imgUrl
:
api
.
shareImg
,
// 分享图标
imgUrl
:
api
.
shareImg
,
// 分享图标
...
...
src/pages/user/User最新.vue
View file @
431641ba
<
temp
late
>
<
temp
late
>
...
@@ -190,7 +190,7 @@ export default {
...
@@ -190,7 +190,7 @@ export default {
// // 自定义“分享给朋友”及“分享到QQ”按钮的分享内容(1.4.0)
// // 自定义“分享给朋友”及“分享到QQ”按钮的分享内容(1.4.0)
wx
.
updateAppMessageShareData
(
wx
.
updateAppMessageShareData
(
{
{
title
:
'
云上丹寨 摄影月赛
'
,
// 分享标题
title
:
'
万达篮球小冠军
'
,
// 分享标题
desc
:
_this
.
$randomText
(),
// 分享描述
desc
:
_this
.
$randomText
(),
// 分享描述
link
:
api
.
indexHref
,
// 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
link
:
api
.
indexHref
,
// 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
imgUrl
:
api
.
shareImg
// 分享图标
imgUrl
:
api
.
shareImg
// 分享图标
...
@@ -203,7 +203,7 @@ export default {
...
@@ -203,7 +203,7 @@ export default {
// // 自定义“分享到朋友圈”及“分享到QQ空间”按钮的分享内容(1.4.0)
// // 自定义“分享到朋友圈”及“分享到QQ空间”按钮的分享内容(1.4.0)
wx
.
updateTimelineShareData
(
wx
.
updateTimelineShareData
(
{
{
title
:
'
云上丹寨 摄影月赛
'
,
// 分享标题
title
:
'
万达篮球小冠军
'
,
// 分享标题
link
:
api
.
indexHref
,
// 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
link
:
api
.
indexHref
,
// 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
imgUrl
:
api
.
shareImg
// 分享图标
imgUrl
:
api
.
shareImg
// 分享图标
},
},
...
@@ -214,7 +214,7 @@ export default {
...
@@ -214,7 +214,7 @@ export default {
// 获取“分享到朋友圈”按钮点击状态及自定义分享内容接口(即将废弃)
// 获取“分享到朋友圈”按钮点击状态及自定义分享内容接口(即将废弃)
wx
.
onMenuShareTimeline
({
wx
.
onMenuShareTimeline
({
title
:
'
云上丹寨 摄影月赛
'
,
// 分享标题
title
:
'
万达篮球小冠军
'
,
// 分享标题
link
:
api
.
indexHref
,
// 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
link
:
api
.
indexHref
,
// 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
imgUrl
:
api
.
shareImg
,
// 分享图标
imgUrl
:
api
.
shareImg
,
// 分享图标
success
:
function
()
{}
success
:
function
()
{}
...
@@ -222,7 +222,7 @@ export default {
...
@@ -222,7 +222,7 @@ export default {
// // 获取“分享给朋友”按钮点击状态及自定义分享内容接口(即将废弃)
// // 获取“分享给朋友”按钮点击状态及自定义分享内容接口(即将废弃)
wx
.
onMenuShareAppMessage
({
wx
.
onMenuShareAppMessage
({
title
:
'
云上丹寨 摄影月赛
'
,
// 分享标题
title
:
'
万达篮球小冠军
'
,
// 分享标题
desc
:
_this
.
$randomText
(),
// 分享描述
desc
:
_this
.
$randomText
(),
// 分享描述
link
:
api
.
indexHref
,
// 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
link
:
api
.
indexHref
,
// 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
imgUrl
:
api
.
shareImg
,
// 分享图标
imgUrl
:
api
.
shareImg
,
// 分享图标
...
@@ -235,7 +235,7 @@ export default {
...
@@ -235,7 +235,7 @@ export default {
// // 获取“分享到QQ”按钮点击状态及自定义分享内容接口(即将废弃)
// // 获取“分享到QQ”按钮点击状态及自定义分享内容接口(即将废弃)
wx
.
onMenuShareQQ
({
wx
.
onMenuShareQQ
({
title
:
'
云上丹寨 摄影月赛
'
,
// 分享标题
title
:
'
万达篮球小冠军
'
,
// 分享标题
desc
:
_this
.
$randomText
(),
// 分享描述
desc
:
_this
.
$randomText
(),
// 分享描述
link
:
api
.
indexHref
,
// 分享链接
link
:
api
.
indexHref
,
// 分享链接
imgUrl
:
api
.
shareImg
,
// 分享图标
imgUrl
:
api
.
shareImg
,
// 分享图标
...
@@ -249,7 +249,7 @@ export default {
...
@@ -249,7 +249,7 @@ export default {
// // 获取“分享到腾讯微博”按钮点击状态及自定义分享内容接口
// // 获取“分享到腾讯微博”按钮点击状态及自定义分享内容接口
wx
.
onMenuShareWeibo
({
wx
.
onMenuShareWeibo
({
title
:
'
云上丹寨 摄影月赛
'
,
// 分享标题
title
:
'
万达篮球小冠军
'
,
// 分享标题
desc
:
_this
.
$randomText
(),
// 分享描述
desc
:
_this
.
$randomText
(),
// 分享描述
link
:
api
.
indexHref
,
// 分享链接
link
:
api
.
indexHref
,
// 分享链接
imgUrl
:
api
.
shareImg
,
// 分享图标
imgUrl
:
api
.
shareImg
,
// 分享图标
...
@@ -263,7 +263,7 @@ export default {
...
@@ -263,7 +263,7 @@ export default {
// // 获取“分享到QQ空间”按钮点击状态及自定义分享内容接口(即将废弃)
// // 获取“分享到QQ空间”按钮点击状态及自定义分享内容接口(即将废弃)
wx
.
onMenuShareQZone
({
wx
.
onMenuShareQZone
({
title
:
'
云上丹寨 摄影月赛
'
,
// 分享标题
title
:
'
万达篮球小冠军
'
,
// 分享标题
desc
:
_this
.
$randomText
(),
// 分享描述
desc
:
_this
.
$randomText
(),
// 分享描述
link
:
api
.
indexHref
,
// 分享链接
link
:
api
.
indexHref
,
// 分享链接
imgUrl
:
api
.
shareImg
,
// 分享图标
imgUrl
:
api
.
shareImg
,
// 分享图标
...
...
src/pages/user/user.html
View file @
431641ba
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
<head>
<head>
<meta
charset=
"utf-8"
>
<meta
charset=
"utf-8"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no"
>
<title>
云上丹寨 摄影月赛
</title>
<title>
万达篮球小冠军
</title>
<script
type=
"text/javascript"
src=
"https://js.tarsocial.com/h5stat-2.1.1.vue.js"
></script>
<script
type=
"text/javascript"
src=
"https://js.tarsocial.com/h5stat-2.1.1.vue.js"
></script>
</head>
</head>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment