Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hls-xcmg-vue-app
Project
Project
Details
Activity
Releases
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xugong
hls-xcmg-vue-app
Commits
b4c23843
Commit
b4c23843
authored
Feb 21, 2023
by
jiacheng.mao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
解决ios端pdf下载问题;
解决用户绑定界面返回按钮点击区域过小问题;
parent
87817a19
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
14 deletions
+4
-14
repay-detail.vue
src/pages/contractInquire/repay-detail.vue
+1
-14
myBindUser.vue
src/pages/myInfo/myBindUser.vue
+3
-0
No files found.
src/pages/contractInquire/repay-detail.vue
View file @
b4c23843
...
...
@@ -152,24 +152,11 @@ export default {
if
(
res
.
result
===
'S'
)
{
vm
.
fileArray
=
res
.
info
vm
.
fileArray
.
forEach
(
i
=>
{
// cordova.InAppBrowser.open(i.fileUrl, '_system', 'location=yes,hideurlbar=no,toolbarposition=top')
// cordova.InAppBrowser.open(i.fileUrl, '_system', 'location=yes')
if
(
vum
.
Platform
.
isAndroid
())
{
// android终端
window
.
open
(
i
.
fileUrl
,
'_system'
,
'location=yes'
)
}
else
if
(
vum
.
Platform
.
isIOS
()
||
vum
.
Platform
.
isIPad
())
{
// ios终端
// window.location.href = i.fileUrl;
// 模拟 输入框
var
cInput
=
document
.
createElement
(
'input'
)
cInput
.
value
=
i
.
fileUrl
document
.
body
.
appendChild
(
cInput
)
cInput
.
select
()
// 选取文本框内容
// 执行浏览器复制命令
// 复制命令会将当前选中的内容复制到剪切板中(这里就是创建的input标签)
// Input要在正常的编辑状态下原生复制方法才会生效
document
.
execCommand
(
'copy'
)
hlsPopup
.
showLongCenter
(
'复制成功,请在浏览器中打开'
)
// 复制成功后再将构造的标签 移除
document
.
body
.
removeChild
(
cInput
)
cordova
.
InAppBrowser
.
open
(
i
.
fileUrl
,
'_system'
,
'location=yes,hideurlbar=no,toolbarposition=top'
)
}
else
{
window
.
open
(
i
.
fileUrl
,
'_system'
,
'location=yes'
)
}
...
...
src/pages/myInfo/myBindUser.vue
View file @
b4c23843
...
...
@@ -314,6 +314,9 @@ export default {
.scrollContent {
background-color: rgb(242, 242, 242);
}
.h-header-left{
height: 200%;
}
.bp_name {
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