startup.vue 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. <template>
  2. <view class="startup">
  3. <view class="status_bar"></view>
  4. <view class="startup_content">
  5. <image class="img1" mode="widthFix" src="../../static/startup_2.png"></image>
  6. </view>
  7. <view class="startup_content_2">
  8. <image class="img2" mode="widthFix" src="../../static/startup_3.png"></image>
  9. </view>
  10. <view class="startup_content_3 mt-40">
  11. Efficiency improvement
  12. </view>
  13. <view class="startup_content_4 mt-30">
  14. 助力酒店、轰趴馆效率提升
  15. </view>
  16. </view>
  17. </template>
  18. <script>
  19. export default {
  20. data() {
  21. return {
  22. };
  23. },
  24. mounted() {
  25. //判断是否登录 没登录进 登录直接进主页
  26. setTimeout(()=>{
  27. uni.navigateTo({
  28. url: '../index/index',
  29. success: res => {},
  30. fail: () => {},
  31. complete: () => {}
  32. });
  33. },1000)
  34. }
  35. }
  36. </script>
  37. <style scoped lang="scss">
  38. .status_bar {
  39. height: var(--status-bar-height);
  40. }
  41. .startup {
  42. width: 100%;
  43. height: 100vh;
  44. overflow: hidden;
  45. background: url(../../static/startup_1.png);
  46. background-size: 100% auto;
  47. background-repeat: no-repeat;
  48. background-position: left bottom;
  49. .startup_content {
  50. text-align: center;
  51. margin-top: 200rpx;
  52. .img1{
  53. width: 200rpx;
  54. border-radius: 100rpx;
  55. box-shadow: 15rpx 20rpx 40rpx #007AFF;
  56. }
  57. }
  58. .startup_content_2{
  59. text-align: center;
  60. margin-top: 50rpx;
  61. .img2{
  62. width: 254rpx;
  63. }
  64. }
  65. .startup_content_3{
  66. text-align: center;
  67. font-size: 36rpx;
  68. color: #555555;
  69. font-weight: bold;
  70. }
  71. .startup_content_4{
  72. text-align: center;
  73. font-size: 30rpx;
  74. color: #999999;
  75. width: 100%;
  76. font-weight: bold;
  77. }
  78. }
  79. </style>