Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx-web
/
sso-equity
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 948f5c29
authored
Dec 08, 2021
by
李长胜
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
售后
1 parent
c871cecd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
1 deletions
src/views/sale/index.vue
src/views/sale/index.vue
View file @
948f5c2
...
@@ -180,7 +180,7 @@
...
@@ -180,7 +180,7 @@
<div
class=
"refund-box"
>
<div
class=
"refund-box"
>
售后编号:
{{
scope
.
scope
.
refundCode
}}
售后编号:
{{
scope
.
scope
.
refundCode
}}
<div
class=
"refund-img-box"
>
<div
class=
"refund-img-box"
>
<img
:src=
"
scope.scope.img
"
alt=
""
/>
<img
:src=
"
getHttpsImgUrl(scope.scope.img)
"
alt=
""
/>
</div>
</div>
<div>
{{
scope
.
scope
.
reason
}}
</div>
<div>
{{
scope
.
scope
.
reason
}}
</div>
</div>
</div>
...
@@ -314,6 +314,27 @@ export default {
...
@@ -314,6 +314,27 @@ export default {
},
},
mounted
()
{},
mounted
()
{},
methods
:
{
methods
:
{
getHttpsImgUrl
(
url
){
if
(
!
url
){
return
''
}
var
flag
=
url
.
startsWith
(
"http:"
)
// console.log(flag,'快快快')
if
(
flag
){
var
newurl
=
url
.
replace
(
"http:"
,
"https:"
)
//去掉http自动带的端口 :7060,https不能有
var
startPos
=
newurl
.
lastIndexOf
(
":"
)
var
endPos
=
newurl
.
indexOf
(
"/"
,
startPos
)
var
preStr
=
newurl
.
substring
(
0
,
startPos
)
var
afterStr
=
newurl
.
substring
(
endPos
)
// console.log(preStr,'前部分')
// console.log(afterStr,'后部分')
var
finalStr
=
preStr
+
afterStr
console
.
log
(
finalStr
,
'777777'
)
return
finalStr
}
return
url
},
tabClick
(
index
)
{
tabClick
(
index
)
{
this
.
currentIndex
=
index
this
.
currentIndex
=
index
this
.
searchForm
.
redundStatus
=
''
this
.
searchForm
.
redundStatus
=
''
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment