You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
599 B

6 days ago
  1. <template>
  2. <view class="pageBg">
  3. <web-view src="https://lyjp-bucket-main.oss-cn-beijing.aliyuncs.com/6f4db7615fff8c35085cdb53976af6afec0b96d857c27cda487487564b7efefb.xls" :webview-styles="webviewStyles" :update-title="false"></web-view>
  4. </view>
  5. </template>
  6. <script setup>
  7. let webviewStyles = {
  8. progress: {
  9. color: '#3877ff'
  10. },
  11. }
  12. import {
  13. onLoad,
  14. onReady
  15. } from "@dcloudio/uni-app"
  16. import {ref} from 'vue'
  17. let link = ref('')
  18. onLoad((option)=>{
  19. link.value = decodeURIComponent(option.link)
  20. console.log(link.value)
  21. // link.value = option.link
  22. })
  23. </script>
  24. <style>
  25. </style>