newsSee.vue 463 B

12345678910111213141516171819202122232425262728293031323334353637
  1. <template>
  2. <view class="center">
  3. <view class="news_info">
  4. <view class="">{{dataInfo.newsTitle}}</view>
  5. </view>
  6. </view>
  7. </template>
  8. <script>
  9. export default{
  10. data(){
  11. return{
  12. dataInfo:{},
  13. }
  14. },
  15. onLoad(options) {
  16. debugger
  17. this.dataInfo = JSON.parse(options._obj)
  18. uni.setNavigationBarTitle({
  19. title: this.dataInfo.newsType
  20. })
  21. },
  22. methods:{
  23. }
  24. }
  25. </script>
  26. <style lang="scss">
  27. .center{
  28. }
  29. </style>