洛阳学员端
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.

46 lines
894 B

3 months ago
3 months ago
1 month ago
3 months ago
  1. <script>
  2. // import location from '@/common/js/location.js'
  3. export default {
  4. onLaunch: function() {
  5. // location.getLocation(()=>{
  6. // this.$store.dispatch('getCity')
  7. // });
  8. },
  9. onShow: function() {
  10. console.log('App Show')
  11. },
  12. onHide: function() {
  13. console.log('App Hide')
  14. },
  15. methods: {
  16. }
  17. }
  18. </script>
  19. <style lang="scss">
  20. /*每个页面公共css */
  21. @import '@/uni_modules/uview-ui/index.scss';
  22. @import 'common/css/app.scss';
  23. .pageBgImg {
  24. background: url('./static/images/bigImg/topBg.png') #F6F7FA no-repeat;
  25. background-size: 100% 278rpx;
  26. }
  27. .topBg{
  28. background: url('./static/images/bigImg/topBg.png') #F6F7FA no-repeat;
  29. background-size: 100% 100%;
  30. }
  31. .h1 {
  32. text {
  33. &.active {
  34. &::before {
  35. background: url('./static/images/bigImg/h1Active.png') #F6F7FA no-repeat;
  36. background-size: 100% 100%;
  37. }
  38. }
  39. }
  40. }
  41. </style>