吉光研途前端代码仓库
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.

54 lines
1015 B

  1. <template>
  2. <view class="page__view">
  3. <!-- 导航栏 -->
  4. <navbar :title="details.paramDesc" leftClick @leftClick="$utils.navigateBack" bgColor="#4883F9" color="#FFFFFF" />
  5. <view class="main">
  6. <view class="title">{{ details.title }}</view>
  7. <uv-parse :content="details.details"></uv-parse>
  8. </view>
  9. </view>
  10. </template>
  11. <script>
  12. export default {
  13. data() {
  14. return {
  15. details: {},
  16. }
  17. },
  18. onLoad({ paramCode }) {
  19. this.getData(paramCode)
  20. },
  21. methods: {
  22. async getData(paramCode) {
  23. try {
  24. this.details = await this.$fetch('querySummaryByParamCode', { paramCode })
  25. } catch (err) {
  26. console.log('err', err)
  27. }
  28. },
  29. },
  30. }
  31. </script>
  32. <style scoped lang="scss">
  33. .page__view {
  34. background: #FFFFFF;
  35. }
  36. .main {
  37. padding: 44rpx 40rpx;
  38. font-size: 30rpx;
  39. color: #000000;
  40. .title {
  41. margin-bottom: 50rpx;
  42. font-size: 36rpx;
  43. font-weight: 700;
  44. }
  45. }
  46. </style>