<template>
<view class="section">

  <view class="section_items">
    <view class="section_cont">
      <view class="section_cont_tel">
        <text class="left">姓名：</text>
        <text>{{member.name}}</text>
      </view>
    </view>
  </view>
  <view class="section_items">
    <view class="section_cont">
      <view class="section_cont_tel">
        <text class="left">手机：</text>
        <text>{{member.tel}}</text>

      </view>
    </view>
  </view>
  <!-- <view class="section_items">
    <view class="section_cont">
      <view class="section_cont_tel">
        <text class='left'>身份证：</text>
        <text>{{member.idCard}}</text>

      </view>
    </view>
  </view> -->

  <!-- <view class="section_items">
    <view class="section_cont">
      <view class="section_cont_tel">
        <text class='left'>性别：</text>
        <text wx:if="{{member.sex==1}}">男</text>
        <text wx:elif="{{member.sex==2}}">女</text>
        <text wx:else>未定义</text>
      </view>
    </view>
  </view> -->
</view>
</template>

<script>
//获取app实例
var app = getApp();

export default {
  data() {
    return {
      member: null
    };
  },

  components: {},
  props: {},

  /**
   * 生命周期函数--监听页面加载
   */
  onLoad: function () {
    this.setData({
      member: app.globalData.member
    });
  },
  methods: {}
};
</script>
<style>
/* pages/myHome/myHome.wxss */

.section {
  /* margin: 10rpx; */
  box-sizing: border-box;
  background: #fff;
  /* border-radius: 10rpx; */
}

.section_items {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 30rpx;
  border-bottom: 2rpx dashed #ddd;
  position: relative;

}
.section_items:last-child {
  border-bottom: none;
}

.section_items .section_cont view {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: block;
  text-align: left;
}
.section_items .section_cont .left {
  width: 130rpx;
  text-align: left;
  display: inline-block;
}
.section_items .section_cont .section_cont_sub {
  font-size: 30rpx;
  line-height: 50rpx;
  color: #000;
  margin-bottom: 10rpx;
}

.upload_bgImg{
  vertical-align: top;
  position: absolute;
  top: 50rpx;
  left: 50%;
  transform: translate(-50%,0);
}
.img_content{
  width:600rpx;
  height: 376rpx;
  margin-top: 20rpx;

}
.img_content image{
  width: 100%;
  height: 100%;
  max-height: 1;
  display: inline-block;
}

</style>