uDesc.vue 935 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. <template>
  2. <view class="desc">
  3. <view class="title">{{title}}</view>
  4. <view class="memo">{{description}}</view>
  5. </view>
  6. </template>
  7. <script>
  8. export default {
  9. props:{
  10. title:{
  11. typeof:String,
  12. default:''
  13. },
  14. description:{
  15. typeof:String,
  16. default:''
  17. }
  18. },
  19. data(){
  20. return {
  21. }
  22. },
  23. methods:{
  24. }
  25. }
  26. </script>
  27. <style scoped lang="less">
  28. .desc{
  29. width: 100%;
  30. height: 400rpx;
  31. background: url(../../static/imgs/fmcs_xtbg.png) no-repeat;
  32. background-size: 100% 100%;
  33. padding: 42rpx 24rpx 0;
  34. box-sizing: border-box;
  35. .title{
  36. font-family: PingFang-SC, PingFang-SC;
  37. font-weight: bold;
  38. font-size: 40rpx;
  39. color: #FFFFFF;
  40. line-height: 56rpx;
  41. }
  42. .memo{
  43. font-family: PingFangSC, PingFang SC;
  44. font-weight: 400;
  45. font-size: 26rpx;
  46. color: #FFFFFF;
  47. line-height: 42rpx;
  48. margin-top: 13rpx;
  49. }
  50. }
  51. </style>