Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
lumastoreapp
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xieyishang
lumastoreapp
Commits
22fe06b3
Commit
22fe06b3
authored
Oct 23, 2023
by
xieyishang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
~
parent
9c2ee991
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
4 deletions
+25
-4
pages/order/shoprefundorderdetail/shoprefundorderdetail.vue
pages/order/shoprefundorderdetail/shoprefundorderdetail.vue
+23
-2
utils/debug.js
utils/debug.js
+2
-2
No files found.
pages/order/shoprefundorderdetail/shoprefundorderdetail.vue
View file @
22fe06b3
...
...
@@ -33,9 +33,10 @@
<view
class=
"datail_img"
>
<image
:src=
"staticUrl + item"
mode=
""
mode=
"
heightFix
"
v-for=
"(item, index) in detail.refund_pics"
style=
"width: 220upx;height: 196upx;flex-grow: 1;padding: 4upx;"
@
tap=
"preview(index,item)"
style=
"width: 100rpx;flex-grow: 1;padding: 4upx;"
></image>
</view>
</view>
...
...
@@ -162,6 +163,26 @@ export default {
this
.
initializedata
();
},
methods
:
{
//预览图片
preview
(
index
,
item
){
let
currentImg
=
this
.
detail
.
refund_pics
;
let
imgList
=
[];
for
(
var
i
=
0
;
i
<
currentImg
.
length
;
i
++
){
var
itemimg
=
currentImg
[
i
];
if
(
itemimg
.
indexOf
(
"
http
"
)
!=-
1
){
imgList
.
push
(
`
${
itemimg
}
`
)
}
else
if
(
itemimg
.
indexOf
(
'
//
'
)
!=-
1
&&
itemimg
.
indexOf
(
"
http
"
)
==-
1
){
imgList
.
push
(
`https:
${
itemimg
}
`
)
}
else
{
imgList
.
push
(
`
${
this
.
staticUrl
+
itemimg
}
`
)
}
}
uni
.
previewImage
({
urls
:
imgList
,
current
:
index
,
//显示的索引
});
},
xlsj
()
{
//联系客户
uni
.
makePhoneCall
({
...
...
utils/debug.js
View file @
22fe06b3
...
...
@@ -5,8 +5,8 @@ module.exports = {
//
isdebug:false,//正式
isdebug
:
true
,
//测试
isdebug
:
false
,
//正式
//
isdebug:true,//测试
// xqdebug:false,//正式权限
xqdebug
:
true
,
//发布审核权限 也是测试环境的 主要用于ios
...
...
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