news.vue 416 B

1234567891011121314151617181920212223
  1. <template>
  2. <view>
  3. <web-view :src="href"></web-view>
  4. </view>
  5. </template>
  6. <script>
  7. export default {
  8. data() {
  9. return {
  10. href: "http://ningdongyunying.nxjiewei.com:8011" + '/admin/article/list/view?id='
  11. // href:"http://webdevelop.nxjiewei.com/assets/html/news/#/pages/detail/detail?id="
  12. };
  13. },
  14. onLoad(option) {
  15. this.href = this.href + option.id
  16. }
  17. }
  18. </script>
  19. <style lang="scss">
  20. </style>