| | |
| | | <template> |
| | | <view class="caption flex a-i-c j-c-s-b"> |
| | | <view class="flex a-i-c"> |
| | | <view class="line"></view> |
| | | <view class="line" :style="{backgroundColor:bgColor}"></view> |
| | | <text class=" fw" :style="{fontSize:fontSize}">{{title}}</text> |
| | | </view> |
| | | <view class="caption-right" v-if="isLink" @click="navTo()"> |
| | |
| | | fontSize: { |
| | | type: String, |
| | | value: '32rpx' |
| | | }, |
| | | bgColor: { |
| | | type: String, |
| | | value: '#017BFC' |
| | | } |
| | | }, |
| | | methods: { |
| | |
| | | .line { |
| | | width: 6rpx; |
| | | height: 28rpx; |
| | | background-color: #017BFC; |
| | | // background-color: #017BFC; |
| | | margin-right: 14rpx; |
| | | } |
| | | |