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
c4e53868
Commit
c4e53868
authored
Sep 05, 2023
by
潘永坪
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' of
http://git.tbd.yanzuoguang.com/panyongping/uni-pdtravel
into develop
parents
aa0b4b4e
c81134a2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
2 deletions
+27
-2
myPhotoAlbum.vue
pages/album/myPhotoAlbum/myPhotoAlbum.vue
+27
-2
No files found.
pages/album/myPhotoAlbum/myPhotoAlbum.vue
View file @
c4e53868
...
@@ -172,12 +172,12 @@ export default {
...
@@ -172,12 +172,12 @@ export default {
}
}
},
},
onLoad
(
option
)
{
onLoad
(
option
)
{
this
.
companyId
=
this
.
$commonjs
.
getCompanyId
(
option
)
this
.
companyId
=
this
.
$commonjs
.
getCompanyId
(
option
)
||
''
//this.companyId = '6da527f930be4aa1904fe17fcb41874f'
//this.companyId = '6da527f930be4aa1904fe17fcb41874f'
this
.
openid
=
uni
.
getStorageSync
(
'openid'
)
//获取openid
this
.
openid
=
uni
.
getStorageSync
(
'openid'
)
//获取openid
this
.
faceIds
=
JSON
.
parse
(
option
.
faceIds
)
this
.
faceIds
=
JSON
.
parse
(
option
.
faceIds
)
this
.
location
=
JSON
.
parse
(
uni
.
getStorageSync
(
'location'
))
this
.
location
=
JSON
.
parse
(
uni
.
getStorageSync
(
'location'
))
this
.
merchantId
=
option
.
merchantId
||
''
// 'z0015605022691a5945bbe463141668c'
this
.
merchantId
=
option
.
merchantId
||
'
z0015605022691a5945bbe463141668c
'
// 'z0015605022691a5945bbe463141668c'
this
.
obtainProvince
()
//获取省市区
this
.
obtainProvince
()
//获取省市区
this
.
inquireMerchant
()
//查询所有商户
this
.
inquireMerchant
()
//查询所有商户
this
.
getPhotos
()
//照片列表
this
.
getPhotos
()
//照片列表
...
@@ -347,6 +347,9 @@ export default {
...
@@ -347,6 +347,9 @@ export default {
if
(
this
.
sellingPrices
<
0
){
if
(
this
.
sellingPrices
<
0
){
this
.
sellingPrices
=
0
this
.
sellingPrices
=
0
}
}
if
(
this
.
originalPrices
<
0
){
this
.
originalPrices
=
0
}
}
else
{
}
else
{
this
.
$refs
.
uToast
.
show
({
this
.
$refs
.
uToast
.
show
({
title
:
res
.
message
,
title
:
res
.
message
,
...
@@ -593,6 +596,17 @@ export default {
...
@@ -593,6 +596,17 @@ export default {
width
:
344rpx
;
width
:
344rpx
;
height
:
460rpx
;
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
{
.list-mask
{
width
:
344rpx
;
width
:
344rpx
;
...
@@ -915,5 +929,16 @@ export default {
...
@@ -915,5 +929,16 @@ export default {
border
:
solid
2px
#fff
;
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
>
</
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