提交 c57bedee authored 作者: haodaking's avatar haodaking

chore: update

上级 29065bd7
......@@ -26,15 +26,8 @@ function showTips() {
<template #header-aside>
<div class="button"><a href="https://mp.weixin.qq.com/s/EdS6wpcdL0IEMK11WQ1Oyg" target="_blank">去学习</a></div>
</template>
<van-tabs
v-model:active="active"
shrink
background="transparent"
title-active-color="#033974"
title-inactive-color="#4E4E4E"
line-height="0"
>
<van-tab title="解释文档" v-if="docs.length">
<van-tabs v-model:active="active" shrink background="transparent" title-active-color="#033974" title-inactive-color="#4E4E4E" line-height="0">
<van-tab title="解释文档">
<div class="learn-box learn-docs">
<ul v-if="docs.length">
<li v-for="item in docs" :key="item.id" @click="handleViewDoc(item)">
......@@ -46,7 +39,7 @@ function showTips() {
<van-empty description="暂无内容" v-else />
</div>
</van-tab>
<van-tab title="学前测评" v-if="false">
<van-tab title="学前测评">
<div class="learn-box learn-test">
<h2>查漏补缺 建立系统概念</h2>
<p>了解PRP学习前系统专业知识的情况</p>
......@@ -130,8 +123,7 @@ function showTips() {
// 学前测评
.learn-test {
background: #fff url(https://webapp-pub.ezijing.com/project/prp-h5/learning_map_test.png) no-repeat right 0.2rem
bottom 0.5rem;
background: #fff url(https://webapp-pub.ezijing.com/project/prp-h5/learning_map_test.png) no-repeat right 0.2rem bottom 0.5rem;
background-size: 2.08rem;
h2 {
margin-top: 0.2rem;
......
......@@ -7,7 +7,7 @@ export function getShare() {
// 获取二维码
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' } })
}
// 获取二维码
......
......@@ -67,7 +67,7 @@ async function getShareInfo() {
let qrcodeUrl = $ref<string>()
async function genQrcode() {
const params = {
url: `https://pages.ezijing.com/prp/mobile204001490416.html?channel_num=93530&user_id=${userStore.user?.id}&user_name=${user.name}`
url: `https://pages.ezijing.com/prp/mobile204001490416.html?channel_num=93613&user_id=${userStore.user?.id}&user_name=${user.name}`
}
const { url } = await getQrcode(params)
qrcodeUrl = url
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论