12345678910111213141516171819202122232425262728293031323334 |
- <template>
- <view class="sly-label" :style="$getStyle(styles)">
- <view class="">
- <text class="sly-label-headline" v-show="attrs.headline['show']" :style="$getStyle(attrs.headline)">{{dataVal.headline}}</text>
- <text class="sly-label-subhead" v-show="attrs.subhead['show']" :style="$getStyle(attrs.subhead)">{{dataVal.subhead}}</text>
- </view>
- <view class="">
- 更多
- </view>
- </view>
- </template>
- <script>
- import Mixin from "../Mixin";
- export default {
- name: "SlyLabel",
- mixins: [Mixin],
- data() {
- return {
-
- src: ''
- };
- }
- }
- </script>
- <style lang="scss" scoped>
- .sly-label{
- display: flex;
- justify-content: space-between;
- align-items: center;
- }
- </style>
|