敢为人鲜小程序前端代码仓库
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.

41 lines
730 B

5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
  1. <script>
  2. export default {
  3. onLaunch: function() {
  4. this.$store.commit('initConfig')
  5. this.$store.commit('getCategoryList')
  6. // 注释掉token检查,允许未登录用户访问所有页面
  7. // if(uni.getStorageSync('token')){
  8. // this.$store.commit('getQrCode')
  9. // }
  10. // 无需token,直接获取二维码
  11. this.$store.commit('getQrCode')
  12. },
  13. onShow: function() {
  14. },
  15. onHide: function() {
  16. }
  17. }
  18. </script>
  19. <style lang="scss">
  20. // 公共css
  21. @import url("common.scss");
  22. body {
  23. background-color: #f7f7f7;
  24. font-size: 30rpx;
  25. }
  26. .page{
  27. padding-top: var(--window-top);
  28. }
  29. .redact-address {
  30. .uv-input__content__field-wrapper__field{
  31. padding: 10rpx !important;
  32. }
  33. }
  34. </style>