App.vue 728 B

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