展品维保小程序前端代码接口
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.

92 lines
1.7 KiB

2 weeks ago
  1. <template>
  2. <view class="announcement-detail">
  3. <!-- 标题 -->
  4. <view class="title">{{ introduce.paramDesc }}</view>
  5. <!-- 时间 -->
  6. <view class="time">{{ introduce.createTime }}</view>
  7. <!-- 图片 -->
  8. <!-- <view class="image-container" v-if="introduce.images && introduce.images.length > 0">
  9. <image
  10. v-for="(image, index) in introduce.images"
  11. :key="index"
  12. :src="image"
  13. class="detail-image"
  14. mode="aspectFill"
  15. ></image>
  16. </view> -->
  17. <!-- 正文内容 -->
  18. <view class="content">
  19. <!-- <text class="content-text">{{ introduce.content }}</text> -->
  20. <rich-text :nodes="introduce.paramTextarea"></rich-text>
  21. </view>
  22. </view>
  23. </template>
  24. <script>
  25. export default {
  26. name: 'organizationIntroduction',
  27. data() {
  28. return {
  29. }
  30. },
  31. computed: {
  32. introduce() {
  33. return this.$store.state.configList['config_organization_desc'];
  34. }
  35. },
  36. methods: {
  37. }
  38. }
  39. </script>
  40. <style lang="scss" scoped>
  41. // @import '@/uni.scss';
  42. .announcement-detail {
  43. padding: 40rpx;
  44. background-color: #fff;
  45. min-height: 100vh;
  46. .title {
  47. font-size: 34rpx;
  48. font-weight: bold;
  49. color: #000000;
  50. line-height: 1.5;
  51. margin-bottom: 20rpx;
  52. }
  53. .time {
  54. font-size: 24rpx;
  55. color: #999999;
  56. margin-bottom: 30rpx;
  57. }
  58. .image-container {
  59. margin-bottom: 30rpx;
  60. .detail-image {
  61. width: 100%;
  62. height: 250rpx;
  63. border-radius: 16rpx;
  64. margin-bottom: 20rpx;
  65. // object-fit: cover;
  66. &:last-child {
  67. margin-bottom: 0;
  68. }
  69. }
  70. }
  71. .content {
  72. .content-text {
  73. font-size: 28rpx;
  74. color: #000000;
  75. line-height: 1.8;
  76. text-align: justify;
  77. }
  78. }
  79. }
  80. </style>