Commit 1b841f4a by 前端

增加隐私协议

1 parent 584e0cbe
......@@ -25,6 +25,7 @@ import {
ElEmpty,
ElPopover,
ElDialog,
ElCheckbox
} from "element-plus";
const plugins = [
......@@ -58,6 +59,7 @@ const elementUI = {
Vue.component(ElEmpty.name, ElEmpty);
Vue.component(ElPopover.name, ElPopover);
Vue.component(ElDialog.name, ElDialog);
Vue.component(ElCheckbox.name,ElCheckbox)
plugins.forEach(plugin => {
Vue.use(plugin)
......
......@@ -23,11 +23,15 @@
<el-input class="login-input" placeholder="请输入密码" v-model="formInline.password" maxLength="20" show-password autocomplete="off">
</el-input>
</el-form-item>
<el-form-item class="login-button-wrapper" @keyup.enter="handleSubmit" @click.native.prevent="handleSubmit">
<el-button class="login-button" type="primary" html-type="submit">
<el-form-item class="login-button-wrapper">
<el-checkbox class="check_tips" v-model="checked">请阅读并同意<a href="https://img02.glsx.com.cn/weapp/resource/saas/scrm/html/privacy.html" target="_blank">《隐私协议》</a>和<a href="https://img02.glsx.com.cn/weapp/resource/saas/scrm/html/agreement.html" target="_blank">《用户协议》</a></el-checkbox>
<el-button class="login-button" type="primary" html-type="submit" :disabled="!checked" @keyup.enter="handleSubmit" @click.native.prevent="handleSubmit">
登录
</el-button>
</el-form-item>
<el-form-item>
</el-form-item>
</el-form>
</div>
</div>
......@@ -80,6 +84,7 @@ export default {
},
title: store.state.app.title,
logo: store.state.app.logo,
checked:false
});
let logoPath = store.state.app.logo;
......@@ -337,6 +342,13 @@ export default {
background: #fff;
}
}
.check_tips{
color:#fff;
a{
color: #0077ff;
}
}
</style>
<style scoped>
.login_box >>> .el-input__inner {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!