1
jhzh
2025-04-21 067883c72b282546402064eb1b78d8618d45b74d
src/page/login/register.vue
@@ -11,12 +11,34 @@
            :placeholder="placeholder"
            size="medium"
            v-model="phone"
            maxlength="10"
            clearable
            @input="handleInput()"
          >
            <template slot="prepend">+91</template>
          </el-input>
          <!-- <el-input style="margin-top: 0.46rem;" :placeholder="verification" :size="medium" v-model="code" clearable>
          </el-input> -->
          <!-- 添加发送验证码的输入框和按钮 -->
          <div style="margin-top: 0.46rem; display: flex; align-items: center;">
            <el-input
              style="flex-grow: 1;"
              :placeholder="$t('验证码')"
              size="medium"
              v-model="verificationCode"
              maxlength="6"
              clearable
              @input="handleInput()"
            >
            </el-input>
            <el-button
              style="margin-left: 0.2rem;"
              :disabled="isCounting"
              @click="sendVerificationCode"
            >
              {{ isCounting ? `${countdown}秒后重试` : '发送验证码' }}
            </el-button>
          </div>
          <el-input
            style="margin-top: 0.46rem"
            show-password
@@ -26,6 +48,7 @@
            @input="handleInput()"
          >
          </el-input>
          <el-input
            style="margin-top: 0.46rem"
            show-password
@@ -35,6 +58,7 @@
            @input="handleInput()"
          >
          </el-input>
          <el-input
            style="margin-top: 0.46rem"
            :placeholder="$t('hj21')"
@@ -52,7 +76,7 @@
          <van-checkbox v-model="checked">{{
            $t("我已閱讀並同意")
          }}</van-checkbox>
          <span style="color: rgb(5, 106, 239)">{{
          <span @click="gotoxy" style="color: rgb(5, 106, 239)">{{
            $t("《用戶服務協議》")
          }}</span>
        </div>
@@ -108,6 +132,9 @@
      : "";
  },
  methods: {
    gotoxy(){
      this.$router.push("/help_fwxy");
    },
    handleInput() {
      if (
        this.userPassword !== "" &&
@@ -122,7 +149,7 @@
    },
    async gook() {
      if (isNull(this.phone)) {
      if (this.phone.length == 0) {
        Notify({ type: "warning", message: this.$t("hj28") });
      } else if (isNull(this.userPassword)) {
        Notify({ type: "warning", message: this.$t("hj30") });
@@ -171,8 +198,8 @@
  font-size: 0.37333rem;
  color: #8c9fad;
  text-align: center;
  margin: 0 auto;
  margin-top: 10px;
  margin: 20px auto;
  // margin-top: 10px;
}
.radio-con {
  margin-top: 0.32rem;
@@ -273,7 +300,7 @@
      height: 70px;
      background-color: rgb(246, 246, 247) !important;
      // background: #1e1e1e;
      border-radius: 8px;
      // border-radius: 8px;
      font-size: 0.45rem !important;
      border: none;
    }
@@ -435,6 +462,11 @@
/deep/.el-input__clear {
  font-size: 0.5rem !important;
}
/deep/ .el-input-group__prepend {
  border: none !important;
  border-radius: 0 !important;
  font-size: 0.45rem !important;
}
.on .top_btn {
  background: #2d8cf0 !important;