| | |
| | | <template> |
| | | <view class="flex items-center justify-between page"> |
| | | <view class="ml-3"> |
| | | <view :class="['flex', 'items-center', 'justify-between', 'page', full ? 'mx-3' : '']"> |
| | | <view> |
| | | <text class="title">{{ title }}</text> |
| | | </view> |
| | | <view v-if="hideAction" class="flex justify-center"> |
| | |
| | | </template> |
| | | <script setup lang="ts"> |
| | | defineProps({ |
| | | full: { |
| | | type: Boolean, |
| | | default: true, |
| | | }, |
| | | title: String, |
| | | hideAction: Boolean, |
| | | }); |
| | |
| | | <style lang="scss" scoped> |
| | | .page { |
| | | padding: 10px 0; |
| | | margin: 0 10px; |
| | | .title { |
| | | position: relative; |
| | | margin-left: 10px; |