You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

52 lines
818 B

1 week ago
<template>
<view class="app-container">
<u-navbar back-text="" :title="title" :is-back="isBack" :is-fixed="true" :background="background"
1 week ago
title-color="#fff" back-icon-color="#fff" :back-text-style="{
color:'#fff'
}">
<template v-slot:right>
<slot name="right"></slot>
</template>
</u-navbar>
1 week ago
<slot></slot>
</view>
</template>
<script>
export default {
props: {
title: {
type: String,
default: '标题'
},
1 week ago
titleWidth: {
type: String,
default: '150px'
},
1 week ago
isBack: {
type: Boolean,
default: true
},
1 week ago
1 week ago
},
name: "NavigationGeneral",
data() {
return {
background: {
backgroundColor: '#409eff',
},
};
}
}
</script>
<style lang="scss" scoped>
.app-container {}
/deep/ .u-dropdown {
background: #fff;
}
</style>