App.vue 690 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <script>
  2. export default {
  3. async created () {
  4. // const res = await get('/weapp/demo')
  5. // console.log(123, res)
  6. // wx.request({
  7. // url:config.host+'/weapp/demo',
  8. // success:function(res){
  9. // console.log(res)
  10. // }
  11. // })
  12. console.log('小程序启动了')
  13. }
  14. }
  15. </script>
  16. <style>
  17. .text-footer{
  18. text-align: center;
  19. font-size: 12px;
  20. margin-bottom:5px;
  21. }
  22. .text-primary{
  23. color:#EA5149;
  24. }
  25. .btn{
  26. color:white;
  27. background:#EA5A49;
  28. margin-bottom: 10px;
  29. padding-left: 15px;
  30. padding-left: 15px;
  31. border-radius: 2px;
  32. font-size: 16px;
  33. line-height: 40px;
  34. height: 40px;
  35. width: 100%;
  36. }
  37. .btn:active{
  38. background: #FA5A49;
  39. }
  40. </style>