vue-底部导航栏
<template>
<div class="bottom">
<div class="bottom_button iconfont icon-iconset0281" @click="upKeyboard"><label class="lb iconfont icon-010yiwen"></label></div>
<div class="bottom_counter">Couter:{{couter}}</div>
<div class="bottom_cashier">Cashier:PeterChan</div>
<div class="bottom_blank"></div>
<div class="bottom_caps">Caps</div>
<div class="bottom_num">Num</div>
<div class="bottom_date">// :</div>
<div class="bottom_line">{{onLine}}</div>
</div>
</template> <script>
export default {
props:{
couter:{
type:String,
default:""
},
cashier:{
type:String,
default:""
},
caps:{
type:String,
default:""
},
num:{
type:Number,
default:"",
},
date:{
type:String,
default:""
},
onLine:{
type:String,
default:"On Line"
}
},
data(){
return{
ifshow: false,
}
},
methods:{
upKeyboard(){
this.ifshow = !this.ifshow;
}
}
};
</script> <style lang='scss'>
.bottom {
width: %;
height: 37px;
font-size: 16px;
font-weight: ;
position: fixed;
bottom: ;
display: flex;
flex-direction: row;
align-items: center;
align-items: center;
background-color: #dfd5d6;
.bottom_button {
font-size: 25px;
width: %;
text-align: center;
.lb{
color: #43aae4;
}
}
.bottom_counter {
width:%;
border-left: 1px solid #ada7a7;
line-height: 30px;
text-align: center;
}
.bottom_cashier {
width: %;
border-left: 1px solid #9e9898;
border-right: 1px solid #9e9898;
line-height: 30px;
text-align: center;
}
.bottom_blank{
width: %;
}
.bottom_caps {
width: %;
line-height: 30px;
border-left: 1px solid #9e9898;
border-right: 1px solid #9e9898;
text-align: center;
}
.bottom_num {
width: %;
border-right: 1px solid #9e9898;
line-height: 30px;
text-align: center; }
.bottom_date{
width: %;
text-align: center;
}
.bottom_line{
text-align: center;
width: %;
height: 37px;
line-height: 35px;
background-color: #21c85e;
color: #ffffff;
}
}
</style>

vue-底部导航栏的更多相关文章
- Vue 如何实现一个底部导航栏组件
参考网址: https://www.jianshu.com/p/088936b7b1bd/ Vue 如何实现一个底部导航栏组件 可以看到父组件是知道我点击了底部TabBar的哪个item的. 实现 实 ...
- uniapp 小程序实现自定义底部导航栏(tarbar)
在小程序开发中,默认底部导航栏很难满足实际需求,好在官方给出了自定义形式,效果如下: 话不多说,直接上代码 1.组件 custom-tarbar.vue文件 <template> < ...
- TextView+Fragment实现底部导航栏
前言:项目第二版刚上线没多久,产品又对需求进行了大改动,以前用的是左滑菜单,现在又要换成底部导航栏,于是今天又苦逼加班了.花了几个小时实现了一个底部导航栏的demo,然后总结一下.写一篇博客.供自己以 ...
- Android应用底部导航栏(选项卡)实例
现在很多android的应用都采用底部导航栏的功能,这样可以使得用户在使用过程中随意切换不同的页面,现在我采用TabHost组件来自定义一个底部的导航栏的功能. 我们先看下该demo实例的框架图: 其 ...
- Android 修改底部导航栏navigationbar的颜色
Android 修改底部导航栏navigationbar的颜色 getWindow().setNavigationBarColor(Color.BLUE); //写法一 getWindow().set ...
- Android底部导航栏——FrameLayout + RadioGroup
原创文章,转载请注明出处http://www.cnblogs.com/baipengzhan/p/6285881.html Android底部导航栏有多种实现方式,本文详细介绍FrameLayout ...
- Android底部导航栏创建——ViewPager + RadioGroup
原创文章,引用请注明出处:http://www.cnblogs.com/baipengzhan/p/6270201.html Android底部导航栏有多种实现方式,本文详解其中的ViewPager ...
- 二、Fragment+RadioButton实现底部导航栏
在App中经常看到这样的tab底部导航栏 那么这种效果是如何实现,实现的方式有很多种,最常见的就是使用Fragment+RadioButton去实现.下面我们来写一个例子 首先我们先在activi ...
- Android学习笔记- Fragment实例 底部导航栏的实现
1.要实现的效果图以及工程目录结构: 先看看效果图吧: 接着看看我们的工程的目录结构: 2.实现流程: Step 1:写下底部选项的一些资源文件 我们从图上可以看到,我们底部的每一项点击的时候都有不同 ...
- [置顶]
xamarin android Fragment实现底部导航栏
前段时间写了篇关于Fragment的文章,介绍了基础的概念,用静态和动态的方式加载Fragment Xamarin Android Fragment的两种加载方式.下面的这个例子介绍xamarin ...
随机推荐
- python 截取 取出一部分的字符串
下面是split截取获得 >>> str = 'http://manualfile.s3.amazonaws.com/pdf/gti-chis-1-user-9fb-0-7a05a5 ...
- WEB技术路线图
- ubuntu-16.04更好软件源
author: headsen chen date:2019-03-06 14:01:07 1,修改软件源文件成如下的清华大学的源(亲测可用) root@ubuntu:/var/lib/apt/li ...
- Twain
3.7.37 ICAP_SUPPORTEDSIZESType:TW_UINT16Supported Messages:MSG_GET - TW_ENUMERATIONMSG_GETCURRENT - ...
- ssh 管理 linux登录远程服务器
使用 ssh 免秘登录方式 客户端:1. 生成公钥和私钥 ssh-keygen 一般不需要对私钥设置口令(passphrase),如果担心私钥的安全,这里可以设置一个. 运行结束以后,在$HOME/. ...
- 怎么关闭win10防火墙
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender" /v "Disable ...
- String和datetime在SQL中和在C#中相互转换方法总结
Custom Date and Time Format Strings <= https://docs.microsoft.com/en-us/dotnet/standard/base-ty ...
- d4
# s = '132a4b5c'# s1 = s[0]+s[2]+s[1]# print(s1)#使用while和for循环分别打印字符串s=’asdfer’中每个元素.s = 'fkld'# for ...
- checkbox做全部选中,全部取消效果
批量选中.取消多个checkbox的用法很简单,这个功能也很常用.这里做个总结. 在HTML中的写法: <div id="ftpFileDownTr"> <but ...
- [No0000D5]便利所有子目录更改后缀名bat
pause for /r %%i in (.) do ( cd %%i ren *.txt *.dll ) pause