page-head.vue 259 B

12345678910111213141516
  1. <template name="page-head">
  2. <view class="uni-page-head">
  3. <view class="uni-page-head-title">{{title}}</view>
  4. </view>
  5. </template>
  6. <script>
  7. export default {
  8. name: "page-head",
  9. props: {
  10. title: {
  11. type: String,
  12. default: ""
  13. }
  14. }
  15. }
  16. </script>