_微信小程序注册页面ui">
当前位置:   article > 正文

微信小程序个人信息中心的前端ui实现_微信小程序注册页面ui

微信小程序注册页面ui

微信小程序个人信息中心的前端ui实现

效果图
在这里插入图片描述
代码:
wxml

<view class="view_contain">
    <!-- 第一部分 -->
    <view class="view_1">
        <view class="view_image_text">
            <image class="image_radius" src="../static/image/资产借用.png" />
            <text>张三</text>
        </view>
    </view>
    <!-- 第二部分 -->
    <view class="hr"></view>
    <view class='itemContent'>

        <view class="title">
            <!--原生方法-可选icon-->
            <image src="../static/image/查看.png"></image>
            手机绑定
        </view>
        <view class="detail">
            <text>></text>
        </view>
    </view>
    <view class="line"></view>
    <view class='itemContent'>
        <view class="title">
          <!-- 利用vant ui组件 -->
            <van-icon name="orders-o"size="60rpx"  style="margin-right: 10rpx; color: rgb(251, 90, 26);"/>
            <text>修改内容</text>
        </view>
        <view class="detail">
            <text>></text>
        </view>
    </view>
    <!-- 第三部分 -->
    <view class="item2">
        <view class='itemContent'>
        
            <view class="title">
                <van-icon name="setting-o"size="60rpx"  style="margin-right: 10rpx; color: rgba(235, 174, 9, 0.924);"/>设置</view>
            <view class="detail">
                <text>></text>
            </view>
        </view>
    </view>
</view>
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44

wcss部分:

/* pages/personMessages/index.wxss *//* 使用page就是为了保证  满屏 */

page {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
  }
  
  .view_contain {
    width: 100%;
    height: 100%;
    background: #f0eeed
  }
  
  /* 第一部分 */
  
  .view_1 {
    display: flex;
    justify-content: center;
    width: 100%;
    height: 30%;
    background-image: linear-gradient(to top, #4481eb 0%, #04befe 100%);

  }
  
  .view_image_text {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
  
  }
  
  .image_radius {
    height: 200rpx;
    width: 200rpx;
    border-radius: 120rpx;
  }
  

/*间隔线*/
  .hr { 
    width: 100%;
    height: 15px;
    background-color: #f4f5f6;
  }
  
  .itemContent {
    display: flex;
    flex-direction: row;
    background: #ffffff;
    height: 120rpx;
  }
  
  .title {
    display: flex;
    padding-top: 15px;
    padding-bottom: 15px;
    padding-left: 15px;
    font-size: 15px;
  }
  
  .title image{
  height: 100%;
  width: 60rpx;
  margin-right:10rpx;
  }
  
  .detail{
    font-size: 15px;
    position: absolute;
    right: 10px;
    height: 50px;
    line-height: 50px;
    color: #888;
    
  }
  
  .line {
    border: 0.5rpx solid #cccccc;
    opacity: 0.6;
  }
  .item2 {
  margin-top: 30rpx;
  }
  
 
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89

还可以吧点赞欧克?

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/羊村懒王/article/detail/523529
推荐阅读
相关标签