加油站付款小程序,打印小票
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.

134 lines
2.2 KiB

9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
  1. <template>
  2. <view class="login">
  3. <view class="logo">
  4. <image src="/static/image/login/logo.png" mode=""></image>
  5. </view>
  6. <view class="title">
  7. 欢迎登录真视界
  8. </view>
  9. <view class="btn mt">
  10. <view class="icon">
  11. <image src="/static/image/login/wx.png" mode=""></image>
  12. </view>
  13. <view class=""
  14. @click="wxLogin">
  15. 微信授权手机号登录
  16. </view>
  17. </view>
  18. <view class="btn b2">
  19. 使用短信验证登录
  20. </view>
  21. <view class="config">
  22. <uv-checkbox-group
  23. v-model="checkboxValue"
  24. shape="circle">
  25. <view class="content">
  26. <view
  27. style="display: flex;">
  28. <uv-checkbox
  29. size="30rpx"
  30. :name="1"
  31. ></uv-checkbox>
  32. 阅读并同意我们的<text>服务协议与隐私条款</text>
  33. </view>
  34. <view class="">
  35. 以及<text>个人信息保护指引</text>
  36. </view>
  37. </view>
  38. </uv-checkbox-group>
  39. </view>
  40. </view>
  41. </template>
  42. <script>
  43. export default {
  44. data() {
  45. return {
  46. checkboxValue : []
  47. }
  48. },
  49. methods: {
  50. wxLogin(){
  51. this.$store.commit('login')
  52. },
  53. }
  54. }
  55. </script>
  56. <style scoped lang="scss">
  57. .login{
  58. display: flex;
  59. justify-content: center;
  60. align-items: center;
  61. height: 80vh;
  62. flex-direction: column;
  63. position: relative;
  64. .logo{
  65. height: 80rpx;
  66. width: 80rpx;
  67. padding: 40rpx 30rpx;
  68. background-color: #ddd;
  69. border-radius: 70rpx;
  70. image{
  71. width: 80rpx;
  72. height: 80rpx;
  73. }
  74. margin-bottom: 20rpx;
  75. }
  76. .title{
  77. position: relative;
  78. font-weight: 900;
  79. font-size: 45rpx;
  80. &::after{
  81. content: '';
  82. position: absolute;
  83. left: 0;
  84. top: 100%;
  85. display: block;
  86. height: 8rpx;
  87. width: 210rpx;
  88. background: linear-gradient(to right,#3c69f1, #fff);
  89. }
  90. }
  91. .btn{
  92. width: 80%;
  93. height: 100rpx;
  94. background-color: #3c69f1;
  95. color: #fff;
  96. display: flex;
  97. justify-content: center;
  98. align-items: center;
  99. margin: 20rpx 0;
  100. .icon{
  101. margin-right: 10rpx;
  102. image{
  103. width: 40rpx;
  104. height: 35rpx;
  105. }
  106. }
  107. }
  108. .b2{
  109. background-color: #3c69f122;
  110. color: #3c69f1;
  111. }
  112. .mt{
  113. margin-top: 200rpx;
  114. }
  115. .config{
  116. position: absolute;
  117. bottom: 0;
  118. font-size: 22rpx;
  119. text-align: center;
  120. line-height: 40rpx;
  121. text{
  122. color: #3c69f1;
  123. }
  124. }
  125. }
  126. </style>