调整登录逻辑

This commit is contained in:
2024-03-27 17:37:11 +08:00
parent 61bcbf6f69
commit 049782f96b
18 changed files with 113 additions and 30 deletions

View File

@@ -0,0 +1,24 @@
// components/avatar/index.js
Component({
/**
* 组件的属性列表
*/
properties: {
text: String,
},
/**
* 组件的初始数据
*/
data: {
},
/**
* 组件的方法列表
*/
methods: {
}
})

View File

@@ -0,0 +1,4 @@
{
"component": true,
"usingComponents": {}
}

View File

@@ -0,0 +1,2 @@
<!--components/avatar/index.wxml-->
<view class="wrapper">{{text}}</view>

View File

@@ -0,0 +1,11 @@
/* components/avatar/index.wxss */
.wrapper {
width: 100rpx;
height: 100rpx;
border-radius: 50%;
background: radial-gradient(circle, var(--light-green), var(--middle-green),var(--deep-green) );
display: flex;
justify-content: center;
align-items: center;
color: #fff;
}