helpDet.vue 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. <template>
  2. <view style="line-height: 26px;padding: 32upx;" class="home1">
  3. <!-- <view v-html="tit"> </view> -->
  4. <!-- <view style="font-size: 28upx;" v-html="content"></view> -->
  5. <u-parse :html="content"></u-parse>
  6. </view>
  7. </template>
  8. <script>
  9. export default {
  10. data() {
  11. return {
  12. list: [],
  13. content: ''
  14. }
  15. },
  16. onLoad(e) {
  17. this.taskData(e.id)
  18. },
  19. methods: {
  20. // 获取任务数据
  21. taskData(e) {
  22. let data = {
  23. id: e
  24. }
  25. this.$Request.getT('/app/userinfo/TrainingCenter',data).then(res => {
  26. if(res.code==0){
  27. this.content = res.data.message
  28. }
  29. });
  30. },
  31. }
  32. }
  33. </script>
  34. <style>
  35. page {
  36. background: #FFFFFF;
  37. }
  38. .content {
  39. width: 100%;
  40. background: #FFFFFF;
  41. margin-top: 20rpx;
  42. padding-bottom: 50rpx;
  43. padding-top: 20rpx;
  44. }
  45. .list_box {
  46. width: 90%;
  47. margin: 0 auto;
  48. display: flex;
  49. line-height: 45rpx;
  50. padding-top: 20rpx;
  51. }
  52. .list_left {
  53. flex: 2;
  54. }
  55. .name {
  56. font-size: 26rpx;
  57. color: #333333;
  58. font-weight: bold;
  59. letter-spacing: 2rpx;
  60. }
  61. .data {
  62. color: #999999;
  63. font-size: 24rpx;
  64. }
  65. /* .list_right {
  66. flex: 1;
  67. display: flex;
  68. justify-content: flex-end;
  69. align-items: center;
  70. font-size: 31rpx;
  71. } */
  72. </style>