| | |
| | | <template> |
| | | <view style="display: flex;align-items: center;width: 100%;background-color: #fff;border-radius: 5rpx;"> |
| | | <view class="decorate"></view> |
| | | <view>{{titleText}}</view> |
| | | <view> |
| | | <view style="display: flex;align-items: center;width: 100%;"> |
| | | <view class="decorate"></view> |
| | | <view class="title">{{titleText}}</view> |
| | | </view> |
| | | </view> |
| | | </template> |
| | | |
| | |
| | | name:"y-title", |
| | | props: { |
| | | title: { |
| | | type: String, |
| | | type: [String,Number], |
| | | default: '标题' |
| | | }, |
| | | }, |
| | |
| | | |
| | | }; |
| | | } |
| | | |
| | | } |
| | | </script> |
| | | |
| | |
| | | border-radius: 5rpx; |
| | | background-color: #409EFF; |
| | | } |
| | | .title { |
| | | width: 100%; |
| | | height: 50rpx; |
| | | line-height: 55rpx; |
| | | font-size: 32rpx; |
| | | font-weight: bold; |
| | | font-family: Arial, Helvetica, sans-serif; |
| | | text-indent: 1%; |
| | | letter-spacing: 4rpx; |
| | | color: #303133; |
| | | } |
| | | </style> |