<template>
|
|
<view class="comp-card">
|
|
<view class="comp-card-head flex-rowl mb24">
|
|
<view class="line mr10"></view>
|
|
<text class="title size-30">{{props.cardTitle}}</text>
|
|
</view>
|
|
<up-line color="#C7C7C7"></up-line>
|
|
</view>
|
|
</template>
|
|
|
|
<script setup>
|
|
const props = defineProps({
|
|
cardTitle:{
|
|
type:String,
|
|
default:''
|
|
}
|
|
})
|
|
</script>
|
|
|
|
<style scoped lang="scss">
|
|
.comp-card{
|
|
&-head{
|
|
.line{
|
|
width: 11rpx;
|
|
height: 38rpx;
|
|
background-color: #FFBF60;
|
|
border-radius: 6rpx;
|
|
}
|
|
.title{
|
|
font-weight: bold;
|
|
}
|
|
}
|
|
}
|
|
</style>
|