代码提交
This commit is contained in:
@ -7,18 +7,20 @@
|
||||
{{ title }}
|
||||
</view>
|
||||
<view class="activity-header-subtitle">
|
||||
{{ subtitle }}
|
||||
<slot name="subTitle">
|
||||
{{ subtitle }}
|
||||
</slot>
|
||||
</view>
|
||||
</view>
|
||||
<view
|
||||
class="activity-header-more"
|
||||
@tap="handleMoreClick"
|
||||
class="activity-header-more"
|
||||
@tap="handleMoreClick"
|
||||
>
|
||||
<view class="activity-header-more-info">{{ more }}</view>
|
||||
<img
|
||||
class="image"
|
||||
src="@/static/images/next.png"
|
||||
alt=""
|
||||
class="image"
|
||||
src="@/static/images/next.png"
|
||||
alt=""
|
||||
>
|
||||
</view>
|
||||
</view>
|
||||
@ -31,6 +33,7 @@
|
||||
|
||||
<script setup>
|
||||
import { ref } from 'vue';
|
||||
|
||||
const props = defineProps(["title", "subtitle", 'more'])
|
||||
|
||||
const title = ref(props.title)
|
||||
@ -46,7 +49,7 @@ const handleMoreClick = () => {
|
||||
|
||||
</script>
|
||||
|
||||
<style lang="less">
|
||||
<style lang="scss">
|
||||
.activity {
|
||||
|
||||
&-header {
|
||||
@ -94,7 +97,8 @@ const handleMoreClick = () => {
|
||||
}
|
||||
}
|
||||
|
||||
&-body {}
|
||||
&-body {
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user