|
@@ -40,7 +40,7 @@ function submit() {
|
|
|
|
|
|
// lifecycle
|
|
|
onMounted(() => {
|
|
|
- console.log('onMounted');
|
|
|
+ console.log("onMounted");
|
|
|
});
|
|
|
</script>
|
|
|
|
|
@@ -95,16 +95,58 @@ onMounted(() => {
|
|
|
}}</router-link>
|
|
|
</p>
|
|
|
|
|
|
- <v-btn
|
|
|
- rounded="pill"
|
|
|
- color="primary"
|
|
|
- @click.prevent="submit"
|
|
|
- class="login-btn"
|
|
|
- >
|
|
|
- {{ t("loginLink") }}
|
|
|
- </v-btn>
|
|
|
+ <div class="d-flex flex-column">
|
|
|
+ <v-btn
|
|
|
+ rounded="pill"
|
|
|
+ color="primary"
|
|
|
+ @click.prevent="submit"
|
|
|
+ class="login-btn"
|
|
|
+ >
|
|
|
+ {{ t("loginLink") }}
|
|
|
+ </v-btn>
|
|
|
+
|
|
|
+ <section class="line">
|
|
|
+ <p> 快速登入 </p>
|
|
|
+ <span></span>
|
|
|
+ </section>
|
|
|
+
|
|
|
+ <v-btn rounded="pill" @click.prevent="submit" class="google-btn">
|
|
|
+ <img src="@/assets/img/google.png" alt="" />
|
|
|
+ 以 Google 帳號登入
|
|
|
+ </v-btn>
|
|
|
+ </div>
|
|
|
</v-form>
|
|
|
</v-col>
|
|
|
</v-row>
|
|
|
</v-container>
|
|
|
</template>
|
|
|
+
|
|
|
+<style lang="scss" scoped>
|
|
|
+.line {
|
|
|
+ margin-top: 50px;
|
|
|
+ display: flex;
|
|
|
+ justify-content: center;
|
|
|
+ position: relative;
|
|
|
+ p {
|
|
|
+ position: relative;
|
|
|
+ z-index: 1;
|
|
|
+ color: #888888;
|
|
|
+ background-color: #fff;
|
|
|
+ }
|
|
|
+ span {
|
|
|
+ display: block;
|
|
|
+ border-top: 1px solid #888888;
|
|
|
+ width: 280px;
|
|
|
+ position: absolute;
|
|
|
+ bottom: 12px;
|
|
|
+ }
|
|
|
+}
|
|
|
+.google-btn {
|
|
|
+ margin-top: 20px;
|
|
|
+ background-color: #fff;
|
|
|
+ img {
|
|
|
+ width: 20px;
|
|
|
+ margin-right: 10px;
|
|
|
+ }
|
|
|
+}
|
|
|
+</style>
|