detaillink.vue 662 B

12345678910111213141516171819202122232425262728293031323334353637383940
  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. console.log(this.url,'url')
  24. // #ifdef H5
  25. metaSetScalable();
  26. // #endif
  27. },
  28. onUnload() {
  29. this.$api.lockDelLock({
  30. action: "jxjy",
  31. uuid: this.$method.getUuid(),
  32. }).then(res => {
  33. console.log("删除登录", res)
  34. });
  35. }
  36. };
  37. </script>
  38. <style></style>