交易所前端蓝色ui 4.5 jiem
lxf
2025-04-18 02a3d94d359b34e915f34abec024cbc1504a6a7c
src/views/login/register.vue
@@ -10,12 +10,18 @@
          </div>
          <!-- 选择 手机 邮箱 账户 -->
          <div class="css-62gygx">
            <div
            <!-- <div
              class="css-ov54vn"
              style="margin-bottom: 20px"
              v-for="(val, index) in funcArr"
              :key="index"
              @click="clickChange(index)"
            > -->
            <div
              class="css-ov54vn"
              style="margin-bottom: 20px"
              v-for="(val, index) in funcArr"
              :key="index"
            >
              <div
                :class="[recordActive == index ? 'active' : '', 'css-1cahv52']"
@@ -183,7 +189,8 @@
const countryCodeStore = useCountryCodeStore();
const userStore = useUserStore();
const { t } = useI18n();
const funcArr = [t("shoujihao"), t("youxiang"), t("zhanghao")];
// const funcArr = [t("shoujihao"), t("youxiang"), t("zhanghao")];
const funcArr = [t("youxiang")];
const register = ref({
  username: "",
  password: "",
@@ -196,7 +203,7 @@
const ImageVerRef = ref(null);
const isDisabaled = ref(false);
const type = ref("");
const recordActive = ref(2); //注册方式
const recordActive = ref(1); //注册方式
const VeriCode = ref(t("message.user.huoquyanzhengma"));
const subPwd = ref("");
@@ -309,10 +316,12 @@
      Axios.resgister({
        username: account,
        password,
        re_password: password,
        verifcode,
        usercode,
        safeword,
        type: type.value,
        re_safeword: safeword,
        type: type.value || 2,
      }).then((res) => {
        // 注册成功,存储账户信息
        if (res.code == 0) {
@@ -366,6 +375,7 @@
    Axios.getVeriCode({
      target,
      areacode: "",
      token: "b85c3b24d6174904a9f20dbc393464bb",
    }).then((res) => {
      if (res.code == "0") {
        ElMessage.success(t("yanzhengmafasongchenggong"));