Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
CFFP-HB
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chao Sun
CFFP-HB
Commits
6d93ee70
Commit
6d93ee70
authored
Oct 29, 2025
by
Sweet Zhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
切片
parent
a7784bac
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
4 deletions
+22
-4
environments/environment.ts
+1
-1
pages/personalCenter/detail.vue
+21
-3
No files found.
environments/environment.ts
View file @
6d93ee70
...
...
@@ -49,7 +49,7 @@ const config = {
stage
,
prod
}
let
env
=
'
prod
'
;
let
env
=
'
dev
'
;
let
baseURL
=
config
[
env
].
base_url
;
let
apiURL
=
config
[
env
].
api_url
;
...
...
pages/personalCenter/detail.vue
View file @
6d93ee70
...
...
@@ -37,13 +37,17 @@
<!-- Tab对应的PDF内容(无权限时显示空状态) -->
<view
class=
"pdf-tab-content"
v-if=
"currentPdf.type==='showURL'"
>
<template
v-if=
"filteredCurrentTabs.length > 0"
>
<web-view
<view
class=
"pdfContainer"
>
<image
:src=
"currentPdf.url"
class=
"pdf-image"
></image>
</view>
<!--
<web-view
:src=
"getPdfViewerUrl(currentPdf.url)"
class=
"webview"
@
error=
"handlePdfError"
@
load=
"handleWebViewLoad"
:key=
"getPdfViewerUrl(currentPdf.url)"
></web-view>
></web-view>
-->
</
template
>
<
template
v-else
>
<view
class=
"pdf-empty"
>
暂无访问权限
</view>
...
...
@@ -437,7 +441,21 @@ const handlePdfError = () => {
bottom
:
0
;
background-color
:
#ffffff
;
}
.pdfContainer
{
display
:
flex
;
width
:
100%
;
height
:
100%
;
align-items
:
center
;
justify-content
:
center
;
position
:
relative
;
margin
:
0
auto
8px
auto
;
}
.pdfContainer
.pdf-image
{
width
:
100%
;
height
:
100%
;
position
:
relative
;
z-index
:
100
}
/* 无权限/无Tab时的空状态 */
.pdf-empty
{
width
:
100%
;
...
...
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