Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
C
center-psp-show-h5
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
center-psp-show-h5
Commits
c57bedee
提交
c57bedee
authored
5月 28, 2022
作者:
haodaking
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
chore: update
上级
29065bd7
显示空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
6 行增加
和
14 行删除
+6
-14
LearningMap.vue
src/modules/home/components/LearningMap.vue
+4
-12
api.ts
src/modules/share/api.ts
+1
-1
Index.vue
src/modules/share/views/Index.vue
+1
-1
没有找到文件。
src/modules/home/components/LearningMap.vue
浏览文件 @
c57bedee
...
@@ -26,15 +26,8 @@ function showTips() {
...
@@ -26,15 +26,8 @@ function showTips() {
<template
#
header-aside
>
<template
#
header-aside
>
<div
class=
"button"
><a
href=
"https://mp.weixin.qq.com/s/EdS6wpcdL0IEMK11WQ1Oyg"
target=
"_blank"
>
去学习
</a></div>
<div
class=
"button"
><a
href=
"https://mp.weixin.qq.com/s/EdS6wpcdL0IEMK11WQ1Oyg"
target=
"_blank"
>
去学习
</a></div>
</
template
>
</
template
>
<van-tabs
<van-tabs
v-model:active=
"active"
shrink
background=
"transparent"
title-active-color=
"#033974"
title-inactive-color=
"#4E4E4E"
line-height=
"0"
>
v-model:active=
"active"
<van-tab
title=
"解释文档"
>
shrink
background=
"transparent"
title-active-color=
"#033974"
title-inactive-color=
"#4E4E4E"
line-height=
"0"
>
<van-tab
title=
"解释文档"
v-if=
"docs.length"
>
<div
class=
"learn-box learn-docs"
>
<div
class=
"learn-box learn-docs"
>
<ul
v-if=
"docs.length"
>
<ul
v-if=
"docs.length"
>
<li
v-for=
"item in docs"
:key=
"item.id"
@
click=
"handleViewDoc(item)"
>
<li
v-for=
"item in docs"
:key=
"item.id"
@
click=
"handleViewDoc(item)"
>
...
@@ -46,7 +39,7 @@ function showTips() {
...
@@ -46,7 +39,7 @@ function showTips() {
<van-empty
description=
"暂无内容"
v-else
/>
<van-empty
description=
"暂无内容"
v-else
/>
</div>
</div>
</van-tab>
</van-tab>
<van-tab
title=
"学前测评"
v-if=
"false"
>
<van-tab
title=
"学前测评"
>
<div
class=
"learn-box learn-test"
>
<div
class=
"learn-box learn-test"
>
<h2>
查漏补缺 建立系统概念
</h2>
<h2>
查漏补缺 建立系统概念
</h2>
<p>
了解PRP学习前系统专业知识的情况
</p>
<p>
了解PRP学习前系统专业知识的情况
</p>
...
@@ -130,8 +123,7 @@ function showTips() {
...
@@ -130,8 +123,7 @@ function showTips() {
// 学前测评
// 学前测评
.learn-test
{
.learn-test
{
background
:
#fff
url(https://webapp-pub.ezijing.com/project/prp-h5/learning_map_test.png)
no-repeat
right
0
.2rem
background
:
#fff
url(https://webapp-pub.ezijing.com/project/prp-h5/learning_map_test.png)
no-repeat
right
0
.2rem
bottom
0
.5rem
;
bottom
0
.5rem
;
background-size
:
2
.08rem
;
background-size
:
2
.08rem
;
h2
{
h2
{
margin-top
:
0
.2rem
;
margin-top
:
0
.2rem
;
...
...
src/modules/share/api.ts
浏览文件 @
c57bedee
...
@@ -7,7 +7,7 @@ export function getShare() {
...
@@ -7,7 +7,7 @@ export function getShare() {
// 获取二维码
// 获取二维码
export
function
getQrcode
(
params
:
{
url
:
string
}):
Promise
<
{
url
:
string
}
>
{
export
function
getQrcode
(
params
:
{
url
:
string
}):
Promise
<
{
url
:
string
}
>
{
return
httpRequest
.
get
(
'https://learn-api.ezijing.com/api/lms
/util/pcode'
,
{
params
,
headers
:
{
tenant
:
'ciis
'
}
})
return
httpRequest
.
get
(
'https://learn-api.ezijing.com/api/lms
-ep/util/pcode'
,
{
params
,
headers
:
{
tenant
:
'prp
'
}
})
}
}
// 获取二维码
// 获取二维码
...
...
src/modules/share/views/Index.vue
浏览文件 @
c57bedee
...
@@ -67,7 +67,7 @@ async function getShareInfo() {
...
@@ -67,7 +67,7 @@ async function getShareInfo() {
let
qrcodeUrl
=
$ref
<
string
>
()
let
qrcodeUrl
=
$ref
<
string
>
()
async
function
genQrcode
()
{
async
function
genQrcode
()
{
const
params
=
{
const
params
=
{
url
:
`https://pages.ezijing.com/prp/mobile204001490416.html?channel_num=93
530
&user_id=
${
userStore
.
user
?.
id
}
&
user_name
=
$
{
user
.
name
}
`
url
:
`https://pages.ezijing.com/prp/mobile204001490416.html?channel_num=93
613
&user_id=
${
userStore
.
user
?.
id
}
&
user_name
=
$
{
user
.
name
}
`
}
}
const { url } = await getQrcode(params)
const { url } = await getQrcode(params)
qrcodeUrl = url
qrcodeUrl = url
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论