login.vue 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. <template>
  2. <view>
  3. <!--标题栏-->
  4. <bar-title bgColor="bg-white" isBack @rightTap="rightTap">
  5. <block slot="content">登录</block>
  6. </bar-title>
  7. <!--登录图标-->
  8. <view class="zaiui-user-login-avatar-view">
  9. <view class="cu-avatar round lg" style="background-image:url(/static/images/avatar/1.jpg);"/>
  10. </view>
  11. <!--按钮-->
  12. <view class="flex flex-direction zaiui-btn-view">
  13. <button class="cu-btn bg-red">
  14. <text class="cuIcon-weixin icon"/>
  15. <text>登录开启转转世界</text>
  16. </button>
  17. </view>
  18. <!--协议-->
  19. <view class="zaiui-agreement-checked-view">
  20. <checkbox class='round red sm zaiui-checked checked'/>
  21. <view class="text-sm text-black-view">
  22. <view class="text-gray">已阅读并同意以下协议</view>
  23. <view class="text-red">《转转用户服务协议》《转转隐私政策》</view>
  24. </view>
  25. </view>
  26. <!--底部说明-->
  27. <view class="text-sm text-gray zaiui-foot-ad-view">腾讯投资-更专业的闲置二手交易平台</view>
  28. </view>
  29. </template>
  30. <script>
  31. import barTitle from '@/components/zaiui-common/basics/bar-title';
  32. import _tool from '@/static/zaiui/util/tools.js'; //工具函数
  33. export default {
  34. components: {
  35. barTitle
  36. },
  37. data() {
  38. return {
  39. }
  40. },
  41. onLoad() {
  42. },
  43. onReady() {
  44. _tool.setBarColor(true);
  45. uni.pageScrollTo({
  46. scrollTop: 0,
  47. duration: 0
  48. });
  49. },
  50. methods: {
  51. }
  52. }
  53. </script>
  54. <style lang="scss">
  55. /* #ifdef APP-PLUS */
  56. @import "../../static/colorui/main.css";
  57. @import "../../static/colorui/icon.css";
  58. @import "../../static/zaiui/style/app.scss";
  59. /* #endif */
  60. .zaiui-user-login-avatar-view {
  61. position: relative;
  62. display: flex;
  63. align-items: center;
  64. justify-content: center;
  65. margin-top: 218.18upx;
  66. .cu-avatar {
  67. width: 181.81upx;
  68. height: 181.81upx;
  69. }
  70. }
  71. .zaiui-btn-view {
  72. position: relative;
  73. margin-top: 72.72upx;
  74. padding: 0 45.45upx;
  75. .cu-btn .icon {
  76. position: relative;
  77. font-size: 47.27upx;
  78. right: 9.09upx;
  79. top: -3.63upx;
  80. }
  81. }
  82. .zaiui-agreement-checked-view {
  83. position: relative;
  84. padding: 27.27upx 45.45upx;
  85. .zaiui-checked {
  86. position: absolute;
  87. transform: scale(0.7);
  88. }
  89. .text-black-view {
  90. padding-left: 54.54upx;
  91. line-height: 47.27upx;
  92. }
  93. }
  94. .zaiui-foot-ad-view {
  95. position: fixed;
  96. text-align: center;
  97. bottom: 72.72upx;
  98. width: 100%;
  99. }
  100. </style>