You've already forked guangan-mp
56 lines
919 B
Vue
56 lines
919 B
Vue
<template>
|
|
<view>
|
|
<view class="flex align-center py-3 " >
|
|
<view class="flex-1 flex align-center">
|
|
<image src="/static/avatar.png" style="width: 120rpx;height: 120rpx;"
|
|
class="rounded-circle mr-2"></image>
|
|
<view class="flex-1">
|
|
<view class="font34">小王</view>
|
|
<view class="font28 mt-2 text-muted">187****0002</view>
|
|
</view>
|
|
</view>
|
|
<uni-icons type="right" size="18" color="#333333" ></uni-icons>
|
|
</view>
|
|
|
|
</view>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
name: "i-account",
|
|
props: {
|
|
avatar: {
|
|
type: String,
|
|
default () {
|
|
return '/static/avatar.png';
|
|
},
|
|
},
|
|
nickname: {
|
|
type: String,
|
|
default () {
|
|
return null;
|
|
},
|
|
},
|
|
userid: {
|
|
type: String,
|
|
default () {
|
|
return null;
|
|
},
|
|
},
|
|
},
|
|
data() {
|
|
return {
|
|
|
|
};
|
|
},
|
|
methods: {
|
|
toShow() {
|
|
console.log('链接')
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style>
|
|
|
|
</style> |