detaillink.vue 631 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. <template>
  2. <view>
  3. <web-view :webview-styles="webviewStyles" :src="url"></web-view>
  4. </view>
  5. </template>
  6. <script>
  7. import {
  8. metaSetScalable
  9. } from "../../common/navTo";
  10. export default {
  11. data() {
  12. return {
  13. webviewStyles: {
  14. progress: {
  15. color: "#007AFF",
  16. }
  17. },
  18. url: "",
  19. };
  20. },
  21. onLoad(option) {
  22. this.url = decodeURIComponent(option.url);
  23. // #ifdef H5
  24. metaSetScalable();
  25. // #endif
  26. },
  27. onUnload() {
  28. this.$api.lockDelLock({
  29. action: "jxjy",
  30. uuid: this.$method.getUuid(),
  31. }).then(res => {
  32. console.log("删除登录", res)
  33. });
  34. }
  35. };
  36. </script>
  37. <style></style>