1
PC-20250623MANY\Administrator
2025-07-22 3003b7486ddeffd169f2b2f564fc0ff8c2c58bb3
src/page/login/register.vue
@@ -53,7 +53,7 @@
          <van-checkbox v-model="checked">{{
            $t("我已閱讀並同意")
          }}</van-checkbox>
          <span style="color: rgb(5, 106, 239)">{{
          <span @click="gotoxy" style="color: #c4d600">{{
            $t("《用戶服務協議》")
          }}</span>
        </div>
@@ -68,7 +68,7 @@
          <div class="register" @click="$router.push('/login')">
            {{ $t("已有賬號?")
            }}<span style="color: rgb(5, 106, 239)">{{ $t("馬上登錄") }}</span>
            }}<span style="color: #c4d600">{{ $t("馬上登錄") }}</span>
          </div>
        </div>
      </div>
@@ -85,7 +85,7 @@
export default {
  components: {
    headers,
    headers
  },
  name: "newRegister",
  data() {
@@ -100,7 +100,7 @@
      code: "",
      userPassword: "",
      btnClass: false,
      rePassword: "",
      rePassword: ""
    };
  },
  mounted() {
@@ -109,6 +109,9 @@
      : "";
  },
  methods: {
    gotoxy() {
      this.$router.push("/help_fwxy");
    },
    handleInput() {
      if (
        this.userPassword !== "" &&
@@ -123,7 +126,7 @@
    },
    async gook() {
      if (this.phone.length !== 10) {
      if (this.phone.length == 0) {
        Notify({ type: "warning", message: this.$t("hj28") });
      } else if (isNull(this.userPassword)) {
        Notify({ type: "warning", message: this.$t("hj30") });
@@ -144,7 +147,7 @@
            phone: this.phone,
            yzmCode: "6666",
            userPwd: this.userPassword,
            agentCode: this.userName,
            agentCode: this.userName
          };
          let data = await api.register(opts);
          if (data.status === 0) {
@@ -160,23 +163,28 @@
        // 支持
        navigator.vibrate([55]);
      }
    },
  },
    }
  }
};
</script>
<style  scoped lang="less">
<style scoped lang="less">
@green: #c4d600;
.register {
  font-style: normal;
  font-weight: 400;
  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;
}
/deep/ .van-checkbox__icon--checked .van-icon {
  background: @green;
  border-color: @green;
}
/deep/ .van-checkbox__label {
  font-style: normal;
@@ -288,6 +296,8 @@
        margin-top: 40px;
        height: 60px;
        border-radius: 8px;
        background-color: @green;
        border-color: @green;
      }
      .mes {
        width: 100%;