猫妈狗爸伴宠师小程序前端代码
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

34 lines
566 B

<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>