XiangQing.vue 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. <template>
  2. <view class="box">
  3. <u-navbar :autoBack="true" bgColor="rgba(255,255,255,0)" :placeholder="true"></u-navbar>
  4. <!-- <view class="title">中华人民共和国文物保护法(2017年修正本)</view>
  5. <view class="jies">
  6. 中华人民共和国文物保护法是为了加强对文物的保护,继承中华民族优秀的历史文化遗产,促进科学研究工作,进行爱国主义和革命传统教育,建设社会主义精神文明和物质文明,根据宪法,制定的法规。由中华人民共和国第十届全国人民代表大会常务委员会第三十一次会议于2007年12月29日通过,自公布之日起施行。2013年6月29日第十二届全国人民代表大会常务委员会第三次会议修订通过。
  7. </view>
  8. <view class="" style="text-align: center; font-size: 32rpx; color: #444444">目 录</view>
  9. <view class="" style="margin-left: 40rpx">
  10. <view class="">第一章 总则</view>
  11. <view class="">第二章 不可移动文物</view>
  12. </view>
  13. <view class="jies">
  14. 中华人民共和国文物保护法是为了加强对文物的保护,继承中华民族优秀的历史文化遗产,促进科学研究工作,进行爱国主义和革命传统教育,建设社会主义精神文明和物质文明,根据宪法,制定的法规。由中华人民共和国第十届全国人民代表大会常务委员会第三十一次会议于2007年12月29日通过,自公布之日起施行。2013年6月29日第十二届全国人民代表大会常务委员会第三次会议修订通过。
  15. </view> -->
  16. <view class="" style="padding: 30rpx">
  17. <view class="title">{{ archivesInfo.title }}</view>
  18. <view class="u-p-30 u-bg-white u-line-height">
  19. <u-parse :content="archivesInfo.content" :domain="vuex_config.upload ? vuex_config.upload.cdnurl : ''"></u-parse>
  20. </view>
  21. </view>
  22. </view>
  23. </template>
  24. <script>
  25. let that;
  26. export default {
  27. data() {
  28. return { archivesInfo: {} };
  29. },
  30. onLoad(o) {
  31. that = this;
  32. this.legalDetails(o.id);
  33. },
  34. methods: {
  35. legalDetails(id) {
  36. uni.request({
  37. url: 'https://huli-app.wenlvti.net//addons/cms/api.archives/detail',
  38. data: {
  39. id: id
  40. },
  41. success: function (res) {
  42. that.archivesInfo = res.data.data.archivesInfo;
  43. // console.log(res, 99999);
  44. }
  45. });
  46. }
  47. }
  48. };
  49. </script>
  50. <style>
  51. .box {
  52. width: 100%;
  53. padding-bottom: 50rpx;
  54. /* background-image: url('https://huli-app.wenlvti.net/app_static/WenWuGuanJia/image/xy_bgt.png');
  55. background-size: 100% 100%;
  56. background-attachment: fixed;
  57. background-repeat: repeat-y; */
  58. min-height: 100%;
  59. height: auto;
  60. background-color: #fff9e9;
  61. }
  62. .title {
  63. width: 670rpx;
  64. font-size: 48rpx;
  65. margin-left: 40rpx;
  66. font-weight: 900;
  67. color: #444444;
  68. line-height: 64rpx;
  69. }
  70. .jies {
  71. width: 670rpx;
  72. height: 704rpx;
  73. font-size: 28rpx;
  74. margin-left: 40rpx;
  75. margin-top: 20rpx;
  76. color: #444444;
  77. line-height: 46rpx;
  78. overflow: scroll;
  79. }
  80. </style>