123456789101112131415161718192021222324252627282930313233343536373839404142 |
- <template>
- <view class="h-navbar-wrap">
- <view class="h-navbar">
- <u-icon name="arrow-left" color="#fff" size="38rpx" space="14rpx" :label="title" label-pos="right" label-color="#fff" label-size="34rpx" @click="$navigate.navigateBack"/>
- </view>
- </view>
- </template>
- <script>
- export default {
- name:"h-navbar",
- props: {
- title: {
- type: String,
- default: ''
- }
- },
- data() {
- return {
-
- };
- }
- }
- </script>
- <style scoped>
- .h-navbar-wrap {
- position: relative;
- width: 100%;
- height: 84rpx;
- }
- .h-navbar {
- width: 100%;
- height: 84rpx;
- padding: 0 0 0 18rpx;
- background-color: #3D7CF7;
- display: flex;
- align-items: center;
- position: fixed;
- z-index: 999;
- }
- </style>
|