<template>
  <div class="main_root">
    <div class="header">
      <div class="comm">开机自动强制启动某个APP</div>
      <div class="comm">仅支持选择一个APP</div>
    </div>
    <div class="content">
      <Form ref="addForm" :model="adminInfo" :label-width="140" inline>
        <FormItem label="开机启动应用包名" style="width: 100%">
          <Input
            v-model="adminInfo.name"
            placeholder="请输入开机启动应用包名"
          ></Input>
        </FormItem>
        <FormItem label="页面地址" style="width: 100%">
          <Input v-model="adminInfo.name" placeholder="请输入页面地址"></Input>
        </FormItem>
        <FormItem label="约定标识" style="width: 100%">
          <RadioGroup v-model="adminInfo.whited">
            <Radio :label="1">账号</Radio>
            <Radio :label="0">学号</Radio>
            <Radio :label="1">手机号码</Radio>
            <Radio :label="0">身份证号码</Radio>
          </RadioGroup>
        </FormItem>
      </Form>
    </div>
    <div class="footer">
      <Button style="margin-right: 20px" @click="Refresh()">取消</Button>
      <Button @click="saveInfo()" class="primary_btn" type="primary"
        >保存</Button
      >
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {
      adminInfo: {}
    };
  },
  methods: {}
};
</script>

<style lang="less" scoped>
.main_root {
  position: relative;
  padding: 40px 100px;
  .header {
    margin-top: 10px;
    width: 100%;
    height: 92px;
    border-radius: 8px;
    border: 1px dashed #ced9f2;
    background-color: #f1f6fc;
    padding: 6px 0;
    .comm {
      padding-left: 20px;
      height: 40px;
      line-height: 40px;
    }
  }
  .content {
    width: 500px;
    margin: 100px auto 40px;
  }
  .footer {
    text-align: center;
  }
}
</style>
