Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
Harvey
/
ydu-lottery-shop-app
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit 3c8ed42b
由
Harvey
编写于
2022-04-27 10:19:31 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
no message
1 个父辈
86cd7569
显示空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
5 行增加
和
4 行删除
src/pages/posters/list.vue
src/pages/tv/list.vue
src/pages/posters/list.vue
查看文件 @
3c8ed42
<
template
>
<view>
<view
class=
"top-nav"
>
<view
id=
"topNav"
class=
"top-nav"
>
<button
class=
"top-nav-btn"
:class=
"
{'top-nav-btn-on':sub_module_id == item.value}" v-for="(item,i) in nav"
:data-v="item.value" @click="navChange" :key="i">
{{
item
.
text
}}
</button>
</view>
...
...
src/pages/tv/list.vue
查看文件 @
3c8ed42
<
template
>
<view>
<view
class=
"top-nav
"
>
<view
:style=
"
{'top': nav_top }
">
<view
class=
"top-nav-btn"
:class=
"
{'top-nav-btn-on':sub_module_id == item.value}" v-for="(item,i) in nav"
:data-v="item.value" @click="navChange" :key="i">
{{
item
.
text
}}
</view>
</view>
...
...
@@ -55,7 +55,8 @@
leftData
:
[],
rightData
:
[],
mode
:
'widthFix'
,
sub_module_id
:
0
sub_module_id
:
0
,
nav_top
:
'44px'
}
},
async
onLoad
()
{
...
...
@@ -63,6 +64,7 @@
if
(
window
.
Android
)
{
const
$h5
=
require
(
'@/static/js/h5-utils.js'
)
$h5
.
remove_uni_page_head
()
this
.
nav_top
=
'0'
}
//#endif
this
.
bindData
()
...
...
@@ -120,7 +122,6 @@
width
:
100%
;
position
:
fixed
;
top
:
44px
;
z-index
:
999
;
background
:
#ffffff
;
max-width
:
$
sys-max-width
;
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论