mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-ui.git
synced 2026-08-06 10:57:26 +08:00
Merge branch 'vue3' of https://gitee.com/beijing_hongye_huicheng/lilishop-ui into vue3
This commit is contained in:
BIN
seller/src/assets/images/zhizhao.jpg
Normal file
BIN
seller/src/assets/images/zhizhao.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 374 KiB |
BIN
seller/src/assets/login-bg.png
Normal file
BIN
seller/src/assets/login-bg.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 7.6 MiB |
BIN
seller/src/assets/logo-lilishop.png
Normal file
BIN
seller/src/assets/logo-lilishop.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 11 KiB |
@@ -1,6 +1,12 @@
|
|||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
title: "lilishop", //配置显示在浏览器标签的title
|
title: "lilishop", //配置显示在浏览器标签的title
|
||||||
|
icpCard: "", // icp证
|
||||||
|
company: {
|
||||||
|
href: "https://pickmall.cn",
|
||||||
|
name: "北京宏业汇成科技有限公司",
|
||||||
|
}, //公司信息
|
||||||
|
icpMessage: "京ICP备20009696号-1", //icp备案
|
||||||
/**
|
/**
|
||||||
* 高德地图申请链接
|
* 高德地图申请链接
|
||||||
* https://lbs.amap.com/api/javascript-api/guide/abc/prepare
|
* https://lbs.amap.com/api/javascript-api/guide/abc/prepare
|
||||||
|
|||||||
@@ -1,11 +1,14 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="login" @click="$refs.verify.show = false">
|
<div class="login" @click="$refs.verify.show = false">
|
||||||
<el-row class="flex" @keyup.enter="submitLogin">
|
<div class="login-hero">
|
||||||
<el-col style="width: 368px">
|
<img class="login-bg" :src="loginBg" alt="" />
|
||||||
<Header />
|
<div class="login-panel" @keyup.enter="submitLogin">
|
||||||
<el-row style="flex-direction: column">
|
<div class="login-wrap">
|
||||||
<el-tabs v-model="loginType">
|
<img class="login-logo" :src="loginLogo" alt="LILISHOP" />
|
||||||
<el-tab-pane label="账号密码登录" name="passwordLogin">
|
<Header class="login-header-init" />
|
||||||
|
|
||||||
|
<el-tabs v-model="loginType" class="login-tabs">
|
||||||
|
<el-tab-pane label="账号登录" name="passwordLogin">
|
||||||
<el-form
|
<el-form
|
||||||
ref="usernameLoginForm"
|
ref="usernameLoginForm"
|
||||||
:model="form"
|
:model="form"
|
||||||
@@ -40,67 +43,77 @@
|
|||||||
</el-input>
|
</el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
<div class="register">
|
|
||||||
<a @click="$router.push('forgetPassword')">忘记密码</a>
|
|
||||||
</div>
|
|
||||||
</el-tab-pane>
|
</el-tab-pane>
|
||||||
<el-tab-pane label="验证码登录" name="mobileLogin">
|
<el-tab-pane label="手机登录" name="mobileLogin">
|
||||||
<el-form
|
<el-form
|
||||||
ref="formSms"
|
ref="formSms"
|
||||||
:model="formSms"
|
:model="formSms"
|
||||||
:rules="ruleInline"
|
:rules="ruleInline"
|
||||||
|
class="form"
|
||||||
@click.self="$refs.verify.show = false"
|
@click.self="$refs.verify.show = false"
|
||||||
>
|
>
|
||||||
<el-form-item prop="mobile">
|
<el-form-item prop="mobile">
|
||||||
<el-input
|
<el-input
|
||||||
v-model="formSms.mobile"
|
v-model="formSms.mobile"
|
||||||
|
size="large"
|
||||||
maxlength="11"
|
maxlength="11"
|
||||||
clearable
|
clearable
|
||||||
placeholder="手机号"
|
placeholder="请输入手机号"
|
||||||
>
|
>
|
||||||
<template #prepend>
|
<template #prefix>
|
||||||
<el-icon><Iphone /></el-icon>
|
<el-icon><Iphone /></el-icon>
|
||||||
</template>
|
</template>
|
||||||
</el-input>
|
</el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item prop="code">
|
<el-form-item prop="code">
|
||||||
<el-input v-model="formSms.code" placeholder="手机验证码">
|
<div class="code-field">
|
||||||
<template #prepend>
|
<el-input
|
||||||
|
v-model="formSms.code"
|
||||||
|
size="large"
|
||||||
|
placeholder="请输入验证码"
|
||||||
|
class="code-input"
|
||||||
|
>
|
||||||
|
<template #prefix>
|
||||||
<el-icon><Message /></el-icon>
|
<el-icon><Message /></el-icon>
|
||||||
</template>
|
</template>
|
||||||
<template #append>
|
</el-input>
|
||||||
<el-button @click="sendCode" :loading="sendCodeLoading">
|
<el-button
|
||||||
|
class="send-code-btn"
|
||||||
|
link
|
||||||
|
:disabled="!isMobileValid || time !== 60"
|
||||||
|
:loading="sendCodeLoading"
|
||||||
|
@click="sendCode"
|
||||||
|
>
|
||||||
{{ codeMsg }}
|
{{ codeMsg }}
|
||||||
</el-button>
|
</el-button>
|
||||||
</template>
|
</div>
|
||||||
</el-input>
|
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
</el-tab-pane>
|
</el-tab-pane>
|
||||||
</el-tabs>
|
</el-tabs>
|
||||||
<el-row>
|
|
||||||
<el-button
|
<el-button
|
||||||
class="login-btn"
|
class="login-btn"
|
||||||
type="primary"
|
type="primary"
|
||||||
size="large"
|
size="large"
|
||||||
:loading="loading"
|
:loading="loading"
|
||||||
style="width: 100%"
|
:disabled="!canSubmitLogin"
|
||||||
@click="submitLogin"
|
@click="submitLogin"
|
||||||
>
|
>
|
||||||
<span v-if="!loading">登录</span>
|
<span v-if="!loading">登录</span>
|
||||||
<span v-else>登录中</span>
|
<span v-else>登录中</span>
|
||||||
</el-button>
|
</el-button>
|
||||||
</el-row>
|
|
||||||
</el-row>
|
|
||||||
<verify
|
<verify
|
||||||
ref="verify"
|
ref="verify"
|
||||||
class="verify-con"
|
class="verify-con"
|
||||||
verifyType="LOGIN"
|
verifyType="LOGIN"
|
||||||
@change="verifyChange"
|
@change="verifyChange"
|
||||||
/>
|
/>
|
||||||
<Footer />
|
</div>
|
||||||
</el-col>
|
</div>
|
||||||
</el-row>
|
</div>
|
||||||
|
<Footer class="login-footer" />
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -127,10 +140,13 @@ export default {
|
|||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
loginBg: require("@/assets/login-bg.png"),
|
||||||
|
loginLogo: require("@/assets/logo-lilishop.png"),
|
||||||
saveLogin: true,
|
saveLogin: true,
|
||||||
sendCodeLoading: false,
|
sendCodeLoading: false,
|
||||||
loading: false,
|
loading: false,
|
||||||
verifyStatus: false,
|
verifyStatus: false,
|
||||||
|
smsCodeSent: false,
|
||||||
time: 60,
|
time: 60,
|
||||||
loginType: "passwordLogin",
|
loginType: "passwordLogin",
|
||||||
form: {
|
form: {
|
||||||
@@ -160,6 +176,24 @@ export default {
|
|||||||
codeMsg: "发送验证码",
|
codeMsg: "发送验证码",
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
computed: {
|
||||||
|
isMobileValid() {
|
||||||
|
return RegExp.mobile.test(this.formSms.mobile);
|
||||||
|
},
|
||||||
|
canSubmitLogin() {
|
||||||
|
if (this.loginType === "passwordLogin") {
|
||||||
|
return !!(this.form.username.trim() && this.form.password.trim());
|
||||||
|
}
|
||||||
|
return this.smsCodeSent;
|
||||||
|
},
|
||||||
|
},
|
||||||
|
watch: {
|
||||||
|
"formSms.mobile"() {
|
||||||
|
this.smsCodeSent = false;
|
||||||
|
this.verifyStatus = false;
|
||||||
|
this.formSms.code = "";
|
||||||
|
},
|
||||||
|
},
|
||||||
created() {
|
created() {
|
||||||
window.localStorage.setItem("menuData", "");
|
window.localStorage.setItem("menuData", "");
|
||||||
},
|
},
|
||||||
@@ -193,8 +227,8 @@ export default {
|
|||||||
});
|
});
|
||||||
},
|
},
|
||||||
sendCode() {
|
sendCode() {
|
||||||
if (this.formSms.mobile === "") {
|
if (!this.isMobileValid) {
|
||||||
this.$Message.warning("请先填写手机号");
|
this.$Message.warning("请输入正确的手机号");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (!this.verifyStatus) {
|
if (!this.verifyStatus) {
|
||||||
@@ -210,6 +244,7 @@ export default {
|
|||||||
sendSms(params)
|
sendSms(params)
|
||||||
.then((res) => {
|
.then((res) => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
|
this.smsCodeSent = true;
|
||||||
this.$Message.success("验证码发送成功");
|
this.$Message.success("验证码发送成功");
|
||||||
const that = this;
|
const that = this;
|
||||||
this.interval = setInterval(() => {
|
this.interval = setInterval(() => {
|
||||||
@@ -234,6 +269,8 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
submitLogin() {
|
submitLogin() {
|
||||||
|
if (!this.canSubmitLogin) return;
|
||||||
|
|
||||||
if (this.loginType === "passwordLogin") {
|
if (this.loginType === "passwordLogin") {
|
||||||
this.$refs.usernameLoginForm.validate((valid) => {
|
this.$refs.usernameLoginForm.validate((valid) => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
@@ -289,28 +326,149 @@ export default {
|
|||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.login {
|
.login {
|
||||||
|
position: relative;
|
||||||
min-height: 100vh;
|
min-height: 100vh;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
box-sizing: border-box;
|
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
background-image: url("../assets/background.png");
|
overflow: hidden;
|
||||||
background-repeat: no-repeat;
|
}
|
||||||
background-position: center bottom;
|
|
||||||
background-size: 100% auto;
|
.login-hero {
|
||||||
|
position: relative;
|
||||||
|
width: 100%;
|
||||||
|
aspect-ratio: 1024 / 426;
|
||||||
|
}
|
||||||
|
|
||||||
|
.login-bg {
|
||||||
|
position: absolute;
|
||||||
|
left: 0;
|
||||||
|
top: 0;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
object-fit: fill;
|
||||||
|
pointer-events: none;
|
||||||
|
user-select: none;
|
||||||
|
z-index: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.login-panel {
|
||||||
|
position: absolute;
|
||||||
|
inset: 0;
|
||||||
|
z-index: 2;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: flex-end;
|
||||||
|
padding: 0 12vw 0 0;
|
||||||
|
background: transparent;
|
||||||
|
}
|
||||||
|
|
||||||
:deep(.el-input__wrapper) {
|
.login-wrap {
|
||||||
|
position: relative;
|
||||||
|
width: 320px;
|
||||||
|
padding: 40px 42px 32px;
|
||||||
|
background: #fff;
|
||||||
|
border-radius: 16px;
|
||||||
|
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
|
||||||
|
}
|
||||||
|
|
||||||
|
.login-logo {
|
||||||
|
display: block;
|
||||||
|
width: 168px;
|
||||||
|
height: auto;
|
||||||
|
margin: 0 auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.login-header-init {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.login-tabs {
|
||||||
|
margin-top: 28px;
|
||||||
|
|
||||||
|
:deep(.el-tabs__header) {
|
||||||
|
margin-bottom: 24px;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
:deep(.el-tabs__nav-wrap) {
|
||||||
|
flex: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
:deep(.el-tabs__nav-wrap::after) {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
:deep(.el-tabs__nav) {
|
||||||
|
float: none;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
:deep(.el-tabs__item) {
|
||||||
|
padding: 0 0 12px;
|
||||||
|
margin-right: 32px;
|
||||||
|
height: auto;
|
||||||
|
font-size: 15px;
|
||||||
|
color: #8a9199;
|
||||||
|
transition: color 0.2s ease, font-size 0.2s ease;
|
||||||
|
|
||||||
|
&:last-child {
|
||||||
|
margin-right: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
&.is-active {
|
||||||
|
font-size: 18px;
|
||||||
|
font-weight: 600;
|
||||||
|
color: #1f2329;
|
||||||
|
}
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
color: $theme_color;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
:deep(.el-tabs__active-bar) {
|
||||||
|
height: 2px;
|
||||||
|
background-color: $theme_color;
|
||||||
|
border-radius: 1px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
:deep(.el-input__wrapper) {
|
||||||
background-color: #fff !important;
|
background-color: #fff !important;
|
||||||
box-shadow: 0 0 0 1px var(--el-border-color) inset !important;
|
box-shadow: 0 0 0 1px #e5e7eb inset !important;
|
||||||
|
border-radius: 8px;
|
||||||
|
padding: 4px 14px;
|
||||||
|
transition: box-shadow 0.2s ease;
|
||||||
|
|
||||||
&.is-focus {
|
&.is-focus {
|
||||||
box-shadow: 0 0 0 1px var(--el-border-color) inset !important;
|
box-shadow: 0 0 0 1px $theme_color inset,
|
||||||
}
|
0 0 0 3px rgba($theme_color, 0.12) !important;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
:deep(.el-input__inner) {
|
:deep(.el-input-group__prepend),
|
||||||
|
:deep(.el-input-group__append) {
|
||||||
|
background-color: transparent;
|
||||||
|
box-shadow: none;
|
||||||
|
border: none;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
:deep(.el-input-group__prepend) {
|
||||||
|
padding-right: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
:deep(.el-input-group__append) {
|
||||||
|
padding-left: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
:deep(.el-input__prefix) {
|
||||||
|
color: #a0a7b0;
|
||||||
|
}
|
||||||
|
|
||||||
|
:deep(.el-input__inner) {
|
||||||
background-color: transparent !important;
|
background-color: transparent !important;
|
||||||
|
|
||||||
&:-webkit-autofill,
|
&:-webkit-autofill,
|
||||||
@@ -323,40 +481,122 @@ export default {
|
|||||||
caret-color: #606266;
|
caret-color: #606266;
|
||||||
transition: background-color 99999s ease-out;
|
transition: background-color 99999s ease-out;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
:deep(.el-form-item) {
|
||||||
|
margin-bottom: 22px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.send-code-btn {
|
||||||
|
flex-shrink: 0;
|
||||||
|
min-width: 90px;
|
||||||
|
padding: 0 4px;
|
||||||
|
font-size: 14px;
|
||||||
|
white-space: nowrap;
|
||||||
|
color: $theme_color !important;
|
||||||
|
|
||||||
|
&:not(.is-disabled):hover {
|
||||||
|
opacity: 0.85;
|
||||||
}
|
}
|
||||||
|
|
||||||
.verify-con {
|
&.is-disabled {
|
||||||
|
color: #c0c4cc !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.code-field {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 8px;
|
||||||
|
width: 100%;
|
||||||
|
|
||||||
|
.code-input {
|
||||||
|
flex: 1;
|
||||||
|
min-width: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.verify-con {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 126px;
|
top: 150px;
|
||||||
z-index: 10;
|
z-index: 10;
|
||||||
left: 20px;
|
left: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.form {
|
.form {
|
||||||
padding-top: 1vh;
|
padding-top: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.login-btn {
|
.login-btn {
|
||||||
background: linear-gradient(135deg, $theme_color 0%, $warning_color 100%);
|
width: 100%;
|
||||||
height: 40px;
|
height: 44px;
|
||||||
border: none;
|
margin-top: 4px;
|
||||||
}
|
border: none !important;
|
||||||
|
border-radius: 8px;
|
||||||
|
font-size: 15px;
|
||||||
|
letter-spacing: 2px;
|
||||||
|
color: #fff !important;
|
||||||
|
background: linear-gradient(135deg, $theme_color 0%, $warning_color 100%) !important;
|
||||||
|
box-shadow: none;
|
||||||
|
transition: opacity 0.2s ease;
|
||||||
|
|
||||||
.login-btn:hover {
|
&:not(.is-disabled):hover {
|
||||||
opacity: 0.9;
|
opacity: 0.9;
|
||||||
}
|
}
|
||||||
|
|
||||||
.register {
|
&.is-disabled,
|
||||||
text-align: right;
|
&.is-disabled:hover,
|
||||||
margin-bottom: 12px;
|
&.is-disabled:focus {
|
||||||
a {
|
color: #fff !important;
|
||||||
color: $theme_color;
|
border-color: transparent !important;
|
||||||
cursor: pointer;
|
background: linear-gradient(
|
||||||
}
|
135deg,
|
||||||
|
rgba($theme_color, 0.45) 0%,
|
||||||
|
rgba($warning_color, 0.45) 100%
|
||||||
|
) !important;
|
||||||
|
opacity: 1;
|
||||||
|
cursor: not-allowed;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.flex {
|
:deep(.login-footer.foot) {
|
||||||
|
position: absolute;
|
||||||
|
bottom: 24px;
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
|
z-index: 2;
|
||||||
|
width: 100%;
|
||||||
|
margin-top: 0;
|
||||||
|
text-align: center;
|
||||||
|
color: #000;
|
||||||
|
}
|
||||||
|
|
||||||
|
:deep(.login-footer .information) {
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
:deep(.login-footer .copyright p) {
|
||||||
|
color: #000;
|
||||||
|
}
|
||||||
|
|
||||||
|
:deep(.login-footer a) {
|
||||||
|
color: #000 !important;
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
color: #333 !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 992px) {
|
||||||
|
.login-panel {
|
||||||
|
justify-content: center;
|
||||||
|
padding: 0 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.login-wrap {
|
||||||
|
width: 100%;
|
||||||
|
max-width: 340px;
|
||||||
|
padding: 32px 24px 24px;
|
||||||
|
}
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -1,29 +1,45 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="foot">
|
<div class="foot">
|
||||||
<el-row justify="space-around" class="help">
|
<div class="information footer-bottom">
|
||||||
<a class="item" :href="config.website" target="_blank">帮助</a>
|
<div class="icp">
|
||||||
<a class="item" :href="config.website" target="_blank">隐私</a>
|
<li v-if="config.icpCard">
|
||||||
<a class="item" :href="config.website" target="_blank">条款</a>
|
|
||||||
</el-row>
|
|
||||||
<el-row justify="center" class="copyright">
|
|
||||||
Copyright © {{ year }} - Present
|
|
||||||
<a
|
<a
|
||||||
:href="config.website"
|
:href="
|
||||||
class="href"
|
'https://tsm.miit.gov.cn/dxxzsp/xkz/xkzgl/resource/qiyesearch.jsp?num=' +
|
||||||
|
config.icpCard +
|
||||||
|
'&type=xuke'
|
||||||
|
"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
style="margin: 0 5px"
|
|
||||||
>{{ config.title }}</a
|
|
||||||
>
|
>
|
||||||
</el-row>
|
{{ config.icpCard }}
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li v-if="config.icpMessage" class="footer-bottom">
|
||||||
|
<a href="https://beian.miit.gov.cn/" target="_blank">
|
||||||
|
{{ config.icpMessage }}
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</div>
|
||||||
|
<a class="company-link" :href="config.company.href" target="_blank">
|
||||||
|
<img class="zhizhao" :src="zhizhaoImg" alt="" />
|
||||||
|
{{ config.company.name }}
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="copyright">
|
||||||
|
<p>Copyright © {{ year }} {{ config.title }}</p>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import config from "@/config/index";
|
const config = require("@/config/index");
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
config,
|
config,
|
||||||
|
zhizhaoImg: require("@/assets/images/zhizhao.jpg"),
|
||||||
year: new Date().getFullYear(),
|
year: new Date().getFullYear(),
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
@@ -32,21 +48,71 @@ export default {
|
|||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.foot {
|
.foot {
|
||||||
position: fixed;
|
width: 100%;
|
||||||
bottom: 4vh;
|
margin-top: 0;
|
||||||
width: 368px;
|
color: #000;
|
||||||
color: rgba(0, 0, 0, 0.45);
|
font-size: 12px;
|
||||||
font-size: 14px;
|
}
|
||||||
.help {
|
|
||||||
margin: 0 auto;
|
.information {
|
||||||
margin-bottom: 1vh;
|
display: flex;
|
||||||
width: 60%;
|
align-items: center;
|
||||||
.item {
|
justify-content: center;
|
||||||
color: rgba(0, 0, 0, 0.45);
|
flex-wrap: wrap;
|
||||||
|
gap: 8px 30px;
|
||||||
|
margin-bottom: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.icp {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
justify-content: center;
|
||||||
|
list-style: none;
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
|
||||||
|
li {
|
||||||
|
margin: 0 4px;
|
||||||
|
list-style: none;
|
||||||
}
|
}
|
||||||
:hover {
|
}
|
||||||
color: rgba(0, 0, 0, 0.65);
|
|
||||||
|
.company-link {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
color: #000;
|
||||||
|
text-decoration: none;
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
opacity: 0.85;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.zhizhao {
|
||||||
|
width: 20px;
|
||||||
|
height: 20px;
|
||||||
|
margin-right: 4px;
|
||||||
|
border-radius: 50%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.copyright {
|
||||||
|
text-align: center;
|
||||||
|
|
||||||
|
p {
|
||||||
|
margin: 0;
|
||||||
|
font-size: 12px;
|
||||||
|
line-height: 1.4;
|
||||||
|
color: #000;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
a {
|
||||||
|
color: #000;
|
||||||
|
text-decoration: none;
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
opacity: 0.85;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ import { getBaseSite } from "@/api/common.js";
|
|||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
storeSideLogo: defaultLogo,
|
storeSideLogo: require("@/assets/logo-lilishop.png"),
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
@@ -66,13 +66,13 @@ export default {
|
|||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.header {
|
.header {
|
||||||
margin-bottom: 6vh;
|
margin-bottom: 0;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center !important;
|
justify-content: center !important;
|
||||||
}
|
}
|
||||||
.logo {
|
.logo {
|
||||||
width: 440px;
|
width: 168px;
|
||||||
height: 158px;
|
height: auto;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user