index.vue 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. <template>
  2. <view>
  3. <u-navbar :is-back="false" title=" " :border-bottom="false">
  4. <view class="u-flex u-row-right" style="width: 100%;">
  5. <view class="camera u-flex u-row-center">
  6. <u-icon name="camera-fill" color="#000000" size="48"></u-icon>
  7. </view>
  8. </view>
  9. </u-navbar>
  10. <view class="u-flex user-box u-p-l-30 u-p-r-20 u-p-b-30">
  11. <view class="u-m-r-10">
  12. <u-avatar :src="pic" size="140"></u-avatar>
  13. </view>
  14. <view class="u-flex-1">
  15. <view class="u-font-18 u-p-b-20">uView ui</view>
  16. <view class="u-font-14 u-tips-color">微信号:helang_uView</view>
  17. </view>
  18. <view class="u-m-l-10 u-p-10">
  19. <u-icon name="scan" color="#969799" size="28"></u-icon>
  20. </view>
  21. <view class="u-m-l-10 u-p-10">
  22. <u-icon name="arrow-right" color="#969799" size="28"></u-icon>
  23. </view>
  24. </view>
  25. <view class="u-m-t-20">
  26. <u-cell-group>
  27. <u-cell-item icon="rmb-circle" title="支付"></u-cell-item>
  28. </u-cell-group>
  29. </view>
  30. <view class="u-m-t-20">
  31. <u-cell-group>
  32. <u-cell-item icon="star" title="收藏"></u-cell-item>
  33. <u-cell-item icon="photo" title="相册"></u-cell-item>
  34. <u-cell-item icon="coupon" title="卡券"></u-cell-item>
  35. <u-cell-item icon="heart" title="关注"></u-cell-item>
  36. </u-cell-group>
  37. </view>
  38. <view class="u-m-t-20">
  39. <u-cell-group>
  40. <u-cell-item icon="setting" title="设置"></u-cell-item>
  41. </u-cell-group>
  42. </view>
  43. </view>
  44. </template>
  45. <script>
  46. export default {
  47. data() {
  48. return {
  49. pic:'https://uviewui.com/common/logo.png',
  50. show:true
  51. }
  52. },
  53. onLoad() {
  54. },
  55. methods: {
  56. }
  57. }
  58. </script>
  59. <style lang="scss">
  60. page{
  61. background-color: #ededed;
  62. }
  63. .camera{
  64. width: 54px;
  65. height: 44px;
  66. &:active{
  67. background-color: #ededed;
  68. }
  69. }
  70. .user-box{
  71. background-color: #fff;
  72. }
  73. </style>