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

5 months ago
3 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. /*
  8. if(uni.getStorageSync('token')){
  9. this.$store.commit('getQrCode')
  10. }
  11. */
  12. // 无需token,直接获取二维码
  13. this.$store.commit('getQrCode')
  14. },
  15. onShow: function() {
  16. },
  17. onHide: function() {
  18. }
  19. }
  20. </script>
  21. <style lang="scss">
  22. // 公共css
  23. @import url("common.scss");
  24. body {
  25. background-color: #f7f7f7;
  26. font-size: 30rpx;
  27. }
  28. .page{
  29. padding-top: var(--window-top);
  30. }
  31. .redact-address {
  32. .uv-input__content__field-wrapper__field{
  33. padding: 10rpx !important;
  34. }
  35. }
  36. </style>