feat: stylist&customer&sex页面
This commit is contained in:
74
src/views/stylist/customer.vue
Normal file
74
src/views/stylist/customer.vue
Normal file
@@ -0,0 +1,74 @@
|
||||
<template>
|
||||
<div class="customer-container safe-area-top" :class="{'form-mode': pageMode === 'form'}">
|
||||
<template v-if="pageMode === 'entry'">
|
||||
<div class="setting flex flex-between">
|
||||
<van-icon name="arrow-left" color="#fff" size="70" />
|
||||
<SvgIcon name="setting" color="#fff" size="70" style="width: 7rem" />
|
||||
</div>
|
||||
<div class="content flex flex-center flex-column">
|
||||
<div class="text">Who is Your Customer?</div>
|
||||
</div>
|
||||
<div class="entry-btn flex flex-center" @click="handleChangeMode('form')">Entry</div>
|
||||
</template>
|
||||
</div>
|
||||
</template>
|
||||
<script setup lang="ts">
|
||||
import { ref } from 'vue'
|
||||
type PageMode = 'form' | 'entry'
|
||||
const pageMode = ref<PageMode>('entry')
|
||||
|
||||
const handleChangeMode = (mode: PageMode) => {
|
||||
pageMode.value = mode
|
||||
}
|
||||
</script>
|
||||
<style lang="less" scoped>
|
||||
.customer-container {
|
||||
height: 100vh;
|
||||
overflow: hidden;
|
||||
color: #fff;
|
||||
position: relative;
|
||||
background: url('@/assets/images/no_shouder_bg.png') no-repeat center center;
|
||||
background-size: cover;
|
||||
background-position: center;
|
||||
background-repeat: no-repeat;
|
||||
padding-top: 12.17rem;
|
||||
&.form-mode {
|
||||
background: url('@/assets/images/has_shouder_bg.png') no-repeat center center;
|
||||
}
|
||||
|
||||
.setting {
|
||||
z-index: 1;
|
||||
padding: 3.17rem 4.9rem 0 8.4rem;
|
||||
}
|
||||
.content {
|
||||
margin-top: 55.3rem;
|
||||
.text {
|
||||
font-family: 'satoshiBold';
|
||||
font-size: 13rem;
|
||||
line-height: 112.99%;
|
||||
text-align: center;
|
||||
letter-spacing: 2;
|
||||
}
|
||||
.start-btn {
|
||||
font-size: 5.6rem;
|
||||
width: 32.5rem;
|
||||
height: 8.1rem;
|
||||
border: 2px solid #fff;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border-radius: 4rem;
|
||||
}
|
||||
}
|
||||
.entry-btn {
|
||||
position: absolute;
|
||||
border: 2px solid #fff;
|
||||
bottom: 10.3rem;
|
||||
right: 5.5rem;
|
||||
height: 9rem;
|
||||
width: 27.5rem;
|
||||
line-height: 9rem;
|
||||
font-size: 5.6rem;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user