Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
 
 
 

109 wiersze
1.9 KiB

  1. <template>
  2. <view class="boox">
  3. <view class="title">
  4. 数智工牌
  5. </view>
  6. <view class="booximg">
  7. <image class="img" src="https://qufang.oss-cn-beijing.aliyuncs.com/zkgj/xcx/guidepage.png" mode=""></image>
  8. </view>
  9. <view @click="bindWxBLogin" class="button">
  10. <view class="view">
  11. 立即去登录
  12. </view>
  13. </view>
  14. </view>
  15. <!-- <view class="full">
  16. <view class="logo"></view>
  17. <view class="title">
  18. 数智工牌
  19. </view>
  20. <view @click="bindWxBLogin" class="button">
  21. 立即去登录
  22. </view>
  23. </view> -->
  24. </template>
  25. <script>
  26. var app = getApp();
  27. var config = require("../../config");
  28. export default {
  29. data() {
  30. return {
  31. };
  32. },
  33. onShow: function() {
  34. uni.request({
  35. url: config.service.verify,
  36. method: "GET",
  37. header: {
  38. 'content-type': 'application/json',
  39. 'Access-Token': uni.getStorageSync('weapp_session_login_data').token
  40. },
  41. success: (data) => {
  42. if (data.data.code == 10000) {
  43. uni.switchTab({
  44. url: '/pages/index/index'
  45. });
  46. }
  47. }
  48. })
  49. },
  50. onHide: function() {},
  51. methods: {
  52. bindWxBLogin() {
  53. wx.navigateTo({
  54. url: '/pages/login/index'
  55. });
  56. }
  57. }
  58. };
  59. </script>
  60. <style lang="scss">
  61. .boox{
  62. width: 100vw;
  63. height: 100vh;
  64. position: relative;
  65. .title {
  66. width: 100%;
  67. position: absolute;
  68. left: 0rpx;
  69. top: 100rpx;
  70. text-align: center;
  71. color: #FFFFFF;
  72. font-size: 32rpx;
  73. font-weight: 500;
  74. z-index: 1000;
  75. }
  76. .booximg{
  77. width: 100vw;
  78. height: 96vh;
  79. .img{
  80. width: 100%;
  81. height: 100%;
  82. }
  83. }
  84. .button {
  85. width: 100%;
  86. position: absolute;
  87. left: 0rpx;
  88. bottom:80rpx;
  89. .view{
  90. width: 630rpx;
  91. height: 86rpx;
  92. margin: 0 auto;
  93. background: #2671E2;
  94. box-shadow: 0px 2rpx 20rpx 0rpx rgba(38, 113, 226, 0.5);
  95. border-radius: 49rpx;
  96. color: #FFFFFF;
  97. text-align: center;
  98. line-height: 86rpx;
  99. font-size: 32rpx;
  100. }
  101. }
  102. }
  103. </style>