ソースを参照

fix:登录静态页面

jianghaili 3 週間 前
コミット
1e734418cf

+ 140 - 0
pages/my/jobApplicant/login.vue

@@ -0,0 +1,140 @@
+<template>
+  <view class="login">
+    <view class="logo-box">
+      <image src="@/static/images/jobApplicant/logo.svg" mode="scaleToFill" />
+    </view>
+    <view class="login-btn-box">
+      <view class="login-btn wechat"
+        ><image src="@/static/images/jobApplicant/wechat.svg" mode="scaleToFill" />
+        微信登录</view
+      >
+      <view class="login-btn password"
+        ><image
+          src="@/static/images/jobApplicant/password.svg"
+          mode="scaleToFill"
+        />账号密码登录</view
+      >
+      <view class="login-btn phone"
+        ><image
+          src="@/static/images/jobApplicant/phone.svg"
+          mode="scaleToFill"
+        />手机验证码登录</view
+      >
+      <view class="txt-desc">
+        <view class="check-box" @click="isArgee">
+          <image
+            src="@/static/images/jobApplicant/check.svg"
+            v-if="argee"
+            mode="scaleToFill"
+          />
+          <image
+            src="@/static/images/jobApplicant/border.svg"
+            v-else
+            mode="scaleToFill"
+          />
+        </view>
+        已阅读并同意<text>《亿职赞用户协议》</text>
+        和<text>《隐私协议》</text>,允许亿职赞统一管理本人账号信息
+      </view>
+    </view>
+  </view>
+</template>
+<script>
+export default {
+  data() {
+    return {
+      argee: false, //同意协议
+    };
+  },
+  /**
+   *
+   */
+  methods: {
+    isArgee() {
+      this.argee = !this.argee;
+    },
+  },
+};
+</script>
+<style lang="scss" scoped>
+.login {
+  position: absolute;
+  left: 0;
+  right: 0;
+  top: 0;
+  bottom: 0;
+  display: flex;
+  flex-direction: column;
+  .logo-box {
+    flex: 1;
+    display: flex;
+    justify-content: center;
+    align-items: center;
+    image {
+      width: 160rpx;
+      height: 160rpx;
+    }
+  }
+  .login-btn-box {
+    flex-shrink: 0;
+    padding: 0 32rpx;
+    padding-bottom: 160rpx;
+    box-sizing: border-box;
+    .login-btn {
+      padding: 20rpx;
+      box-sizing: border-box;
+      border-radius: 100rpx;
+      color: rgba(255, 255, 255, 1);
+      font-family: DM Sans;
+      font-size: 32rpx;
+      font-weight: 400;
+      line-height: 44rpx;
+      display: flex;
+      justify-content: center;
+      align-items: center;
+      margin-bottom: 16rpx;
+      image {
+        width: 28rpx;
+        height: 28rpx;
+        margin-right: 20rpx;
+      }
+    }
+    .wechat {
+      background: linear-gradient(
+        90deg,
+        rgba(13, 39, 247, 1),
+        rgba(19, 193, 234, 1) 100%
+      );
+    }
+    .password {
+      background: rgba(1, 107, 246, 1);
+    }
+    .phone {
+      background: #99c4fa;
+    }
+  }
+  .txt-desc {
+    font-family: DM Sans;
+    font-size: 16rpx;
+    font-weight: 400;
+    letter-spacing: 0%;
+    text-align: left;
+    display: flex;
+    align-items: center;
+    color: #605d67;
+    text {
+      color: #016bf6;
+    }
+    .check-box {
+      display: flex;
+      justify-content: center;
+      align-items: center;
+      margin-right: 16rpx;
+      image {
+        width: 24rpx;
+        height: 24rpx;
+      }
+    }
+  }
+}
+</style>

+ 1 - 0
static/images/jobApplicant/border.svg

@@ -0,0 +1 @@
+<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1758536284686" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4954" xmlns:xlink="http://www.w3.org/1999/xlink" width="32" height="32"><path d="M512 65.98144c-245.91872 0-446.01856 200.09472-446.01856 446.01856 0 245.95456 200.064 446.01856 446.01856 446.01856s446.01856-200.064 446.01856-446.01856c0-245.91872-200.064-446.01856-446.01856-446.01856z m0 828.03712c-210.65728 0-382.01856-171.392-382.01856-382.01856 0-210.65728 171.36128-382.01856 382.01856-382.01856 210.62656 0 382.01856 171.36128 382.01856 382.01856 0 210.62656-171.392 382.01856-382.01856 382.01856z" p-id="4955" fill="#bfbfbf"></path></svg>

+ 1 - 0
static/images/jobApplicant/check.svg

@@ -0,0 +1 @@
+<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1758536262317" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4764" xmlns:xlink="http://www.w3.org/1999/xlink" width="32" height="32"><path d="M512.2 64.2c-247.4 0-448 200.6-448 448s200.6 448 448 448 448-200.6 448-448-200.6-448-448-448zM709 445.6L474.4 632.4c-14.7 11.7-35.9 9.5-48-4.7-0.5-0.3-1-0.6-1.4-1L310.4 543c-15.5-11.3-18.8-33-7.5-48.5s33-18.8 48.5-7.5l101.3 74.1 213.2-169.7c15-11.9 36.8-9.5 48.7 5.5 11.8 14.9 9.4 36.8-5.6 48.7z" p-id="4765" fill="#1989FA"></path></svg>