【PT.SCC实名制管理系统】24.10.01 -30天,考勤打卡小程序
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.

143 lines
2.5 KiB

  1. <template>
  2. <view class="team">
  3. <!-- logo -->
  4. <div class="logo">
  5. 打卡系统
  6. </div>
  7. <!-- 标题 -->
  8. <view class="login-title">工程项目打卡系统</view>
  9. <!-- 团队选择表单 -->
  10. <view class="team-form">
  11. <view class="team-form-item">
  12. <view class="title">团队</view>
  13. <view class="select">
  14. <uni-data-select v-model="value" :localdata="range" :clear="false"></uni-data-select>
  15. </view>
  16. </view>
  17. <view class="team-form-item">
  18. <view class="title">姓名</view>
  19. <view class="name-input">
  20. <input type="text" placeholder="请输入姓名" />
  21. </view>
  22. </view>
  23. </view>
  24. <!-- 提交审核 -->
  25. <div @click="submit" class="btn">
  26. 提交审核
  27. </div>
  28. </view>
  29. </template>
  30. <script>
  31. export default {
  32. name: "Team",
  33. data() {
  34. return {
  35. value: 0,
  36. range: [{
  37. value: 0,
  38. text: "高新区项目一队代理商的领导"
  39. },
  40. {
  41. value: 1,
  42. text: "望城区项目二队"
  43. },
  44. {
  45. value: 2,
  46. text: "雨花区项目一队"
  47. },
  48. ],
  49. }
  50. },
  51. methods: {
  52. submit() {
  53. uni.navigateTo({
  54. url: "/pages/index/index"
  55. })
  56. }
  57. }
  58. }
  59. </script>
  60. <style lang="scss" scoped>
  61. .team {
  62. display: flex;
  63. flex-direction: column;
  64. justify-content: center;
  65. align-items: center;
  66. min-height: 100vh;
  67. background: white;
  68. // logo
  69. .logo {
  70. display: flex;
  71. align-items: center;
  72. justify-content: center;
  73. padding: 20rpx 0rpx;
  74. width: 40%;
  75. color: white;
  76. background: linear-gradient(180deg, #4C9EEA, #6DB9FF);
  77. border-radius: 45rpx 13rpx 45rpx 13rpx;
  78. font-size: 60rpx;
  79. }
  80. // 标题
  81. .login-title {
  82. font-size: 40rpx;
  83. font-weight: bold;
  84. margin: 20rpx 0rpx;
  85. }
  86. // 团队选择表单
  87. .team-form {
  88. width: 83%;
  89. margin: 30rpx auto;
  90. .team-form-item {
  91. display: flex;
  92. align-items: center;
  93. justify-content: space-between;
  94. border-bottom: 1px solid #CBCBCB;
  95. margin: 30rpx 0rpx;
  96. &:nth-child(2) {
  97. margin-top: 50rpx;
  98. }
  99. .title {}
  100. .select,
  101. .name-input {
  102. display: flex;
  103. justify-content: flex-end;
  104. width: 40%;
  105. font-size: 32rpx;
  106. input {
  107. width: 100%;
  108. }
  109. }
  110. &::v-deep .uni-select {
  111. border: none;
  112. padding: 0rpx;
  113. }
  114. }
  115. }
  116. // 提交审核
  117. .btn {
  118. display: flex;
  119. align-items: center;
  120. justify-content: center;
  121. width: 83%;
  122. background: $main-color;
  123. color: white;
  124. height: 100rpx;
  125. border-radius: 50rpx;
  126. margin: 120rpx auto 0rpx auto;
  127. }
  128. }
  129. </style>