feat:初始提交uni-app项目
This commit is contained in:
28
components/common-title/common-title.vue
Normal file
28
components/common-title/common-title.vue
Normal file
@@ -0,0 +1,28 @@
|
||||
<template>
|
||||
<view class="content-title">
|
||||
<view class="name">
|
||||
<slot name="name"></slot>
|
||||
</view>
|
||||
<view class="custom">
|
||||
<slot name="custom"></slot>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.content-title{
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
padding: 0 30rpx;
|
||||
.name{
|
||||
font-size: 40rpx;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user