酷鲨商城登录页面

 代码

<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <!-- import CSS -->
    <!--样式文件-->
    <link rel="stylesheet" href="https://cdn.staticfile.org/element-ui/2.15.9/theme-chalk/index.css">
    <style>
        body{
            margin: 0;
            background-image: url("imgs/bg.jpg");
            background-size: cover;/*封面,使用之后缩放图片不动了*/
            text-align: center;
        }
        h1{
           font-size: 72px;
            color:#0096dc;
            margin-bottom: 0;
        }
        img{
            width: 100px;
        }
        h2{
            font-size: 32px;
            color:#0096dc;
            margin-bottom: 0;
        }
    </style>
</head>
<body>

<div id="app">
    <h1>欢迎来到酷鲨商城</h1>
    <img src="imgs/shark.png" alt="">
    <h2>CoolSharkMall</h2>
    <el-card style="width: 600px;height: 300px;margin: 0 auto;
        background-color: rgba(255,255,255,0.3)">
        <el-form label-width="60px" style="width: 400px;margin: 50px auto">

            <el-form-item label="用户名">
                <el-input type="text" placeholder="请输入用户名"></el-input>
            </el-form-item>

            <el-form-item label="密码">
                <el-input type="password" placeholder="请输入密码"></el-input>
            </el-form-item>

            <el-form-item >
                <el-button style="position: relative;right: 30px" type="primary">登录</el-button>
            </el-form-item>

        </el-form>
    </el-card>
</div>
</body>
<!--两个框架文件-->
<!-- import Vue before Element -->
<script src="https://cdn.staticfile.org/vue/2.6.14/vue.min.js"></script>
<!-- import JavaScript -->
<script src="https://cdn.staticfile.org/element-ui/2.15.9/index.min.js"></script>
<script>
    let v= new Vue({
        el: '#app',
        data: function() {
            return {

            }
        },
        methods:{

        }
    })
</script>

</html>

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值