index.vue 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. <template>
  2. <view class="content">
  3. 历史记录
  4. </view>
  5. </template>
  6. <script>
  7. export default {
  8. data() {
  9. return {
  10. tel: 13525222222,
  11. formData: {
  12. pswd: ''
  13. },
  14. show: false,
  15. list: [
  16. {
  17. text: '切换账号',
  18. fontSize: '28'
  19. },
  20. {
  21. text: '注册',
  22. fontSize: '28'
  23. }
  24. ]
  25. };
  26. },
  27. onLoad() {},
  28. onShow() {},
  29. methods: {
  30. clickSheet() {
  31. this.show = true;
  32. },
  33. doLogin() {
  34. this.$u.route({
  35. url: 'pages/home/home',
  36. type: 'switchTab'
  37. });
  38. }
  39. }
  40. };
  41. </script>
  42. <style lang="scss" scoped>
  43. .content {
  44. overflow: hidden;
  45. .status_bar {
  46. height: var(--status-bar-height);
  47. width: 100%;
  48. }
  49. &_body {
  50. margin-top: 170rpx;
  51. text-align: center;
  52. &_tel {
  53. margin-top: 10rpx;
  54. }
  55. &_pswd {
  56. margin-top: 40rpx;
  57. }
  58. &_btn {
  59. margin-top: 120rpx;
  60. padding: 0 20rpx;
  61. }
  62. }
  63. &_footer {
  64. position: absolute;
  65. bottom: 50rpx;
  66. width: 100%;
  67. padding: 0 30rpx;
  68. text {
  69. color: #2979ff;
  70. }
  71. }
  72. }
  73. </style>
  74. <style scoped>
  75. >>> .u-border-top:after {
  76. border-top-width: 0px;
  77. }
  78. </style>