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.

100 lines
1.9 KiB

4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
  1. <template>
  2. <view class="content">
  3. <view class="padding">
  4. <view class="userInfo flex" @click="$goPage('/pages/subPage/login/login')">
  5. <view class="avatar">
  6. <!-- <image src="../../../static/images/homebanner3.png" mode=""></image> -->
  7. </view>
  8. <view class="name">登录/注册</view>
  9. </view>
  10. <view class="card">
  11. <view class="li flex-b" v-for="(item,index) in configList" :key="index">
  12. <view class="text">{{ item.text }}</view>
  13. <u-icon name="arrow-right"></u-icon>
  14. </view>
  15. <view class="li flex-b" >
  16. <button type="default" open-type="contact" class="cotact">联系客服</button>
  17. <view class="text">联系客服</view>
  18. <u-icon name="arrow-right"></u-icon>
  19. </view>
  20. </view>
  21. </view>
  22. </view>
  23. </template>
  24. <script >
  25. export default {
  26. data() {
  27. return {
  28. configList: [
  29. {text: '用户协议', url: ''},
  30. {text: '隐私政策', url: ''},
  31. ]
  32. }
  33. }
  34. }
  35. </script>
  36. <style lang="scss" scoped>
  37. image {
  38. display: block;
  39. width: 100%;
  40. height: 100%;
  41. }
  42. .content {
  43. width: 100%;
  44. background: url('../../../static/images/minebg.png') #F5F5F5 no-repeat;
  45. background-size: 100% 552rpx;
  46. min-height: 100vh;
  47. .userInfo {
  48. padding: 200rpx 0 40rpx 0;
  49. .avatar {
  50. width: 114rpx;
  51. height: 114rpx;
  52. background: url('../../../static/images/avatar.png') #F5F5F5 no-repeat;
  53. background-size: 100% 100%;
  54. border-radius: 50%;
  55. overflow: hidden;
  56. }
  57. .name {
  58. margin-left: 30rpx;
  59. font-size: 34rpx;
  60. font-weight: 700;
  61. color: #fff;
  62. }
  63. }
  64. .card {
  65. background: #FFFFFF;
  66. border-radius: 14rpx;
  67. padding: 0 30rpx;
  68. .li {
  69. width: 100%;
  70. height: 108rpx;
  71. border-bottom: 1px solid #EFEFEF;
  72. position: relative;
  73. .cotact {
  74. position: absolute;
  75. left: 0;
  76. right: 0;
  77. top: 0;
  78. opacity: 0;
  79. }
  80. &:last-child {
  81. border: none;
  82. }
  83. .text {
  84. font-size: 28rpx;
  85. }
  86. u-icon {
  87. }
  88. }
  89. }
  90. }
  91. </style>