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
7721ad6a
Commit
7721ad6a
authored
Jan 24, 2025
by
潘永坪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
支付显示处理
parent
4f4a87e8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
5 deletions
+25
-5
vlogIndex.vue
pages/vlog/vlogIndex/vlogIndex.vue
+25
-5
No files found.
pages/vlog/vlogIndex/vlogIndex.vue
View file @
7721ad6a
...
@@ -6,11 +6,11 @@
...
@@ -6,11 +6,11 @@
<!--
<view
class=
"swiper"
>
<!--
<view
class=
"swiper"
>
<u-swiper
:list=
"list"
height=
"380"
></u-swiper>
<u-swiper
:list=
"list"
height=
"380"
></u-swiper>
</view>
-->
</view>
-->
<view
class=
"title"
>
<view
class=
"title"
v-if=
"showVideo"
>
<view
class=
"shuxian"
></view>
<view
class=
"shuxian"
></view>
<view>
我的VLOG视频
</view>
<view>
我的VLOG视频
</view>
</view>
</view>
<navigator
url=
"../myVlog/myVlog"
>
<navigator
url=
"../myVlog/myVlog"
v-if=
"showVideo"
>
<view
class=
"photoGallery"
>
<view
class=
"photoGallery"
>
<image
class=
"img"
src=
"../static/vlog/icon/bg1.png"
></image>
<image
class=
"img"
src=
"../static/vlog/icon/bg1.png"
></image>
<view
class=
"access"
></view>
<view
class=
"access"
></view>
...
@@ -53,7 +53,7 @@
...
@@ -53,7 +53,7 @@
<!--
<navigator
url=
"../../album/albumIndex?index=1"
>
<!--
<navigator
url=
"../../album/albumIndex?index=1"
>
<view
class=
"album"
>
相册首页
</view>
<view
class=
"album"
>
相册首页
</view>
</navigator>
-->
</navigator>
-->
<view
class=
"bottom"
>
<view
class=
"bottom"
v-if=
"showVideo"
>
<image
src=
"../static/vlog/icon/bottom.png"
></image>
<image
src=
"../static/vlog/icon/bottom.png"
></image>
<navigator
url=
"../vlogface/vlogface"
>
<navigator
url=
"../vlogface/vlogface"
>
<view
class=
"paizhao"
>
<view
class=
"paizhao"
>
...
@@ -82,12 +82,14 @@ export default {
...
@@ -82,12 +82,14 @@ export default {
image
:
'../static/vlog/swipe/swipe3.jpg'
image
:
'../static/vlog/swipe/swipe3.jpg'
}
}
],
],
showVideo
:
false
,
//视频是否显示
}
}
},
},
onLoad
()
{
//代替 vue 里面的 created
onLoad
()
{
//代替 vue 里面的 created
this
.
getUserInfo
()
//获取用户信息
this
.
getUserInfo
()
//获取用户信息
this
.
getScenicList
()
//获取景区列表
this
.
getScenicList
()
//获取景区列表
this
.
openCamera
()
//打开权限
this
.
openCamera
()
//打开权限
this
.
loadIcon
()
},
},
onReady
()
{
//代替 vue 里面的 mounted
onReady
()
{
//代替 vue 里面的 mounted
},
},
...
@@ -209,8 +211,26 @@ export default {
...
@@ -209,8 +211,26 @@ export default {
}
}
})
})
},
},
query
()
{
//查询
//---加载图标
}
loadIcon
(){
let
data
=
{
merchantType
:
0
,
//商户类型,其他
}
this
.
$request
(
'scenic/merchantExtendProject/loadList'
,
data
).
then
((
res
)
=>
{
if
(
res
.
code
==
'00'
){
let
iconList
=
res
.
data
||
[]
let
list
=
[]
iconList
.
forEach
(
item
=>
{
if
(
item
.
projectStatus
==
0
){
list
.
push
(
item
)
}
})
if
(
list
.
length
>
6
){
this
.
showVideo
=
true
}
}
})
},
}
}
}
}
...
...
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