detail.vue 955 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <template>
  2. <view>
  3. <!--文章标题-->
  4. <view class="text-black text-bold title" style="font-size: 40rpx;">{{dataDetail.title}}</view>
  5. <view class="text-gray " style="padding: 0 0 30rpx 30rpx;">
  6. <text class="cuIcon-time padding-right-10"></text>
  7. <text>{{dataDetail.createTime}}</text>
  8. </view>
  9. <view class="content-view-box">
  10. <view class="font-view">
  11. <u-parse :html="dataDetail.notice"></u-parse>
  12. </view>
  13. </view>
  14. </view>
  15. </template>
  16. <script>
  17. var app=getApp()
  18. export default {
  19. components: {
  20. },
  21. data() {
  22. return {
  23. dataDetail:{},
  24. }
  25. },
  26. onShow() {
  27. this.dataDetail=app.globalData.noticeDetail
  28. },
  29. onLoad(options) {
  30. },
  31. methods: {
  32. }
  33. }
  34. </script>
  35. <style lang="scss">
  36. page {
  37. background: #FFFFFF;
  38. }
  39. .title {
  40. margin: 36.36rpx 27.27rpx;
  41. }
  42. .content-view-box {
  43. position: relative;
  44. .font-view {
  45. padding: 27.27rpx;
  46. line-height: 1.9;
  47. }
  48. image {
  49. width: 100%;
  50. }
  51. }
  52. </style>