push the uni-demo project
This commit is contained in:
51
uni-demo/components/qiun-title-bar/qiun-title-bar.vue
Normal file
51
uni-demo/components/qiun-title-bar/qiun-title-bar.vue
Normal file
@@ -0,0 +1,51 @@
|
||||
<template>
|
||||
<view class="qiun-title-bar">
|
||||
<view class="qiun-title-dot"></view>
|
||||
<view class="qiun-title-text">{{title}}</view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: "title-bar",
|
||||
props: {
|
||||
title: {
|
||||
type: String,
|
||||
default: ''
|
||||
},
|
||||
},
|
||||
mounted() {
|
||||
|
||||
},
|
||||
methods:{
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
<style>
|
||||
.qiun-title-bar{
|
||||
display: flex;
|
||||
flex-direction: row !important;
|
||||
flex-wrap: nowrap;
|
||||
align-items: center;
|
||||
height: 40px;
|
||||
}
|
||||
|
||||
.qiun-title-dot {
|
||||
border-radius: 10px;
|
||||
background-color: #409EFF;
|
||||
width: 5px;
|
||||
height: 16px;
|
||||
margin-left: 8px;
|
||||
}
|
||||
|
||||
.qiun-title-text {
|
||||
font-size: 17px;
|
||||
color: #666666;
|
||||
margin-left: 8px;
|
||||
line-height: 22px;
|
||||
height: 22px;
|
||||
font-weight: bold;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user