<?php

/* ========================================================================
 * $Id: admin.php 919 2020-07-07 12:44:56Z onez $
 * 
 * Email: www@onez.cn
 * QQ: 6200103
 * HomePage: http://www.onez.cn
 * ========================================================================
 * Copyright 2016-2017 佳蓝科技.
 * 
 * ======================================================================== */

!defined('IN_ONEZ') && exit('Access Denied');
# 设置超级管理员
# admin
#请求数据
if($MODE=='$post'){
  $action=onez()->gp('action');
  if($action=='data'){
    $items=array();
    $A['items']=$items;
  }
  return;
}
?>
<van-form @submit="onSubmit">
  <van-field
    v-model="mydata.username"
    name="username"
    label="超级管理账号"
    placeholder="超级管理账号"
  />
  <van-field
    v-model="mydata.password"
    name="password"
    label="超级管理密码"
    placeholder="超级管理密码"
  />
  <van-field
    v-model="mydata.password2"
    name="password2"
    label="确认管理密码"
    placeholder="请再输入一次超级管理密码"
  />
  <div class="btns">
    <van-button type="primary" @click="prev" native-type="button">上一步</van-button>
    <van-button type="primary" :disabled="error>0" native-type="submit">下一步</van-button>
  </div>
</van-form>