|
@@ -21,10 +21,13 @@
|
|
|
mode="aspectFill"
|
|
mode="aspectFill"
|
|
|
/>
|
|
/>
|
|
|
<view class="d-flex flex-col ml-3 flex-one width-500">
|
|
<view class="d-flex flex-col ml-3 flex-one width-500">
|
|
|
- <text :class="[
|
|
|
|
|
- 'color-primary size-base',
|
|
|
|
|
- desc || title1 ? 'text-lines-1' : 'text-lines-2',
|
|
|
|
|
- ]">{{ title }}</text>
|
|
|
|
|
|
|
+ <view class="d-flex flex-row">
|
|
|
|
|
+ <text :class="[
|
|
|
|
|
+ 'color-primary size-base',
|
|
|
|
|
+ desc || title1 ? 'text-lines-1' : 'text-lines-2',
|
|
|
|
|
+ titleBox ? 'border-all-text' : '',
|
|
|
|
|
+ ]">{{ title }}</text>
|
|
|
|
|
+ </view>
|
|
|
<text class="size-s color-second text-lines-2 mt-2">{{ desc }}</text>
|
|
<text class="size-s color-second text-lines-2 mt-2">{{ desc }}</text>
|
|
|
<RoundTags v-if="tags" :tags="tags" small />
|
|
<RoundTags v-if="tags" :tags="tags" small />
|
|
|
</view>
|
|
</view>
|
|
@@ -43,6 +46,10 @@ defineProps({
|
|
|
right: String,
|
|
right: String,
|
|
|
image: String,
|
|
image: String,
|
|
|
|
|
|
|
|
|
|
+ titleBox: {
|
|
|
|
|
+ type: Boolean,
|
|
|
|
|
+ default: false,
|
|
|
|
|
+ },
|
|
|
tags: {
|
|
tags: {
|
|
|
type: Array as PropType<string[]>,
|
|
type: Array as PropType<string[]>,
|
|
|
default: null
|
|
default: null
|