Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
P
project-online-pc
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
project-online-pc
Commits
d596e37f
提交
d596e37f
authored
2月 27, 2023
作者:
王鹏飞
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
chore: 新增微信分享
上级
12ca32a1
显示空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
57 行增加
和
6 行删除
+57
-6
app.html
app.html
+2
-0
nuxt.config.js
nuxt.config.js
+2
-6
MP_verify_Bsrq0Vq9qFv7TNLq.txt
static/MP_verify_Bsrq0Vq9qFv7TNLq.txt
+2
-0
MP_verify_gSN39VMp07ZQlh47.txt
static/MP_verify_gSN39VMp07ZQlh47.txt
+2
-0
wx.js
static/wx.js
+49
-0
没有找到文件。
app.html
浏览文件 @
d596e37f
...
@@ -22,6 +22,8 @@
...
@@ -22,6 +22,8 @@
</head>
</head>
<body
{{
BODY_ATTRS
}}
>
<body
{{
BODY_ATTRS
}}
>
{{ APP }}
{{ APP }}
<script
src=
"https://res2.wx.qq.com/open/js/jweixin-1.6.0.js"
></script>
<script
src=
"./wx.js"
></script>
<script>
<script>
var
_hmt
=
_hmt
||
[]
var
_hmt
=
_hmt
||
[]
;(
function
()
{
;(
function
()
{
...
...
nuxt.config.js
浏览文件 @
d596e37f
...
@@ -24,14 +24,10 @@ export default {
...
@@ -24,14 +24,10 @@ export default {
meta
:
[
meta
:
[
{
charset
:
'utf-8'
},
{
charset
:
'utf-8'
},
{
hid
:
'viewport'
,
name
:
'viewport'
,
content
:
'width=device-width, initial-scale=1'
},
{
hid
:
'viewport'
,
name
:
'viewport'
,
content
:
'width=device-width, initial-scale=1'
},
{
{
name
:
'keywords'
,
content
:
'加州浸会大学,工商管理博士,DBA,国际留学,美国留学,博士留学,留学'
},
name
:
'keywords'
,
content
:
'加州浸会大学,工商管理博士,DBA,国际留学,美国留学,博士留学,留学'
},
{
{
name
:
'description'
,
name
:
'description'
,
content
:
content
:
'权威数字经济专业课程融合国际名校工商管理博士学位,培养数字经济时代下的企业家前瞻力和领导力。'
'美国加州浸会大学(CaliforniaBaptistUniversity,简称CBU)创立于1950年的综合性私立大学。目前拥有8500余名本科生和研究生,提供超过150多种本科专业及40多种硕士学位和证书课程。CBU被2022年“美国新闻与世界报道”评为全美顶尖大学之一,也是南加州顶尖的研究生学位授予大学之一。除了高质量的学术课程以外,学校还拥有WASC、ACBSP、CTC、NASM、BRN、CCNE、ABET等多重权威认证。'
}
}
],
],
link
:
[
link
:
[
...
...
static/MP_verify_Bsrq0Vq9qFv7TNLq.txt
0 → 100644
浏览文件 @
d596e37f
Bsrq0Vq9qFv7TNLq
\ No newline at end of file
static/MP_verify_gSN39VMp07ZQlh47.txt
0 → 100644
浏览文件 @
d596e37f
gSN39VMp07ZQlh47
\ No newline at end of file
static/wx.js
0 → 100644
浏览文件 @
d596e37f
function
useWXShare
(
data
)
{
const
shareData
=
Object
.
assign
(
{
title
:
'数字领导力企业家学者DBA申请'
,
desc
:
'权威数字经济专业课程融合国际名校工商管理博士学位,培养数字经济时代下的企业家前瞻力和领导力。'
,
link
:
location
.
href
,
imgUrl
:
'https://webapp-pub.ezijing.com/project/cbu-enterprise/logo.jpg'
},
data
)
const
updateShareData
=
()
=>
{
wx
.
updateAppMessageShareData
({
title
:
shareData
.
title
,
desc
:
shareData
.
desc
,
link
:
shareData
.
link
,
imgUrl
:
shareData
.
imgUrl
})
wx
.
updateTimelineShareData
({
title
:
shareData
.
title
,
link
:
shareData
.
link
,
imgUrl
:
shareData
.
imgUrl
})
}
fetch
(
'https://node-server.ezijing.com/share/getsignature'
,
{
method
:
'post'
,
headers
:
{
'Content-Type'
:
'application/x-www-form-urlencoded'
},
body
:
JSON
.
stringify
({
appId
:
'wxfe67f37095e08d2f'
,
url
:
location
.
href
.
split
(
'#'
).
pop
()
})
})
.
then
(
response
=>
{
return
response
.
json
()
})
.
then
(
data
=>
{
console
.
log
(
data
)
wx
.
config
({
debug
:
false
,
// 开启调试模式,调用的所有api的返回值会在客户端alert出来,若要查看传入的参数,可以在pc端打开,参数信息会通过log打出,仅在pc端时才会打印。
appId
:
'wxfe67f37095e08d2f'
,
// 必填,公众号的唯一标识
timestamp
:
data
.
timestamp
,
// 必填,生成签名的时间戳
nonceStr
:
data
.
noncestr
,
// 必填,生成签名的随机串
signature
:
data
.
token
,
// 必填,签名
jsApiList
:
[
'updateAppMessageShareData'
,
'updateTimelineShareData'
]
// 必填,需要使用的JS接口列表
})
wx
.
ready
(
updateShareData
)
})
}
useWXShare
()
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论