feat: 心路历程功能提交。
This commit is contained in:
41
src/components/uni-navbar/uni-navbar.vue
Normal file
41
src/components/uni-navbar/uni-navbar.vue
Normal file
@@ -0,0 +1,41 @@
|
||||
<template>
|
||||
<view class="navbar">
|
||||
<u-navbar
|
||||
leftIconSize="40rpx"
|
||||
leftIconColor="#333333"
|
||||
:title="title"
|
||||
:autoBack="true"
|
||||
:border="border"
|
||||
:titleStyle="titleStyle"
|
||||
:placeholder="true"
|
||||
>
|
||||
</u-navbar>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
props: {
|
||||
title: {
|
||||
type: String,
|
||||
default: ''
|
||||
},
|
||||
border: {
|
||||
type: Boolean,
|
||||
default: false
|
||||
}
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
titleStyle: {
|
||||
color: '#252525',
|
||||
fontSize: '39rpx',
|
||||
fontWeight: 'bold'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style>
|
||||
</style>
|
||||
Reference in New Issue
Block a user