App.vue 892 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. <script>
  2. export default {
  3. mounted() {
  4. const script = document.createElement('script')
  5. script.src = 'https://wx.gtimg.com/pay_h5/goldplan/js/jgoldplan-1.0.0.js'
  6. document.head.appendChild(script);
  7. },
  8. onLaunch: function() {
  9. console.log("App Launch");
  10. },
  11. onShow: function() {
  12. console.log("App Show");
  13. },
  14. onHide: function() {
  15. console.log("App Hide");
  16. },
  17. };
  18. </script>
  19. <style>
  20. /*每个页面公共css */
  21. @import "./common/css/common";
  22. /* icon */
  23. @import "./common/font/iconfont";
  24. checkbox .wx-checkbox-input {
  25. border-radius: 50% !important;
  26. }
  27. checkbox .wx-checkbox-input.wx-checkbox-input-checked {
  28. background: linear-gradient(129deg, #f0695b 0%, #ed301d 100%);
  29. border: 1px solid rgb(239, 74, 57);
  30. box-shadow: 0px 2px 3px rgba(239, 74, 57, 0.16);
  31. }
  32. uni-checkbox:not([disabled]) .uni-checkbox-input:hover {
  33. border-color: #d1d1d1;
  34. }
  35. </style>