uni-app 微信小程序之好看的ui登录页面(五)


更多登录ui页面

uni-app 微信小程序之好看的ui登录页面(一)
uni-app 微信小程序之好看的ui登录页面(二)
uni-app 微信小程序之好看的ui登录页面(三)
uni-app 微信小程序之好看的ui登录页面(四)
uni-app 微信小程序之好看的ui登录页面(五)

1. 页面效果

在这里插入图片描述

2. 页面样式代码

<!-- 顶部蓝色 -->
<template>
	<view class="contaier">
		<view class="top-bg">
			<view class="text-white text-bold text-xxxl">前端铺子</view>
			<view class="margin-top-xs text-white">欢迎使用,请先登录</view>
		</view>
		
		<view class="input-box padding-lr">
			<form>
				<view class="cu-form-group margin-top">
					<view class="title">邮件</view>
					<input placeholder="两字短标题" name="input"></input>
				</view>
				<view class="cu-form-group">
					<view class="title">输入框</view>
					<input placeholder="三字标题" name="input"></input>
				</view>
				<view class="cu-form-group solid-bottom">
					<view class="title">验证码</view>
					<input placeholder="输入框带个按钮" name="input"></input>
					<button class='cu-btn bg-login-zl shadow'>验证码</button>
				</view>
			</form>
		</view>
		
		<view class="padding margin-top-xs">
			<button class="cu-btn block round bg-login-zl margin-tb-sm lg">立即登录</button>
			<view class="text-gray flex justify-between padding-lr-sm">
				<text>注册账号</text>
				<text>忘记密码</text>
			</view>
		</view>
		
	</view>
</template>
<script>
	export default {
     
		data() {
     
			return {
     
		
			};
		},
		onLoad() {
     
			
		},
		methods: {
     

		}
	};
</script>
<style lang="scss" scoped>
	.contaier{
     
		height: 100vh;
		background-color: #ffffff;
	}
	.top-bg{
     
		width: 750rpx;
		background-image: url(https://cdn.zhoukaiwen.com/head-bg.png);
		height: 480rpx;
		background-size: 100%;
		background-repeat: no-repeat;
		text-align: center;
		padding-top: 170rpx;
	}
	.bg-login-zl {
     
		background-image: linear-gradient(45deg, #727CFB, #46D0ED);
		color: #ffffff;
	}
</style>

相关推荐

  1. 程序uni-app 配置网络请求

    2023-12-08 06:54:04       11 阅读

最近更新

  1. TCP协议是安全的吗?

    2023-12-08 06:54:04       18 阅读
  2. 阿里云服务器执行yum,一直下载docker-ce-stable失败

    2023-12-08 06:54:04       19 阅读
  3. 【Python教程】压缩PDF文件大小

    2023-12-08 06:54:04       19 阅读
  4. 通过文章id递归查询所有评论(xml)

    2023-12-08 06:54:04       20 阅读

热门阅读

  1. UnityShader自定义cginc文件

    2023-12-08 06:54:04       36 阅读
  2. Last Week in Milvus

    2023-12-08 06:54:04       43 阅读
  3. 【前端设计模式】之装饰器模式

    2023-12-08 06:54:04       40 阅读
  4. UDP群聊

    UDP群聊

    2023-12-08 06:54:04      27 阅读
  5. 分布式训练类的定义以及创建分布式模型

    2023-12-08 06:54:04       32 阅读
  6. Python对数组/矩阵进行累加-累乘-累除

    2023-12-08 06:54:04       34 阅读
  7. Python循环矩阵-scipy.linalg.circulant

    2023-12-08 06:54:04       36 阅读
  8. 识别项目中未使用的 npm 包

    2023-12-08 06:54:04       38 阅读
  9. Redis

    Redis

    2023-12-08 06:54:04      103 阅读