You've already forked guangan-mp
1.0.0
This commit is contained in:
56
components/i-account/i-account.vue
Normal file
56
components/i-account/i-account.vue
Normal file
@ -0,0 +1,56 @@
|
||||
<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>
|
Reference in New Issue
Block a user