App.vue 974 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. <script>
  2. export default {
  3. onLaunch: function() {
  4. // console.log("App Launch");
  5. },
  6. onShow: function() {
  7. // console.log("App Show");
  8. // 开启小程序原生右上角分享按钮
  9. // uni.showShareMenu({
  10. // // https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/share.html
  11. // withShareTicket: true,
  12. // menus: ['shareAppMessage', 'shareTimeline'] //开启转发好友和转发朋友圈按钮
  13. // });
  14. },
  15. onHide: function() {
  16. // console.log("App Hide");
  17. },
  18. };
  19. </script>
  20. <style>
  21. /*每个页面公共css */
  22. @import "./common/css/common";
  23. checkbox .wx-checkbox-input {
  24. border-radius: 50% !important;
  25. }
  26. checkbox .wx-checkbox-input.wx-checkbox-input-checked {
  27. background: linear-gradient(129deg, #f0695b 0%, #ed301d 100%);
  28. border: 1px solid rgb(239, 74, 57);
  29. box-shadow: 0px 2px 3px rgba(239, 74, 57, 0.16);
  30. }
  31. uni-checkbox:not([disabled]) .uni-checkbox-input:hover {
  32. border-color: #d1d1d1;
  33. }
  34. </style>