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.

23 lines
527 B

4 weeks ago
  1. "use strict";
  2. const common_vendor = require("../../../common/vendor.js");
  3. const _sfc_main = {
  4. __name: "webView",
  5. setup(__props) {
  6. let webviewStyles = {
  7. progress: {
  8. color: "#3877ff"
  9. }
  10. };
  11. let link = common_vendor.ref("");
  12. common_vendor.onLoad((option) => {
  13. link.value = decodeURIComponent(option.link);
  14. console.log(link.value);
  15. });
  16. return (_ctx, _cache) => {
  17. return {
  18. a: common_vendor.unref(webviewStyles)
  19. };
  20. };
  21. }
  22. };
  23. wx.createPage(_sfc_main);