|
|
@ -1,6 +1,6 @@ |
|
|
|
<template> |
|
|
|
<niu-page Tab> |
|
|
|
<niu-navbar fixed adjust middleLayout='left' :back="false" color="white" bg="#39b54a"> |
|
|
|
<niu-navbar offsetHide forceFixed fixed adjust middleLayout='left' :back="false" color="white" bg="#39b54a"> |
|
|
|
爱能森组件库 |
|
|
|
<template #right> |
|
|
|
asd |
|
|
@ -42,6 +42,18 @@ |
|
|
|
<view>{{$n.data.navbarTop}}px</view> |
|
|
|
<view>{{$n.data.navbarTop }}</view> |
|
|
|
<view :style="{backgroundColor: 'red', height: $n.data.navbarTop +'px'}"></view> |
|
|
|
<view style="padding: 15rpx;background-color: white;"> |
|
|
|
<niu-input leftText="账号" arraw border closeable focus></niu-input> |
|
|
|
<niu-input leftText="密码" border rightText="$" closeable></niu-input> |
|
|
|
<niu-input @send="sendCode" sendcode border sendcodeBorder></niu-input> |
|
|
|
<niu-input border></niu-input> |
|
|
|
<niu-input border></niu-input> |
|
|
|
<niu-input border></niu-input> |
|
|
|
<niu-input border></niu-input> |
|
|
|
<niu-input border></niu-input> |
|
|
|
<niu-input border></niu-input> |
|
|
|
<niu-input border></niu-input> |
|
|
|
</view> |
|
|
|
<niu-tabbar></niu-tabbar> |
|
|
|
</niu-page> |
|
|
|
</template> |
|
|
@ -57,6 +69,9 @@ |
|
|
|
console.log(this.$n.data.navbarTop); |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
sendCode(done){ |
|
|
|
done(true) |
|
|
|
}, |
|
|
|
go(path) { |
|
|
|
uni.navigateTo({ |
|
|
|
url: path |
|
|
|