76 lines
1.8 KiB
Vue
76 lines
1.8 KiB
Vue
<template>
|
|
<view>
|
|
<up-navbar :fixed="false" :is-back="false" title="个人中心" :border-bottom="false">
|
|
<view class="u-flex u-row-right" style="width: 100%;">
|
|
<view class="camera u-flex u-row-center">
|
|
<up-icon name="camera-fill" color="#000000" size="48"></up-icon>
|
|
</view>
|
|
</view>
|
|
</up-navbar>
|
|
<view class="u-flex u-flex-y-center u-flex-around user-box u-p-l-30 u-p-r-20 u-p-b-30">
|
|
<view class="u-m-r-10">
|
|
<up-avatar src="https://cdn.uviewui.com/uview/album/1.jpg" size="140"></up-avatar>
|
|
</view>
|
|
<view class="u-flex-1">
|
|
<view class="u-font-18 u-p-b-20">uview plus</view>
|
|
<view class="u-font-14 u-tips-color">微信号:test</view>
|
|
</view>
|
|
<view class="u-m-l-10 u-p-10">
|
|
<up-icon name="scan" color="#969799" size="28"></up-icon>
|
|
</view>
|
|
<view class="u-m-l-10 u-p-10">
|
|
<up-icon name="arrow-right" color="#969799" size="28"></up-icon>
|
|
</view>
|
|
</view>
|
|
|
|
<view class="u-m-t-20">
|
|
<up-cell-group>
|
|
<up-cell icon="rmb-circle" title="支付"></up-cell>
|
|
</up-cell-group>
|
|
</view>
|
|
|
|
<view class="u-m-t-20">
|
|
<up-cell-group>
|
|
<up-cell icon="star" title="收藏"></up-cell>
|
|
<up-cell icon="photo" title="相册"></up-cell>
|
|
<up-cell icon="coupon" title="卡券"></up-cell>
|
|
<up-cell icon="heart" title="关注"></up-cell>
|
|
</up-cell-group>
|
|
</view>
|
|
|
|
<view class="u-m-t-20">
|
|
<up-cell-group>
|
|
<up-cell icon="setting" title="设置"></up-cell>
|
|
</up-cell-group>
|
|
</view>
|
|
</view>
|
|
</template>
|
|
|
|
<script setup>
|
|
import { ref } from "vue";
|
|
|
|
const pic = ref('');
|
|
const show = ref(true)
|
|
</script>
|
|
|
|
<style lang="scss">
|
|
page{
|
|
background-color: #ededed;
|
|
}
|
|
|
|
.camera{
|
|
width: 54px;
|
|
height: 44px;
|
|
|
|
&:active{
|
|
background-color: #ededed;
|
|
}
|
|
}
|
|
.user-box{
|
|
background-color: #fff;
|
|
}
|
|
.u-cell-group {
|
|
background-color: #fff;
|
|
}
|
|
</style>
|