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
771f4687
Commit
771f4687
authored
Jun 25, 2021
by
nature
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ios
parent
1a5f370f
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
146 additions
and
148 deletions
+146
-148
main.js
src/main.js
+0
-2
repay-detail.vue
src/pages/contractInquire/repay-detail.vue
+145
-145
previewPdf.vue
src/pages/contractSigning/previewPdf.vue
+1
-1
No files found.
src/main.js
View file @
771f4687
...
@@ -13,7 +13,6 @@ import router from './router'
...
@@ -13,7 +13,6 @@ import router from './router'
import
App
from
'./App'
import
App
from
'./App'
import
Vuex
from
'vuex'
import
Vuex
from
'vuex'
import
vuexI18n
from
'vuex-i18n'
import
vuexI18n
from
'vuex-i18n'
import
PDFJS
from
'pdfjs-dist'
import
flexible
from
'./common/ydui.flexible'
import
flexible
from
'./common/ydui.flexible'
import
components
from
'./components/component'
import
components
from
'./components/component'
...
@@ -99,7 +98,6 @@ let hlsHttp = {
...
@@ -99,7 +98,6 @@ let hlsHttp = {
get
:
get
,
get
:
get
,
post
:
post
,
post
:
post
,
}
}
Vue
.
prototype
.
PDFJS
=
window
.
PDFJS
=
hlsHttp
Vue
.
prototype
.
hlsHttp
=
window
.
hlsHttp
=
hlsHttp
Vue
.
prototype
.
hlsHttp
=
window
.
hlsHttp
=
hlsHttp
Vue
.
prototype
.
PDFJS
=
window
.
PDFJS
=
PDFJS
Vue
.
prototype
.
PDFJS
=
window
.
PDFJS
=
PDFJS
...
...
src/pages/contractInquire/repay-detail.vue
View file @
771f4687
...
@@ -96,7 +96,7 @@
...
@@ -96,7 +96,7 @@
<
script
>
<
script
>
export
default
{
export
default
{
name
:
'RepayDetail'
,
name
:
'RepayDetail'
,
filters
:
{
filters
:
{
lengthCheck
:
function
(
value
)
{
lengthCheck
:
function
(
value
)
{
...
@@ -151,14 +151,14 @@
...
@@ -151,14 +151,14 @@
if
(
res
.
result
===
'S'
)
{
if
(
res
.
result
===
'S'
)
{
vm
.
fileArray
=
res
.
info
vm
.
fileArray
=
res
.
info
vm
.
fileArray
.
forEach
(
i
=>
{
vm
.
fileArray
.
forEach
(
i
=>
{
//
cordova.InAppBrowser.open(i.fileUrl, '_system', 'location=yes,hideurlbar=no,toolbarposition=top')
//
cordova.InAppBrowser.open(i.fileUrl, '_system', 'location=yes,hideurlbar=no,toolbarposition=top')
//
cordova.InAppBrowser.open(i.fileUrl, '_system', 'location=yes')
//
cordova.InAppBrowser.open(i.fileUrl, '_system', 'location=yes')
if
(
vum
.
Platform
.
isAndroid
())
{
//
android终端
if
(
vum
.
Platform
.
isAndroid
())
{
//
android终端
window
.
open
(
i
.
fileUrl
,
"_system"
,
"location=yes"
)
window
.
open
(
i
.
fileUrl
,
'_system'
,
'location=yes'
)
}
else
if
(
vum
.
Platform
.
isIOS
()
||
vum
.
Platform
.
isIPad
())
{
//
ios终端
}
else
if
(
vum
.
Platform
.
isIOS
()
||
vum
.
Platform
.
isIPad
())
{
//
ios终端
window
.
location
.
href
=
i
.
fileUrl
;
cordova
.
InAppBrowser
.
open
(
i
.
fileUrl
,
'_system'
,
'location=yes,hideurlbar=no,toolbarposition=top'
)
}
else
{
}
else
{
window
.
open
(
i
.
fileUrl
,
"_system"
,
"location=yes"
)
window
.
open
(
i
.
fileUrl
,
'_system'
,
'location=yes'
)
}
}
})
})
// vm.pdfDownload()
// vm.pdfDownload()
...
@@ -253,7 +253,7 @@
...
@@ -253,7 +253,7 @@
})
})
},
},
},
},
}
}
</
script
>
</
script
>
<
style
lang=
'less'
>
<
style
lang=
'less'
>
#repay-detail {
#repay-detail {
...
...
src/pages/contractSigning/previewPdf.vue
View file @
771f4687
...
@@ -12,7 +12,7 @@
...
@@ -12,7 +12,7 @@
</h-view>
</h-view>
</
template
>
</
template
>
<
script
>
<
script
>
//import PDFJS from 'pdfjs-dist'
//
import PDFJS from 'pdfjs-dist'
// const Base64 = require('js-base64').Base64
// const Base64 = require('js-base64').Base64
export
default
{
export
default
{
...
...
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