Commit 3c8ed42b Harvey

no message

1 个父辈 86cd7569
<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>
......
<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!