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
ed370d57
Commit
ed370d57
authored
Oct 08, 2023
by
qipeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
BUG修改
parent
92eac68a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
2 deletions
+24
-2
myPhotoAlbum.vue
pages/album/myPhotoAlbum/myPhotoAlbum.vue
+23
-2
orderList.vue
pages/my/order/orderList/orderList.vue
+1
-0
No files found.
pages/album/myPhotoAlbum/myPhotoAlbum.vue
View file @
ed370d57
...
...
@@ -36,6 +36,7 @@
<u-checkbox
v-model=
"item.checkType"
v-if=
"checkTypeFun==true"
shape=
"circle"
class=
"list-uCheck"
@
click
.
stop
.
native=
"()=>{}"
@
change=
"stopPhoto(index)"
></u-checkbox>
<view
class=
"list-mask"
@
click
.
stop
.
native=
"()=>{}"
@
click=
"projectCheckPhoto(index)"
>
预览
</view>
</view>
<view
class=
"subject-noMore"
v-if=
"previewDataType==true"
>
暂无更多数据
</view>
</view>
<!--脚部-->
<view
class=
"album-bottom"
>
...
...
@@ -149,6 +150,7 @@ export default {
// src: '../static/album/customPic.png'
// },
],
previewDataType
:
false
,
previewNum
:
0
,
//当前是第几张图片
checkTypeFun
:
true
,
//刷新选项
//左右滑动监听开始
...
...
@@ -172,13 +174,14 @@ export default {
priceNum
:
0
,
//选购了多少照片
merchantMessage
:[],
//景区基础参数
masterSlaveCouponList
:[],
//优惠券
}
},
onLoad
(
option
)
{
this
.
companyId
=
this
.
$commonjs
.
getCompanyId
(
option
)
||
''
//this.companyId = '6da527f930be4aa1904fe17fcb41874f'
this
.
openid
=
uni
.
getStorageSync
(
'openid'
)
//获取openid
//this.openid = 'o
roHZ5B455jLw_BqDmVpr7W13NLY' //获取openid
//this.openid = 'o
h2UV1lyYABHMZ1rMlgjhVHyyYDQ' //获取openid oroHZ5B455jLw_BqDmVpr7W13NLY
this
.
faceIds
=
JSON
.
parse
(
option
.
faceIds
)
var
locationData
=
{
latitude
:
''
,
...
...
@@ -245,6 +248,10 @@ export default {
})
},
getPhotos
(){
//照片
//显示加载框
uni
.
showLoading
({
title
:
'加载中'
})
var
data
=
{
faceIds
:
this
.
faceIds
,
//照片ID
openid
:
this
.
openid
,
...
...
@@ -254,6 +261,11 @@ export default {
this
.
$request
(
'wechatUser/pdFace/list'
,
data
).
then
((
res
)
=>
{
if
(
res
.
code
==
'00'
){
this
.
previewData
=
res
.
data
if
(
this
.
previewData
){
this
.
previewDataType
=
true
}
else
{
this
.
previewDataType
=
false
}
this
.
previewData
.
forEach
((
item
,
index
)
=>
{
item
[
'checkType'
]
=
false
if
(
item
.
sellingPrice
!=
null
){
...
...
@@ -264,7 +276,8 @@ export default {
item
[
'title'
]
=
''
})
this
.
mearchLoadList
()
//隐藏加载框
uni
.
hideLoading
()
}
else
{
this
.
$refs
.
uToast
.
show
({
title
:
res
.
message
,
...
...
@@ -664,6 +677,14 @@ export default {
border-color
:
#2979ff
!
important
;
}
}
.subject-noMore
{
width
:
100%
;
height
:
40rpx
;
color
:
#666666
;
font-size
:
30rpx
;
line-height
:
40rpx
;
text-align
:
center
;
}
}
.album-bottom
{
...
...
pages/my/order/orderList/orderList.vue
View file @
ed370d57
...
...
@@ -446,6 +446,7 @@ export default {
this
.
getData
(
1
)
},
onShow
(){
this
.
pageIndex
=
1
this
.
getData
(
1
)
},
methods
:
{
...
...
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