page-head.vue 730 字节
Newer Older
Y
init  
yurj26 已提交
1
<template name="page-head">
2 3 4
  <view class="common-page-head">
    <view class="common-page-head-title-box">
      <text class="common-page-head-title">{{title}}</text>
Y
init  
yurj26 已提交
5
    </view>
6
  </view>
Y
init  
yurj26 已提交
7
</template>
8 9 10 11 12 13 14 15
<script lang="uts">
  export default {
    name: "page-head",
    props: {
      title: {
        type: String,
        default: ""
      }
Y
init  
yurj26 已提交
16
    }
17
  }
Y
init  
yurj26 已提交
18 19
</script>
<style>
20 21 22 23 24
  .common-page-head {
    padding: 35rpx;
    flex-direction: row;
    justify-content: center;
  }
Y
init  
yurj26 已提交
25

26 27 28 29 30
  .common-page-head-title-box {
    padding: 0 40rpx;
    height: 88rpx;
    border-bottom: 2rpx solid #D8D8D8;
  }
Y
init  
yurj26 已提交
31

32 33 34 35 36
  .common-page-head-title {
    line-height: 88rpx;
    font-size: 30rpx;
    color: #BEBEBE;
  }
Y
init  
yurj26 已提交
37
</style>