Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
U
uni-pdtravel
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
panyongping
uni-pdtravel
Commits
75e865c5
Commit
75e865c5
authored
Sep 05, 2023
by
qipeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
图片增加遮罩 当总价格<0时 显示为0
parent
44d1bcaa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
1 deletion
+26
-1
myPhotoAlbum.vue
pages/album/myPhotoAlbum/myPhotoAlbum.vue
+26
-1
No files found.
pages/album/myPhotoAlbum/myPhotoAlbum.vue
View file @
75e865c5
...
...
@@ -177,7 +177,7 @@ export default {
this
.
openid
=
uni
.
getStorageSync
(
'openid'
)
//获取openid
this
.
faceIds
=
JSON
.
parse
(
option
.
faceIds
)
this
.
location
=
JSON
.
parse
(
uni
.
getStorageSync
(
'location'
))
this
.
merchantId
=
option
.
merchantId
||
''
// 'z0015605022691a5945bbe463141668c'
this
.
merchantId
=
option
.
merchantId
||
'
z0015605022691a5945bbe463141668c
'
// 'z0015605022691a5945bbe463141668c'
this
.
obtainProvince
()
//获取省市区
this
.
inquireMerchant
()
//查询所有商户
this
.
getPhotos
()
//照片列表
...
...
@@ -347,6 +347,9 @@ export default {
if
(
this
.
sellingPrices
<
0
){
this
.
sellingPrices
=
0
}
if
(
this
.
originalPrices
<
0
){
this
.
originalPrices
=
0
}
}
else
{
this
.
$refs
.
uToast
.
show
({
title
:
res
.
message
,
...
...
@@ -593,6 +596,17 @@ export default {
width
:
344rpx
;
height
:
460rpx
;
}
.
list-image
:
:
after
{
content
:
""
;
display
:
block
;
position
:
absolute
;
top
:
0
;
left
:
0
;
width
:
100%
;
height
:
100%
;
background-image
:
url(../static/album/backgroundImg.png)
;
background-size
:
cover
;
}
.list-mask
{
width
:
344rpx
;
...
...
@@ -915,5 +929,16 @@ export default {
border
:
solid
2px
#fff
;
}
}
/
deep
/ .
u-swiper-image
:
:
after
{
content
:
""
;
display
:
block
;
position
:
absolute
;
top
:
0
;
left
:
0
;
width
:
100%
;
height
:
100%
;
background-image
:
url(../static/album/backgroundImg.png)
;
background-size
:
cover
;
}
}
</
style
>
\ No newline at end of file
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