Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
GaoQuYingJiH5-ASD
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xinzhedeai
GaoQuYingJiH5-ASD
Commits
4e51edf5
Commit
4e51edf5
authored
Jun 04, 2025
by
lei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
图片预览功能
parent
6d47689f
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
5 deletions
+14
-5
includeHead.js
sdk/includeHead.js
+4
-4
_consumer_home.html
src/_consumer_home.html
+1
-1
_consumer_home.js
src/_consumer_home.js
+1
-0
_shanghu_detail-edit.html
src/_shanghu_detail-edit.html
+8
-0
No files found.
sdk/includeHead.js
View file @
4e51edf5
...
@@ -23,10 +23,10 @@ document.write(`
...
@@ -23,10 +23,10 @@ document.write(`
<script type="text/javascript" src="
${
contextPath
}
/sdk/jssdk2/sm2/build/SM.js"></script>
<script type="text/javascript" src="
${
contextPath
}
/sdk/jssdk2/sm2/build/SM.js"></script>
`
)
`
)
// 移动端 debugger 调试
// 移动端 debugger 调试
//
document.write(
document
.
write
(
//
'<script type="text/javascript" src="//cdn.bootcdn.net/ajax/libs/eruda/2.4.1/eruda.js"></script>\
'
<script type="text/javascript" src="//cdn.bootcdn.net/ajax/libs/eruda/2.4.1/eruda.js"></script>
\
//
<script>eruda.init();</script>'
<script>eruda.init();</script>
'
//
)
)
// 自动识别环境(需在文件最顶部添加)
// 自动识别环境(需在文件最顶部添加)
window
.
env
=
window
.
location
.
hostname
===
'
web1.isdapp.shandong.gov.cn
'
?
'
pro
'
:
'
dev
'
;
window
.
env
=
window
.
location
.
hostname
===
'
web1.isdapp.shandong.gov.cn
'
?
'
pro
'
:
'
dev
'
;
...
...
src/_consumer_home.html
View file @
4e51edf5
...
@@ -211,7 +211,7 @@
...
@@ -211,7 +211,7 @@
<span></span>
<span></span>
</h5>
</h5>
<div>
<div>
<van-uploader
v-model=
"formData.photos"
:max-count=
"4"
<van-uploader
v-model=
"formData.photos"
:max-count=
"4"
multiple
:after-read=
"handleFileUpload"
class=
"uploader-wrapper"
/>
:after-read=
"handleFileUpload"
class=
"uploader-wrapper"
/>
</div>
</div>
</div>
</div>
...
...
src/_consumer_home.js
View file @
4e51edf5
...
@@ -91,6 +91,7 @@ window.addEventListener("load", function () {
...
@@ -91,6 +91,7 @@ window.addEventListener("load", function () {
// 文件上传处理
// 文件上传处理
handleFileUpload
(
file
)
{
handleFileUpload
(
file
)
{
console
.
log
(
'
上传文件:
'
,
file
);
console
.
log
(
'
上传文件:
'
,
file
);
// 此处可添加实际文件上传逻辑
// 此处可添加实际文件上传逻辑
},
},
...
...
src/_shanghu_detail-edit.html
View file @
4e51edf5
...
@@ -20,6 +20,14 @@
...
@@ -20,6 +20,14 @@
src=
"../sdk/axios_http3.js"
src=
"../sdk/axios_http3.js"
></script>
></script>
<style></style>
<style></style>
<style>
/* 添加禁用状态文字颜色保持 */
input
:disabled
,
input
[
disabled
]
{
color
:
#333
!important
;
/* 保持与正常状态相同的颜色 */
-webkit-text-fill-color
:
#333
!important
;
/* 兼容iOS Safari */
}
</style>
</head>
</head>
<body>
<body>
<div
id=
"app"
>
<div
id=
"app"
>
...
...
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