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.
This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
<!-- 商品详情 : 描述卡片 -- >
< template >
< view class = "detail-content-card bg-white ss-m-x-20 ss-p-t-20" >
< view class = "card-header ss-flex ss-col-center ss-m-b-30 ss-m-l-20" >
< view class = "line" > < / view >
< view class = "title ss-m-l-20 ss-m-r-20" > 详情 < / view >
< / view >
< view class = "card-content" >
< mp -html :content ="content" / >
< / view >
< / view >
< / template >
< script setup >
import sheep from '@/sheep' ;
const { safeAreaInsets } = sheep . $platform . device ;
const props = defineProps ( {
content : {
type : String ,
default : '' ,
} ,
} ) ;
< / script >
< style lang = "scss" scoped >
. detail - content - card {
. card - header {
. line {
width : 6 rpx ;
height : 30 rpx ;
background : linear - gradient ( 180 deg , var ( -- ui - BG - Main ) 0 % , var ( -- ui - BG - Main - gradient ) 100 % ) ;
border - radius : 3 rpx ;
}
. title {
font - size : 30 rpx ;
font - weight : bold ;
}
. des {
font - size : 24 rpx ;
color : $dark - 9 ;
}
. more - btn {
font - size : 24 rpx ;
color : var ( -- ui - BG - Main ) ;
}
}
}
< / style >