123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118 |
- <template>
- <dmDialog ref='popView' :isShowTitle="true" title="我的信息" :isShowClose="true" :isShowConfirm="false" >
- <view class="content">
- <image class="img_head" :src="userInfo.head" mode=""></image>
- <view class="item_info">
- <text class="info_title">用户名</text>
- <text class="info_name">{{userInfo.name}}</text>
- </view>
- <view class="item_info">
- <text class="info_title">性别</text>
- <text class="info_name">{{userInfo.sex}}</text>
- </view>
- <view class="item_info">
- <text class="info_title">手机</text>
- <text class="info_name">{{userInfo.phone}}</text>
- </view>
- <view class="item_info">
- <text class="info_title">证件号</text>
- <text class="info_name">{{userInfo.cardNo}}</text>
- </view>
- <view class="item_info">
- <text class="info_title">房间信息</text>
- <text class="info_name">{{userInfo.room}}</text>
- </view>
-
- </view>
- </dmDialog>
- </template>
- <script>
- let app = getApp();
- import dmDialog from "./dmDialog.vue"
- export default{
- props:{
- userInfo:{
- "userId": "",
- "name": null,
- "head": null,
- "curlevel": null,
- "curIncome": null,
- "nextLevel": null,
- "nextIncome": null,
- "ownersUnion": false,
- "totalIncome": null,
- "taskCount": null,
- "surplusTaskAmount": null,
- "cardNo":"",
- "phone":"",
- "room":"",
- "sex":""
- }
- },
- data(){
- return {
- }
- },
- methods:{
- show() {
- this.$refs.popView.show()
- },
- knowAction(){
- this.$refs.popView.hide()
- },
-
- },
- mounted() {
-
- },
-
- components:{
- dmDialog
- }
-
- }
- </script>
- <style scoped lang="scss">
- .content{
- width: 100%;
- margin-top: 30rpx;
- display: flex;
- flex-direction: column;
- align-items: center;
-
- .img_head{
- width: 168rpx;
- height: 168rpx;
- border-radius: 50%;
- margin-bottom: 76rpx;
- margin-top: 50rpx;
- }
- .item_info{
- width: 100%;
- display: flex;
- align-items: center;
- margin-bottom: 48rpx;
- padding-left: 60rpx;
- box-sizing: border-box;
- padding-right: 20rpx;
- .info_title{
- font-size: 28rpx;
- font-family: Verdana, Verdana-Regular;
- font-weight: 400;
- text-align: left;
- color: #b1b1b1;
- min-width: 200rpx;
- }
- .info_name{
- font-size: 28rpx;
- font-family: Verdana, Verdana-Regular;
- font-weight: 400;
- text-align: left;
- color: #262626;
- }
- }
- }
- </style>
|