<template>
  <view class="app-content">
    <view class="header"><view class="log" @tap="clickOrder"></view>{{ navname }}<view class="up">完成</view></view>
    <view class="cont">
      <view class="photograph">
				<view class="log"></view>
			</view>
    </view>
    <view class="content">
      <view class="list">
        <p>名称</p>
        <input  class="input"  name="yonghuming"  type="text" value=""  placeholder-style="font-size:.8125rem;color:rgb(197, 197, 197);" placeholder="请输入名称" />
      </view>
      <view class="list">
        <p>工号</p>
        <input  class="input"  name="yonghuming"  type="text" value=""  placeholder-style="font-size:.8125rem;color:rgb(197, 197, 197);" placeholder="请输入工号" />
      </view>
    </view>
    <view class="butele">退出登录</view>
  </view>
</template>
<script>
	import Nav from '../../components/header/nav.vue'
	export default {
		data() {
			return {
				navname: '个人信息',
			}
		},
		created(option) {
		},
		onLoad(){
		},
		onUnload() {
		},
		onShow() {
		},
		mounted() {
		},
		components: {
			Nav
		},
		methods: {
			clickOrder () {
				uni.switchTab({
					url: "/pages/mypage/index"
				})
			},
		},
	}
</script>
<style lang="scss" scoped>
  .app-content{
    >.header{
      width: 100%;
      height: 4.375rem;
      display: flex;
      justify-content: center;
      align-items: center;
      // background: rgba(49,85,99,1);
      color: rgb(16, 17, 22);
      font-family: Noto Sans SC;
      font-size: 1rem;
      position: relative;
      >.log{
        width: .375rem;
        height: .75rem;
        font-size: .75rem;
        position: absolute;
        left: 1.5rem;
        background: url('../../static/ico@1x.png') no-repeat;
        background-size: 100% 100%;
      }
      >.up{
        position: absolute;
        right: 1.5rem;
        color: rgb(37, 121, 160);
        font-family: Noto Sans SC;
        font-size: .875rem;
        font-weight: 500;
      }
    }
    >.cont{
      >.photograph{
        width: 6rem;
        height: 6rem;
        background: rgb(197, 207, 211);
        // background: red;
        border-radius: 50%;
        margin: 0 auto;
        margin-top: .625rem;
        display: flex;
        align-items: center;
        justify-content: center;
        >.log{
          width: 1.75rem;
          height: 1.75rem;
          background: url('../../static/shi.png') no-repeat;
          background-size: 100% 100%;
        }
      }
    }
    >.content{
      margin-left: 1.5rem;
      margin-top: 2.125rem;
      margin-bottom: 3rem;
      >.list{
        height: 3.375rem;
        display: flex;
        align-items: center;
        border-bottom: 1px solid rgb(238, 238, 238);
        >p{
          color: rgb(0, 0, 0);
          font-family: Noto Sans SC;
          font-size: .8125rem;
          font-weight: 500;
          margin-right: 2.1875rem;
        }
      }
    }
    >.butele{
      width: 20.5625rem;
      height: 2.75rem;
      background: linear-gradient(165.96deg, rgba(248.17,101.23,53.02,1) -34%,rgba(231.09,13.66,13.66,1) 166%);
      border-radius: 4px;
      margin: 0 auto;
      display: flex;
      align-items: center;
      justify-content: center;
      color: rgb(255, 255, 255);
      font-family: Noto Sans SC;
      font-size: 1rem;
      font-weight: 700;
    }
  }
</style>