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.

101 lines
2.3 KiB

4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
  1. <template>
  2. <view class="content" :style="{background:'url('+topBgUrl+') #F5F5F5 no-repeat', backgroundSize: '100% 552rpx' }">
  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" @click="$goPage(item.url)">
  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 setup>
  25. import siteObj from '@/config/site.config.js'
  26. const {imgUrl} = siteObj
  27. const topBgUrl = imgUrl + 'minebg.png'
  28. console.log('topBgUrl')
  29. console.log(topBgUrl)
  30. import { ref } from 'vue'
  31. const configList = ref([
  32. {text: '用户协议', url: '/pages/subPage/privacyAgreement/privacyAgreement?type=1'},
  33. {text: '隐私政策', url: '/pages/subPage/privacyAgreement/privacyAgreement?type=2'},
  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('http://47.96.82.242/htmls/bigImg/minebg.png') #F5F5F5 no-repeat;
  45. min-height: 100vh;
  46. .userInfo {
  47. padding: 200rpx 0 40rpx 0;
  48. .avatar {
  49. width: 114rpx;
  50. height: 114rpx;
  51. background: url('../../../static/images/avatar.png') #F5F5F5 no-repeat;
  52. background-size: 100% 100%;
  53. border-radius: 50%;
  54. overflow: hidden;
  55. }
  56. .name {
  57. margin-left: 30rpx;
  58. font-size: 34rpx;
  59. font-weight: 700;
  60. color: #fff;
  61. }
  62. }
  63. .card {
  64. background: #FFFFFF;
  65. border-radius: 14rpx;
  66. padding: 0 30rpx;
  67. .li {
  68. width: 100%;
  69. height: 108rpx;
  70. border-bottom: 1px solid #EFEFEF;
  71. position: relative;
  72. .cotact {
  73. position: absolute;
  74. left: 0;
  75. right: 0;
  76. top: 0;
  77. opacity: 0;
  78. }
  79. &:last-child {
  80. border: none;
  81. }
  82. .text {
  83. font-size: 28rpx;
  84. }
  85. u-icon {
  86. }
  87. }
  88. }
  89. }
  90. </style>