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.
39 lines
611 B
39 lines
611 B
1 week ago
|
<template>
|
||
|
<view class="app-container">
|
||
|
<u-navbar back-text="返回" :title="title" :is-back="isBack" :is-fixed="true" :background="background"
|
||
|
title-color="#fff"></u-navbar>
|
||
|
<slot></slot>
|
||
|
</view>
|
||
|
</template>
|
||
|
|
||
|
<script>
|
||
|
export default {
|
||
|
props: {
|
||
|
title: {
|
||
|
type: String,
|
||
|
default: '标题'
|
||
|
},
|
||
|
isBack: {
|
||
|
type: Boolean,
|
||
|
default: true
|
||
|
},
|
||
|
},
|
||
|
name: "NavigationGeneral",
|
||
|
data() {
|
||
|
return {
|
||
|
background: {
|
||
|
backgroundColor: '#409eff',
|
||
|
},
|
||
|
};
|
||
|
}
|
||
|
}
|
||
|
</script>
|
||
|
|
||
|
|
||
|
<style lang="scss" scoped>
|
||
|
.app-container {}
|
||
|
|
||
|
/deep/ .u-dropdown {
|
||
|
background: #fff;
|
||
|
}
|
||
|
</style>
|