|
@@ -0,0 +1,374 @@
|
|
|
+<template>
|
|
|
+ <div class="page">
|
|
|
+ <div class="page-top flex flex-col justify-center items-center">
|
|
|
+ <div class="club-logo">
|
|
|
+ <img src="https://picsum.photos/120/120" alt="" />
|
|
|
+ </div>
|
|
|
+ <div class="club-mobile">15818799636</div>
|
|
|
+ <div class="club-name">机构:晨美国际美容</div>
|
|
|
+ </div>
|
|
|
+ <div class="page-content">
|
|
|
+ <div class="section-title">我的认证</div>
|
|
|
+ <div class="section-content">
|
|
|
+ <div class="item club" @click="onToClubDetail">
|
|
|
+ <div class="auth-icon auth">已认证</div>
|
|
|
+ <div class="tip">机构认证</div>
|
|
|
+ <div class="btn">
|
|
|
+ 点击查看<span class="icon el-icon-arrow-right"></span>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="item device" @click="onToDeviceList">
|
|
|
+ <div class="auth-icon un-auth">未认证</div>
|
|
|
+ <div class="tip">设备认证</div>
|
|
|
+ <div class="btn">
|
|
|
+ 点击查看<span class="icon el-icon-arrow-right"></span>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="line"></div>
|
|
|
+ <template v-if="isPc">
|
|
|
+ <div class="section-title">账户设置</div>
|
|
|
+ <div class="section-content">
|
|
|
+ <div class="reset-pwd">修改密码</div>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ <template v-else>
|
|
|
+ <div class="menu-list">
|
|
|
+ <div class="item">
|
|
|
+ <span>账户设置</span>
|
|
|
+ <span class="el-icon-arrow-right"></span>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+</template>
|
|
|
+
|
|
|
+<script>
|
|
|
+import { mapGetters } from 'vuex'
|
|
|
+export default {
|
|
|
+ layout: 'app-ross',
|
|
|
+ computed: {
|
|
|
+ ...mapGetters(['routePrefix', 'isPc']),
|
|
|
+ },
|
|
|
+ methods: {
|
|
|
+ // 机构详情
|
|
|
+ onToClubDetail() {
|
|
|
+ this.$router.push(`${this.routePrefix}/center/club-detail`)
|
|
|
+ },
|
|
|
+ // 设备认证
|
|
|
+ onToDeviceList() {
|
|
|
+ this.$router.push(`${this.routePrefix}/center/device`)
|
|
|
+ },
|
|
|
+ },
|
|
|
+}
|
|
|
+</script>
|
|
|
+
|
|
|
+<style lang="scss" scoped>
|
|
|
+@media screen and (min-width: 768px) {
|
|
|
+ .page {
|
|
|
+ position: relative;
|
|
|
+ min-height: calc(100vh - 80px - 80px);
|
|
|
+ background-color: #fff;
|
|
|
+ overflow: hidden;
|
|
|
+ }
|
|
|
+ .page-top {
|
|
|
+ height: 360px;
|
|
|
+ @include themify($themes) {
|
|
|
+ background-image: themed('pc-banner-doc');
|
|
|
+ }
|
|
|
+ background-size: cover;
|
|
|
+ background-position: center;
|
|
|
+
|
|
|
+ .club-logo {
|
|
|
+ width: 90px;
|
|
|
+ height: 90px;
|
|
|
+
|
|
|
+ img {
|
|
|
+ display: block;
|
|
|
+ width: 100%;
|
|
|
+ height: 100%;
|
|
|
+ border-radius: 50%;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .club-mobile {
|
|
|
+ margin: 8px 0;
|
|
|
+ }
|
|
|
+
|
|
|
+ .club-mobile,
|
|
|
+ .club-name {
|
|
|
+ font-size: 18px;
|
|
|
+ color: #fff;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .page-content {
|
|
|
+ width: 704px;
|
|
|
+ margin: 8px auto 60px;
|
|
|
+
|
|
|
+ .section-title {
|
|
|
+ font-size: 24px;
|
|
|
+ color: #666666;
|
|
|
+ padding: 16px 0;
|
|
|
+ }
|
|
|
+ .section-content {
|
|
|
+ display: flex;
|
|
|
+ justify-content: space-between;
|
|
|
+ align-items: flex-start;
|
|
|
+ .item {
|
|
|
+ position: relative;
|
|
|
+ width: 340px;
|
|
|
+ height: 230px;
|
|
|
+ background: #eee;
|
|
|
+ box-sizing: border-box;
|
|
|
+ padding-left: 24px;
|
|
|
+ cursor: pointer;
|
|
|
+
|
|
|
+ display: flex;
|
|
|
+ flex-direction: column;
|
|
|
+ align-items: flex-start;
|
|
|
+ justify-content: center;
|
|
|
+ background-size: 340px 230px;
|
|
|
+ background-position: center center;
|
|
|
+ background-repeat: no-repeat;
|
|
|
+
|
|
|
+ &.club {
|
|
|
+ @include themify($themes) {
|
|
|
+ background-image: themed('pc-icon-center-item-auth-club');
|
|
|
+ }
|
|
|
+ .icon {
|
|
|
+ color: #f3920d;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ &.device {
|
|
|
+ @include themify($themes) {
|
|
|
+ background-image: themed('pc-icon-center-item-device');
|
|
|
+ }
|
|
|
+
|
|
|
+ .icon {
|
|
|
+ color: #0a6eb1;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .auth-icon {
|
|
|
+ position: absolute;
|
|
|
+ right: 16px;
|
|
|
+ top: 16px;
|
|
|
+ width: 72px;
|
|
|
+ height: 32px;
|
|
|
+ line-height: 32px;
|
|
|
+ text-align: center;
|
|
|
+ font-size: 16px;
|
|
|
+ color: #fff;
|
|
|
+ border-radius: 4px;
|
|
|
+
|
|
|
+ &.auth {
|
|
|
+ background: #1890ff;
|
|
|
+ }
|
|
|
+
|
|
|
+ &.un-auth {
|
|
|
+ background: #f94b4b;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .tip {
|
|
|
+ font-size: 24px;
|
|
|
+ color: #fff;
|
|
|
+ margin-bottom: 8px;
|
|
|
+ }
|
|
|
+ .btn {
|
|
|
+ font-size: 16px;
|
|
|
+ color: #fff;
|
|
|
+
|
|
|
+ .icon {
|
|
|
+ display: inline-block;
|
|
|
+ width: 18px;
|
|
|
+ height: 18px;
|
|
|
+ border-radius: 50%;
|
|
|
+ background: #fff;
|
|
|
+ // background: #0A6EB1;
|
|
|
+ font-size: 12px;
|
|
|
+ text-align: center;
|
|
|
+ line-height: 18px;
|
|
|
+ margin-left: 9px;
|
|
|
+ font-weight: bold;
|
|
|
+ vertical-align: 1px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .reset-pwd {
|
|
|
+ width: 98px;
|
|
|
+ height: 36px;
|
|
|
+ background: #f3920d;
|
|
|
+ opacity: 1;
|
|
|
+ border-radius: 4px;
|
|
|
+ font-size: 16px;
|
|
|
+ font-weight: 400;
|
|
|
+ line-height: 36px;
|
|
|
+ color: #ffffff;
|
|
|
+ text-align: center;
|
|
|
+ cursor: pointer;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .line {
|
|
|
+ height: 1px;
|
|
|
+ background: #c2c2c2;
|
|
|
+ margin: 32px 0;
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+@media screen and (max-width: 768px) {
|
|
|
+ .page-top {
|
|
|
+ height: 36vw;
|
|
|
+ @include themify($themes) {
|
|
|
+ background-image: themed('pc-banner-doc');
|
|
|
+ }
|
|
|
+ background-size: cover;
|
|
|
+ background-position: center;
|
|
|
+
|
|
|
+ .club-logo {
|
|
|
+ width: 12.8vw;
|
|
|
+ height: 12.8vw;
|
|
|
+
|
|
|
+ img {
|
|
|
+ display: block;
|
|
|
+ width: 100%;
|
|
|
+ height: 100%;
|
|
|
+ border-radius: 50%;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .club-mobile {
|
|
|
+ margin: 0.8vw 0;
|
|
|
+ }
|
|
|
+
|
|
|
+ .club-mobile,
|
|
|
+ .club-name {
|
|
|
+ font-size: 3.4vw;
|
|
|
+ color: #fff;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .page-content {
|
|
|
+ .section-title {
|
|
|
+ font-size: 4.2vw;
|
|
|
+ color: #666666;
|
|
|
+ padding: 6.4vw 0 3.2vw;
|
|
|
+ padding-left: 4vw;
|
|
|
+ }
|
|
|
+ .section-content {
|
|
|
+ display: flex;
|
|
|
+ justify-content: space-between;
|
|
|
+ align-items: flex-start;
|
|
|
+ padding: 0 4vw;
|
|
|
+ .item {
|
|
|
+ position: relative;
|
|
|
+ width: 44.4vw;
|
|
|
+ height: 30vw;
|
|
|
+ background: #eee;
|
|
|
+ box-sizing: border-box;
|
|
|
+ padding-left: 3.6vw;
|
|
|
+ cursor: pointer;
|
|
|
+
|
|
|
+ display: flex;
|
|
|
+ flex-direction: column;
|
|
|
+ align-items: flex-start;
|
|
|
+ justify-content: center;
|
|
|
+ background-size: 44.4vw 30vw;
|
|
|
+ background-position: center center;
|
|
|
+ background-repeat: no-repeat;
|
|
|
+
|
|
|
+ &.club {
|
|
|
+ @include themify($themes) {
|
|
|
+ background-image: themed('pc-icon-center-item-auth-club');
|
|
|
+ }
|
|
|
+ .icon {
|
|
|
+ color: #f3920d;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ &.device {
|
|
|
+ @include themify($themes) {
|
|
|
+ background-image: themed('pc-icon-center-item-device');
|
|
|
+ }
|
|
|
+
|
|
|
+ .icon {
|
|
|
+ color: #0a6eb1;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .auth-icon {
|
|
|
+ position: absolute;
|
|
|
+ right: 1.6vw;
|
|
|
+ top: 1.6vw;
|
|
|
+ width: 12.8vw;
|
|
|
+ height: 5.6vw;
|
|
|
+ line-height: 5.6vw;
|
|
|
+ text-align: center;
|
|
|
+ font-size: 3vw;
|
|
|
+ color: #fff;
|
|
|
+ border-radius: 0.4vw;
|
|
|
+
|
|
|
+ &.auth {
|
|
|
+ background: #1890ff;
|
|
|
+ }
|
|
|
+
|
|
|
+ &.un-auth {
|
|
|
+ background: #f94b4b;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .tip {
|
|
|
+ font-size: 4vw;
|
|
|
+ color: #fff;
|
|
|
+ margin-bottom: 1.2vw;
|
|
|
+ }
|
|
|
+ .btn {
|
|
|
+ font-size: 3vw;
|
|
|
+ color: #fff;
|
|
|
+
|
|
|
+ .icon {
|
|
|
+ display: inline-block;
|
|
|
+ width: 3.4vw;
|
|
|
+ height: 3.4vw;
|
|
|
+ border-radius: 50%;
|
|
|
+ background: #fff;
|
|
|
+ font-size: 2.8vw;
|
|
|
+ text-align: center;
|
|
|
+ line-height: 3.4vw;
|
|
|
+ margin-left: 0.8vw;
|
|
|
+ font-weight: bold;
|
|
|
+ vertical-align: 1px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .menu-list {
|
|
|
+ padding: 0 4vw;
|
|
|
+ padding-top: 2.4vw;
|
|
|
+ .item {
|
|
|
+ width: 100%;
|
|
|
+ padding: 3vw 0;
|
|
|
+ display: flex;
|
|
|
+ justify-content: space-between;
|
|
|
+ font-size: 3.4vw;
|
|
|
+ border-bottom: 0.1vw solid #c2c2c2;
|
|
|
+
|
|
|
+ .el-icon-arrow-right {
|
|
|
+ font-size: 4vw;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .line {
|
|
|
+ height: 1.6vw;
|
|
|
+ background: #f7f7f7;
|
|
|
+ margin-top: 6.4vw;
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|
|
|
+</style>
|