"use strict";const u=require("../helper/test.js"),o={rules:[{required:!0,errorMessage:"请输入手机号"},{validateFunction:function(t,e,s,r){return u.test.mobile(e)||r("手机号码格式不正确"),!0}}]},i={rules:[{required:!0,errorMessage:"请输入密码"},{validateFunction:function(t,e,s,r){return/^(?![0-9]+$)(?![a-zA-Z]+$)[0-9A-Za-z]+\S{5,12}$/.test(e)||r("需包含字母和数字,长度在6-12之间"),!0}}]},a={rules:[{required:!0,errorMessage:"请输入验证码"}]};exports.code=a;exports.mobile=o;exports.password=i;