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

chore: update

上级 29065bd7
...@@ -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;
......
...@@ -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' } })
} }
// 获取二维码 // 获取二维码
......
...@@ -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=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) const { url } = await getQrcode(params)
qrcodeUrl = url qrcodeUrl = url
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论