96 lines
1.7 KiB
Vue
96 lines
1.7 KiB
Vue
<style lang="scss">
|
||
/* 注意要写在第一行,同时给style标签加入lang="scss"属性 */
|
||
@import "uview-ui/index.scss";
|
||
</style>
|
||
<script>
|
||
export default {
|
||
onLaunch: function() {
|
||
console.log('App Launch')
|
||
},
|
||
onShow: function() {
|
||
console.log('App Show')
|
||
},
|
||
onHide: function() {
|
||
console.log('App Hide')
|
||
}
|
||
}
|
||
</script>
|
||
|
||
<style lang="scss">
|
||
page{
|
||
background-color: #F3F3F3;
|
||
}
|
||
/*每个页面公共css */
|
||
.topTab {
|
||
position: relative;
|
||
width: 100%;
|
||
height: 300upx;
|
||
background-color: #FFF;
|
||
/* background-image: url('@/static/img/tabBg.png') !important;
|
||
background-repeat: no-repeat;
|
||
background-size: 100% 100%;
|
||
padding-top: 88upx; */
|
||
}
|
||
.uni-tabbar__label{
|
||
font-size: 24rpx!important;
|
||
font-weight: bold;
|
||
}
|
||
|
||
.tab-header {
|
||
// z-index: 99;
|
||
position: fixed;
|
||
top: 3.5vh;
|
||
width: 100%;
|
||
height: 88upx;
|
||
display: flex;
|
||
justify-content: space-between;
|
||
align-items: center;
|
||
font-size: 32upx;
|
||
font-weight: 600;
|
||
// background-image: url('@/static/img/tabBg.png') !important;
|
||
// background-repeat: no-repeat;
|
||
// background-size: 100%;
|
||
|
||
.left,
|
||
.right {
|
||
margin: 0 20upx;
|
||
width: 20%;
|
||
display: flex;
|
||
align-items: center;
|
||
.text-btn {
|
||
padding-top: 10rpx;
|
||
font-size: 28upx;
|
||
color: #333333;
|
||
white-space: nowrap;
|
||
margin-right: 30rpx;
|
||
position: relative;
|
||
}
|
||
.add-btn{
|
||
width: 100rpx;
|
||
height: 50rpx;
|
||
display: flex;
|
||
justify-content: center;
|
||
align-items: center;
|
||
margin-right: 20rpx;
|
||
color: #FFF;
|
||
font-size: 20rpx;
|
||
background: #0052D9;
|
||
border-radius: 50rpx;
|
||
}
|
||
|
||
}
|
||
|
||
.center {
|
||
text-align: center;
|
||
width: 60%;
|
||
}
|
||
|
||
image {
|
||
width: 44upx;
|
||
height: 44upx;
|
||
}
|
||
}
|
||
|
||
|
||
</style>
|