agreement.vue 423 B

123456789101112131415161718192021222324252627
  1. <template>
  2. <view>
  3. <web-view :webview-styles="webviewStyles" :src="articleurl"></web-view>
  4. </view>
  5. </template>
  6. <script>
  7. export default {
  8. data() {
  9. return {
  10. articleurl: '',
  11. webviewStyles: {
  12. progress: {
  13. color: '#FF7200'
  14. }
  15. }
  16. };
  17. },
  18. onLoad(options) {
  19. this.articleurl = 'http://www.baidu.com/';
  20. }
  21. }
  22. </script>
  23. <style>
  24. </style>